v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
trajectories

Create Trajectory

Create a new trajectory for a workflow.

The workflow must exist and belong to the authenticated organization. The trajectory_data must contain at least one item.

post/v1/trajectories

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.

Request body

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

Whether this trajectory is approved for use

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