Skip to main content
PUT
Replace a model provider's key or model ids

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Path Parameters

appId
string<uuid>
required
id
string
required
Required string length: 1 - 64

Body

application/json
key
string

The endpoint's API key. The gateway tries it with the endpoint, stores it in Vault, and never returns it.

Required string length: 8 - 1000
Pattern: ^[\x21-\x7e]+$
modelIds
string[]

The model ids the endpoint serves. At least one, at most 50.

Maximum array length: 200
Maximum string length: 200

Response

The entry after the change.

data
object
required