ReferenceThreads

Add a turn

Adds a question to the thread.

By default Chordian runs a memory search and synthesises the answer; pass external_response to record an answer you produced elsewhere instead.

Turns are indexed back into the memory, so a good answer today becomes retrievable context tomorrow.

POST
/api/v1/threads/{thread_id}/turns

Authorization

ApiKeyAuth
x-api-key<token>

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

In: header

Path Parameters

thread_id*string

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/string/turns" \  -H "Content-Type: application/json" \  -d '{    "question": "string"  }'
{  "turn_id": "string",  "answer": "string",  "citations": [    {      "index": 0,      "title": "string",      "source": "string",      "document_id": "string",      "snippet": "string"    }  ]}
Was this page helpful?
Report an issue