Brume · Docs
API

Fournisseurs

Référence OpenAPI générée pour le domaine « Fournisseurs ».

GET
/api/providers

Return provider access options with their last known health status.

This cache-only route never probes providers; refreshes are requested through /providers/health/refresh.

Query Parameters

workspace_id?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/providers"
[  {    "access_id": "string",    "checked_at": "2019-08-24T14:15:22Z",    "detail": "string",    "integration": "string",    "kind": "string",    "status": "string"  }]
POST
/api/providers/health/refresh

Queue the stale probes, or all of them on demand, without network waits.

The workspace must belong to the calling tenant: it selects the probed keys and the board channel that receives the results.

Query Parameters

workspace_id*string
force?boolean
Defaultfalse

Response Body

application/json

application/json

curl -X POST "https://example.com/api/providers/health/refresh?workspace_id=string"
{  "queued": [    "string"  ]}
GET
/api/providers/health/verdict

Return the server-computed serviceability verdict for the workspace.

The verdict reflects the providers actually used by workspace routing.

Query Parameters

workspace_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/providers/health/verdict?workspace_id=string"
{  "broken": [    {      "cause": "string",      "provider": "string"    }  ],  "model_label": "string",  "profile_name": "string",  "state": "string"}