Skip to content
AdiosDocumentation
Browse documentation

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.

MethodPathOperation
GET/v1/agent_run_eventList 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

NameLocationRequiredDescription
X-Tenant-IDheaderyesActive team ID. Must match the tenant bound to a diagnostic token.
pagequerynoPage number
per_pagequerynoItems 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

FieldTypeDescription
dataarray
data[].agent_plan_idstring
data[].agent_plan_step_idstring
data[].agent_run_event_idstring
data[].agent_run_idstring
data[].agent_session_idstring
data[].created_atinteger(Unix timestamp)
data[].deleted_atinteger(Unix timestamp)
data[].event_typestring
data[].messageobject
data[].payloadobject
data[].team_idstring
data[].updated_atinteger(Unix timestamp)
paginationobject
pagination.pageintegerCurrent page number
pagination.per_pageintegerNumber of items per page
pagination.totalintegerTotal 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

NameLocationRequiredDescription
idpathyesResource identifier from your team's API results.
X-Tenant-IDheaderyesActive 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

FieldTypeDescription
agent_plan_idstring
agent_plan_step_idstring
agent_run_event_idstring
agent_run_idstring
agent_session_idstring
created_atinteger(Unix timestamp)
deleted_atinteger(Unix timestamp)
event_typestring
messageobject
payloadobject
team_idstring
updated_atinteger(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
}