List Tasks
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | No | Number of tasks to return |
offset | string | No | Number of tasks to skip for pagination |
objectLinks | string | No | Include object links in response |
status | string | No | Filter by task status |
since | string | No | [DEPRECATED] Use approvedAtSince instead |
until | string | No | [DEPRECATED] Use approvedAtUntil instead |
approvedAtSince | string | No | Filter tasks approved after this date (ISO 8601) |
approvedAtUntil | string | No | Filter tasks approved before this date (ISO 8601) |
createdAtSince | string | No | Filter tasks created after this date (ISO 8601) |
createdAtUntil | string | No | Filter tasks created before this date (ISO 8601) |
updatedAtSince | string | No | Filter tasks updated after this date (ISO 8601) |
updatedAtUntil | string | No | Filter tasks updated before this date (ISO 8601) |
approvedBy | string[] | No | Filter by users who approved the tasks |
createdBy | string[] | No | Filter by users who created the tasks |
promptApplicationId | string | No | Filter by prompt application ID |
promptVersionId | string | No | Filter by prompt version ID |
completionRunId | string | No | Filter by completion run ID |
orderBy | string | No | Field to order results by |
order | string | No | Sort order: asc or desc |
ids | string | No | Filter by specific task IDs (comma-separated) |
taskName | string | No | Filter by task name |
excludeInputOutputColumns | boolean | No | Exclude input/output columns from response |
tags | string | No | Filter by tags |
Response
The response returns an array of task objects with the following properties:| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the task (UUID) |
name | string | Name of the task |
status | string | Current status of the task |
promptApplicationId | string | UUID of the associated prompt application |
inputContent | object | Input content for the task |
outputContent | object or null | Output content from the task |
tags | array | Tags associated with the task |
createdAt | string | Creation timestamp |
updatedAt | string | Last update timestamp |
approvedAt | string or null | Approval timestamp |