Authentication
Requests are authenticated with workspace API keys (wk_...) that have the Workspace read API scope enabled.
Include the key as a Bearer token:
Enabling workspace API access
- Go to Workspace Settings → API Keys
- Create a new key (or edit an existing one)
- Check the Workspace read API scope
- Save and copy the key
Workspace endpoints
All endpoints areGET requests under /workspaceapi/. No workspace ID is needed in the URL — the key identifies the workspace.
Per-agent endpoints
Drill into a specific agent’s data. The agent must belong to the workspace and not be private (restricted access).Example
Data redaction
Credential values, API keys, and secret values are automatically stripped from all responses — the same redaction rules applied by the Workspace Explorer capability. Secret names and metadata are included so you can see what’s configured without exposing sensitive values.API key scopes
Workspace API keys support two scopes that can be enabled independently:
Existing keys default to Custom agent endpoints only. Enable Workspace read API explicitly to use the endpoints documented on this page.
Learn more
API Access
Expose agents as HTTP APIs, MCP servers, webhooks, or chat widgets
Access Control
Workspace roles, team permissions, and agent access levels

