Overview

The Conversations API provides local SQLite-backed persistence for chat threads. It mirrors the legacy Next.js /api/v1/conversations layer and supports branching via fork and reply endpoints. All conversation objects are scoped to the authenticated user.
This namespace is served by the Allternit API data-plane node (http://127.0.0.1:8013 on the same machine, or your paired or provisioned node). The hosted Cloud API at https://api.allternit.com does not route it; it relays only agent sessions, canvases, office and beta research/sessions. See Cloud API.

Base URL

Authentication

All requests require a valid bearer token in the Authorization header. See Authentication for details.

Conversation object

Message object

Endpoints

List conversations

Query parameters

Response

Create conversation

Request body

Response

Get conversation

Response

List messages

Response

Create message

Request body

Response

List replies

Response

Fork conversation

Request body

Response

Error codes