Tasks
Create a task
POST /external/v1/projects/{project_id}/tasks| Field | Type | Required | Description |
|---|---|---|---|
task_type_identifier | string | yes | Task type identifier field |
params | object | no | Task parameters, default {} |
name | string | no | Display name; default {identifier}-{YYYYmmddHHMMSS} |
bash
curl -X POST http://localhost:8000/external/v1/projects/PROJECT_ID/tasks \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"task_type_identifier":"web-scraper","params":{"url":"https://example.com"}}'Response (201): { id, name, status, progress, current_phase, task_type, created_at, … }
List tasks
GET /external/v1/projects/{project_id}/tasks?status=running&limit=10&offset=0Get task
GET /external/v1/projects/{project_id}/tasks/{task_id}Response includes params and result in addition to the brief fields.