Identity and access

Roles and scopes

Every permission is a scope; roles are fixed sets of scopes, and keys carry a subset of their creator's.

How permissions work

A scope is a permission such as projects:write. Every request is checked for the scope it needs, in the organization it acts on:

  • People get the scopes of their role in each organization. They're worked out from the role in the access token, so a role change takes effect within 15 minutes.
  • Keys carry the scopes chosen when they were created, at most the creator's own (Keys).
  • Agents don't use scopes; what a device may do is decided when it's approved.

A request without the scope gets 403 with Missing scope <scope>.

Roles

RoleScopes
OwnerEvery scope. Owners can also invite owners.
AdminSame scopes as owners.
DeveloperEvery :read scope except audit:read, plus the developer writes marked in the table below.
ViewerEvery :read scope except audit:read, plus chat:use.

A few decisions use the role itself rather than a scope: inviting members, creating and deleting teams, and creating and revoking keys need an owner or admin.

Scopes

Generated from the platform's scope list. Checked by lists the API routes and MCP tools that require each scope; "Not checked yet" means a role grants it but nothing requires it today.

ScopeCoversOwnerAdminDeveloperViewerChecked by
org:readThe organization's settings page in Cloud.✓✓✓✓9 API routes, Cloud navigation
org:writeRenaming and deleting the organization; transferring projects (needed in both organizations).✓✓9 API routes
audit:readThe organization's audit log.✓✓6 API routes
audit:reviewAudit review: people's and objects' activity, findings, cases and exports.✓8 API routes
tenant:readTenant: users, groups, roles, applications, sign-in logs and policies.✓✓39 API routes, tenant_overview, tenant_users_list, tenant_user_get, tenant_groups_list, tenant_group_get, tenant_roles_list, tenant_permissions, tenant_sign_ins, tenant_policy_get, tenant_integrations_list
tenant:writeTenant: inviting, blocking and removing users, groups, role assignments, applications and policies.✓✓99 API routes, tenant_invite, tenant_user_update, tenant_user_block, tenant_user_unblock, tenant_user_revoke_sessions, tenant_user_send_password_reset, tenant_group_member_set
members:readThe organization's members.✓✓✓✓2 API routes
members:writeManaging the organization's members.✓✓Not checked yet
projects:readServerless App Services and their settings.✓✓✓✓8 API routes
projects:writeCreating Serverless App Services and changing their settings.✓✓✓12 API routes
deployments:readDeployments and their status.✓✓✓✓6 API routes
deployments:writeRedeploying, promoting and rolling back deployments.✓✓✓5 API routes
env:readEnvironment variables. Sensitive values are never returned.✓✓✓✓8 API routes, secrets_list, secret_get
env:writeAdding, changing and deleting environment variables and secrets, and reading secrets their access rules allow.✓✓✓10 API routes, secret_get, secret_set
keys:readEvery key that protects the organization's data, its versions, use and audit. Never key material.✓✓2 API routes, keys_list
keys:useEncrypting, decrypting, signing and verifying with the organization's own keys.✓✓✓5 API routes, keys_encrypt, keys_decrypt, keys_sign, keys_verify
keys:writeCreating, rotating, scheduling, re-encrypting, disabling and destroying keys; who may read secrets.✓✓9 API routes
domains:readCustom domains and their status.✓✓✓✓12 API routes
domains:writeAdding, redirecting, moving and removing custom domains; connecting Cloudflare.✓✓✓9 API routes
domains:buyRegistering domains and switching their auto-renew, each confirmed by a person (a purchase).✓✓2 API routes
resources:readDatabases and buckets.✓✓✓✓22 API routes, databases_list, database_describe, database_query, database_scan, database_item_get, buckets_list, bucket_list, bucket_download_url
resources:writeCreating, linking and deleting databases and buckets.✓✓✓33 API routes, database_item_put, database_item_delete, bucket_upload_url, bucket_delete
status:readStatus pages, their components and incidents.✓✓✓✓9 API routes
status:writeCreating, changing and deleting status pages, their components, groups and templates.✓✓✓24 API routes
status:incidentsOpening, updating and publishing incidents and maintenance on status pages.✓✓✓6 API routes
git:readReading repositories, cloning and fetching; reading and opening issues; commenting.✓✓✓✓103 API routes, Git over HTTPS: clone and fetch
git:writePushing; creating and deleting repositories; repository settings; opening and merging pull requests; running, re-running and cancelling pipelines.✓✓✓26 API routes, Git over HTTPS: push
git:adminPipelines' secrets, variables and environments (their reviewers, wait timers and branch rules), caches and artifacts. Owners and admins.✓✓21 API routes
logs:readBuild and runtime logs.✓✓✓✓4 API routes
analytics:readTraffic analytics for the organization's deployments.✓✓✓✓1 API route, project_traffic
knowledge:readNotes pages and context entries.✓✓✓✓28 API routes, context_get, context_list, pages_list, page_get, page_search
knowledge:writeCreating and editing knowledge pages and context entries.✓✓✓18 API routes, context_put, context_delete, page_upsert
connectors:readConnectors, and their tools on the MCP server.✓✓✓✓5 API routes, connectors_list, connector tools
connectors:writeAdding, testing, changing and removing connectors.✓✓7 API routes
chat:useCaity.✓✓✓✓Not checked yet
mcp:connectConnecting MCP clients.✓✓✓Not checked yet
agents:readAgents, their network requests and jobs.✓✓✓✓7 API routes, agent_job_get
agents:writeApproving and revoking agents, their network access, and exec jobs.✓✓5 API routes, agent_job_create, Approving an agent's login
agents:runQueueing agent jobs.✓✓✓3 API routes, agent_job_create, agent_job_cancel
mail:readReading and organizing mail in the mailboxes you're a member of.✓✓✓✓26 API routes
mail:sendSending mail and saving drafts from the mailboxes you're a member of.✓✓✓✓12 API routes
mail:adminMail domains, mailboxes, aliases, catch-all addresses and mail usage.✓✓14 API routes
calendar:readCalendars and events of the mailboxes you're a member of.✓✓✓✓8 API routes
calendar:writeCreating and changing calendars and events, answering invitations and importing events, in the mailboxes you're a member of.✓✓✓✓13 API routes
contacts:readAddress books and contacts of the mailboxes you're a member of.✓✓✓✓9 API routes
contacts:writeCreating, changing, importing and deleting contacts and address books in the mailboxes you're a member of.✓✓✓✓13 API routes
issues:readIssue spaces, issues, boards, filters, dashboards and reports you can browse (each space's permission scheme applies).✓✓✓✓126 API routes, issues_meta, issues_search, issues_report, issues_agenda, issue_get, boards_list, board_get, filters_list, issues_imports_list
issues:writeCreating spaces, issues and filters; working on issues where the space's permission scheme allows it.✓✓✓113 API routes, sprint_create, sprint_plan, sprint_start, sprint_complete, issue_create, issue_update, issues_bulk, issue_transition, issue_comment, issue_comment_edit, issue_comment_delete, issue_link, issue_unlink, issue_worklog, issues_rank, issue_move, issue_delete, space_create, issues_import_start, issues_import_cancel
issues:adminIssue configuration (statuses, types, workflows, fields, screens, permission schemes), every space, and deleting spaces.✓✓44 API routes
maps:readMaps: live aircraft, flight history, and the saved maps, flight watches and notification groups shared with the organization.✓✓✓✓92 API routes, findmy_people, maps_directions, findmy_eta, findmy_eta_start, findmy_eta_stop, findmy_eta_extend, aircraft_find, aircraft_track, flight_watches_list, flight_logs_list, flight_log_get, flight_watch_events, maps_locations_list, my_location_status, incidents_list, incident_get, watch_zones_list, watch_zone_events
maps:writeSaving places and maps, creating and changing flight watches and notification groups, and push subscriptions.✓✓✓✓36 API routes, flight_watch_create, circling_alert_create, maps_location_create, maps_location_update, maps_location_delete, my_location_delete, flight_watch_pause, flight_watch_delete, flight_watch_live_activity, flight_watch_restart, watch_zone_create, watch_zone_update, watch_zone_pause, watch_zone_delete
drive:readDrive: the organization's files and folders you can open (your My Drive, shared drives you're in, and what's shared with you).✓✓✓✓207 API routes, drive_search, drive_list, drive_get, drive_read, drive_download_url, document_create, document_read, document_edit, document_comment, sheet_create, sheet_read, sheet_write, sheet_add_chart, slides_create, slides_read, slides_add, office_search, office_export, video_read, video_create, video_transcribe, studio_images
drive:writeDrive: uploading, organizing, sharing and deleting the organization's files where your access allows it.✓✓✓✓16 API routes, drive_folder_create, drive_file_write, drive_rename, drive_move, drive_trash, drive_restore, drive_share
crm:readCustomers: reading accounts, contacts, leads, opportunities and activities that sharing allows, list views, search and the pipeline.✓✓✓✓52 API routes, crm_objects, crm_search, crm_records_list, crm_record_get, crm_pipeline_summary
crm:writeCustomers: creating records, changing and deleting those sharing allows, logging activities, converting leads, imports.✓✓✓10 API routes, crm_record_create, crm_record_update, crm_activity_log, crm_import_start, crm_import_cancel
crm:adminCustomers settings: objects, fields, validation rules, indexes, pipelines, sharing and role permissions. Includes seeing and changing every record.✓✓15 API routes, crm_imports_list
marketing:readMarketing: segments, lists, content, campaigns and their results, consent and engagement.✓✓✓✓92 API routes, marketing_segments_list, marketing_segment_get, marketing_segment_estimate, marketing_lists_list, marketing_campaigns_list, marketing_campaign_get, marketing_journeys_list, marketing_journey_get, marketing_consent_get, marketing_stats_daily, marketing_forms_list
marketing:writeMarketing: building segments, lists, templates and the content library, importing lists, and drafting campaigns.✓✓✓marketing_campaign_create, marketing_campaign_request_approval, marketing_journey_create
marketing:sendMarketing: scheduling, sending, pausing and cancelling campaigns, and approving others' campaigns.✓✓Not checked yet
marketing:adminMarketing settings: sender, physical address, topics, approvals, frequency caps, send times and the brand kit, and changing an address's consent.✓✓Not checked yet
health:readHealth: your own summaries, charts, samples and what others share with you. Keys and connected apps only when you allow it in Health → Privacy; Caity only summaries, and only when allowed.✓✓✓✓health_summary, health_metric
health:writeHealth: adding, changing and deleting your own samples and syncing them. Keys and connected apps only when you allow it in Health → Privacy; never privacy settings.✓✓✓✓Not checked yet
weather:readWeather (personal, in no organization): forecasts, air quality and place search, and reading your own saved places. Held in any of your organizations, or none.✓✓✓✓5 API routes, weather_forecast, weather_places_search, weather_places
weather:writeWeather: changing your own saved places and units.✓✓✓✓4 API routes, weather_place_save, weather_place_remove
food:readFood (personal, in no organization): your recipes and collections, and your household's meal plan, shopping lists and pantry. Held in any of your organizations, or none; a key acts for the person who made it.✓✓✓✓29 API routes, food_recipes_search, food_recipe_get, food_suggestions, food_what_can_i_cook, food_plan_get, food_substitute, food_use_soon, food_spending, food_plan_meals, food_plan_add, food_shopping_list, food_list_add, food_pantry_add, food_recipe_save
food:writeFood: adding and changing recipes, the plan, lists and the pantry, importing, and your Food settings.✓✓✓✓50 API routes
vehicles:readVehicles: the vehicles you own or that are shared with you, their state, trips, charges and costs, and a vehicle's position only where its sharing allows it. Held in any of your organizations, or none; a key acts for the person who made it.✓✓✓✓28 API routes, vehicles_on_map, vehicle_fleet_list, vehicle_fleet_run
vehicles:writeVehicles: trip classes, purposes and tags, places, tariffs, geofences, exports and vehicle settings, where sharing allows it.✓✓✓✓48 API routes, vehicle_log_drive, vehicle_log_charge, vehicle_log_entry
vehicles:controlVehicles: commands to a vehicle (climate, charging, lock, unlock, Sentry and the rest), each of which needs the matching capability on that vehicle; the sensitive ones ask for confirmation or the owner's approval.✓✓✓✓vehicle_command, vehicle_fleet_command
vehicles:adminVehicles: an organization's fleet policy, drivers, bookings for other people, every driver's scores and the fleet reports.✓✓66 API routes
sharing:readSharing: who a resource is shared with, what is shared with you, and your pending invitations.✓✓✓✓shared_with_me, sharing_list, circles_list
sharing:writeSharing: giving others access to what you hold (people, groups, circles and links), changing or ending it, and accepting or declining what is shared with you. You can give no more than you hold yourself.✓✓✓✓sharing_grant, sharing_update, sharing_pause, sharing_revoke, findmy_share, findmy_stop, findmy_hide
ontology:readDatalake: the ontology's types, links, actions, rules, layers and views, their versions and lineage.✓✓✓✓Not checked yet
ontology:writeDatalake: drafting and proposing changes to the ontology's definitions on a branch.✓✓✓Not checked yet
ontology:adminDatalake: publishing ontology definitions and reviewing proposals.✓✓Not checked yet
datasets:readDatalake: datasets, their versions, schemas and previews, where each type's policy allows.✓✓✓✓Not checked yet
datasets:writeDatalake: creating datasets and versions, transforms, checks and imports.✓✓✓Not checked yet
datasets:adminDatalake: dataset retention, deletion and every dataset's settings.✓✓Not checked yet
sources:readDatalake: sources, their runs and health.✓✓✓✓Not checked yet
sources:writeDatalake: creating and changing sources and their schedules, and running syncs.✓✓✓Not checked yet
sources:adminDatalake: source credentials, shared feeds' subscriptions and deleting sources.✓✓Not checked yet
lake:queryDatalake: SQL over the lake, reaching only the rows and columns each type's policy allows.✓✓✓Not checked yet
service:readService: the organization's inboxes and customer conversations, their messages and notes, macros and settings (a provider's inbox only where that provider opens to you).✓✓✓✓8 API routes
service:writeService: replying, notes, assignment, merging and splitting conversations, applying provider actions (with the scopes each names), and changing inboxes, facts, macros and settings.✓✓✓19 API routes