List non-eval calls
calls:readAuthenticationReturns a cursor page of call metadata. Eval-backed sessions and purged calls are excluded by default. Query parameters are closed and singleton except ef (up to 20), agent_ids (up to 120), and channel_not (up to six). Unknown or duplicate singleton parameters return 400 instead of being ignored. next_cursor is bound to the selected sort and direction.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque keyset cursor returned as next_cursor. It is bound to this endpoint's sort and direction.
limit?integerNumber of calls to return.
1 <= value <= 20050agent_id?stringuuidagent_ids?array<>Repeatable agent UUID scope. Matches any listed agent; ANDed with agent_id, agent_name and other filters. At most 120 values.
1 <= items <= 120agent_name?string1 <= length <= 200campaign_id?stringRestrict to calls placed by one campaign.
uuidflow_id?stringRestrict to calls that ran inside one flow.
uuidgroup_id?stringRestrict to calls routed through one group (any member).
uuidstatus?string"live""completed"call_id?stringCall-ID needle matched case-insensitively against the call UUID. call_id_match picks the mode and defaults to starts_with, so the 8-character short ID shown in the dashboard finds its call while a full UUID still matches.
1 <= length <= 64call_id_match?stringMatch mode for call_id. Defaults to starts_with. Only read when call_id is present.
"contains""is""starts_with"caller_number?stringCustomer phone-number needle. caller_match picks the mode and defaults to a case-insensitive contains, so trailing digits still find the call. Only calls with a stored caller number match; purged and older calls have none.
1 <= length <= 64caller_match?stringMatch mode for caller_number. Defaults to contains; is is an exact match. Only read when caller_number is present.
"contains""is""starts_with"lifecycle_status?string"ringing""in_progress""ended""failed"outcome?string1 <= length <= 160direction?string"inbound""outbound"handled_by?stringRestrict to AI-handled or ingested human-handled calls. Distinct from the session's channel, which records how the call reached the platform.
"ai""human"started_from?stringInclusive RFC3339 start time.
date-timestarted_to?stringExclusive RFC3339 end time; must be after started_from.
date-timeduration_min?number0 <= valueduration_max?number0 <= valuetotal_duration_min?number0 <= valuetotal_duration_max?number0 <= valueturns_min?integer0 <= value <= 2147483647turns_max?integer0 <= value <= 2147483647has_recording?booleanlegal_hold?booleanpurged?booleantrue returns only purged tombstones; false returns only unpurged calls.
include_purged?booleanInclude purged tombstones when purged is omitted.
sort?string"started_at""started_at""duration""total_duration""segment_count""outcome"dir?string"desc""asc""desc"ef?array<>Repeatable base64url-encoded extraction-field filter object. Each encoded value is at most 4096 bytes; a request may contain at most 20. See CallExtractionFilter.
items <= 20campaign_name?stringExact-match campaign name (analysis-board drill-down). Matches every campaign with that display name.
1 <= length <= 200channel?stringHow the call reached the platform. Null for rows predating the column's backfill, which therefore match no value.
"sip_inbound""sip_outbound""web_sdk""web_test""eval""transfer_brief"channel_not?array<>Repeatable channel exclusion. Every exclusion is ANDed with other filters, including channel. Null channels do not match, consistent with analysis neq filters. At most six values.
1 <= items <= 6failure_code?stringExact-match failure code (analysis-board drill-down).
1 <= length <= 120human_agent?stringExact-match human-agent label. Null for AI-handled calls.
1 <= length <= 200platform_number?stringExact-match platform (our end) phone number.
1 <= length <= 64guardrail_name?stringCalls with a guardrail trigger of this name. Combined with the other guardrail_* parameters into a single existence test, so all of them must describe the SAME trigger.
1 <= length <= 200guardrail_id?stringCalls with a guardrail trigger of this id. See guardrail_name.
1 <= length <= 200guardrail_severity?stringCalls with a guardrail trigger of this severity. See guardrail_name.
1 <= length <= 200guardrail_set_slug?stringCalls with a guardrail trigger from this set. See guardrail_name.
1 <= length <= 200tool_slug?stringCalls that invoked this tool. Combined with the other tool_* parameters into a single existence test, so all of them must describe the SAME invocation.
1 <= length <= 200tool_name?stringCalls that invoked a tool with this display name. See tool_slug.
1 <= length <= 200tool_kind?stringCalls that invoked a tool of this kind. See tool_slug.
"catalog""builtin""mcp"tool_ok?booleanCalls with a succeeding (true) or failing (false) tool invocation. See tool_slug.
tool_error_kind?stringCalls with a tool invocation that failed this way. See tool_slug.
"network""timeout""http_4xx""http_5xx""parse""auth""config""other"Call page.
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.kejue.co/v1/calls'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "room_name": "string", "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "agent_slug": "string", "agent_name": "string", "agent_version_id": "1c2a713c-7248-4a56-a9eb-0bdcb3a41741", "agent_version": 0, "agent_version_is_draft": true, "channel": "sip_inbound", "direction": "inbound", "flow_id": "0746f03b-16cc-49fb-9833-df3713d407d2", "flow_slug": "string", "flow_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_member_id": "03c46fef-cbe7-4bba-8c49-d666090d0932", "group_name": "string", "group_member_label": "string", "started_at": "2019-08-24T14:15:22Z", "answered_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z", "duration_sec": 0, "ring_duration_sec": 0, "talk_duration_sec": 0, "total_duration_sec": 0, "outcome": "string", "status": "live", "lifecycle_status": "ringing", "display_status": "ringing", "failure_code": "string", "failure_reason": "string", "ended_reason": "string", "segment_count": 0, "metadata": {}, "legal_hold": true, "purged_at": "2019-08-24T14:15:22Z", "purge_kind": "manual", "caller_number": "string", "platform_number": "string", "handled_by": "ai", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}