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

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/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.

Query Parameters

timeout
number

HTTP timeout in seconds (default 15s). If the import exceeds this, the response returns {processing: true} and the result is emitted as a workspaces.bulkImport.completed event.

Body

application/json
repository
object
groups
string[]

Filter workspaces by group names. Only workspaces whose .import.yml groups field includes at least one of these values will be imported. Takes precedence over group when both are provided.

forceReimport
boolean
default:false

When true, forces re-import of all workspaces regardless of version. By default, workspaces whose lastPull.version already matches the repository version are skipped.

Response

Bulk import result

Import still processing (HTTP timeout reached)

processing
boolean
message
string