Docs

Docs

x-cpod-domain: apps

Apps

App identity registry, admin catalog RBAC (roles + group mappings), and runtime install view for effective permissions.

Try in explorer client.apps

App

A registered application identity with its own app_id used for MCP tool registration.

REST path/api/v1/apps
Operations
registermeregisterToolslistTools
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
app_id*uuidPlatform-assigned application identity.
name*stringApplication name.
descriptionstringApplication description and capabilities.
statusenumApplication status.activeinactiverevoked
created_at*date-timeRegistration timestamp.

CatalogApp

Admin catalog app with roles[] and requested_permissions. Use create/list for setup; distinct from apps.register identity.

REST path/api/v1/apps
Operations
createlist
SDK
// list — returns only your records; add filters/search:
await client.apps.list()

// create:
await client.apps.create({
  app_code: "example app_code",
  name: "example name",
})
FieldTypeDescription
app_code*stringStable slug (e.g. project-hub).
name*stringDisplay name.
rolesjsonIn-app role definitions: key, name, permissions[].
requested_permissionsjsonInstall permission ceiling.

RoleMappings

Tenant group/user → in-app role mappings on the install document.

REST path/api/v1/apps/{appId}/role-mappings
Operations
getRoleMappingssetRoleMappings
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
principal_type*enumMapping principal kind.groupuser
principal_id*stringGroup or user id.
role*stringIn-app role key (not a platform role).

AppInstallView

Runtime effective role and permissions for the calling user (after setup). Query by app_code.

REST path/api/v1/app-install
Operations
getInstallView
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
app_code*stringApp slug passed as query app_code.
rolestringPrimary matched in-app role.
rolesjsonAll matched role keys.
permissionsjsonEffective permissions after grant intersection.

AppContext

Short-lived signed platform context for app runtime / MCP.

REST path/api/v1/apps/{appId}/context
Operations
mintContext
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
signature*stringHMAC-SHA256 signature.
expires_at*stringExpiry (epoch seconds as string).
permissionsjsonEffective permissions baked into context.

AppReconsent

Approve pending permission-expansion reconsent for a tenant install.

REST path/api/v1/apps/{appId}/reconsent
Operations
approveReconsent
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
reconsent_required*booleanFalse after approval.
granted_permissionsjsonUpdated grant set when approved.

AppInstallsDashboard

Cross-tenant installs view (global_admin).

REST path/api/v1/apps/{appId}/installs
Operations
listInstalls
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
installs*jsonPer-tenant install rows with role_mappings.
reconsent_requiredbooleanPending reconsent flag.

AppMcpTool

An MCP tool registered under an application identity.

REST path/api/v1/apps/{appId}/mcp/tools
Operations
registerToolslistTools
SDK
// list — returns only your records; add filters/search:
await client.apps.list()
FieldTypeDescription
name*stringTool name (unique per app).
description*stringTool description for LLM consumption.
endpoint*stringREST endpoint this tool proxies.
method*enumHTTP method.GETPOSTPUTPATCHDELETE
input_schemajsonJSON Schema for tool input arguments.