Update Client Model
Update one client model owned by your organisation. Send the fields you want to change (at least one is required); omitted fields keep their stored values. A model owned by another organisation returns 404. The write-only api_key, vertex_credentials, and aws_credentials fields overwrite the stored secret when supplied and are never returned.
Authorizations
Your SLNG consumer API key.
Path Parameters
The UUID of the client model to update. A model owned by another organisation returns 404.
Body
The fields to change on the client model. At least one must be supplied.
Fields to change on an existing client model. All are optional and at least one must be supplied; omitted fields keep their stored values. Write-only credential fields overwrite the stored secret when provided.
1 - 2000A replacement upstream provider API key. Write-only: overwrites the stored key and is never returned. Required for openai-compat, openai-responses, and azure; rejected for vertex.
1A new alias for the model. Sent upstream as-is unless model_id is set.
1 - 255A new upstream provider-facing model id. Empty or null sends model_name as-is.
255The bring-your-own model provider to set. Changing it re-checks the per-provider field requirements against the merged record. Values: openai-compat and openai-responses (OpenAI-compatible endpoints), azure (Azure OpenAI), and vertex (Google Vertex AI).
openai-compat, openai-responses, azure, vertex 100A new Azure OpenAI deployment name. Azure only.
255A new Azure OpenAI API version. Azure only.
100openai-compat and openai-responses only: change the custom credential header name that replaces the default Authorization Bearer scheme. Rejected for azure and vertex.
64Vertex only: a replacement GCP service-account key JSON. Write-only; stored encrypted and never returned (responses expose has_vertex_credentials).
100100Speech BYOK only: replacement AWS SigV4 credentials (access_key_id, secret_access_key, region). Write-only; stored encrypted and never returned (responses expose has_aws_credentials).
2Response
The updated client model.
A client model as returned by the API. Credential values are never included; has_api_key, has_vertex_credentials, and has_aws_credentials report whether each secret is stored, and fallbacks lists the configured fallback cascade.
The kind of model: llm, stt, or tts.
llm, stt, tts The configured provider. May be a legacy free-form label on records created before the current provider set.
Whether an upstream API key is stored. The key value is write-only and never returned.
The custom credential header name, or null for the default Authorization Bearer scheme. The credential value itself is never returned.
The configured alias for the model.
The upstream provider-facing model id, or null when model_name is sent as-is.
The configured Azure OpenAI deployment name (Azure only).
The configured Azure OpenAI API version (Azure only).
Whether Vertex service-account credentials are stored. The value is write-only and never returned.
Whether AWS SigV4 credentials are stored. The value is write-only and never returned.
Speech BYOK only: the API key id this credential is scoped to, or null for the organisation default. Non-secret.