Skip to main content
POST
Record a trajectory event

Authorizations

Authorization
string
header
required

Short-lived token scoped to one rollout trajectory

Path Parameters

trajectory_id
string
required

Body

application/json
event_id
string
required

Stable event identifier used to deduplicate retries. The trajectory ID, a colon, and this event ID together must fit within 128 characters.

Required string length: 1 - 63
name
string
required

Harness event name.

Minimum string length: 1
payload
Payload · object

Optional JSON object recorded with the event. It is not a reward component, but an automatic grader can read it.

Response

Successful Response

ok
boolean
required

True when the event was stored or already present.

trajectory_id
string
required
status
string
required

Current trajectory status after the write.