Skip to main content
GET
/
v1
/
observability
/
{workspaceId}
/
dashboard
Get the unified observability dashboard for a workspace
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.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

workspaceId
string
required

Workspace identifier.

Maximum string length: 64
Pattern: ^[a-zA-Z0-9_-]+$

Query Parameters

period
enum<string>

Preset window (default 24h).

Available options:
15m,
30m,
1h,
24h,
7d,
30d
start
string<date-time>

Custom range start (overrides period; never cached).

end
string<date-time>

Custom range end (overrides period; never cached).

granularity
enum<string>

Granularity override (auto-picked from period; 5m windows shorter than 1h are never cached).

Available options:
5m,
hourly,
daily

Response

Unified dashboard payload.

Unified per-workspace observability dashboard.

workspaceId
string
period
object
health
object

health block - output of internal/observability/build-health.

metrics
object

metrics block - output of internal/observability/build-metrics.

errors
object

errors block - output of internal/observability/build-errors.

costs
object

costs block - output of internal/observability/build-costs.

usage
object

usage block - output of internal/observability/build-usage.

meta
object