Profile & workspace
GET /v1/me
GET
/v1/mescope: template:readProfile of the credential in use: which workspace it's bound to, the plan, credit usage, and its granted scopes.
Response
{
"workspace": { "id": "ws_abc", "title": "Acme", "slug": "acme", "path": "acme", "created_at": "..." },
"plan": {
"type": "scale",
"title": "Scale",
"credits": { "used": 120, "limit": 2000 },
"limits": { "members": 10, "workspaces": 3, "rate_per_minute": 600 }
},
"credential": { "type": "api_key", "env": "live", "scopes": ["template:read", "render:write"] }
}Profile & workspace
GET /v1/workspace
GET
/v1/workspacescope: template:readThe workspace this key is bound to.
Response
{ "id": "ws_abc", "title": "Acme", "slug": "acme", "path": "acme", "created_at": "..." }