Skip to main content
Returns a paginated list of calls for the authenticated project. Pass agentId to keep calls for specific agents, or properties[agent_name][eq] when you only have the agent name. sortBy and sortDirection apply together with those filters.
Calls GET /v1/call

Options

integer
Maximum number of calls to return (default: 20, max: 100).
string
Cursor for pagination - use the nextCursor value from a previous response.
string
Field to sort by (default: createdAt). One of createdAt, startedAt, endedAt, duration, title, status
string
Sort direction (default: desc). One of asc, desc
string
Filter by call status. One of RINGING, IN_PROGRESS, ENDED
string
Search text to filter calls by title, summary, or transcript.
string
Calls that include any of these agents. One id, or several separated by commas, at most 100. A call with more than one agent matches when any of them is listed. An id that is not an agent on a call in this project matches nothing. Combines with the other filters, including sortBy and sortDirection.
string
Filter by simulation run plan job ID to get all calls from a specific simulation batch.
string
Calls from any of these simulation runs (run plan job ids), comma-separated, at most 100.
string
Calls from every run of any of these run plans, comma-separated, at most 100.
string
true: only simulated calls their run’s results count (not invalidated, for example because the agent never spoke). false: only the simulated calls the results leave out, each invalidated. Live calls, and calls removed from their run, match neither. One of true, false
string
true: leave out calls from runs hidden from the runs list. Live calls stay in. false is the same as leaving it out. One of true, false
object
Filter on properties, one entry per property name. properties[<name>][exists]=true keeps calls that have the property set (whatever the value), properties[<name>][exists]=false keeps calls missing it (never sent, sent as null, or removed). properties[<name>][eq]=<value> keeps calls whose value equals it, ignoring case. agent_name and agent_id are built in and read the agents linked to the call, not a stored snapshot: agent_name matches an agent name, agent_id matches an agent id (a UUID). A call with several agents matches when any of them does. A custom property the project has never stored matches no calls under eq. Names match the way properties are stored, so planTier and plan_tier are one property, and agentName is agent_name. At most 20 properties. A name taken by a built-in call filter, such as status, is rejected with 400. One operator per property.

Example

Every command also takes the global options and sets one of the exit codes.