API Reference / Cognis - Thread Memory
Clear thread memory
delete
https://api.intelig.ai/api/v1/intelig/cognis/threads/{threadId}/memory
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: clear
Deletes the working memory row for the thread. Cognis will start fresh on the next question. Idempotent.
Example request
curl -X DELETE "https://api.intelig.ai/api/v1/intelig/cognis/threads/1/memory" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
threadId | integer (int64) | yes | — |
Response 200
application/json · ApiResponseClearResultDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | ClearResultDto | — |
Status codes
200— OK401— —429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.