AIGatewayProviderKeys

Update

Update an existing AI Gateway Provider Key by ID

patch/ai_gateway_provider_keys/{id}

Path parameters

idstring required

unique identifier for this provider key

Headers

ngrok-versioninteger required

Request body

idstring

unique identifier for this provider key

descriptionstring

human-readable description of this provider key

metadatastring

arbitrary user-defined metadata for this provider key

Response

Update an existing AI Gateway Provider Key by ID

idstring

unique identifier for this provider key

uristring

URI of this AI Gateway Provider Key API resource

created_atstring

Timestamp when the provider key was created (RFC 3339 format)

updated_atstring

Timestamp when the provider key was last updated (RFC 3339 format)

provider_idstring

which AI provider this key is for, e.g. "openai", "anthropic"

descriptionstring

human-readable description of this provider key

metadatastring

arbitrary user-defined metadata for this provider key

display_namestring

redacted display form of the key value, e.g. sk-abc***xyz

last_usedstring

Timestamp when the provider key was last used (RFC 3339 format)

Changes

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