v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
Logging

Get consolidated dashboard data

Returns every metric shown on the workspace dashboard in a single response: overview totals and histograms, provider usage, model rankings, dimension rankings (team, user, virtual key, customer, business unit), and MCP usage. Intended for external integrations that want the full dashboard in one call rather than orchestrating the individual endpoints.

Accepts the same LLM filter parameters as the histogram and rankings endpoints, plus the MCP filter parameters (tool_names, server_labels) which apply to the mcp section. Filters are applied once and every section is computed against the same time window and bucket size. The request fails as a whole if any section cannot be computed, so the payload is always complete.

get/api/logs/dashboard

Query parameters

providersstring

Comma-separated list of providers to filter by

modelsstring

Comma-separated list of models to filter by

aliasesstring

Comma-separated list of model aliases to filter by

statusstring

Comma-separated list of statuses to filter by

objectsstring

Comma-separated list of object types to filter by

selected_key_idsstring

Comma-separated list of selected key IDs to filter by

virtual_key_idsstring

Comma-separated list of virtual key IDs to filter by

team_idsstring

Comma-separated list of team IDs to filter by

customer_idsstring

Comma-separated list of customer IDs to filter by

user_idsstring

Comma-separated list of user IDs to filter by

business_unit_idsstring

Comma-separated list of business unit IDs to filter by

routing_rule_idsstring

Comma-separated list of routing rule IDs to filter by

routing_engine_usedstring

Comma-separated list of routing engines to filter by

start_timestring date-time

Start time filter (RFC3339 format)

end_timestring date-time

End time filter (RFC3339 format)

periodstring

Relative time period filter

min_latencynumber

Minimum latency filter

max_latencynumber

Maximum latency filter

min_tokensinteger

Minimum tokens filter

max_tokensinteger

Maximum tokens filter

min_costnumber

Minimum cost filter

max_costnumber

Maximum cost filter

missing_cost_onlyboolean

Only show logs with missing cost

stop_reasonsstring

Comma-separated list of stop reasons to filter by

cache_hit_typesstring

Comma-separated list of cache hit types to filter by

parent_request_idstring

Parent request ID to filter by

metadata_<key>string

Metadata filter where <key> is the metadata key to match

content_searchstring

Search in request/response content

tool_namesstring

Comma-separated list of MCP tool names to filter the MCP section by

server_labelsstring

Comma-separated list of MCP server labels to filter the MCP section by

Response

Dashboard data retrieved successfully

dimension_rankingsobject

Ranking tables keyed by dimension (team, user, virtual_key, customer, business_unit); each value is that dimension's rankings.