Skip to main content
GET
/
v2
/
workspaces
/
{workspaceId}
/
pages
List Pages
curl --request GET \
  --url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/pages \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": {
      "fr": "Bonjour",
      "en": "Hello"
    },
    "description": {
      "fr": "Bonjour",
      "en": "Hello"
    },
    "workspaceId": "<string>",
    "workspaceSlug": "<string>",
    "id": "<string>",
    "slug": "<string>",
    "blocks": [
      {
        "slug": "<string>",
        "appInstance": "<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>",
    "favicon": "<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.

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

name
required
Example:
{ "fr": "Bonjour", "en": "Hello" }
description
Example:
{ "fr": "Bonjour", "en": "Hello" }
workspaceId
string
workspaceSlug
string
id
string
slug
string
blocks
object[]
labels
string[]
Pattern: ^[0-9A-Za-z._:-]{2,60}$
events
object
createdBy
string
updatedBy
string
createdAt
string
updatedAt
string
permissions
object
customDomains
string[]
colorScheme
enum<string>
Available options:
auto,
light,
dark
checksum
string
favicon
string