curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/dashboard \
--header 'Authorization: Bearer <token>'{
"workspaceId": "<string>",
"period": {
"type": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"granularity": "<string>"
},
"health": {
"score": 123,
"status": "<string>",
"metrics": {
"totalInteractions": 123,
"failedInteractions": 123,
"totalExecutions": 123,
"totalErrors": 123,
"errorRate": 123,
"successRate": 123,
"p95Ms": 123,
"p50Ms": 123
},
"breakdown": {},
"issues": [
{
"type": "high_error_rate",
"message": "<string>",
"impact": "info"
}
]
},
"metrics": {
"totalExecutions": 123,
"totalEntryExecutions": 123,
"totalInteractions": 123,
"latency": {
"p50Ms": 123,
"p90Ms": 123,
"p95Ms": 123,
"p99Ms": 123
},
"slowestAutomations": [
{
"automation": "<string>",
"executions": 123,
"p95Ms": 123,
"errorRate": 123,
"correlationIds": [
"<string>"
]
}
],
"timeline": [
{
"date": "2023-11-07T05:31:56Z",
"p95Ms": 123,
"count": 123,
"entryCount": 123,
"interactions": 123,
"status": "<string>"
}
]
},
"errors": {
"totalErrors": 123,
"totalExecutions": 123,
"totalInteractions": 123,
"failedInteractions": 123,
"errorRate": 123,
"byType": [
{
"type": "<string>",
"appInstanceFullSlug": "<string>",
"count": 123,
"percentage": 123
}
],
"byAutomation": [
{
"automation": "<string>",
"errorCount": 123,
"execCount": 123,
"errorRate": 123
}
],
"timeline": [
{
"date": "2023-11-07T05:31:56Z",
"count": 123,
"failedInteractions": 123,
"status": "<string>"
}
]
},
"costs": {
"summary": {
"totalCalls": 123,
"totalCostUsd": 123,
"totalTokens": 123,
"inputTokens": 123,
"outputTokens": 123,
"totalCarbonKgco2": 123
},
"byModel": [
{
"model": "<string>",
"calls": 123,
"cost": 123,
"tokens": 123,
"percentage": 123
}
],
"byProvider": [
{
"provider": "<string>",
"calls": 123,
"latencyMs": 123
}
],
"timeline": [
{
"date": "2023-11-07T05:31:56Z",
"calls": 123,
"cost": 123,
"tokens": 123,
"status": "<string>"
}
]
},
"usage": {
"summary": {
"totalInteractions": 123,
"totalExecutions": 123,
"uniqueUsers": 123,
"avgInteractionsPerDay": 123,
"avgRpm": 123,
"peakRpm": 123
},
"intervalStats": [
{
"date": "2023-11-07T05:31:56Z",
"interactions": 123,
"executions": 123,
"users": 123,
"status": "<string>"
}
],
"topEntrypoints": [
{
"automation": "<string>",
"count": 123,
"percentage": 123
}
]
},
"meta": {
"source": "<string>",
"data_points": 123,
"includes_current_interval": true,
"summary_cached": true,
"granularity_override_applied": true,
"generated_at": "2023-11-07T05:31:56Z",
"data_computed_at": "2023-11-07T05:31:56Z",
"next_refresh_at": "2023-11-07T05:31:56Z"
}
}Returns the per-workspace dashboard in a single response: health,
metrics, errors, costs, and usage sections. Backed by the
per-interval platform_metrics rows plus a summary cache; refreshes
the current open interval on demand and self-heals gaps in closed
intervals.
Requires observability:read permission.
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/observability/{workspaceId}/dashboard \
--header 'Authorization: Bearer <token>'{
"workspaceId": "<string>",
"period": {
"type": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"granularity": "<string>"
},
"health": {
"score": 123,
"status": "<string>",
"metrics": {
"totalInteractions": 123,
"failedInteractions": 123,
"totalExecutions": 123,
"totalErrors": 123,
"errorRate": 123,
"successRate": 123,
"p95Ms": 123,
"p50Ms": 123
},
"breakdown": {},
"issues": [
{
"type": "high_error_rate",
"message": "<string>",
"impact": "info"
}
]
},
"metrics": {
"totalExecutions": 123,
"totalEntryExecutions": 123,
"totalInteractions": 123,
"latency": {
"p50Ms": 123,
"p90Ms": 123,
"p95Ms": 123,
"p99Ms": 123
},
"slowestAutomations": [
{
"automation": "<string>",
"executions": 123,
"p95Ms": 123,
"errorRate": 123,
"correlationIds": [
"<string>"
]
}
],
"timeline": [
{
"date": "2023-11-07T05:31:56Z",
"p95Ms": 123,
"count": 123,
"entryCount": 123,
"interactions": 123,
"status": "<string>"
}
]
},
"errors": {
"totalErrors": 123,
"totalExecutions": 123,
"totalInteractions": 123,
"failedInteractions": 123,
"errorRate": 123,
"byType": [
{
"type": "<string>",
"appInstanceFullSlug": "<string>",
"count": 123,
"percentage": 123
}
],
"byAutomation": [
{
"automation": "<string>",
"errorCount": 123,
"execCount": 123,
"errorRate": 123
}
],
"timeline": [
{
"date": "2023-11-07T05:31:56Z",
"count": 123,
"failedInteractions": 123,
"status": "<string>"
}
]
},
"costs": {
"summary": {
"totalCalls": 123,
"totalCostUsd": 123,
"totalTokens": 123,
"inputTokens": 123,
"outputTokens": 123,
"totalCarbonKgco2": 123
},
"byModel": [
{
"model": "<string>",
"calls": 123,
"cost": 123,
"tokens": 123,
"percentage": 123
}
],
"byProvider": [
{
"provider": "<string>",
"calls": 123,
"latencyMs": 123
}
],
"timeline": [
{
"date": "2023-11-07T05:31:56Z",
"calls": 123,
"cost": 123,
"tokens": 123,
"status": "<string>"
}
]
},
"usage": {
"summary": {
"totalInteractions": 123,
"totalExecutions": 123,
"uniqueUsers": 123,
"avgInteractionsPerDay": 123,
"avgRpm": 123,
"peakRpm": 123
},
"intervalStats": [
{
"date": "2023-11-07T05:31:56Z",
"interactions": 123,
"executions": 123,
"users": 123,
"status": "<string>"
}
],
"topEntrypoints": [
{
"automation": "<string>",
"count": 123,
"percentage": 123
}
]
},
"meta": {
"source": "<string>",
"data_points": 123,
"includes_current_interval": true,
"summary_cached": true,
"granularity_override_applied": true,
"generated_at": "2023-11-07T05:31:56Z",
"data_computed_at": "2023-11-07T05:31:56Z",
"next_refresh_at": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
Use this file to discover all available pages before exploring further.
User session JWT or instance API key (iak_*).
Send as Authorization: Bearer <token>.
Workspace identifier.
64^[a-zA-Z0-9_-]+$Preset window (default 24h).
15m, 30m, 1h, 24h, 7d, 30d Custom range start (overrides period; never cached).
Custom range end (overrides period; never cached).
Granularity override (auto-picked from period; 5m windows shorter than 1h are never cached).
5m, hourly, daily Unified dashboard payload.
Unified per-workspace observability dashboard.
health block - output of internal/observability/build-health.
Hide child attributes
Hide child attributes
Failed / total interactions, percentage rounded to 2 decimals.
1 - errorRate, percentage rounded to 2 decimals.
Per-component score breakdown produced by compute-health-score.
metrics block - output of internal/observability/build-metrics.
Hide child attributes
errors block - output of internal/observability/build-errors.
Hide child attributes
costs block - output of internal/observability/build-costs.
Hide child attributes
usage block - output of internal/observability/build-usage.
Hide child attributes
Was this page helpful?