List audit events
Returns an immutable, newest-first audit page. Exact filters combine with AND. created_from is inclusive and created_to is exclusive. Cursors are bound to this endpoint and the complete filter set.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerNumber of catalog resources to return. The server fetches one extra row internally to produce next_cursor.
1 <= value <= 20050q?stringCase-insensitive search across action, resource identity, actor identity, connected-app name, request ID, and client IP.
1 <= length <= 200created_from?stringInclusive event timestamp as RFC3339 or YYYY-MM-DD.
created_to?stringExclusive event timestamp as RFC3339 or YYYY-MM-DD; must be after created_from.
action?string1 <= length <= 160resource_kind?string1 <= length <= 120resource_id?string1 <= length <= 512actor?string"user""api_key""system""agent""eval"user_id?stringuuidactor_email?stringFilter by the acting user's email as recorded on the event. Matches the immutable per-event identity snapshot, so it selects actors whose home organization differs from this one — platform admins, account admins, and members of more than one organization.
1 <= length <= 320api_key_id?stringuuidrequest_id?string1 <= length <= 256session_id?stringuuidclient_ip?stringvia?stringFilter by delegation channel. oauth returns only events a person made through a connected app (an OAuth client such as Claude over MCP); none returns only events made directly.
"oauth""none"oauth_grant_id?stringFilter to the events made through one connected-app grant (the via.grant_id of an event or of an /audit-log/actors entry).
uuidSuccess
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.kejue.co/v1/audit-log'{ "data": [ { "id": "string", "ts": "2019-08-24T14:15:22Z", "actor_kind": "user", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "user_email": "user@example.com", "user_name": "string", "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd", "api_key_prefix": "string", "api_key_name": "string", "action": "string", "resource_kind": "string", "resource_id": "string", "resource_label": "string", "client_ip": "string", "request_id": "string", "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82", "via": { "kind": "oauth", "client_name": "string", "grant_id": "a3c1da8e-13c6-4cab-955b-2120b58c2982" }, "metadata": { "public_schema_version": 1, "metadata_status": "complete", "dropped_fields_count": 1, "reason_code": "source_too_large", "source_bytes": 1, "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "agent_version_id": "1c2a713c-7248-4a56-a9eb-0bdcb3a41741", "board_id": "75e8c400-2dbc-43a3-9af4-ff9e6c099385", "call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e", "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598", "delivery_id": "9892f438-d31c-4ff2-bc84-146525b292ff", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "draft_version_id": "2369ad9c-68ef-4f99-9fef-504688a7ce49", "extraction_object_id": "dd58f28a-20cf-4d0e-af7a-6fd115475937", "guardrail_id": "5ea4ad06-0022-46ca-b5a6-3795e32e6aa8", "invitation_id": "a6e6785a-3ea9-406c-b873-17eaf2ed5fc9", "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "kb_id": "999c0e19-1947-4a4f-b165-815dc3353cfe", "mcp_server_id": "e10a714a-6b0a-499f-b13f-db958c6ad8c0", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "pcap_id": "4d463451-9859-4a52-a2af-7a21fa009403", "phone_number_id": "54afc7b8-17df-415a-9fb0-21ee66219576", "policy_id": "ee9b03e0-6495-427a-85a5-34444d24ae04", "pool_id": "bd9ee216-b2f2-496a-bbe1-31b86a2c3c43", "production_version_id": "d654edbb-ca54-4a64-b7c4-005ef7fca6ba", "recording_id": "9992db36-e21b-4b1d-9899-c31897d2e6b9", "replay_delivery_id": "9e5bda9e-76fc-424b-a4c0-407719e4e87b", "replay_of_delivery_id": "dc49884b-5998-498b-b057-5ae666c55275", "revision_id": "f8f7f022-982b-4bef-ba7d-4bb808fdbe2a", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9", "secret_id": "9e739c43-5a0b-4293-91b3-7c10894ec3f4", "source_delivery_id": "3ae7d857-8f0e-4628-abb6-35ac2b568dd6", "staging_version_id": "a87b904f-aeba-4d60-9b40-6ac27d5023f2", "suite_id": "3e9c08eb-436b-4d4b-9cfe-ca21d8bdb99b", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "tool_id": "6c5cc6aa-c017-4456-ab57-583572511a6c", "transfer_id": "d4a2d8dd-7def-4545-a062-761683b9aa05", "trunk_id": "d1c0247b-6570-4df5-9107-7986a22149d1", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c", "webhook_config_id": "df156cd4-8746-4feb-9a60-29437338c6cd", "active_job_count": 0, "attached_trunk_count": 0, "attempt_count": 0, "attempts": 0, "byte_size": 0, "call_count": 0, "cancelled_delivery_count": 0, "consumed_attempt_count": 0, "count": 0, "dependency_count": 0, "entity_count": 0, "external_objects_scheduled": 0, "field_count": 0, "invitation_count": 0, "max_attempts": 0, "member_count": 0, "packet_count": 0, "policy_version": 0, "organization_version": 0, "position": 0, "priority": 0, "resource_version": 0, "revision": 0, "tag_count": 0, "tool_count": 0, "ttl_seconds": 0, "turn_index": 0, "usage_count": 0, "version": 0, "allow_call_overrides": true, "allowlist_edit": true, "archived": true, "changed": true, "enabled": true, "pcap_enabled": true, "provider_edit": true, "outcome_unknown": true, "reassigned_agent": true, "renamed": true, "rotated_creds": true, "retryable": true, "set_extraction_object_ids": true, "set_summary_enabled": true, "set_summary_prompt": true, "set_webhook_config_ids": true, "content_hash": "string", "definition_hash": "string", "destination_sha256": "string", "from": "ringing", "to": "ringing", "failure_code": "caller_hangup_pre_answer", "end_reason": "caller_hangup_pre_answer", "direction": "inbound", "leg": "caller", "transport": "udp", "selection_policy": "sticky_least_loaded", "provider_cleanup": "scheduled", "provider": "livekit", "provider_confirmation": "confirmed", "provider_status": "accepted", "result": "already_terminal", "livekit_delete": "scheduled", "dependency_kind": "agent", "status": "active", "previous_status": "active", "delivery_status": "pending", "deployment_stage": "draft", "reconciliation": "scheduled", "reconciliation_code": "provider_result_ambiguous" } } ], "next_cursor": "string"}