Create dashboard widget
Creates a widget as a child resource under a dashboard.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.
1 - 53"ws_j572abc123def456"
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
1 - 64"create-prod-2026-05-07"
Path Parameters
1 - 55Body
- Option 1
- Option 2
- Option 3
1 - 541 100Controls how the snippet result is rendered in dashboard widgets
table, stat, json, logs, timeseries, null Response
Dashboard widget created
- Option 1
- Option 2
1 - 541 - 551001 compact, standard, tall 1 - 2048- Option 1
- Option 2
Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0platform_metric 1 - 100^[a-z][a-z0-9_]*$