Snoze Developers
API referenceAdmin

Get Dashboard

GET
/v1/admin/dashboard
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/admin/dashboard"
{  "data": {    "generatedAt": "string",    "metrics": {      "activeFlags": 0,      "activeExperiments": 0,      "activeRollouts": 0,      "failedRuns24h": 0,      "affectedWorkspaces": 0,      "auditWarnings24h": 0    },    "flags": [      {        "id": "string",        "key": "string",        "name": "string",        "description": "string",        "owner": "string",        "category": "string",        "controlType": "release",        "registered": true,        "status": "enabled",        "rollout": 0,        "environment": "development",        "target": "string",        "changedBy": "string",        "changedAt": "string",        "risk": "low",        "linkedExperimentId": "string"      }    ],    "experiments": [      {        "id": "string",        "name": "string",        "hypothesis": "string",        "targetType": "flag",        "targetKey": "string",        "assignmentUnit": "workspace",        "status": "draft",        "flagKey": "string",        "audience": "string",        "allocation": 0,        "primaryMetric": "string",        "guardrailMetric": "string",        "startedAt": "string",        "endsAt": "string",        "winner": "string",        "variants": [          {            "id": "string",            "label": "string",            "split": 0,            "exposures": 0,            "conversionRate": 0,            "errorRate": 0          }        ]      }    ],    "segments": [      {        "id": "string",        "name": "string",        "description": "string",        "rules": [          "string"        ],        "matches": 0,        "usedBy": [          "string"        ]      }    ],    "auditEvents": [      {        "id": "string",        "actor": "string",        "action": "string",        "resource": "string",        "summary": "string",        "createdAt": "string",        "severity": "info"      }    ],    "runs": [      {        "id": "string",        "kind": "action",        "label": "string",        "status": "completed",        "workspace": "string",        "durationMs": 0,        "startedAt": "string",        "error": "string"      }    ],    "policies": [      {        "id": "string",        "name": "string",        "description": "string",        "enabled": true,        "appliesTo": "string"      }    ],    "admins": [      {        "id": "string",        "email": "string",        "displayName": "string",        "role": "owner",        "status": "active",        "createdAt": "string",        "activatedAt": "string"      }    ]  }}