Skip to main content
The Chat endpoint provides an AI assistant that helps you navigate the Reppo protocol. It supports multi-turn conversations via a persistent session ID and automatically selects an operating mode based on the context of your message. All Chat endpoints use the Chat Server base URL (https://api.reppo.xyz) and require a wallet session token obtained from wallet auth.
Chat mode is selected automatically based on your message content: rag for general protocol Q&A, subnet-creation for guided datanet setup, minting for the pod minting flow, and emissions for claims assistance. You do not need to specify a mode explicitly.

Send a message

POST https://api.reppo.xyz/chat Send a message and receive an AI-generated response. Omit sessionId to start a new conversation. The response includes the sessionId you should pass on follow-up turns.

Request body

string
required
Your message to the AI assistant. Maximum 4000 characters.
string
UUID of an existing session. Omit this field to start a new conversation — the response will return a fresh sessionId to use on subsequent turns.

Response

string
UUID identifying this conversation session. Pass this on subsequent requests to continue the conversation.
string
The AI-generated response. May include Markdown formatting.
array
RAG documentation sources used to generate the response.
string
The operating mode selected for this response. One of rag, subnet-creation, minting, or emissions.

Errors

Examples

Get session history

GET https://api.reppo.xyz/chat/{sessionId}/history Retrieve the full message history for a conversation session. Only the wallet that created the session can access its history. Sessions expire after 30 days.

Path parameters

string
required
UUID of the conversation session to retrieve.

Response

string
UUID of the conversation session.
array
Ordered list of messages in the conversation.
string
ISO 8601 datetime when the session was created.
string
ISO 8601 datetime of the most recent message.

Errors

Example