/v1/meGet the authenticated workspace
Returns the workspace (its profile and the sides it runs: creator, advertiser or both; edit the profile with PATCH /v1/workspace), plan, limits and feature flags the API key belongs to, plus the key's scopes and effective permissions: the scopes' permissions, limited to the creating member's role and to the workspace's sides. Endpoints of a side the workspace doesn't run return 403. side_required is true when the workspace runs both sides: list endpoints with a side parameter (GET /v1/placements, GET /v1/analytics) then need it, otherwise it defaults to default_side. api_key.rate_limit_per_minute is the limit this key is held to on top of the plan's, or null when only the plan's applies; a test key without its own limit shows the platform's default for test keys. Over MCP, an AI app connected by signing in (OAuth) gets api_key: null and connected_app instead: the app's name and client id, the scopes the member approved and when they connected it. hints are plain-language notes on using the API with this workspace. Use it to verify a key.
curl "https://sqa.coboost.ai/api/v1/me" \
-H "Authorization: Bearer $COBOOST_API_KEY"{
"object": "workspace_identity",
"workspace": {
"id": "cmf0ws0001",
"name": "Lumen Skincare",
"slug": "lumen-skincare",
"creator_enabled": false,
"advertiser_enabled": true,
"sides": [
"advertiser"
],
"currency": "USD",
"timezone": "America/New_York",
"logo_url": "https://lumen.example/logo.png",
"website": "https://lumen.example",
"instagram_handle": "lumen.skincare",
"description": "Science-backed skincare without the jargon.",
"industry": "beauty",
"country": "US"
},
"plan": {
"key": "pro",
"name": "Pro"
},
"api_key": {
"id": "cmf0key001",
"name": "Production",
"prefix": "cbst_live_8fQ2",
"scopes": [
"placements:read",
"placements:write"
],
"expires_at": null,
"rate_limit_per_minute": null
},
"connected_app": null,
"permissions": [
"accounts.read",
"campaigns.read",
"placements.review"
],
"features": {
"api": true,
"mcp": true,
"webhooks": true
},
"limits": {
"api_requests_per_minute": 300,
"webhook_endpoints": 10,
"active_campaigns": 50
},
"default_side": "advertiser",
"side_required": false,
"hints": [
"`GET /v1/placements` and `GET /v1/analytics` take a `side` (`creator` or `advertiser`). It defaults to the workspace's only side; a workspace that runs both sides must pass it (422 otherwise)."
]
}