v1
protected
agent-tasks

Create Task For Agent With Stream

Create and execute a task for the specified agent with real-time SSE stream.

post/v1/workspaces/{workspace}/agents/{agent_id}/tasks/

Path parameters

agent_idstring uuid required
workspacestring required

Slug of the workspace the request acts in

Slug of the workspace the request acts in

Request body

attachmentsstring[] nullable
descriptionstring required
parametersobject
project_idstring nullable
requires_human_approvalboolean nullable

Response

Successful Response

{"stackTrail":"paths:/v1/workspaces/{workspace}/agents/{agent_id}/tasks/:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 45 revisions of this API.1