AI Builder Endpoints
- API Gateway
- permissions
- Prisme.ai Events
- Prisme.ai Runtime
- Prisme.ai Workspaces
- GETGet v2workspaces
- POSTPost v2workspaces
- GETGet v2workspaces
- DELDelete v2workspaces
- PATCHPatch v2workspaces
- POSTPost v2workspacesimport
- POSTPost v2workspaces import
- GETGet v2workspaces versions
- POSTPost v2workspaces versions
- DELDelete v2workspaces versions
- POSTPost v2workspaces versions pull
- POSTPost v2workspaces versions duplicate
- POSTPost v2workspaces versions export
- GETGet v2workspaces status
- POSTPost v2workspacesexport
- POSTPost v2workspaces automations
- GETGet v2workspaces automations
- DELDelete v2workspaces automations
- PATCHPatch v2workspaces automations
- POSTPost v2workspaces test
- GETGet v2workspaces pages
- POSTPost v2workspaces pages
- GETGet v2workspaces pages
- DELDelete v2workspaces pages
- PATCHPatch v2workspaces pages
- GETGet v2pages
- GETGet v2workspaces security
- PUTPut v2workspaces security
- GETGet v2workspaces securityroles
- GETGet v2apps
- POSTPost v2apps
- GETGet v2apps
- DELDelete v2apps
- GETGet v2workspaces apps
- POSTPost v2workspaces apps
- GETGet v2workspaces apps config
- PATCHPatch v2workspaces apps config
- GETGet v2workspaces apps
- DELDelete v2workspaces apps
- PATCHPatch v2workspaces apps
- GETGet v2workspaces files
- DELDelete v2workspaces files
- PATCHPatch v2workspaces files
- GETGet v2workspaces files
- POSTPost v2workspaces files
- POSTPost v2workspaces files share
- GET
- Secrets
- ApiKeys
Prisme.ai Workspaces
Patch v2workspaces pages
Update a page
PATCH
/
v2
/
workspaces
/
{workspaceId}
/
pages
/
{slug}
Copy
Ask AI
curl --request PATCH \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/pages/{slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"workspaceId": "<string>",
"workspaceSlug": "<string>",
"id": "<string>",
"slug": "<string>",
"blocks": [
{
"slug": "<string>",
"appInstance": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"automation": "<string>"
}
],
"labels": [
"<string>"
],
"events": {
"emit": [
"<string>"
],
"listen": [
"<string>"
],
"autocomplete": [
{
"event": "prismeaiMessenger.message",
"autocomplete": {}
}
]
},
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"permissions": {},
"customDomains": [
"<string>"
],
"colorScheme": "auto",
"checksum": "<string>",
"styles": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"notifyOn": "<string>",
"automation": "<string>"
}'
Copy
Ask AI
{
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"workspaceId": "<string>",
"workspaceSlug": "<string>",
"id": "<string>",
"slug": "<string>",
"blocks": [
{
"slug": "<string>",
"appInstance": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"automation": "<string>"
}
],
"labels": [
"<string>"
],
"events": {
"emit": [
"<string>"
],
"listen": [
"<string>"
],
"autocomplete": [
{
"event": "prismeaiMessenger.message",
"autocomplete": {}
}
]
},
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"permissions": {},
"customDomains": [
"<string>"
],
"colorScheme": "auto",
"checksum": "<string>",
"styles": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"notifyOn": "<string>",
"automation": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Success Response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request PATCH \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/pages/{slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"workspaceId": "<string>",
"workspaceSlug": "<string>",
"id": "<string>",
"slug": "<string>",
"blocks": [
{
"slug": "<string>",
"appInstance": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"automation": "<string>"
}
],
"labels": [
"<string>"
],
"events": {
"emit": [
"<string>"
],
"listen": [
"<string>"
],
"autocomplete": [
{
"event": "prismeaiMessenger.message",
"autocomplete": {}
}
]
},
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"permissions": {},
"customDomains": [
"<string>"
],
"colorScheme": "auto",
"checksum": "<string>",
"styles": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"notifyOn": "<string>",
"automation": "<string>"
}'
Copy
Ask AI
{
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"workspaceId": "<string>",
"workspaceSlug": "<string>",
"id": "<string>",
"slug": "<string>",
"blocks": [
{
"slug": "<string>",
"appInstance": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"automation": "<string>"
}
],
"labels": [
"<string>"
],
"events": {
"emit": [
"<string>"
],
"listen": [
"<string>"
],
"autocomplete": [
{
"event": "prismeaiMessenger.message",
"autocomplete": {}
}
]
},
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"permissions": {},
"customDomains": [
"<string>"
],
"colorScheme": "auto",
"checksum": "<string>",
"styles": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"notifyOn": "<string>",
"automation": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.