ReferenceV1
Create Thread
Create a new chat thread.
Header Parameters
authorization?|
X-API-Key?|
Cookie Parameters
vai_token?|
Request Body
application/json
metadata?
systemPrompt?|
title?|
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/chat/threads" \ -H "Content-Type: application/json" \ -d '{}'{
"createdAt": "2019-08-24T14:15:22Z",
"id": "string",
"lastMessageAt": "2019-08-24T14:15:22Z",
"lastTurnId": "string",
"metadata": {},
"systemPrompt": "string",
"title": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}