curl --request POST \
--url https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
{
"content": "<string>",
"id": 123
}
],
"space_id": "<string>",
"model": "<string>",
"temperature": 123,
"top_p": 123,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentPublished": true,
"voiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"capabilities": {
"webSearch": true,
"knowledgeBaseSearch": true,
"visionEnabled": true,
"canvasEnabled": true
},
"attachmentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"contentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"folderIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"toolOptions": {
"language": "<string>",
"templateId": "<string>",
"sourceFilters": {
"docs": true,
"notes": true
}
},
"toolGroups": [
{
"kind": "nuwacom",
"tools": [
"<string>"
]
}
],
"skillIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"stream": true,
"parent_message_id": 123,
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
messages: [{content: '<string>', id: 123}],
space_id: '<string>',
model: '<string>',
temperature: 123,
top_p: 123,
agentId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
agentPublished: true,
voiceId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
taskId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
capabilities: {
webSearch: true,
knowledgeBaseSearch: true,
visionEnabled: true,
canvasEnabled: true
},
attachmentIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
contentIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
folderIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
toolOptions: {
language: '<string>',
templateId: '<string>',
sourceFilters: {docs: true, notes: true}
},
toolGroups: [{kind: 'nuwacom', tools: ['<string>']}],
skillIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
stream: true,
parent_message_id: 123,
conversation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions"
payload = {
"messages": [
{
"content": "<string>",
"id": 123
}
],
"space_id": "<string>",
"model": "<string>",
"temperature": 123,
"top_p": 123,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentPublished": True,
"voiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"capabilities": {
"webSearch": True,
"knowledgeBaseSearch": True,
"visionEnabled": True,
"canvasEnabled": True
},
"attachmentIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"contentIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"folderIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"toolOptions": {
"language": "<string>",
"templateId": "<string>",
"sourceFilters": {
"docs": True,
"notes": True
}
},
"toolGroups": [
{
"kind": "nuwacom",
"tools": ["<string>"]
}
],
"skillIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"stream": True,
"parent_message_id": 123,
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions"
payload := strings.NewReader("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"id\": 123\n }\n ],\n \"space_id\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 123,\n \"top_p\": 123,\n \"agentId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agentPublished\": true,\n \"voiceId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"capabilities\": {\n \"webSearch\": true,\n \"knowledgeBaseSearch\": true,\n \"visionEnabled\": true,\n \"canvasEnabled\": true\n },\n \"attachmentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"folderIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"toolOptions\": {\n \"language\": \"<string>\",\n \"templateId\": \"<string>\",\n \"sourceFilters\": {\n \"docs\": true,\n \"notes\": true\n }\n },\n \"toolGroups\": [\n {\n \"kind\": \"nuwacom\",\n \"tools\": [\n \"<string>\"\n ]\n }\n ],\n \"skillIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"stream\": true,\n \"parent_message_id\": 123,\n \"conversation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'messages' => [
[
'content' => '<string>',
'id' => 123
]
],
'space_id' => '<string>',
'model' => '<string>',
'temperature' => 123,
'top_p' => 123,
'agentId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'agentPublished' => true,
'voiceId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'taskId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'capabilities' => [
'webSearch' => true,
'knowledgeBaseSearch' => true,
'visionEnabled' => true,
'canvasEnabled' => true
],
'attachmentIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'contentIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'folderIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'toolOptions' => [
'language' => '<string>',
'templateId' => '<string>',
'sourceFilters' => [
'docs' => true,
'notes' => true
]
],
'toolGroups' => [
[
'kind' => 'nuwacom',
'tools' => [
'<string>'
]
]
],
'skillIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'stream' => true,
'parent_message_id' => 123,
'conversation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.post("https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"id\": 123\n }\n ],\n \"space_id\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 123,\n \"top_p\": 123,\n \"agentId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agentPublished\": true,\n \"voiceId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"capabilities\": {\n \"webSearch\": true,\n \"knowledgeBaseSearch\": true,\n \"visionEnabled\": true,\n \"canvasEnabled\": true\n },\n \"attachmentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"folderIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"toolOptions\": {\n \"language\": \"<string>\",\n \"templateId\": \"<string>\",\n \"sourceFilters\": {\n \"docs\": true,\n \"notes\": true\n }\n },\n \"toolGroups\": [\n {\n \"kind\": \"nuwacom\",\n \"tools\": [\n \"<string>\"\n ]\n }\n ],\n \"skillIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"stream\": true,\n \"parent_message_id\": 123,\n \"conversation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();OpenAI Chat Completion
Create a new AI completion. You can find the supported models using List all AI models.
curl --request POST \
--url https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
{
"content": "<string>",
"id": 123
}
],
"space_id": "<string>",
"model": "<string>",
"temperature": 123,
"top_p": 123,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentPublished": true,
"voiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"capabilities": {
"webSearch": true,
"knowledgeBaseSearch": true,
"visionEnabled": true,
"canvasEnabled": true
},
"attachmentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"contentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"folderIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"toolOptions": {
"language": "<string>",
"templateId": "<string>",
"sourceFilters": {
"docs": true,
"notes": true
}
},
"toolGroups": [
{
"kind": "nuwacom",
"tools": [
"<string>"
]
}
],
"skillIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"stream": true,
"parent_message_id": 123,
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
messages: [{content: '<string>', id: 123}],
space_id: '<string>',
model: '<string>',
temperature: 123,
top_p: 123,
agentId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
agentPublished: true,
voiceId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
taskId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
capabilities: {
webSearch: true,
knowledgeBaseSearch: true,
visionEnabled: true,
canvasEnabled: true
},
attachmentIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
contentIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
folderIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
toolOptions: {
language: '<string>',
templateId: '<string>',
sourceFilters: {docs: true, notes: true}
},
toolGroups: [{kind: 'nuwacom', tools: ['<string>']}],
skillIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
stream: true,
parent_message_id: 123,
conversation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions"
payload = {
"messages": [
{
"content": "<string>",
"id": 123
}
],
"space_id": "<string>",
"model": "<string>",
"temperature": 123,
"top_p": 123,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentPublished": True,
"voiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"capabilities": {
"webSearch": True,
"knowledgeBaseSearch": True,
"visionEnabled": True,
"canvasEnabled": True
},
"attachmentIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"contentIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"folderIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"toolOptions": {
"language": "<string>",
"templateId": "<string>",
"sourceFilters": {
"docs": True,
"notes": True
}
},
"toolGroups": [
{
"kind": "nuwacom",
"tools": ["<string>"]
}
],
"skillIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"stream": True,
"parent_message_id": 123,
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions"
payload := strings.NewReader("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"id\": 123\n }\n ],\n \"space_id\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 123,\n \"top_p\": 123,\n \"agentId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agentPublished\": true,\n \"voiceId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"capabilities\": {\n \"webSearch\": true,\n \"knowledgeBaseSearch\": true,\n \"visionEnabled\": true,\n \"canvasEnabled\": true\n },\n \"attachmentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"folderIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"toolOptions\": {\n \"language\": \"<string>\",\n \"templateId\": \"<string>\",\n \"sourceFilters\": {\n \"docs\": true,\n \"notes\": true\n }\n },\n \"toolGroups\": [\n {\n \"kind\": \"nuwacom\",\n \"tools\": [\n \"<string>\"\n ]\n }\n ],\n \"skillIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"stream\": true,\n \"parent_message_id\": 123,\n \"conversation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'messages' => [
[
'content' => '<string>',
'id' => 123
]
],
'space_id' => '<string>',
'model' => '<string>',
'temperature' => 123,
'top_p' => 123,
'agentId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'agentPublished' => true,
'voiceId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'taskId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'capabilities' => [
'webSearch' => true,
'knowledgeBaseSearch' => true,
'visionEnabled' => true,
'canvasEnabled' => true
],
'attachmentIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'contentIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'folderIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'toolOptions' => [
'language' => '<string>',
'templateId' => '<string>',
'sourceFilters' => [
'docs' => true,
'notes' => true
]
],
'toolGroups' => [
[
'kind' => 'nuwacom',
'tools' => [
'<string>'
]
]
],
'skillIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'stream' => true,
'parent_message_id' => 123,
'conversation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.post("https://{customer-tenant}.nuwacom.ai/api/v1/openai/chat/completions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"id\": 123\n }\n ],\n \"space_id\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 123,\n \"top_p\": 123,\n \"agentId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"agentPublished\": true,\n \"voiceId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"capabilities\": {\n \"webSearch\": true,\n \"knowledgeBaseSearch\": true,\n \"visionEnabled\": true,\n \"canvasEnabled\": true\n },\n \"attachmentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contentIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"folderIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"toolOptions\": {\n \"language\": \"<string>\",\n \"templateId\": \"<string>\",\n \"sourceFilters\": {\n \"docs\": true,\n \"notes\": true\n }\n },\n \"toolGroups\": [\n {\n \"kind\": \"nuwacom\",\n \"tools\": [\n \"<string>\"\n ]\n }\n ],\n \"skillIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"stream\": true,\n \"parent_message_id\": 123,\n \"conversation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Space ID to run the completion in. Used as a fallback when space_id is not set in the request body.
Body
Ordered chat messages that make up the conversation history. Always include the user’s latest turn; prepend prior turns when you want additional context.
1Show child attributes
Show child attributes
Unique identifier of the space the completion should be run in.
2 - 6Use this in the API call to specify the model to use for the completion request. Is generally the model ID from the LLM provider (e.g., "gpt-4o", "o1").
User-selected image generation model id. Overrides the workspace default when present. Validated server-side against the AI_ENABLED_IMAGE_MODELS feature flag.
gemini-2.5-flash-image, gemini-3-pro-image, gemini-3.1-flash-image, imagen, imagen-fast, gpt-image-2, gpt-image-2.5-sunburst, flux-1-1-pro-ultra, flux-1-kontext-pro, flux-2-pro, gemini-3-pro-image-preview, gemini-3.1-flash-image-preview Sampling temperature. Higher values make responses more adventurous; lower values keep them conservative.
Nucleus sampling parameter. Use this instead of temperature when you want to strictly cap how much of the probability mass is considered.
Unique ID of the agent to use for the completion request. Used to load the agent's full configuration (system prompt, knowledge sources, etc.). NB: Agent must already be created in the database and available for the space.
Which version of the agent to use: true (default) = published version, false = draft. Useful to test an agent that has not been published yet.
UUID of the Voice to use for the completion request. NB: Voice must already be created in the database and available for the space.
ID of the Task to use for the completion request. Used to tie the completion back to a workflow step or scheduled job. NB: Task must already be created in the database and available for the space.
Provide an object of capabilities to enable the LLM perform specific tasks better (e.g., web search, internal KB, canvas, etc.).
Show child attributes
Show child attributes
Array of asset IDs (files, snippets, etc.) that should be injected into the completion request as supporting context.
Array of Content document IDs to include in the RAG context. Used to pass relevant document IDs so their content is included as additional background information for the completion request.
Array of Folder IDs to include in the RAG context. When provided, the LLM will use assets/documents within these folders as additional background information for the completion request.
User preferences for AI behavior including language, audience, and image generation style. These options are injected into the system prompt.
Show child attributes
Show child attributes
Grouped tool configurations keyed by provider context (nuwacom, paragon integration type, or MCP client). Backend expands these groups into per-tool configs.
- Option 1
- Option 2
- Option 3
Show child attributes
Show child attributes
Skill IDs explicitly selected by the user from the skills dropdown. When present without an agent, only these skills are loaded.
Show child attributes
Show child attributes
When true the API sends partial chunks as the model generates them (ideal for typing indicators). Set to false to receive a single response payload.
Internal reference to the last assistant message in the thread. Include this when you need the completion to “continue” an earlier answer.
Conversation UUID tying multiple completions together. Provide it to append to an existing thread; leave empty to start fresh.
Response
Successful completion response (see OpenAI Completions Object)