Prepare workspace pull session

POST/v1/workspace-bindings/{bindingId}/pull-sessions

Persist a prepared remote-to-local pull preview for a binding without changing local 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
NameLocationTypeRequiredDescription
bindingIdpathstringYesWorkspace binding ID
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
planSignaturestringYes
planobjectYes
metadataobjectNoFree-form metadata object.

What the API returns

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

200Existing prepared workspace pull session reusedapplication/json
FieldTypeRequiredDescription
pullSessionobjectNo
pullSession.idstringNoUnique identifier.
pullSession.workspaceBindingIdstringNo
pullSession.userIdstringNoUser ID.
pullSession.deviceIdstringNo
pullSession.environmentIdstringNoComputer ID.
pullSession.projectIdstringNoProject ID.
pullSession.statusprepared | superseded | cancelledNoCurrent lifecycle status.
pullSession.planSignaturestringNo
pullSession.planobjectNo
pullSession.metadataobjectNoFree-form metadata object.
pullSession.createdAtstringNoISO 8601 timestamp.
pullSession.updatedAtstringNoISO 8601 timestamp.
createdbooleanNo
201Workspace pull session preparedapplication/json
FieldTypeRequiredDescription
pullSessionobjectNo
pullSession.idstringNoUnique identifier.
pullSession.workspaceBindingIdstringNo
pullSession.userIdstringNoUser ID.
pullSession.deviceIdstringNo
pullSession.environmentIdstringNoComputer ID.
pullSession.projectIdstringNoProject ID.
pullSession.statusprepared | superseded | cancelledNoCurrent lifecycle status.
pullSession.planSignaturestringNo
pullSession.planobjectNo
pullSession.metadataobjectNoFree-form metadata object.
pullSession.createdAtstringNoISO 8601 timestamp.
pullSession.updatedAtstringNoISO 8601 timestamp.
createdbooleanNo
Prepare workspace pull session
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow