Skip to main content
GET
/
v1
/
senders
/
{senderId}
/
agent
/
executions
List agent executions
curl --request GET \
  --url https://api.zavu.dev/v1/senders/{senderId}/agent/executions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "status": "success",
      "inputTokens": 123,
      "outputTokens": 123,
      "latencyMs": 123,
      "cost": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "inboundMessageId": "<string>",
      "responseMessageId": "<string>",
      "responseText": "<string>",
      "errorMessage": "<string>"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

senderId
string
required

Query Parameters

status
enum<string>

Status of an agent execution.

Available options:
success,
error,
filtered,
rate_limited,
balance_insufficient
limit
integer
default:50
Required range: x <= 100
cursor
string

Response

List of executions.

items
object[]
required
nextCursor
string | null