GET
/
v2
/
workspaces
/
{workspaceId}
/
apps
/
{slug}
curl --request GET \
  --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/apps/{slug} \
  --header 'X-Prismeai-API-Key: <api-key>'
{
  "appSlug": "<string>",
  "appName": {
    "fr": "Bonjour",
    "en": "Hello"
  },
  "appVersion": "<string>",
  "slug": "<string>",
  "disabled": true,
  "labels": [
    "<string>"
  ],
  "updatedAt": "<string>",
  "createdAt": "<string>",
  "updatedBy": "<string>",
  "createdBy": "<string>",
  "checksum": "<string>",
  "config": {
    "schema": {},
    "block": "<string>",
    "value": "<any>"
  },
  "documentation": {
    "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

X-Prismeai-API-Key
string
header
required
connect.sid
string
cookie
required

Path Parameters

workspaceId
string
required

Workspace id

slug
string
required

App instance slug

Response

200
application/json
Success Response
appSlug
string

App unique id

appName
Example:
{ "fr": "Bonjour", "en": "Hello" }
appVersion
string

Defaults to the latest known app version

slug
string

Unique & human readable id across current workspace's appInstances, which will be used to call this app automations

disabled
boolean

If disabled, this appInstance will be ignored during execution

labels
string[]
updatedAt
string
createdAt
string
updatedBy
string
createdBy
string
checksum
string
config
object
documentation
object