Reference / Workspace and operations

Create API key

create_api_keyocmgr apikey createPOST /v1/api-keysADMIN

Issue a key and return its token once. Refused for every hosted MCP API-key or OAuth-token caller: a key cannot mint a key. Sign in and use Settings → Access, or ocmgr apikey create at a terminal. Available over local stdio only with OCMGR_MCP_WRITE=1 under the operator’s DATABASE_URL.

Parameters

purpose"agent" | "integration"
namestringup to 120 charsREQUIRED

A label explaining who uses this key.

scopes"read" | "write" | "admin"[]up to 3REQUIRED

admin implies write, which implies read.

CLI flags

--name <name>REQUIRED

What this key is for: "zapier push", "ci"

--purpose <purpose>

agent or integration; defaults from workspace agent privacy

--scopes <list>default read

Comma-separated: read, write, admin

Also in Workspace and operations