Keys
Create a builder API key
Mints a key that acts as you, the builder, in ONE organisation, the one you name, narrowed to the scopes you choose.
POST/v1/keys
Only from a signed-in browser: a key or a connected agent cannot mint another. Expires in 90 days unless you choose otherwise; expiresInDays: null is a key that lives until revoked. Returned once; never stored in clear. For CI, and for the CLI when there is no browser.
Any valid credential for this API: no scope is needed. Operation keys.create. Not an MCP tool: keys are made by a person in a signed-in browser. CLI, once published: gtable keys create.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
organizationId | string | yes | |
name | string | yes | Up to 120 characters. |
scopes | string[] | yes | |
expiresInDays | integer or null | no |
Response
Success
dataobjectrequiredRefused
errorobjectrequired