Overview

REST API for workspace tokens on act runs, policy, ingress mask, MCP enforce, and metadata events. Base URL is the control plane.

API keysOpenAPI

Base URL

Production: https://app.blekline.com. Local dev: http://localhost:3000.

Authentication

Send x-blekline-workspace-token on workspace routes. See Authentication and API keys.

Endpoints

EndpointMethodPath
Cell runsPOST/api/workspace/cell-runs
Policy streamGET/api/workspace/policy-stream
Simulate policyPOST/api/policy/simulate
Enforce tool callPOST/api/mcp/enforce-tool-call
Workspace MCP policyGET/api/workspace/mcp-policy
MaskPOST/api/mask
EventsPOST/api/events
Chat completions proxyPOST/api/ingress/v1/chat/completions