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
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
[
{
"id": "123e4567-e89b-12d3-a456-426655440000"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.