/api/v1/assistant/threads (POST)
POST
/api/v1/assistant/threads
const url = 'https://example.com/api/v1/assistant/threads';const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/assistant/threads \ --header 'Content-Type: application/json' \ --data '{}'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
context
object
kind
required
string
id
string
Responses
Section titled “Responses”Default Response