Create a task
Creates a new task on an agent. A task is a defined action an agent can perform, such as fetching data or submitting a form.
Request body
Display name for the task.
The agent this task belongs to. Prefixed with agt_.
Optional client-specified ID for the task. If not provided, Deck generates one.
Instructions for the agent describing what this task should do.
Response
Created
Unique identifier for the task, prefixed with task_.
Always task.
Display name for the task.
Instructions for the agent describing what this task should do.
Task status: learning, test, or live.
The agent this task belongs to. Prefixed with agt_.
ISO 8601 timestamp of when the resource was created.
ISO 8601 timestamp of when the resource was last updated.
Unique identifier for the API request. Include this when contacting support.