Skip to main content
POST
Save

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
document
string
required
Maximum string length: 262144
note
string
required
Required string length: 1 - 1024

Response

Successful Response

The effective immutable policy, after scope and entitlement resolution.

policy_digest
string
required
Pattern: ^[0-9a-f]{64}$
project_key
string
required
Required string length: 1 - 256
purpose
enum<string>
required
Available options:
sft,
preference,
evaluation,
custom
bundle_digest
string
required
Pattern: ^[0-9a-f]{64}$
checks
CheckRequirement · object[]
required
Required array length: 1 - 1024 elements
schema_version
integer
default:1
block_severity
enum<string>
default:high
Available options:
critical,
high,
medium,
low,
info
review_severity
enum<string> | null
default:medium
Available options:
critical,
high,
medium,
low,
info
max_age_seconds
integer | null
Required range: x >= 1