curl --request GET \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"platformRepositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
},
"writeLock": {
"lockedAt": "<string>",
"lockedBy": "<string>",
"reason": "<string>"
},
"generation": 123,
"automations": {},
"pages": {},
"imports": {},
"groups": [
"<string>"
],
"dependsOn": [
"<string>"
],
"app": {
"slug": "<string>",
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
}
},
"version": {
"name": "<string>",
"type": "import",
"exportedAt": "<string>",
"importedAt": "<string>",
"source": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Get Workspace
Fetch a workspace
curl --request GET \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"platformRepositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
},
"writeLock": {
"lockedAt": "<string>",
"lockedBy": "<string>",
"reason": "<string>"
},
"generation": 123,
"automations": {},
"pages": {},
"imports": {},
"groups": [
"<string>"
],
"dependsOn": [
"<string>"
],
"app": {
"slug": "<string>",
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
}
},
"version": {
"name": "<string>",
"type": "import",
"exportedAt": "<string>",
"importedAt": "<string>",
"source": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace id
Query Parameters
Optional version
When true, enrich the response with the .import.yml metadata (groups / dependsOn / app / version). Off by default so regular reads (e.g. the frontend) skip the extra lookups.
Response
Success Response
^[0-9A-Za-zÀ-ÖØ-öø-ÿ ,.'- ]{1,60}$Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Hide child attributes
Hide child attributes
Block
Hide child attributes
Hide child attributes
A block can be a javascript bundled file. Host it on the internet and put its url here.
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
A block can extends another one by giving its name here
default config applied to the Block. Usefull for extended Blocks.
Css applied to Block
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
^[0-9A-Za-z._:-]{2,60}$If true, make this workspace metadata available to all workspaces with this variable : {{global.workspacesRegistry[WORKSPACE_SLUG]}}
Remote versioning repositories
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
- Option 1
- Option 2
- Option 3
Hide child attributes
Hide child attributes
Sub-directory path within the repository where the workspace is stored
git, archive, filesystem read-write, read-only Only for platform repositories fetched from the Platform workspaces ; indicates which groups can be pulled/pushed
Platform remote versioning repositories
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
- Option 1
- Option 2
- Option 3
Hide child attributes
Hide child attributes
Sub-directory path within the repository where the workspace is stored
git, archive, filesystem read-write, read-only Only for platform repositories fetched from the Platform workspaces ; indicates which groups can be pulled/pushed
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Hide child attributes
Hide child attributes
Custom mapping which will be directly sent to underlying database (Elasticsearch/Opensearch)
Custom configuration per event type
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Monotonic counter incremented on every workspace modification. Used by the runtime to detect a stale runtime.yml (e.g. after a crash during import) and trigger a rebuild.
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
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
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Conditional input/output schemas. Takes precedence over arguments for validation when present; arguments-declared secret & redact markers remain enforced on every branch, while branch-declared secrets only apply to calls matching their branch.
Hide child attributes
Hide child attributes
Every entry must equal the corresponding payload variable for the branch to match. Keys are dot-paths resolved from the payload root (method, body.kind…); method is matched case-insensitively. Values are compared as strings after scalar coercion (2 matches "2" — query parameters always arrive as strings); an object or array value never matches.
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
- Option 1
- Option 2
- Option 3
- Option 4
Hide child attributes
Hide child attributes
["prismeaiMessenger.event"]
["2021-12-25T00:00", "* * 1 * *"]
"Set to true in order to activate HTTP endpoint. Slug will be trigger name by default"
^[0-9A-Za-z._:-]{2,60}$Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
"prismeaiMessenger.message"
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Page
Hide child attributes
Hide child attributes
^[0-9A-Za-z._:-]{2,60}$Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
"prismeaiMessenger.message"
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
auto, light, dark Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
App unique id
Unique & human readable id across current workspace's appInstances, which will be used to call this app automations
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Conditional input/output schemas. Takes precedence over arguments for validation when present; arguments-declared secret & redact markers remain enforced on every branch, while branch-declared secrets only apply to calls matching their branch.
Hide child attributes
Hide child attributes
Every entry must equal the corresponding payload variable for the branch to match. Keys are dot-paths resolved from the payload root (method, body.kind…); method is matched case-insensitively. Values are compared as strings after scalar coercion (2 matches "2" — query parameters always arrive as strings); an object or array value never matches.
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
"prismeaiMessenger.message"
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
Defaults to the latest known app version
If disabled, this appInstance will be ignored during execution
^[0-9A-Za-z._:-]{2,60}$True when the referenced app no longer exists in the platform (uninstalled/deleted). The instance is kept in the list so it stays visible and removable.
Workspace groups deduced from labels (mirrors .import.yml). Used by the workspaces repo tooling to rebuild .import.yml from the live workspace. The .import.yml workspaceId maps to this response id field.
Source app slugs this workspace depends on, e.g. "app/Collection" (mirrors .import.yml).
Was this page helpful?