Skip to main content
POST

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

id
string<uuid>
required

The model's ID (not its project ID). Find it with GET /models?name=your-org/your-model.

account_id
string<uuid>
required

The account's ID. Use the account_id from GET /me.

Body

application/json
environment
string

The name or ID of an environment of the model. Defaults to production.

Response

The account now has access.

model
object
required
account
object
required
environments
object[]
required