Create a Key
1
Open API & MCP
Go to Settings -> API & MCP.
2
Create a key
Click Create key.
3
Name the key
Use a name that identifies the integration or environment, such as
Warehouse export or Production reporting.4
Choose scopes
Select the read scopes this key should have. All read scopes are selected by default.
5
Choose an expiration
Select No expiration, 90 days, or 1 year.
6
Store the key
Copy the full key from the one-time reveal dialog and store it in your secret manager.
Scopes
Scopes are grouped by how they are used.Customer API
These scopes control direct/api/v1 requests.
Duckie Assistant MCP
These scopes control the first-party Duckie Assistant MCP core object tools.
Create separate keys for separate integrations when they need different scopes or rotation schedules.
MCP clients see only the wrapper tools allowed by the key’s scopes. For example, a key with
api:runs:read can list and retrieve runs through MCP, and a key with api:core:write can call MCP write tools for writable core objects.
Rename a Key
Use rename when the integration name changes or you want a clearer label. Renaming changes only the display name. The API key value and scopes stay the same.Revoke a Key
Revoking a key stops new requests with that key immediately.1
Find the key
Go to Settings -> API & MCP and find the key in the table.
2
Revoke
Click the revoke action and confirm.
3
Rotate integrations
Update any integration that used the revoked key with a newly created key.