Search call logs
Every call and routed attempt for this org, newest first (360-day retention). Filter by time, outcome, status, provider, capability, endpoint, key, agent, client, mode, credential, error code, latency and cost; cursor-paginated.
Authorization
bearer In: header
Query Parameters
Start of the window (default: 24 hours ago)
date-timeEnd of the window (default: now)
date-timeLowest HTTP status (inclusive)
100 <= value <= 599Highest HTTP status (inclusive)
100 <= value <= 599column:value pairs to leave out
Vendor billing verdicts; mismatch = charged_for_miss, double_charged_retry or price_mismatch
0 <= value0 <= value0 <= value0 <= valueSearch call, parent or run id, endpoint or error code (substring)
^[A-Za-z0-9_.-]{1,128}$^[A-Za-z0-9_.:/@-]{1,200}$1 <= value <= 20050Opaque cursor from a previous page
^[A-Za-z0-9_-]{1,300}$Response Body
application/json
application/json
curl -X GET "https://example.com/v1/logs"{ "items": [ { "call_id": "string", "parent_id": "string", "attempt": 0, "workspace_id": "string", "app_id": "string", "app_name": "string", "key_id": "string", "agent_id": "string", "run_id": "string", "supply_mode": "byok", "capability": "string", "endpoint_id": "string", "provider": "string", "mode": "string", "client_mode": "sync", "credential": "managed", "outcome": "hit", "error_code": "string", "http_status": 0, "upstream_status": 0, "total_ms": 0, "overhead_ms": 0, "upstream_ms": 0, "ttfb_ms": 0, "queue_wait_ms": 0, "bytes_in": 0, "bytes_out": 0, "cost_micro": 0, "cache": "hit", "saved_micro": 0, "user_agent": "string", "client_name": "string", "client_version": "string", "client_kind": "sdk", "ip": "string", "asn": 0, "country": "string", "colo": "string", "meta": { "property1": "string", "property2": "string" }, "request_hash": "string", "effective_options": "", "billing_verdict": "ok", "billing_billable": null, "vendor_expected_credits": null, "vendor_reported_credits": null, "vendor_balance_after": null, "vendor_expected_micro": null, "vendor_reported_micro": null, "ts": "2019-08-24T14:15:22Z", "has_body": true } ], "next_cursor": "string"}Get a call log GET
One call with timings, its redacted request/response body (audit-logged), the other attempts in its routed run or list, and its ledger entries.
Get a live tail ticket POST
A single-use ticket valid for 60 seconds that opens GET /v1/logs/live without an Authorization header (browsers). Carries logs:read for this org only.