Create New Chat Session
curl --request POST \
--url https://cloud.onyx.app/api/chat/create-chat-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"persona_id": 0,
"description": "<string>",
"project_id": 123
}
'{
"chat_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Chat
Create New Chat Session
POST
/
chat
/
create-chat-session
Create New Chat Session
curl --request POST \
--url https://cloud.onyx.app/api/chat/create-chat-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"persona_id": 0,
"description": "<string>",
"project_id": 123
}
'{
"chat_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Was this page helpful?
⌘I