Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Track execution separately from conversation

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.

Copy the example
# One execution has one run ID.
GET /v2/runs/{run_id}

# Keep these concepts separate in your application:
# run_id        -> this execution
# conversation  -> the related exchange
# user identity -> the authenticated caller

# A conversation identifier is not a credential.

Before you begin

A project you can run and permission to inspect its run history.

Runs and conversations

Term
Definition

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

  1. Start the project through the intended interface or API.

  2. Record the returned run ID. Retain the conversation identifier separately if the interface supplies one.

  3. 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.

Organizations, Workspaces, Folders, and Projects

Was this helpful?