Skip to main content
POST
Create a gateway

Authorizations

Authorization
string
header
required

Human personal access token (sk-actrl-pat-...).

Body

application/json
projectId
string<uuid>
required

Project that owns the gateway.

name
string
required

Gateway name.

slug
string

Optional URL-safe gateway name.

defaultProviderId
string<uuid> | null
defaultModel
string | null
credentialIds
string<uuid>[]

Legacy shorthand: all credentials use defaultModel.

credentialBindings
object[]

Response

Gateway created.

ok
enum<boolean>
required
Available options:
true
data
object
required