Skip to main content
POST
Bind

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

project
string
required
Required string length: 1 - 256
purpose
enum<string>
required
Available options:
sft,
preference,
evaluation,
custom

Body

application/json
policy_digest
string
required
Pattern: ^[0-9a-f]{64}$
mode
enum<string>
required
Available options:
off,
shadow,
enforce
expected_generation
integer
required
Required range: x >= 0
note
string
required
Required string length: 1 - 1024

Response

Successful Response

project_key
string
required
purpose
string
required
generation
integer
required
policy_digest
string
required
Pattern: ^[0-9a-f]{64}$
mode
enum<string>
required
Available options:
off,
shadow,
enforce