Skip to main content
GET
/
v2
/
workspaces
/
{workspaceId}
/
apps
List App Instances
curl --request GET \
  --url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/apps \
  --header 'Authorization: Bearer <token>'
[
  {
    "appSlug": "<string>",
    "slug": "<string>",
    "automations": [
      {
        "slug": "<string>",
        "name": {
          "fr": "Bonjour",
          "en": "Hello"
        },
        "arguments": {},
        "description": {
          "fr": "Bonjour",
          "en": "Hello"
        }
      }
    ],
    "events": {
      "emit": [
        "<string>"
      ],
      "listen": [
        "<string>"
      ],
      "autocomplete": [
        {
          "event": "prismeaiMessenger.message",
          "autocomplete": {}
        }
      ]
    },
    "blocks": [
      {
        "slug": "<string>",
        "url": "<string>",
        "edit": {
          "type": "string",
          "title": {
            "en": "User ID"
          },
          "description": {
            "en": "The unique identifier of the user"
          },
          "secret": {
            "type": "boolean"
          },
          "event": {
            "type": "boolean"
          }
        },
        "name": {
          "fr": "Bonjour",
          "en": "Hello"
        },
        "description": {
          "fr": "Bonjour",
          "en": "Hello"
        },
        "arguments": {}
      }
    ],
    "appName": {
      "fr": "Bonjour",
      "en": "Hello"
    },
    "appVersion": "<string>",
    "disabled": true,
    "labels": [
      "<string>"
    ],
    "updatedAt": "<string>",
    "createdAt": "<string>",
    "updatedBy": "<string>",
    "createdBy": "<string>",
    "checksum": "<string>",
    "photo": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Workspace id

Response

Success Response

appSlug
string
required

App unique id

slug
string
required

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

automations
object[]
required
events
object
required
blocks
object[]
required
appName
Example:
{ "fr": "Bonjour", "en": "Hello" }
appVersion
string

Defaults to the latest known app version

disabled
boolean

If disabled, this appInstance will be ignored during execution

labels
string[]
Pattern: ^[0-9A-Za-z._:-]{2,60}$
updatedAt
string
createdAt
string
updatedBy
string
createdBy
string
checksum
string
photo
string