Skip to main content
GET
List calls

Authorizations

Authorization
string
header
required

Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.

Path Parameters

projectId
string
required

Project id

Query Parameters

direction
enum<string>

Only inbound (incoming) or outbound (outgoing) calls.

Available options:
incoming,
outgoing
phone
string

Substring match on either phone number of the call.

agent
string

Only calls of conversations that this agent id took part in.

date_from
string<date-time>

Only calls created at or after this time (ISO 8601).

date_to
string<date-time>

Only calls created at or before this time (ISO 8601).

status
enum<string>

Only calls in this state. See the description for ongoing.

Available options:
scheduled,
accepted,
ringing,
ongoing,
completed,
busy,
no-answer,
failed,
cancelled
has_warnings
boolean

true returns only calls whose conversation raised an in-call warning, false only calls with none.

warning_category
enum<string>[]

Only calls with a warning in one of these categories. Repeat the parameter or separate values with commas.

Available options:
tool_failure,
caller_not_understood,
abuse_attempt,
provider_unavailable,
negative_sentiment,
escalation_risk
warning_severity
enum<string>

Minimum warning severity. critical matches critical warnings only.

Available options:
warning,
critical
has_findings
boolean

true returns calls whose conversation had a fatal error or an in-call warning.

is_eval
boolean

Evaluation (test) calls. Omit to include them; false hides them, true returns only them.

limit
integer

Maximum number of calls to return (clamped to 1–200). Without it every matching call is returned.

Required range: 1 <= x <= 200

Response

The matching calls.

calls
object[]
required