Usage and alerts
Tenant consumption and alert rules.
Return workspace counts for tenant skills.
Tenant admins may query the whole tenant; workspace skill editors must identify their workspace, which is excluded from the counts.
Path Parameters
Query Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/tenants/string/skills/usage"[ {}]Return upgrade alerts after authorization, creating the default profile if needed.
Permission and database errors are propagated to the API error handlers.
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/tenants/string/upgrade-alerts"{}Ignore one profile upgrade alert and return its updated state.
The caller must manage tenant API keys; unknown resources return not found, while invalid upgrade requests return validation errors.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/tenants/string/upgrade-alerts/ignore" \ -H "Content-Type: application/json" \ -d '{ "current_canonical_id": "string", "profile_id": "string", "successor_canonical_id": "string" }'{}Apply one profile model upgrade and return its updated state.
The caller must manage tenant API keys; unknown resources return not found, while invalid upgrade requests return validation errors.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/tenants/string/upgrade-alerts/upgrade" \ -H "Content-Type: application/json" \ -d '{ "current_canonical_id": "string", "profile_id": "string", "successor_canonical_id": "string" }'{}