Skip to main content
POST
/
v2
/
workspaces
/
{workspaceId}
/
versions
/
{versionId}
/
pull
cURL
curl --request POST \
  --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/versions/{versionId}/pull \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repository": {
    "id": "<string>"
  },
  "discardLocalChanges": false
}
'
{
  "processing": true,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://prismeai-docs-next.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Workspace id

versionId
string
required

Version name

Query Parameters

timeout
number

Timeout (seconds)

Body

application/json
repository
object
discardLocalChanges
boolean
default:false

When true, skips saving the current platform state to Git before pulling. Local changes not previously pushed will be lost. Use with caution.

Response

Success Response

processing
boolean
message
string