Agent events API
Read recorded agent events.
Use API authentication for protected requests. Examples use your own resource IDs and a temporary token; saved response examples are synthetic.
| Method | Path | Operation |
|---|---|---|
GET | /v1/agent_run_event | List agent run events |
GET | /v1/agent_run_event/{id} | Get agent run event |
List agent run events
GET /v1/agent_run_event
Returns a paginated list of AgentRunEvent
Authentication: bearer token and the team header shown below.
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
X-Tenant-ID | header | yes | Active team ID. Must match the tenant bound to a diagnostic token. |
page | query | no | Page number |
per_page | query | no | Items per page |
Request example
Set ADIOS_API_URL=https://api.adios.dev. For protected requests, set ADIOS_ACCESS_TOKEN and ADIOS_TEAM_ID as in the quickstart. Set any additional ADIOS_* variables from your own resource results.
curl --fail-with-body --request GET "$ADIOS_API_URL/v1/agent_run_event" \
-H "Authorization: Bearer $ADIOS_ACCESS_TOKEN" \
-H "X-Tenant-ID: $ADIOS_TEAM_ID"
Response: HTTP 200
List of AgentRunEvent
Response fields
| Field | Type | Description |
|---|---|---|
data | array | |
data[].agent_plan_id | string | |
data[].agent_plan_step_id | string | |
data[].agent_run_event_id | string | |
data[].agent_run_id | string | |
data[].agent_session_id | string | |
data[].created_at | integer | (Unix timestamp) |
data[].deleted_at | integer | (Unix timestamp) |
data[].event_type | string | |
data[].message | object | |
data[].payload | object | |
data[].team_id | string | |
data[].updated_at | integer | (Unix timestamp) |
pagination | object | |
pagination.page | integer | Current page number |
pagination.per_page | integer | Number of items per page |
pagination.total | integer | Total number of items |
Illustrative example; not a live response:
{
"data": [
{
"agent_plan_id": "",
"agent_plan_step_id": "",
"agent_run_event_id": "000000000000000000000000001",
"agent_run_id": "",
"agent_session_id": "000000000000000000000000001",
"created_at": 1791072000,
"deleted_at": 0,
"event_type": "example",
"message": "",
"payload": {},
"team_id": "000000000000000000000000001",
"updated_at": 1791072000
}
],
"pagination": {
"page": 1,
"per_page": 1,
"total": 1
}
}
Get agent run event
GET /v1/agent_run_event/{id}
Returns a single AgentRunEvent
Set agent_run_event_id using IDs from your own API responses.
Authentication: bearer token and the team header shown below.
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
id | path | yes | Resource identifier from your team's API results. |
X-Tenant-ID | header | yes | Active team ID. Must match the tenant bound to a diagnostic token. |
Request example
Set ADIOS_API_URL=https://api.adios.dev. For protected requests, set ADIOS_ACCESS_TOKEN and ADIOS_TEAM_ID as in the quickstart. Set any additional ADIOS_* variables from your own resource results.
curl --fail-with-body --request GET "$ADIOS_API_URL/v1/agent_run_event/${ADIOS_AGENT_RUN_EVENT_ID}" \
-H "Authorization: Bearer $ADIOS_ACCESS_TOKEN" \
-H "X-Tenant-ID: $ADIOS_TEAM_ID"
Response: HTTP 200
AgentRunEvent
Response fields
| Field | Type | Description |
|---|---|---|
agent_plan_id | string | |
agent_plan_step_id | string | |
agent_run_event_id | string | |
agent_run_id | string | |
agent_session_id | string | |
created_at | integer | (Unix timestamp) |
deleted_at | integer | (Unix timestamp) |
event_type | string | |
message | object | |
payload | object | |
team_id | string | |
updated_at | integer | (Unix timestamp) |
Illustrative example; not a live response:
{
"agent_plan_id": "",
"agent_plan_step_id": "",
"agent_run_event_id": "000000000000000000000000001",
"agent_run_id": "",
"agent_session_id": "000000000000000000000000001",
"created_at": 1791072000,
"deleted_at": 0,
"event_type": "example",
"message": "",
"payload": {},
"team_id": "000000000000000000000000001",
"updated_at": 1791072000
}