agentrouter.insights.v1.RequestLogsService
RequestLogsService provides access to historical request logs for debugging, cost analysis, billing, and compliance auditing. It is gated on the request_logs_reader scope (admin implies it).
Tenant boundary (fraser#6341, ADR-055 section 3): every request message carries an optional customer_id so the surface has a tenant boundary a scoped management key can be confined to. A non-admin key is always limited to its own customer (and to its own project for a project-tier key) regardless of the wire value -- a mismatched customer_id is denied at the API-key boundary before the handler runs. Platform-admin keys and non-key credentials keep their cross-tenant reach: empty customer_id means "all customers" for them, a supplied one narrows the query.
QueryRequestLogs
QueryRequestLogs retrieves request logs with filtering and pagination.
CountProjectRequests
CountProjectRequests counts one project's requests on each of several
GetRequestLogStats
GetRequestLogStats returns aggregated statistics for request logs.
GetRequestLog
GetRequestLog retrieves a single request log by request ID.