Skip to main content

History

History lists the chat sessions that your gateways routed. Each row is one session, made of one or more entries. An entry is one model request and its result.

Before you start​

  • You need history:read to see sessions. To read retained prompts and responses, you also need ai_usage_stream:read. To edit tags, you need history:write.
  • The gateway must capture history. History capture is set in the history.capture block of the policy config. See Runtime configuration.
  • An empty History does not mean that the gateway received no requests. Capture can be off, or the retention period can be over.

Find a session​

  1. Open History.
  2. Type in the search field. You can use free text, or field:value filters, for example:
    • type:chat
    • status:blocked or blocked:true
    • agent:support-app
    • entries:>5
    • started:today or updated:>2026-01-01
  3. Optionally select a time range, an agent, or an outcome. To start again, select Reset.

History with a list of saved sessions, each with its outcome, agent, model, gateway, and number of entries.

The table shows Session, Agent, Model, Gateway, Entries, Outcome, and Last updated. You can show more columns, such as Started, User, Team, Allowed, Blocked, and Tags. To show the sessions of one agent, use the Agent filter.

Filter and sort sessions​

  • To show sessions by their outcome, use the Outcome filter. A session is Blocked when one or more of its entries are blocked, Allowed when it has entries and none are blocked, and No requests when it has no entries. You can select more than one outcome.
  • To sort the list, select a column header and then Asc or Desc. You can sort by Session, Agent, Model, Entries, Blocked, Started, and Last updated. Sessions without a title or an agent sort as empty text.
  • The default order is Last updated, newest first. Sessions that you starred stay at the top of each page.

The filters, the sort, and the page are in the page URL, so you can share a link to the same view. From the API, use the outcome, sort, and order parameters of GET /v1/history/sessions.

Read a session​

  1. Select a session. The session page shows the session outcome, for example Allowed or Blocked, and the agent, actor, team, entries, tokens, and gateway.
  2. In Entry timeline, read the retained prompts and responses under Conversation. The page loads them when it opens. If nothing was retained, the Console shows No conversation was retained for this session.
  3. To see the request, response, and Audit facts of one entry, select the entry name, for example Entry #1. Audit facts include Decision, Provider, Model, and Token usage.
  4. To copy the session, agent, actor, or gateway ID, open Details.

History session with an Allowed outcome, its agent, actor, team, entries, tokens, and gateway, two entries in Entry timeline, and the retained prompt and response under Conversation.

History has no export button. To export sessions, use verdictan history export.

Next steps​