Brume · Docs
API

Usage et alertes

Référence OpenAPI générée pour le domaine « Usage et alertes ».

GET
/api/tenants/{path_tenant_id}/skills/usage

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

path_tenant_id*string

Query Parameters

workspace_id?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tenants/string/skills/usage"
[  {}]
GET
/api/tenants/{path_tenant_id}/upgrade-alerts

Return upgrade alerts after authorization, creating the default profile if needed.

Permission and database errors are propagated to the API error handlers.

Path Parameters

path_tenant_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tenants/string/upgrade-alerts"
{}
POST
/api/tenants/{path_tenant_id}/upgrade-alerts/ignore

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

path_tenant_id*string

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"  }'
{}
POST
/api/tenants/{path_tenant_id}/upgrade-alerts/upgrade

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

path_tenant_id*string

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"  }'
{}