List the model providers the Tenant has credentials for
managementKeyAuthorizationBearer <token>A management key of the Tenant (role management): it reaches the Management API (/v1/tenant/*) and /v1/me, as itself, never for a subject. Issued only on the Tenant's machine (nylorun-operate keys put <id> --role management) or from NYLORUN_MANAGEMENT_KEY_FILE. Never accepted from a browser (Origin).
Nylorun-Protocol*stringThe protocol version, 18
The providers
application/json- response
providers*array<>import { createAdmin } from "@nylorun/admin";const admin = createAdmin();const providers = await admin.models.providers();{ "providers": [ { "id": "string", "name": "string", "model": "string", "authType": "api_key", "baseUrl": "string", "settings": { "contextWindow": 1, "maxTokens": 1, "reasoning": true, "inputs": [ "text" ], "compat": { "property1": null, "property2": null }, "headers": { "property1": "string", "property2": "string" }, "callHeaders": { "property1": { "from": "agent.label", "key": "string" }, "property2": { "from": "agent.label", "key": "string" } } }, "inputs": [ "text" ], "lastUpdated": "string", "active": true } ]}Set what a catalog model reads PUT
Replaces the inputs the operator added to one catalog model (Tenant setting `model.inputs`): only those in its `addableInputs`, which its provider API carries. Its catalog's own inputs always stay; an empty list removes the additions. The agent's harness learns them in `turn.start.model` and decides how each file reaches the model. A custom endpoint sets `settings.inputs` on `PUT /v1/tenant/model` instead.
Get the Tenant's model GET
Next Page