Skip to Content
Runbase

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.

NameTypeRequiredDescription
namestringyes
scopesarrayyes
workspaceIdsarrayyes
toolsarrayno
objectsarrayno
workspacestringnoWorkspace id or name (default: active workspace)

api_keys.list

Lists the organization's API keys (admin scope).

NameTypeRequiredDescription
workspacestringnoWorkspace id or name (default: active workspace)

api_keys.revoke

Revokes an API key (admin scope).

NameTypeRequiredDescription
idstringyes
workspacestringnoWorkspace id or name (default: active workspace)

On this page