Conversation

Send a message to an AI consciousness and receive its reply.

post/v1/rag

Request

  • Base URL: https://partner.mindupload.app
  • URL: https://partner.mindupload.app/v1/rag
  • Auth: API key in header X-Partner-Key

Request body

preferred_languagestring nullable

BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages.

usernamestring nullable

The end-user's username.

passwordstring nullable

The end-user's password on first sign-in. After login/register, send the returned session token (JWT) here instead — the field accepts either, and reusing the token keeps raw passwords out of your storage.

codenamestring nullable

Ask for a consciousness by name instead of writing up an interview: returns the third-person description of that consciousness, if one has been produced. Any authenticated caller may ask. Only the third-person form is available this way; the first- and second-person forms address the interviewee and are theirs alone.

textstring nullable
chatroom_idstring nullable

Chatroom id as returned by chatroom operations.

Response

Result envelope — check the success field.

successboolean

Whether the call succeeded.

error_messagestring nullable

Human-readable reason when success is false.

error_codestring
response_textstring nullable

The AI consciousness reply when status is succeeded.

content_formatstring
clone_nicknamestring nullable

User-facing name of the invoked AI consciousness.

consolidation_summarystring nullable
consolidation_countinteger nullable
consolidation_dispatchedboolean nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.