LlmGatewayConfigurations

update llm_gateway_configuration

Changed on

Partially updates an LLM Gateway configuration's attributes.

patch/llm_gateway_configurations/{id}

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

idinteger required

LLM Gateway Configuration database ID

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Request body

spend_limitnumber

New monthly spend limit in USD. Lowering it also lowers the spend_limit of any of the organization's keys that are above the new limit, to match.

modelsstring[]

List of permitted model identifiers

Response

successful

idinteger required

Database ID of the LLM Gateway Configuration

_typestring required
organization_idstring required

The organization this configuration belongs to

team_idstring required

The LiteLLM team ID for this organization

trialboolean required

Whether the organization is on a trial AI Gateway plan

spend_limitstring required

Monthly spend limit in USD (decimal, serialized as string)

modelsstring[] required

List of permitted model identifiers

created_atstring dateTime required
updated_atstring dateTime required

Changes