Prisme.ai Workspaces
Get v2workspaces automations
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
Get v2workspaces automations
Fetch an automation
GET
/
v2
/
workspaces
/
{workspaceId}
/
automations
/
{automationSlug}
curl --request GET \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/automations/{automationSlug} \
--header 'X-Prismeai-API-Key: <api-key>'
{
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"private": false,
"disabled": true,
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"slug": "<string>",
"arguments": {},
"validateArguments": true,
"when": {
"events": [
"prismeaiMessenger.event"
],
"schedules": [
"2021-12-25T00:00",
"* * 1 * *"
],
"endpoint": "Set to true in order to activate HTTP endpoint. Slug will be trigger name by default"
},
"labels": [
"<string>"
],
"events": {
"emit": [
"<string>"
],
"listen": [
"<string>"
],
"autocomplete": [
{
"event": "prismeaiMessenger.message",
"autocomplete": {}
}
]
},
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>",
"checksum": "<string>",
"do": [
{
"emit": {
"event": "prismeaiMessenger.message",
"payload": "<any>",
"target": {
"userTopic": "<string>",
"userId": "<string>",
"sessionId": "<string>",
"currentSocket": true
},
"private": true,
"autocomplete": {},
"options": {
"persist": true,
"aggPayload": true
}
}
}
],
"output": "<any>",
"authorizations": {
"action": "<string>"
}
}
Path Parameters
Workspace id
Automation slug
Response
200
application/json
Success Response
Example:
"prismeaiMessenger.message"
Set this to true if you don't want your automation to be accessible outside of your app. Default is false.
Example:
false
Set this to true if you want to turn off this automation.
Example:
true
Unique & human readable id across current workspace's automations
Available options:
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
Available options:
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
Example:
{ "fr": "Bonjour", "en": "Hello" }
Example:
{ "fr": "Bonjour", "en": "Hello" }
Example:
{ "fr": "Bonjour", "en": "Hello" }
Example:
{ "fr": "Bonjour", "en": "Hello" }
Example:
"prismeaiMessenger.message"
Automation result expression. Might be a variable reference, an object/array with variables inside ...
Was this page helpful?
curl --request GET \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/automations/{automationSlug} \
--header 'X-Prismeai-API-Key: <api-key>'
{
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"private": false,
"disabled": true,
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"slug": "<string>",
"arguments": {},
"validateArguments": true,
"when": {
"events": [
"prismeaiMessenger.event"
],
"schedules": [
"2021-12-25T00:00",
"* * 1 * *"
],
"endpoint": "Set to true in order to activate HTTP endpoint. Slug will be trigger name by default"
},
"labels": [
"<string>"
],
"events": {
"emit": [
"<string>"
],
"listen": [
"<string>"
],
"autocomplete": [
{
"event": "prismeaiMessenger.message",
"autocomplete": {}
}
]
},
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>",
"checksum": "<string>",
"do": [
{
"emit": {
"event": "prismeaiMessenger.message",
"payload": "<any>",
"target": {
"userTopic": "<string>",
"userId": "<string>",
"sessionId": "<string>",
"currentSocket": true
},
"private": true,
"autocomplete": {},
"options": {
"persist": true,
"aggPayload": true
}
}
}
],
"output": "<any>",
"authorizations": {
"action": "<string>"
}
}