Skip to main content
Threads group related AI Gateway calls into a single conversation view, letting you trace multi-turn interactions across your Deployments and Agents.

Viewing Threads

Open Threads in the Observability section of the sidebar. Each row is one thread: The range button reads 30 days by default. Filter narrows the list by Kind, Conversation or Coding agent, and by Tags. Read the same list through the API with List trace threads.
The Threads Overview, dates, duration, traces, and costs are available to see.

The Threads Overview, dates, duration, traces, and costs are available to see.

By selecting a Thread, you can then visualize the conversation.

The conversation view of a Thread.

Adding a Generation to a Thread

Threads are configured at runtime when using the Invoke API for Deployments, or when invoking an Agent. The API receives the following extra parameter:
Conversations will be grouped by Thread ID Tags can be used to filter and search Threads in the panel.

AI Gateway Thread Management

Full API reference for attaching threads to AI Gateway Deployment and Agent invocations.