curl --request GET \
--url https://api.studio.prisme.ai/v2/pages/{workspaceSlug}/{pageSlug} \
--header 'Authorization: Bearer <token>'{
"slug": "<string>",
"appInstances": [
{
"slug": "<string>",
"blocks": {
"Dialog Manager.config": {
"url": "https://cdn-assets.prisme.ai/widgets/nlu/setup-widget/main.js"
}
}
}
],
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"workspaceId": "<string>",
"workspaceSlug": "<string>",
"id": "<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>",
"favicon": "<string>",
"styles": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"notifyOn": "<string>",
"automation": "<string>",
"public": true,
"apiKey": "<string>",
"clientId": "<string>"
}Fetch a page by slugs
curl --request GET \
--url https://api.studio.prisme.ai/v2/pages/{workspaceSlug}/{pageSlug} \
--header 'Authorization: Bearer <token>'{
"slug": "<string>",
"appInstances": [
{
"slug": "<string>",
"blocks": {
"Dialog Manager.config": {
"url": "https://cdn-assets.prisme.ai/widgets/nlu/setup-widget/main.js"
}
}
}
],
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"workspaceId": "<string>",
"workspaceSlug": "<string>",
"id": "<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>",
"favicon": "<string>",
"styles": "<string>",
"onInit": "<string>",
"updateOn": "<string>",
"notifyOn": "<string>",
"automation": "<string>",
"public": true,
"apiKey": "<string>",
"clientId": "<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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success Response
Hide child attributes
Map block slugs to their specification
Hide child attributes
Block
Hide child attributes
A block can be a javascript bundled file. Host it on the internet and put its url here.
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
A block can extends another one by giving its name here
default config applied to the Block. Usefull for extended Blocks.
Css applied to Block
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
{
"Dialog Manager.config": {
"url": "https://cdn-assets.prisme.ai/widgets/nlu/setup-widget/main.js"
}
}^[0-9A-Za-z._:-]{2,60}$Hide child attributes
Hide child attributes
"prismeaiMessenger.message"
Hide child attributes
Hide child attributes
auto, light, dark Indicates whether this page is public. Reflects page permissions and cannot be set directly
Was this page helpful?