Workspace account
GET /v1/me/usage
Return current tenant usage and quota summary.
Family: Workspace account · Operation ID: v1_get_tenant_usage
Access
Workspace API key: Authorization: Bearer <key>. The key is scoped to its workspace; the backend checks operation permissions and quota.
Required scope: any authenticated workspace key
Create a key in Developer settings. Set API_BASE_URL to the current app origin.
Request example
curl --fail-with-body -X GET "$API_BASE_URL/v1/me/usage" \
-H "Authorization: Bearer $API_KEY"Responses
200
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TenantUsageResponse"
}
}
},
"description": "Tenant usage summary"
}default
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
},
"description": "Request error"
}