Skip to main content
POST
Log 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

Caller-owned id used to dedupe retries of the same event. Stored as {trajectory_id}:{event_id} in a 128-character column.

Required string length: 1 - 63
name
string
required

Harness event name.

Minimum string length: 1
payload
Payload · object

Optional structured event payload. Does not affect training reward.

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.