Skip to main content
POST
Treat

Authorizations

Authorization
string
header
required

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

Path Parameters

execution_id
string
required
Pattern: ^[0-9a-f]{32}$

Query Parameters

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

Body

application/json
actions
GovernanceTreatActionBody · object[]
required
Required array length: 1 - 1024 elements
note
string
required
Required string length: 1 - 1024
mask
string
default:[redacted]
Required string length: 1 - 64
drop_duplicates
boolean
default:false

Response

Successful Response

execution_id
string
required
Pattern: ^[0-9a-f]{32}$
run_id
string
required
queued
boolean
required
units
integer
required
Required range: 0 <= x <= 9223372036854776000