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
}

This API endpoint creates a Thread to contain Messages using the POST method.

Body

None.

Response

id
string
required

Unique identifier for the thread.

created_at
integer
required

Timestamp of when the thread was created.

metadata
object

Optional metadata associated with the thread.

object
string
required

The type of the object returned, which is "thread".

tool_resources
object

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
}