Skip to main content
POST
/
v2
/
workspaces
/
platform
/
versions
cURL
curl --request POST \
  --url https://api.eda.prisme.ai/v2/workspaces/platform/versions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "groups": [
    "<string>"
  ],
  "repository": {
    "id": "<string>"
  },
  "name": "<string>",
  "createdAt": "<string>",
  "description": {
    "fr": "Bonjour",
    "en": "Hello"
  },
  "dryRun": false,
  "force": 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

sse
boolean

If true, streams progress as Server-Sent Events (text/event-stream) instead of returning a single JSON response.

timeout
number

HTTP timeout in seconds. If the push exceeds this, the response returns {processing: true} and the result is emitted as a workspaces.bulkExport.completed event.

Body

application/json
groups
string[]

Group names to push (must exist in WORKSPACE_GROUPS config)

Minimum array length: 1
repository
object
name
string

Version name. If left empty, will be auto generated

createdAt
string
description
Example:
{ "fr": "Bonjour", "en": "Hello" }
dryRun
boolean
default:false

When true, only returns workspace categorization without actually pushing any versions.

force
boolean
default:false

When true, also pushes workspaces that are already up to date (not dirty), forcing a re-push of all matching workspaces.

Response

Bulk push result or SSE stream

Push still processing (HTTP timeout reached)

processing
boolean
message
string