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
Your message to the AI assistant. Maximum 4000 characters.
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
UUID identifying this conversation session. Pass this on subsequent requests to continue the conversation.
The AI-generated response. May include Markdown formatting.
RAG documentation sources used to generate the response.
The operating mode selected for this response. One of
rag, subnet-creation, minting, or emissions.Errors
| Status | Meaning |
|---|---|
400 | Missing or invalid message field |
401 | Missing or expired session token |
429 | Rate limit exceeded |
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
UUID of the conversation session to retrieve.
Response
UUID of the conversation session.
Ordered list of messages in the conversation.
ISO 8601 datetime when the session was created.
ISO 8601 datetime of the most recent message.
Errors
| Status | Meaning |
|---|---|
401 | Missing or expired session token |
404 | Session not found or expired (sessions expire after 30 days) |