Run lineage

Run lineage connects related executions. Conversation messages can link to that work, while project-owned runs can execute without a conversation.

Lineage fields

The REST run response exposes these fields. Other API surfaces may use different field names. See the run reference for the full response.

FieldMeaning
idCanonical run UUID.
target.typeExecution definition type, such as agent, workflow, or task.
target.idExecution definition ID. May be null for a historical run.
project_idProject containing the run.
conversation_idAssociated conversation. Omitted when the run has none.
input_message_idConversation message that supplied the input, when present.
output_message_idConversation message containing the result, when present.
parent_run_idImmediate parent run. Present only on child runs.
root_run_idTop-level ancestor run. Present only on child runs.
triggerWhat directly started the run, when recorded. A scheduled invocation has type: "schedule" and the schedule's id.

Optional lineage fields are omitted when unavailable. They are not returned as null.

Reading lineage

Start with the conversation or run ID. Parent and root IDs show related work. Run events show execution history. Access checks apply to each run in the tree.

Saving a message and creating its run are separate operations.