Overview
REST API for workspace tokens on act runs, policy, ingress mask, MCP enforce, and metadata events. Base URL is the control plane.
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
| Endpoint | Method | Path |
|---|---|---|
| Cell runs | POST | /api/workspace/cell-runs |
| Policy stream | GET | /api/workspace/policy-stream |
| Simulate policy | POST | /api/policy/simulate |
| Enforce tool call | POST | /api/mcp/enforce-tool-call |
| Workspace MCP policy | GET | /api/workspace/mcp-policy |
| Mask | POST | /api/mask |
| Events | POST | /api/events |
| Chat completions proxy | POST | /api/ingress/v1/chat/completions |