ReferenceThreads

Create a thread

Create a thread

POST
/api/v1/threads

Authorization

ApiKeyAuth
x-api-key<token>

A platform key (ck_live_…). Mint one in the console under Settings → API Keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/threads" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{  "thread_id": "string",  "title": "string",  "space_id": "string",  "vault_id": "string",  "turn_count": 0,  "created_at": "2019-08-24T14:15:22Z"}
Was this page helpful?
Report an issue