API Reference / Cognis - Reasoning Trace
Get the latest reasoning trace for a thread
get
https://api.intelig.ai/api/v1/intelig/cognis/threads/{threadId}/trace
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getLatestTrace
Returns the events from the most recent question/answer turn on the thread: the question asked, every tool invocation, and the final answer-streamed summary.
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/cognis/threads/1/trace" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
threadId | integer (int64) | yes | — |
Response 200
application/json · ApiResponseTraceDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | TraceDto | — |
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.