Skip to main content
POST
Add a model provider to the factory

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

Body

application/json
key
string
required

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[]
required

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

Maximum array length: 200
Maximum string length: 200
address
string

A custom entry's https address. It names a public host and carries no login, query or fragment.

Maximum string length: 2000
name
string

The name of a custom entry. Another provider may not use it.

Maximum string length: 200
preset
string

The id of a preset. The address and the name are then the preset's, and the body names neither.

Maximum string length: 64

Response

The entry was stored.

data
object
required