Applications
Lists the applications in the workspace. Paginated (limit, cursor). Deployed copies of an application are not listed; only the applications themselves. The builder graph, trigger and type configuration are not part of the public shape.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Page size (1-1000, default 50).
1Opaque cursor from a previous response's pagination.cursor.
exampleSuccessful response
Unauthorized
Forbidden
Too Many Requests; the response carries Retry-After
Internal Server Error
Service Unavailable; the response carries Retry-After
GET /api/v1/workspaces/{wsId}/applications HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "text",
"workspaceId": null,
"organisationId": "text",
"name": "text",
"date": null,
"lastSaved": null,
"metadataSavedAt": null,
"pagesRevision": 1,
"description": null,
"access": "public",
"parentId": null,
"version": null,
"deployedAt": null,
"building": null,
"status": "Running",
"isLive": null,
"kind": "user",
"slug": null,
"lifecycleStatus": "draft",
"publish": {
"slug": null,
"publishedAt": null,
"publishedVersion": null,
"surfaces": [
"rest"
],
"consumerAccess": "private",
"allowedEmailDomains": [
"text"
],
"embedOrigins": [
"text"
],
"notes": null
},
"settings": {
"publishDraft": {
"version": null,
"notes": null,
"embedOriginsText": null,
"restrictEmbedding": null,
"subAppOn": null
},
"description": null,
"icon": null,
"color": null,
"exposedTerminals": [
{
"moduleId": null,
"portId": null,
"widgetId": "text",
"direction": "in",
"kind": "dataframe",
"label": "text"
}
],
"embeddablePages": [
"text"
],
"emittedEvents": [
{
"name": "text",
"payloadSchema": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"description": ""
}
],
"agent": {
"enabled": false,
"instructions": "",
"tools": [
"app_describe"
],
"canPress": [
"text"
],
"pressWithoutConfirm": [
"text"
],
"knowledge": [
"text"
],
"model": null
}
},
"theme": {
"backgroundMode": "light",
"accentColor": "text",
"backgroundColor": "text",
"fontPreset": "default"
}
}
],
"pagination": {
"cursor": "text",
"hasMore": true,
"total": 1
}
}Returns the application by id from platform MongoDB. Must belong to the workspace; deployed copies are not addressable. The builder graph, trigger and type configuration are not part of the public shape.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123Successful response
Unauthorized
Forbidden
Not Found
Too Many Requests; the response carries Retry-After
Internal Server Error
Service Unavailable; the response carries Retry-After
GET /api/v1/workspaces/{wsId}/applications/{id} HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"workspaceId": null,
"organisationId": "text",
"name": "text",
"date": null,
"lastSaved": null,
"metadataSavedAt": null,
"pagesRevision": 1,
"description": null,
"access": "public",
"parentId": null,
"version": null,
"deployedAt": null,
"building": null,
"status": "Running",
"isLive": null,
"kind": "user",
"slug": null,
"lifecycleStatus": "draft",
"publish": {
"slug": null,
"publishedAt": null,
"publishedVersion": null,
"surfaces": [
"rest"
],
"consumerAccess": "private",
"allowedEmailDomains": [
"text"
],
"embedOrigins": [
"text"
],
"notes": null
},
"settings": {
"publishDraft": {
"version": null,
"notes": null,
"embedOriginsText": null,
"restrictEmbedding": null,
"subAppOn": null
},
"description": null,
"icon": null,
"color": null,
"exposedTerminals": [
{
"moduleId": null,
"portId": null,
"widgetId": "text",
"direction": "in",
"kind": "dataframe",
"label": "text"
}
],
"embeddablePages": [
"text"
],
"emittedEvents": [
{
"name": "text",
"payloadSchema": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"description": ""
}
],
"agent": {
"enabled": false,
"instructions": "",
"tools": [
"app_describe"
],
"canPress": [
"text"
],
"pressWithoutConfirm": [
"text"
],
"knowledge": [
"text"
],
"model": null
}
},
"theme": {
"backgroundMode": "light",
"accentColor": "text",
"backgroundColor": "text",
"fontPreset": "default"
}
}
}Deletes the application, its schedules, its published versions, its module data and any deployed copies of it, and releases the datasets and twins it maintained. Deployed copies are not deletable on their own. This is the same deletion the workspace UI performs. Requires applications:delete and full permission.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Path parameter: wsId
123Path parameter: id
123No Content
No content
Unauthorized
Forbidden
Not Found
Too Many Requests; the response carries Retry-After
Internal Server Error
Service Unavailable; the response carries Retry-After
DELETE /api/v1/workspaces/{wsId}/applications/{id} HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated

