api_keys
The api_keys.* tools of the Runbase MCP server, generated from their definitions.
api_keys.create
Creates an API key (admin scope). The plaintext key is returned only once. The key only sees its workspaceIds. Optional restrictions: tools (allowed MCP tool names, e.g. ["records.search", "records.upsert"]; the others are hidden) and objects (visible object slugs: other objects and their records stay invisible, query.sql unavailable). Absent = everything.
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | |
scopes | array | yes | |
workspaceIds | array | yes | |
tools | array | no | |
objects | array | no | |
workspace | string | no | Workspace id or name (default: active workspace) |
api_keys.list
Lists the organization's API keys (admin scope).
| Name | Type | Required | Description |
|---|---|---|---|
workspace | string | no | Workspace id or name (default: active workspace) |
api_keys.revoke
Revokes an API key (admin scope).
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
workspace | string | no | Workspace id or name (default: active workspace) |