Chat

Fetches chat message and metadata for messages in a chat session.

Fetches chat message and metadata for messages in a chat session. Messages without a reply_to are from the end user, messages with a reply_to are from an LLM and a response to a specific user message.

get/chats/{session_id}/messages

Request

Path parameters

session_idstring required

Id of the chat session

Query parameters

offsetinteger

How many chat sessions to skip before returning.

limitinteger

How many chat sessions to return.

Response

Successful operation

idstring required
contentstring required
votesinteger required
created_atstring date-time required
has_referencesboolean required
total_referencesinteger required
usernamestring
reply_tostring
errorstring
llm_argsstring

JSON-encoded LLM arguments (e.g. {"use_agent": true}) that were applied when the question was dispatched. Only populated on question messages (reply_to is null); reply messages have llm_args = "null" (literal string).

Example response

[
  {
    "id": "123e4567-e89b-12d3-a456-426655440000"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.