Build thread trace clusters

GET/v1/threads/{threadId}/trace-clusters

Cluster first-class thread steps and execution logs into decision-level trace sequences with deterministic permission-ring metadata and best-effort observer summaries.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
threadIdpathstringYesThread ID
Query parameters
NameLocationTypeRequiredDescription
limitqueryintegerNo
logLimitqueryintegerNo
observerquery0 | 1 | false | trueNoSet to 0 or false to skip the model observer and use deterministic clustering only.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Trace cluster resultapplication/json
FieldTypeRequiredDescription
objectstringYes
threadIdstringYesThread ID.
generatedAtstringNo
observerModelstringNo
observerStatusmodel | fallbackNo
observerErrorstringNo
traceClustersobjectYes
traceClusters.versionintegerNo
traceClusters.sourceobserver | deterministicNo
traceClusters.actionsobject[]No
traceClusters.sequencesobject[]No
traceClusters.statsobjectNo
404Thread not found
None.
Build thread trace clusters
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow