curl --request GET \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
},
"automations": {},
"pages": {},
"imports": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>"
}Fetch a workspace
curl --request GET \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
},
"automations": {},
"pages": {},
"imports": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace id
Optional version
Success Response
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Block
Show child attributes
A block can be a javascript bundled file. Host it on the internet and put its url here.
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean 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
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean If true, make this workspace metadata available to all workspaces with this variable : {{global.workspacesRegistry[WORKSPACE_SLUG]}}
Remote versioning repositories
Show child attributes
Show child attributes
Show child attributes
git, archive read-write, read-only Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Custom mapping which will be directly sent to underlying database (Elasticsearch/Opensearch)
Custom configuration per event type
Show child attributes
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Show child attributes
Set this to true if you don't want your automation to be accessible outside of your app. Default is false.
false
Set this to true if you want to turn off this automation.
true
Unique & human readable id across current workspace's automations
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Show child attributes
Show child attributes
"prismeaiMessenger.message"
Show child attributes
Show child attributes
Page
Show child attributes
Show child attributes
Show child attributes
"prismeaiMessenger.message"
Show child attributes
Show child attributes
auto, light, dark Show child attributes
Show child attributes
App unique id
Unique & human readable id across current workspace's appInstances, which will be used to call this app automations
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Show child attributes
"prismeaiMessenger.message"
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Defaults to the latest known app version
If disabled, this appInstance will be ignored during execution
Was this page helpful?