List an agent's calls
List the calls this agent has placed, newest first.
List the calls this agent has placed, newest first.
Unlike the older internal API, no implicit status filter is applied: queued, ringing and in-progress calls are visible by default, so a partner polling for a live call can actually see it.
The agent's existence is verified in your organisation first, so an unknown or another tenant's agent answers 404 rather than an empty page.
This endpoint is metered on the executions bucket (600 requests per minute per organisation) rather than the default bucket.
Rate limit: 600 requests per minute per organization (bucket executions.list). Exceeding it returns 429 with Retry-After; the X-RateLimit-* response headers report your remaining allowance on every call.
v2/agents/{agent_id}/executionsAuthorization
AuthorizationRequiredBearer <token>
Your Graine API key. Create one in the dashboard under Developers, or via POST /v2/api-keys. Send it as Authorization: Bearer <key>.
In: header
Path Parameters
agent_idRequiredAgent Id
Agent identifier.
Query Parameters
statusStatus
Comma-separated statuses, e.g. 'completed,failed'. Also accepts the pseudo-status 'voicemail'. Omit to see every call, including calls that are still in flight.
directionDirection
inbound | outbound
from_dateFrom Date
ISO-8601 with a timezone offset. Filters on creation time.
to_dateTo Date
ISO-8601 with a timezone offset.
include_transcriptInclude Transcript
Include the conversation transcript on every execution.
falseorganization_idOrganization Id
Must match the organisation the API key belongs to.
pagePage
1-indexed page number (max 10000 — narrow the window instead)
1Minimum: 1Maximum: 10000page_sizePage Size
Items per page (max 100)
20Minimum: 1Maximum: 100Response Body
200
A page of this agent's calls, newest first. The objects are the same ones GET /v2/calls returns.
dataRequiredData
This page of executions, newest first.
paginationRequiredPagination
Where this page sits in the result set.
400
1000 — malformed or contradictory input. 1002 — a required parameter is missing.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
401
1100 — missing, unknown or inactive API key. 1101 — a browser session token was presented instead of an API key.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
403
1102 — the key is valid but lacks the scope this endpoint requires, or names another organization. GET /v2/scopes reports what a key holds.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
404
1200 — no such resource in your organization. A resource belonging to another organization answers 404, never 403.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
422
1001 — the body or query failed validation; the message names the first offending field.
errorRequiredinteger
Stable integer code from the error table. Branch on this, not on the message.
messageRequiredstring
One human-readable sentence. Wording may change; the code will not.
429
1300 — the per-organization request rate or concurrent-call limit was reached. Carries Retry-After.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
503
1501 — a service this endpoint depends on is unreachable or returned a 5xx.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
504
1502 — a service this endpoint depends on did not answer in time.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
A page of this agent's calls, newest first. The objects are the same ones GET /v2/calls returns.

