Skip to main content
POST
/
chat_messages
/
send_message
Send Chat Message
curl --request POST \
  --url https://api.osvi.ai/chat_messages/send_message \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_uuid": "agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og",
  "chat_session_id": "8de63236-e013-42dd-9d99-1be5521701d4",
  "message": "Hi"
}
'
{
  "success": true,
  "data": {
    "success": true,
    "session_id": "729f4f49-f03a-48afb173-5b4b28af4956",
    "response": "",
    "tool_calls": [
      "<unknown>"
    ],
    "tool_results": [
      "<unknown>"
    ],
    "current_state": null
  }
}

Authorizations

API-Token
string
header
required

Body

application/json
agent_uuid
string
required
Example:

"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"

chat_session_id
string
required
Example:

"8de63236-e013-42dd-9d99-1be5521701d4"

message
string
required
Example:

"Hi"

Response

200 - application/json

Successful response

success
boolean
Example:

true

data
object