LLM Gateway Provider Credentials

Set

Set stores or replaces the provider API key used by the LLM gateway for the given slot. The API key is stored encrypted and is never returned by the API.

put/api/v1/llm-gateway/provider-credentials/{slot_id}

Path parameters

slot_idstring required

The slotId field.

Request body

apiKeystring

The apiKey field.

displayNamestring

The displayName field.

headerStyle'PROVIDER_CREDENTIAL_HEADER_STYLE_UNSPECIFIED' | 'PROVIDER_CREDENTIAL_HEADER_STYLE_X_API_KEY' | 'PROVIDER_CREDENTIAL_HEADER_STYLE_AUTHORIZATION_BEARER'

The headerStyle field.

Response

Successful response

Changes

Changed in 1 of the 34 revisions of this API.1