Retrieve a Task
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The UUID of the task to retrieve |
includeAnalytics | string | No | Whether to include analytics data in the response |
Response
The response returns a single task object 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 |
rawInput | object or null | Raw input configuration |
rawOutput | object or null | Raw output from processing |
tags | array | Tags associated with the task |
metadata | object | Task metadata |
createdAt | string | Creation timestamp |
updatedAt | string | Last update timestamp |
approvedAt | string or null | Approval timestamp |
completionRunId | string or null | Associated completion run ID |
workflowRunId | string or null | Associated workflow run ID |