AgentTask
An agent task — tracks a single agent invocation lifecycle.
Properties
| Property | Type | Required | Description |
|---|---|---|---|
a2a_context_id |
string,null | No | |
a2a_task_id |
string,null | No | |
completed_at |
string,null | No | |
cost_cap_atomic |
integer,null | No | |
cost_compute_atomic |
integer | Yes | |
cost_llm_atomic |
integer | Yes | |
cost_tool_atomic |
integer | Yes | |
cost_total_atomic |
integer | Yes | |
created_at |
string | Yes | |
error_message |
string,null | No | |
id |
string | Yes | |
input_message |
any | Yes | |
metadata |
any | No | |
organization_id |
string | Yes | |
output |
any | No | |
payment_request_id |
string,null | No | |
publisher_id |
string | Yes | |
started_at |
string,null | No | |
status |
AgentTaskStatus | Yes | |
trigger_type |
AgentTriggerType | Yes | |
updated_at |
string | Yes | |
user_id |
string | Yes |
View JSON Schema
{
"type": "object",
"description": "An agent task — tracks a single agent invocation lifecycle.",
"required": [
"id",
"organization_id",
"publisher_id",
"user_id",
"status",
"trigger_type",
"input_message",
"cost_compute_atomic",
"cost_tool_atomic",
"cost_llm_atomic",
"cost_total_atomic",
"created_at",
"updated_at"
],
"properties": {
"a2a_context_id": {
"type": [
"string",
"null"
]
},
"a2a_task_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"cost_cap_atomic": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"cost_compute_atomic": {
"type": "integer",
"format": "int64"
},
"cost_llm_atomic": {
"type": "integer",
"format": "int64"
},
"cost_tool_atomic": {
"type": "integer",
"format": "int64"
},
"cost_total_atomic": {
"type": "integer",
"format": "int64"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"input_message": {},
"metadata": {},
"organization_id": {
"type": "string",
"format": "uuid"
},
"output": {},
"payment_request_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"publisher_id": {
"type": "string",
"format": "uuid"
},
"started_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"status": {
"$ref": "#/components/schemas/AgentTaskStatus"
},
"trigger_type": {
"$ref": "#/components/schemas/AgentTriggerType"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"user_id": {
"type": "string",
"format": "uuid"
}
}
}