Prepare workspace push session
POST
/v1/workspace-bindings/{bindingId}/push-sessionsPersist a prepared local push intent for a binding without transferring files yet.
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 |
|---|---|---|---|---|
| bindingId | path | string | Yes | Workspace binding ID |
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| planSignature | string | Yes | — |
| plan | object | Yes | — |
| metadata | object | No | Free-form metadata object. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Existing prepared workspace push session reusedapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| pushSession | object | No | — |
| pushSession.id | string | No | Unique identifier. |
| pushSession.workspaceBindingId | string | No | — |
| pushSession.userId | string | No | User ID. |
| pushSession.deviceId | string | No | — |
| pushSession.environmentId | string | No | Computer ID. |
| pushSession.projectId | string | No | Project ID. |
| pushSession.status | prepared | superseded | cancelled | No | Current lifecycle status. |
| pushSession.planSignature | string | No | — |
| pushSession.plan | object | No | — |
| pushSession.metadata | object | No | Free-form metadata object. |
| pushSession.createdAt | string | No | ISO 8601 timestamp. |
| pushSession.updatedAt | string | No | ISO 8601 timestamp. |
| created | boolean | No | — |
201Workspace push session preparedapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| pushSession | object | No | — |
| pushSession.id | string | No | Unique identifier. |
| pushSession.workspaceBindingId | string | No | — |
| pushSession.userId | string | No | User ID. |
| pushSession.deviceId | string | No | — |
| pushSession.environmentId | string | No | Computer ID. |
| pushSession.projectId | string | No | Project ID. |
| pushSession.status | prepared | superseded | cancelled | No | Current lifecycle status. |
| pushSession.planSignature | string | No | — |
| pushSession.plan | object | No | — |
| pushSession.metadata | object | No | Free-form metadata object. |
| pushSession.createdAt | string | No | ISO 8601 timestamp. |
| pushSession.updatedAt | string | No | ISO 8601 timestamp. |
| created | boolean | No | — |