Tasks

Reset a task

Resets a task's status to learning. The next run re-learns the flow from scratch.

post/tasks/{task_id}/reset

Path parameters

task_idstring required

Unique identifier for the task (prefixed with task_).

Response

OK

idstring required

Unique identifier for the task, prefixed with task_.

objectstring required

Always task.

namestring required

Display name for the task.

promptstring nullable required

Instructions for the agent describing what this task should do.

statusstring required

Task status: learning, test, or live.

agent_idstring required

The agent this task belongs to. Prefixed with agt_.

{"stackTrail":"components:schemas:JsonElement","oasType":"schema","type":"unknown","description":"Arbitrary JSON value."}
{"stackTrail":"components:schemas:JsonElement","oasType":"schema","type":"unknown","description":"Arbitrary JSON value."}
{"stackTrail":"components:schemas:JsonElement","oasType":"schema","type":"unknown","description":"Arbitrary JSON value."}
{"stackTrail":"components:schemas:JsonElement","oasType":"schema","type":"unknown","description":"Arbitrary JSON value."}
created_atstring date-time required

ISO 8601 timestamp of when the resource was created.

updated_atstring date-time required

ISO 8601 timestamp of when the resource was last updated.

request_idstring required

Unique identifier for the API request. Include this when contacting support.

Changes