curl --request GET \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/automations/{automationSlug} \
--header 'Authorization: Bearer <token>'{
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"do": [
{
"emit": {
"event": "prismeaiMessenger.message",
"payload": "<unknown>",
"target": {
"userTopic": "<string>",
"userId": "<string>",
"sessionId": "<string>",
"currentSocket": true
},
"private": true,
"autocomplete": {},
"options": {
"persist": true,
"aggPayload": false,
"async": false
}
}
}
],
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"private": false,
"disabled": true,
"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>",
"output": "{{result}}",
"authorizations": {
"action": "<string>"
}
}Fetch an automation
curl --request GET \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/automations/{automationSlug} \
--header 'Authorization: Bearer <token>'{
"name": {
"fr": "Bonjour",
"en": "Hello"
},
"do": [
{
"emit": {
"event": "prismeaiMessenger.message",
"payload": "<unknown>",
"target": {
"userTopic": "<string>",
"userId": "<string>",
"sessionId": "<string>",
"currentSocket": true
},
"private": true,
"autocomplete": {},
"options": {
"persist": true,
"aggPayload": false,
"async": false
}
}
}
],
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"private": false,
"disabled": true,
"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>",
"output": "{{result}}",
"authorizations": {
"action": "<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
Hide child attributes
"prismeaiMessenger.message"
Hide child attributes
Whether to persist this event or not. Defaults to true
Populate advanced aggregation payload for custom mappings & analytics. This is automatically enabled for events mapped in config.events.types.*
If true, the instruction will return control without waiting for the event to be emitted. Defaults to false
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
Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes
Hide child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Hide child attributes