The Chat History API manages the persistent conversation sessions created by the AI Agent. Each session groups the messages exchanged in one conversation. Use these endpoints to list past sessions, load a full transcript, rename a session, or delete one. All paths are relative to the base URL and require authentication. All responses use the standard envelope.

List sessions

Return recent chat sessions, newest first. Optionally filter to a single project.

Get a session

Load a single session along with all of its messages.
Returns 404 if no session with that ID exists.

Rename a session

Set a new title for a session. The title must be non-empty.
Returns 404 if the session does not exist, or 400 if title is missing or empty.

Delete a session

Permanently delete a session and all of its messages.
Returns 404 if the session does not exist.