Review a thread owner’s visible messages before sharing
GET
/v1/packages/thread-previews/{threadId}Only the thread owner can preview. At most 200 user/assistant messages; excludes logs, system context, tools, attachments and metadata. Does not grant access to the original thread.
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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| threadId | path | string | Yes | — |
Query parameters
None.
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.
200Package operation resultapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| messages | object[] | Yes | — |
| messages[].id | string | Yes | Unique identifier. |
| messages[].role | user | assistant | Yes | — |
| messages[].content | string | Yes | Raw text content. |
| messages[].createdAt | string | Yes | ISO 8601 timestamp. |
400Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
401Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
403Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
404Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
409Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
503Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
Review a thread owner’s visible messages before sharing
Loading...
Response 200
Loading...