GET/v1/workspace

Workspace Info

Returns workspace configuration including plan details, team members, connected platforms, usage limits, and current period usage.

Bearer token required. Minimum plan: Pro.

Request
curl -X GET "https://api.onprism.io/v1/workspace" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response (200 OK)
{
  "id": "ws_abc123",
  "name": "My Brand",
  "plan": "agency",
  "billing_period": "annual",
  "team_members": 4,
  "team_limit": 10,
  "platforms_connected": 3,
  "platform_limit": null,
  "audits_used": 2,
  "audits_limit": null,
  "current_prism_score": 54.2,
  "created_at": "2025-06-15T10:00:00Z"
}

Error Codes

401

Unauthorized

Missing or invalid API key.

404

Not Found

Workspace not found or you do not have access.