v1

latestOpenAPI 3.1.02026-08-04151221521.2 KB
Tasks

Create Task

Create a new task for an agent.

post/tasks

Request body

agent_idstring nullable

Agent ID (provide this OR agent_name)

agent_namestring nullable

Agent name as 'namespace/name' (provide this OR agent_id)

branchstring nullable

Target branch for version routing

filesystem_idstring nullable

Existing filesystem ID

namestring nullable

Task name

paramsobject nullable

Task parameters

project_idstring nullable

Project ID for new filesystem

Response

Successful Response

created_atstring date-time nullable
created_version_idstring nullable
current_version_idstring nullable
filesystem_idstring required
idstring required
namestring nullable
namespace_idstring required
paramsobject nullable
status'IDLE' | 'CANCELED' | 'COMPLETED' | 'FAILED' | 'RUNNING' | 'TERMINATED' | 'TIMED_OUT' | 'DELETED'
status_reasonstring nullable
task_metadataobject nullable
updated_atstring date-time nullable