This API endpoint creates a Thread to contain Messages using the POST method.
Body
None.
Response
Unique identifier for the thread.
Timestamp of when the thread was created.
Optional metadata associated with the thread.
The type of the object returned, which is "thread".
Information about any associated tool resources.
Authorization
A valid API key must be passed in the Authorization header:
Authorization: Bearer MINDS_API_KEY
Generate your API key here.
Path Parameters
None.
curl -X POST "https://mdb.ai/threads" \
-H "Authorization: Bearer MINDS_API_KEY"
{
"id": "mdb_thread_d79c95547e5f4501a32df6f492ad5be9",
"created_at": 1718884196,
"metadata": null,
"object": "thread",
"tool_resources": null
}