Calls
GET /v1/callOptions
Field to sort by (default: createdAt). One of
createdAt, startedAt, endedAt, duration, title, statusSearch text to filter calls by title, summary, transcript, notes or call id. A phone number in any common format, such as (608) 813-8733 or +16088138733, matches the customer phone number on the call instead of the transcript. A search that takes too long returns 400 with code search_timeout: narrow the search text or add filters and try again.
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.
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, falsetrue: 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, falseFilter 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.