Conversations
Create Conversation
API Reference
Workflows
Runs
Knowledge Bases
Conversations
Create Conversation
Create a new conversation
POST
/
v1
/
conversation
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"etag": "<string>",
"settings": {
"model_selection": "<string>",
"web_search": false
},
"messages": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"message_parts": [
{
"role": "user",
"type": "user",
"content": "",
"tool": "web_research",
"kb_id": "<string>",
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"size": 123,
"type": "<string>",
"status": "pending",
"url": "<string>"
}
],
"model_selection": "<string>",
"images": [
"<string>"
]
}
]
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
Available options:
system
, user
, assistant
, function
, noxus
Allowed value:
"user"
Available options:
web_research
, kb_qa
, noxus_qa
Available options:
pending
, success
, error
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"etag": "<string>",
"settings": {
"model_selection": "<string>",
"web_search": false
},
"messages": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"message_parts": [
{
"role": "user",
"type": "user",
"content": "",
"tool": "web_research",
"kb_id": "<string>",
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"size": 123,
"type": "<string>",
"status": "pending",
"url": "<string>"
}
],
"model_selection": "<string>",
"images": [
"<string>"
]
}
]
}
]
}