Get Task Progress
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
promptApplicationId | string | Yes | The UUID of the prompt application to get task progress for |
promptApplicationVersionId | string | No | Filter by specific prompt application version |
limit | string | No | Number of results to return |
offset | string | No | Number of results to skip for pagination |
objectLinks | string | No | Include object links in response |
Response
The response returns progress information for tasks associated with the specified prompt application.| Field | Type | Description |
|---|---|---|
data | array | Array of task progress objects |
metadata | object | Pagination and additional metadata |
Task Progress Object
| Field | Type | Description |
|---|---|---|
taskId | string | Unique identifier for the task |
promptApplicationId | string | UUID of the associated prompt application |
status | string | Current status: created, running, validating, completed, failed, or cancelled |
progress | object | Progress details including currentStep, percentage, and totalSteps |
currentStepInfo | object | Information about the current processing step |
Example Response
Status Values
| Status | Description |
|---|---|
created | Task has been created but not yet started |
running | Task is currently being processed |
validating | Task output is being validated |
completed | Task has completed successfully |
failed | Task encountered an error |
cancelled | Task was cancelled |