Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Enter your API token in the format: Bearer <your_token_here>

Body

application/json
initial_user_msg
string | null

Initial message for the chat conversation

Example:

"Let's have a casual conversation about DeFi"

system_prompt
string | null

System prompt to set the AI's behavior in chat mode

Example:

"You are a friendly AI assistant who explains complex topics simply"

Response

Chat conversation created successfully

status
string
required

Response status, always 'ok' for successful creation

Example:

"ok"

conversation_id
string
required

Unique identifier for the created conversation

Example:

"conv_abc123def456"