Routage
Référence OpenAPI générée pour le domaine « Routage ».
Return tenant routing profiles and usage types to routing administrators.
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/tenants/string/routing"{}The tenant's ledgers (via its 1:1 customer), for the editor's « Crédits Brume » source selector. Read-only; does not create the customer (the Credits page handles that in P3-6). Empty list if absent.
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/tenants/string/routing/ledgers"{}Create an empty tenant routing profile; duplicate names are rejected.
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/routing/profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{}Delete an unassigned, unlocked, non-default tenant profile.
Path Parameters
Response Body
application/json
application/json
curl -X DELETE "https://example.com/api/tenants/string/routing/profiles/string"{}Rename an unlocked, non-default profile owned by the tenant.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/tenants/string/routing/profiles/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{}Make an existing tenant profile the default routing profile.
Path Parameters
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/tenants/string/routing/profiles/string/default"{}Copy a tenant profile and its routing entries under a generated name.
Path Parameters
Response Body
application/json
application/json
curl -X POST "https://example.com/api/tenants/string/routing/profiles/string/duplicate"{}Replace ordered routing entries and requeue provider health checks.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/tenants/string/routing/profiles/string/entries/string" \ -H "Content-Type: application/json" \ -d '{ "entries": [ { "provider": "string" } ] }'{}Assign an ordered list of managed model configs to a (profile, usage)
pair. Profile sealing (404). Derives the legacy policy_entries;
resolve() (flag OFF) returns the expected paths.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/tenants/string/routing/profiles/string/model-usages/string" \ -H "Content-Type: application/json" \ -d '{ "model_config_ids": [ "string" ] }'{}Return or create an editable personal copy of the tenant profile.
Path Parameters
Response Body
application/json
application/json
curl -X POST "https://example.com/api/tenants/string/routing/profiles/string/personalize"{}Initial choice of the vector space, before any workspace pin.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/tenants/string/routing/profiles/string/setup-embedding" \ -H "Content-Type: application/json" \ -d '{ "model_config_id": "string" }'{}Read the filter calibration carried by a policy profile.
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/tenants/string/routing/profiles/string/sovereign-filter"{}Validate and replace the profile's sovereign calibration.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/api/tenants/string/routing/profiles/string/sovereign-filter" \ -H "Content-Type: application/json" \ -d '{ "options": {}, "triggering_categories": [ "string" ] }'{}Coverage per external SERVICE (Serper/Composio/Daytona) — READ ONLY, for the install surface. No debit, no write.
Mirror of the unified decision head resolve_serving: for each service,
served_by_instance = is_brume_cloud (cloud → the call runs on Brume
Credit; self-host → to be covered by a key). ⚠️ "two flags": this field is
the REAL coverage condition (mirror of resolve_serving), NEVER a blind
debit flag. Traces the read-only neutrality of É4:
resolve_serving DECIDES who serves, it never DEBITS.
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/tenants/string/routing/services"{}