Blue Guardrails

Get Live Dashboard

POST
/v1/analytics/live-dashboard

Read General dashboard metrics from rollups.

Historical bounds round outward. Counts of active conversations and performance percentiles are approximate. History before UTC midnight seven days ago ignores later source changes. The response does not certify data completeness. Chart output is sparse and limited to 2,000 possible points. System data requires an application admin session, independently of workspace roles. Historical data requires an operational source backfill.

Header Parameters

x-workspace-id?|

Workspace UUID for session-authenticated calls.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Timezone-aware half-open interval; historical bounds round outward.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/analytics/live-dashboard" \  -H "Content-Type: application/json" \  -d '{    "start": "2019-08-24T14:15:22Z",    "end": "2019-08-24T14:15:22Z"  }'
{  "summary": {    "total_messages": 0,    "evaluated_messages": 0,    "messages_with_issues": 0,    "completed_evaluations": 0,    "evaluations_with_issues": 0,    "total_issues": 0,    "input_tokens": 0,    "output_tokens": 0,    "cache_read_input_tokens": 0,    "cache_creation_input_tokens": 0,    "input_without_cache_tokens": 0,    "reasoning_output_tokens": 0,    "output_without_reasoning_tokens": 0,    "ttft_sample_count": 0,    "total_cost_usd": "string",    "input_cost_usd": "string",    "output_cost_usd": "string",    "cache_read_cost_usd": "string",    "cache_creation_cost_usd": "string",    "input_without_cache_cost_usd": "string",    "reasoning_cost_usd": "string",    "output_without_reasoning_cost_usd": "string",    "unattributed_cost_usd": "string",    "ttft_sum_ms": "string",    "conversations": 0,    "issue_rate": 0,    "label_counts": {      "property1": 0,      "property2": 0    },    "ttft_average_ms": 0,    "duration_p50": 0,    "duration_p95": 0,    "throughput_p50": 0,    "throughput_p95": 0  },  "trends": [    {      "total_messages": 0,      "evaluated_messages": 0,      "messages_with_issues": 0,      "completed_evaluations": 0,      "evaluations_with_issues": 0,      "total_issues": 0,      "input_tokens": 0,      "output_tokens": 0,      "cache_read_input_tokens": 0,      "cache_creation_input_tokens": 0,      "input_without_cache_tokens": 0,      "reasoning_output_tokens": 0,      "output_without_reasoning_tokens": 0,      "ttft_sample_count": 0,      "total_cost_usd": "string",      "input_cost_usd": "string",      "output_cost_usd": "string",      "cache_read_cost_usd": "string",      "cache_creation_cost_usd": "string",      "input_without_cache_cost_usd": "string",      "reasoning_cost_usd": "string",      "output_without_reasoning_cost_usd": "string",      "unattributed_cost_usd": "string",      "ttft_sum_ms": "string",      "conversations": 0,      "issue_rate": 0,      "label_counts": {        "property1": 0,        "property2": 0      },      "ttft_average_ms": 0,      "duration_p50": 0,      "duration_p95": 0,      "throughput_p50": 0,      "throughput_p95": 0,      "timestamp": "2019-08-24T14:15:22Z"    }  ],  "metadata": {    "requested_start": "2019-08-24T14:15:22Z",    "requested_end": "2019-08-24T14:15:22Z",    "effective_start": "2019-08-24T14:15:22Z",    "effective_end": "2019-08-24T14:15:22Z",    "reference_time": "2019-08-24T14:15:22Z",    "resolution": "PT10M",    "partial_current_bucket": true,    "retention_floor": "2019-08-24T14:15:22Z",    "tags_stripped": false  }}