Cheqq Docs
Developers

Scopes

The permissions you give an API key or a connected app, and what each one allows.

A scope is one thing a key or a connected app is allowed to do. You choose them when you create a key, or when you approve an app like Claude.ai. Whatever you tick, it never goes beyond what you can do yourself in Cheqq.

Every scope

ScopeIn Cheqq it readsWhat it allows
records:readSee recordsRead, count and summarize the records in your collections.
records:writeAdd and change recordsAdd records and change their values, one at a time or up to 200 at once.
records:deleteDelete recordsMove records to the Wapp's Trash.
structure:readSee collections, fields, views and dashboardsList your Wapps and read how they're set up.
structure:writeChange collections, fields, views and dashboardsCreate, rename and delete collections; add, change and remove fields; create and change views and dashboards.
workflows:readSee automations and their runsRead automations, their runs, and the actions a step can use.
workflows:writeBuild and change automations — including steps that run code, call other services and send email on your behalfBuild automations, change them, replace their definition and move them to the Trash. An automation runs as you, with your connected accounts, so this includes steps that run code, call other services and send email, and triggers that start them on their own.
workflows:runRun and stop automationsStart runs (including test runs) and stop them.
workflows:approveAnswer approval requests on your behalfApprove or decline a run waiting for you, and let an automation stop asking. Never in a new key's starting set, so a key that runs automations can't also approve them.
documents:readRead documentsList documents and read their files and versions.
documents:writeCreate and edit documentsCreate documents, save edits as new versions, and restore an earlier version.
documents:deleteDelete documentsMove documents you own to Trash, where you can restore them in Cheqq for 30 days. A published one's public link stops working.
apps:readSee Apps and their codeList your Apps, read their source, checkpoints and deploys.
apps:writeEdit, check and test App codeChange an App's source and packages, restore a checkpoint, and check or verify the draft.
apps:publishPublish, unpublish and roll back AppsChange what visitors see: publish the draft, take an App offline, or roll back to an earlier version.

GET /me (and the cheqq_whoami tool) works with any scope, so a key can always tell you what it's allowed to do.

What a new key starts with

Every :read scope, plus records:write and workflows:run. That lets a key look at everything, keep records up to date and run your automations, but not delete anything, reshape a Wapp, build automations, edit documents or Apps, or publish.

An app you connect by signing in, such as Claude.ai, asks for what it needs and you approve it. When an app asks for everything, Cheqq ticks the same starting set and leaves the rest for you to opt into.

Apps register themselves with Cheqq, so the approval screen says when Cheqq hasn't verified an app and shows the full address your answer goes back to. For those apps, deleting, publishing, building automations and answering approvals always start unticked, even when the app asks for them; you can still tick them.

A key, or an app's access, works the same over the REST API and MCP: there's no separate permission for each.

Choosing scopes

  • A report or a dashboard feed: records:read, plus structure:read to look up collections by name.
  • A sync that keeps records up to date: records:read and records:write; add records:delete only if it should remove records.
  • An assistant that helps you build a Wapp: add structure:write.
  • An assistant that builds automations: workflows:read, workflows:write and workflows:run, so it can test what it builds. Add workflows:approve only if it should answer approvals for you.
  • An assistant that works on your site: apps:read and apps:write. Add apps:publish only if you want it to put changes live without you.

Delete and publish scopes act without asking you

Over the API and MCP, Cheqq's own Ask me first prompts don't appear: there's nobody in Cheqq to answer them. An assistant asks you before a destructive step only if your AI client is set to confirm tool calls. Give records:delete, structure:write, workflows:write, workflows:approve, documents:delete and apps:publish only to keys and apps you trust with them. See MCP tools.

Your role still applies

Scopes narrow what you can do; they never widen it.

  • A Wapp you can only view stays read-only to every key.
  • If you can only view the workspace, every key and app you connect there can only look, whatever was ticked.
  • Some things are only yours: only a document's owner can delete it, and only the people an approval was put to can answer it.

Was this page helpful?