ManagementList the namespace's routing presets
List the namespace's routing presets
1 min readEdit this page
Typed list of routing presets. Each preset bundles request defaults (model, system_prompt, generation params) with provider-routing constraints (routing).
Requires the routing_preset:read scope.
x-api-key<token>
Anthropic-style API key header.
In: header
Path Parameters
nsid*string
Id of the target namespace. Must be owned by the caller (or equal a namespace-baked credential's own namespace), else 404.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/namespaces/string/routing-presets"{ "data": [ { "disabled_at": "2019-08-24T14:15:22Z", "id": "string", "model": "string", "name": "string", "params": {}, "routing": { "ignore": [ "string" ], "only": [ "string" ], "sort": "string" }, "system_prompt": "string" } ]}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}How is this guide?