List tool call logs
Authentication
Token-based authentication with required prefix “Bearer”
Query parameters
Exact match on the caller’s W3C traceparent trace id (32 hex). The Merge Gateway request log records the same value on the model requests of the same prompt, so one id joins the two logs.
Only logs at or after this timestamp (ISO 8601). Clamped to the last 30 days — older values are raised to the 30-day floor.
Only logs at or before this timestamp (ISO 8601).
Opaque cursor from a previous response’s next_cursor.
Exact match on why execution failed (e.g. tool_execution_error, reauth_required, blocked_by_security_rule). Executed calls only; refusals decided before execution are not logged as tool calls.
Records per page (1-1000, default 100).
Filter by tool name (partial match).
Exact match on the agent turn id: the caller’s X-Merge-Turn-Id, else Codex CLI’s turn id. Also recorded on the Gateway request log.