Skip to main content
POST
/
api
/
v1
/
integration
/
chat_researchs
cURL
curl -X POST 'https://app-be.thesis.io/api/v1/integration/chat_researchs' \
  -H 'Authorization: Bearer YOUR_SPACE_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "initial_user_msg": "Lets have a casual conversation about DeFi",
    "system_prompt": "You are a friendly AI assistant who explains complex topics simply"
  }'
{
  "status": "ok",
  "conversation_id": "conv_abc123def456"
}

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"