Runs, Conversations, and User Identity
A run is one execution. A conversation groups related interactions. A user identity determines who is acting. Keeping these identifiers separate helps you retrieve the correct history and apply the correct permissions.

Use the run ID returned by the API. Retain a conversation identifier separately if the chosen interface supplies one. The comment labels describe concepts, not extra request fields.
Before you begin
A project you can run and permission to inspect its run history.
Runs and conversations
Run
One execution of a project. Use its run ID to retrieve that execution’s state, input, output, and errors.
Conversation
Related messages grouped into one interaction history. Several runs can belong to one conversation.
User identity
The authenticated person or application acting on a resource. It determines access; a display name or conversation ID does not authenticate a caller.
Session
A context maintained by an interface or browser for related activity. Its meaning depends on the feature; do not treat every session ID as a user credential.
Resource ID
A stable identifier for a project, file, connection, or other resource. Use the required ID type; matching display names do not make IDs interchangeable.
Identify a run and its conversation
Start the project through the intended interface or API.
Record the returned run ID. Retain the conversation identifier separately if the interface supplies one.
Open the run details to inspect that execution. Use the conversation view for the surrounding exchange.
You can locate the execution without treating its ID as a conversation or user ID.
Behavior and limitations
One conversation can contain several runs. A conversation or memory identifier is not authentication. Do not use a shared identifier for unrelated users when their histories must remain separate. Child workflows can have their own run IDs.
Related resources
Was this helpful?

