Skip to main content
POST
Attach a criterion to a moments collection

Authorizations

Authorization
string
header
required

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

Path Parameters

collection_id
string<uuid>
required

Body

application/json
criterion
object
required

An inline criterion: rubric instructions plus typed output declarations. Snapshotted and hashed onto the run.

signals_required
enum<string>[]
Minimum array length: 1
Available options:
speech,
visual_scene_description,
scene_text,
audio_description
boundary_policy
enum<string>
default:sentence
Available options:
sentence,
tight,
loose
speaker_filter
object
min_duration_seconds
number
default:5
Required range: x > 0
max_duration_seconds
number
default:300
Required range: x > 0

Response

The attachment, backfill pending.

attachment_id
string<uuid>
required
criterion_name
string
required
criterion_hash
string
required
backfill_status
enum<string>
required
Available options:
pending,
processing,
completed,
completed_with_failures
criterion
object
options
object
files_total
integer
files_completed
integer
files_failed
integer
created_at
integer

Unix timestamp in milliseconds