Create usage
POST
/workspaces/{organizationId}/usageAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredRequest body
application/jsonperiodstringrequiredmin length 1
resourcestringrequiredmin length 1
actionstringrequiredmin length 1
countintegermin 0 · default: 1
Responses
201
Usage recorded
idstringrequiredorganizationIdstringrequiredperiodstringrequiredresourcestringrequiredactionstringrequiredcountintegerrequiredcreatedAtstringrequiredupdatedAtstringrequired