agents
sessions
users
docs
tasks
executions
temporal
healthz
tasks
Create Or Update Task
tasks
Create Or Update Task
POST
/
agents
/
{agent_id}
/
tasks
/
{task_id}
{
"name": "<string>",
"canonical_name": "<string>",
"description": "",
"main": [
{
"kind_": "<string>",
"label": "<string>",
"evaluate": {}
}
],
"input_schema": {},
"tools": [],
"inherit_tools": false,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
Authorizations
Body
application/json
Payload for creating a task
Response
201
application/json
Successful Response
The response is of type object
.
{
"name": "<string>",
"canonical_name": "<string>",
"description": "",
"main": [
{
"kind_": "<string>",
"label": "<string>",
"evaluate": {}
}
],
"input_schema": {},
"tools": [],
"inherit_tools": false,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {}
}