Appearance
Request Logs
See also: Observability and Request Logs, MCP Invocations, MCP Registry and Discovery, Tagging, Request Lifecycle and Failure Modes, Data Relationships, Admin Control Plane
Request logs are the primary admin view for one gateway request. They are request-scoped, not tool-scoped: each row describes the user-visible API outcome, selected model route, owner context, payload capture state, and bounded tool cardinality.
Admin UI Route
Use /admin/observability/request-logs.
The page supports:
- list filtering by caller service, component, environment, and one bespoke tag pair; see Tagging
- request id visibility for correlation with traces, logs, and MCP invocation records
- detail inspection for sanitized request and response payloads
- payload policy visibility, including capture mode, byte limits, stream event limit, policy version, and truncation flags
- provider-attempt inspection for upstream execution metadata
- MCP/tool cardinality fields for exposed, invoked, filtered, and referenced MCP server counts
When MCP invocation logging is available, request-log detail links to /admin/observability/mcp-invocations?request_id={request_id} so admins can move from request outcome to individual tool calls.
API Contract
Current endpoints:
GET /api/v1/admin/observability/request-logsGET /api/v1/admin/observability/request-logs/{request_log_id}
Current list filters:
pagepage_sizerequest_idmodel_keyprovider_keystatus_codeuser_idteam_idservicecomponentenvtag_keytag_value
Storage Boundary
Request-log data is split across:
request_logsfor hot summary fieldsrequest_log_payloadsfor sanitized payload bodiesrequest_log_tagsfor bounded caller tagsrequest_log_attemptsfor upstream provider attempts
MCP tool execution rows are intentionally separate from request logs. Request logs keep cardinality counts and correlation ids; MCP invocation records own per-tool status, policy result, latency, and redacted argument/result metadata.
Registry-backed execution can later use stable external MCP server/tool ids to make referenced-server cardinality durable across display-name changes.
Failure Reading
Pre-provider request-log outcomes such as budget_error, invalid_request, and no_routes_available can produce summary rows with no provider attempts. The budget_error outcome corresponds to the caller-facing budget_exceeded error code. Provider-backed failures can include one or more request-attempt rows once retry/fallback execution exists.
Missing detail rows return 404 not_found.
What This Page Does Not Own
- MCP per-tool invocation records: mcp-invocations.md
- request and identity tag rules: Tagging
- payload redaction policy details: Observability and Request Logs
- request path and failure classes: Request Lifecycle and Failure Modes
Validation
Run mise run docs:check before handing off documentation changes.
