Skip to content

API key scopes

View as Markdown

How to choose scopes and create keys: API keys and scopes.

Scopes

A key created without scopes gets *: every scope in this first table. Scopes for one entity add the entity key: records:read:incident.

ScopeAllows
records:readRead records of any entity (or one entity: records:read:<entity>), exports, search, attachments, reports.
records:writeCreate, update, transition, merge and delete records (or one entity: records:write:<entity>).
schema:readRead entity definitions: fields, forms, views, lifecycle, rules.
schema:writeChange the data model: entities, fields, forms, views, lifecycle, rules.
apps:readRead apps, build-studio drafts, plugins, connectors, scripts, widgets, pages, dashboards, reports, templates, prompts, skills, endpoints.
apps:writeBuild and publish apps and their parts (plugins, connectors, scripts, widgets, pages, prompts, skills, endpoints, AI agents, RAG collections). Installing apps into the workspace needs apps:install.
workflows:readRead workflow definitions, automations and runs.
workflows:writeCreate, change and delete workflows and automations.
workflows:runStart, cancel and replay workflow runs.
spec:readRead the app spec: artefacts (pages, access rules, …), their history, JSON Schemas and the catalog; plan changes.
spec:proposePropose changes: create and edit changesets for a person to review. Never applies anything.
spec:applyApply spec changes (POST /api/spec/apply, changeset apply), capped by the key creator's build permissions. Key-made access and code changes still wait for a person unless the workspace allows them.
endpoints:invokeCall deployed endpoints, API-key webhooks and the MCP server.
ai:useUse the AI models and agents, and the local agent runner (ligament agent start).
import:writeRun data imports (stage, map, promote, discard).
audit:readRead and export the audit logs.
esign:readRead e-signature envelopes the key's creator may see (status, recipients, audit trail) and download sealed PDFs.
esign:writeCreate, send, remind and void e-signature envelopes. Never signs: signing is done by each recipient in person.
settings:readRead workspace settings: members, roles, ACLs, invites, secrets metadata, integrations, domains, portal, notifications rules, SCIM tokens. Never the credentials among them (webhook signing secret, invite and domain verification tokens, integration config): those need the matching admin scope.

Admin scopes

* never includes these. A key gets one only when it names it, and only an owner or admin can create such a key.

ScopeAllows
settings:writeChange workspace settings: secrets, integrations, webhooks, embed tokens, portal, AI and notification settings, subsidiaries.
members:writeChange who is in the workspace and what they can do: members, invites, roles, ACLs.
sso:writeChange identity provisioning: SCIM tokens and claimed email domains (SSO providers are session-only).
apps:installInstall, upgrade, uninstall and delete apps, modules and plugins in this workspace.
approvals:decideList and decide approvals.
components:approveApprove custom component versions and grant them data scopes. The key's creator must also hold the "Approve custom components" role permission (owners do; owners can grant it to a role).

Areas no API key can reach

These need a signed-in person in the browser, whatever scopes a key holds.

  • API keys
  • SSO providers
  • Security policy
  • OIDC clients
  • Workspace hierarchy