App Authoring
Custom apps, dashboards, data schemas, records and clips.
109 operations · complete schema 152 KB
magicQuery
Executes a Magic Query string and returns the predefined query's JSON result. On a bad noun or parameter, returns a structured error whose 'extensions' carry 'code', 'actionable_message', and 'suggestions' for self-correction.
getMagicQuerySchema
Returns the input JSON Schema and output introspection for a Magic Query noun, so consumers (especially LLMs) can learn its contract before calling magicQuery.
listMagicQueries
Lists every available Magic Query noun with a short description and its options — the discovery entry point.
getMagicQueryGraphQL
Resolves a Magic Query string to the real GraphQL operation and variables it runs, so consumers can graduate from the façade to raw GraphQL. Does not execute.
listDataChangeEventTopics
List all valid data change event topics, grouped by resource. Requires authentication.
generateDefaultDataQuery
Generate a default GraphQL data query for an event topic. Returns a query string with all scalar fields for the resource, or null if the topic has no matching query. The query uses $id as the variable for the resource ID.
ping
Health check endpoint
getDashboardCard
Fetch a single dashboard card. Visibility follows the parent dashboard. Requires dashboard:read permission.
getDashboard
Fetch a dashboard by ID with its cards. Requires dashboard:read permission.
listDashboards
List dashboards visible to the current user. Returns personal dashboards owned by the user and shared dashboards. Requires dashboard:list permission.
getCustomApp
Fetch a custom app by ID. Requires customapp:read permission.
getCustomAppByHandle
Fetch a custom app by handle. Requires customapp:read permission.
listCustomApps
List custom apps with pagination and filtering. Requires customapp:list permission.
listCustomAppUsers
List custom app user bindings. Requires customappuser:read permission.
listCustomAppTeams
List custom app team bindings. Requires customappteam:read permission.
getCustomAppVersion
Fetch a custom app version by ID. Requires customapp:read permission.
listCustomAppVersions
List versions for a custom app. Requires customapp:read permission.
getCustomDataContainer
Fetch a custom data container by ID. Requires customapp:read permission.
listCustomDataContainersByApp
List containers for a custom app with pagination. Requires customapp:read permission.
listCustomDataContainersByTaggable
List containers tagged to a specific entity with pagination. Requires customapp:read permission.
getDataSchema
Fetch a data schema by ID. Requires dataschema:read permission.
getDataSchemaByName
Fetch a data schema by name. Requires dataschema:read permission.
dataSchemas
List all data schemas for the current tenant with pagination. Requires dataschema:read permission.
listDataSchemas
List data schemas with pagination. Requires dataschema:list permission.
getDataRecord
Fetch a data record by ID. Requires datarecord:read permission.
dataRecordsBySchema
List data records for a schema with pagination. Requires datarecord:read permission.
listDataRecords
List data records with pagination. Requires datarecord:list permission.
dataRecordsByTaggable
List data records tagged to a specific entity with pagination. Requires datarecord:read permission.
getProtobufSchema
Fetch a protobuf schema by ID. Requires protobufSchema:read permission.
getProtobufSchemaByName
Fetch a protobuf schema by name. Requires protobufSchema:read permission.
listProtobufSchemas
List protobuf schemas with pagination. Requires protobufSchema:list permission.
iacSchema
The infrastructure-only view of this schema, for declarative tooling. Contains only annotated resources and the types they reach.
iacValidate
Validate an infrastructure artifact. Pure and side-effect free; safe to alias many times in one document.
iacGuides
Every authoring guide, for a tool that syncs them to a folder. Intended for `schema pull` to call once and write to disk, not for an agent to call while authoring — a file can be grepped and re-read in part, where a response arrives whole.
helpChapters
List human-facing manual chapters from the running deployment.
helpChapter
Read a chapter of the current published manual edition.
searchHelp
Search human-facing manuals using shared semantic and text retrieval.
schemaAuthoringCatalog
Compiler-owned vocabulary for the standalone XML JSON Schema dialect, including native form annotations.
compileSchemaXML
Compile standalone XML schema syntax into JSON Schema without persisting it; host restrictions apply when embedded.
renderSchemaXML
Render JSON Schema as native XML without dropping unsupported keywords or changing a saved document.
iacSchemaDocument
Fetch the JSON Schema document a SCHEMA-kind validator references, for declarative tooling.
sharedResources
Browse the shared-resource catalog served by ControlApp, with optional type, text and category filters. Requires sharedResource:list permission.
getSharedResource
Fetch a single catalog template's metadata by id. Returns null when no such template exists in the catalog. Requires sharedResource:read permission.
sharedResourceInstallations
Every catalog template this tenant has installed, with the version installed — the basis for detecting available upgrades. Requires sharedResource:list permission.
getDataClip
Get a data clip by ID
listDataClips
List data clips for the current tenant
previewDataClip
Preview a MicroSQL query without saving (returns tabular results)
getExternalSchema
Fetch an external schema by ID. Requires externalSchema:read permission.
listExternalSchemas
List external schemas with pagination and filtering. Requires externalSchema:list permission.
listAPIClientDefinitions
List tenant API definitions, optionally restricted to one uploaded schema.
getAPIClientDefinition
Read a tenant API definition and its current compilation status.
listExternalSchemaEntries
List entries for an external schema. Requires externalSchema:read permission.
searchSchemaTypes
Semantic search over GraphQL types (objects, inputs, enums)
searchSchemaFields
Semantic search over GraphQL fields on types
searchSchemaQueries
Semantic search over GraphQL query operations
searchSchemaMutations
Semantic search over GraphQL mutation operations
upsertDashboard
Create or update a dashboard. Requires dashboard:write permission.
createDashboard
Create a new dashboard. Requires dashboard:write permission.
updateDashboard
Update a dashboard. Only provided fields are changed. Requires dashboard:write permission.
deleteDashboard
Delete a dashboard and all its cards. Requires dashboard:delete permission.
createDashboardCard
Create a card on a dashboard. Only the dashboard owner may. Requires dashboard:write permission.
updateDashboardCard
Update a dashboard card in place. Only the dashboard owner may. Requires dashboard:write permission.
upsertDashboardCard
Create or update a card within a dashboard. Requires dashboard:write permission.
deleteDashboardCard
Delete a card from a dashboard. Requires dashboard:write permission.
updateDashboardLayout
Bulk update card positions after drag/resize operations. Requires dashboard:write permission.
exportDashboard
Export a dashboard and its cards to YAML or JSON. Requires dashboard:read permission.
importDashboard
Import a dashboard from YAML or JSON, creating a new dashboard. Requires dashboard:write permission.
upsertCustomApp
Create or update a custom app. Requires customapp:write permission.
createCustomApp
Create a new custom app. Requires customapp:write permission.
updateCustomApp
Update a custom app. Only provided fields are changed. Requires customapp:write permission.
deleteCustomApp
Delete a custom app. Requires customapp:delete permission.
createCustomAppSession
Create a session token for a custom app. The token should be passed in the X-App-Session header for RPC calls. Requires customapp:read permission.
publishCustomApp
Publish a specific version of a custom app, making it visible to end users. Requires customapp:write permission.
setCustomAppEngineVersion
Upgrade a custom app's engine to v2 after a script-shape lint. Requires customapp:write permission.
attachCustomAppUser
Attach a user to a custom app. Requires customappuser:write permission.
detachCustomAppUser
Detach a user from a custom app. Requires customappuser:write permission.
attachCustomAppTeam
Attach a team to a custom app. Requires customappteam:write permission.
detachCustomAppTeam
Detach a team from a custom app. Requires customappteam:write permission.
createCustomAppVersion
Create a new version snapshot of a custom app. Requires customapp:write permission.
deleteCustomAppVersion
Delete a custom app version. Requires customapp:delete permission.
upsertCustomDataContainer
Create or update a custom data container. Requires customapp:write permission.
createCustomDataContainer
Create a custom data container. Requires customapp:write permission.
updateCustomDataContainer
Update a custom data container. Only provided fields are changed. Requires customapp:write permission.
deleteCustomDataContainer
Delete a custom data container. Requires customapp:delete permission.
upsertDataSchema
Create or update a data schema. Requires dataschema:write permission.
createDataSchema
Create a new data schema. Requires dataschema:write permission.
updateDataSchema
Update a data schema. Only provided fields are changed. Requires dataschema:write permission.
deleteDataSchema
Delete a data schema. Requires dataschema:delete permission.
upsertDataRecord
Create or update a data record. Requires datarecord:write permission.
createDataRecord
Create a new data record. Requires datarecord:write permission.
updateDataRecord
Update a data record. Only provided fields are changed. Requires datarecord:write permission.
deleteDataRecord
Delete a data record. Requires datarecord:delete permission.
upsertProtobufSchema
Create or update a protobuf schema. Requires protobufSchema:write permission.
createProtobufSchema
Create a new protobuf schema. Requires protobufSchema:write permission.
updateProtobufSchema
Update a protobuf schema. Only provided fields are changed. Requires protobufSchema:write permission.
deleteProtobufSchema
Delete a protobuf schema. Requires protobufSchema:delete permission.
installSharedResource
Install a catalog template into the calling tenant, creating or updating the corresponding domain resource and recording the installation with ControlApp. Idempotent: re-installing an unchanged template returns the existing resource. Authorization is dynamic — the caller needs write permission on the resource kind the template installs (e.g. script:write for a SCRIPT template, workflow:write for a WORKFLOW one), so it is checked in the resolver once the template has been fetched. Failures are reported in the payload, not as GraphQL errors.
upsertDataClip
Create or update a data clip
createDataClip
Create a new data clip
updateDataClip
Update a data clip
deleteDataClip
Delete a data clip
rollDataClipShareToken
Roll/regenerate the share token for a data clip, invalidating old links
upsertExternalSchema
Create or update an external schema. Triggers background processing. Requires externalSchema:write permission.
createExternalSchema
Create a new external schema. Triggers background processing. Requires externalSchema:write permission.
updateExternalSchema
Update an external schema. Only provided fields are changed. Triggers background processing if sourceText is changed. Requires externalSchema:write permission.
deleteExternalSchema
Delete an external schema and all its entries. Requires externalSchema:delete permission.
saveAPIClientDefinition
Create or replace an API definition and compile its types without I/O. Updates require the current revision. Compilation failures are saved with diagnostics.
deleteAPIClientDefinition
Delete an API definition only when its current revision matches.
dataChangeEvents
Subscribe to real-time data change events. Requires read permission on each requested resource.