v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
runs

Generate Run Trajectory

Mark the latest trajectory for a run as generated.

This promotes whichever trajectory is currently latest by updated_at. If a duplicated trajectory tied to this run is the latest row, this endpoint may return/promote that duplicate.

post/v1/runs/{run_id}/generate-trajectory

Path parameters

run_idstring uuid required

Headers

Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000

Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.

Response

Successful Response

namestring nullable
descriptionstring nullable
workflow_idstring uuid required
run_idstring uuid nullable

Optional run that created this trajectory

trajectory_dataobject[] required
dimensionsobject required

Display dimensions when trajectory was recorded

original_input_valuesobject nullable

Original input values used when trajectory was created

is_approvedboolean required
has_been_approvedboolean required
is_generatedboolean required
is_mainboolean required
idstring uuid required
user_idstring uuid nullable
organization_idstring nullable
created_atstring date-time required
updated_atstring date-time required