Knotbind documentationOpen dashboard
Agent API

Everything in the dashboard, as JSON.

The REST API, Knotbind MCP server and CLI share one service layer. Use the API for automation, MCP for tool-using agents, and the CLI for scripts and operators.

Endpoints

SurfaceURLAuthentication
OpenAPI/openapi.jsonPublic
REST/api/v1/*Bearer kbk_… or OAuth kbo_…
Knotbind MCP/mcpOAuth 2.1 or Bearer
CLIbin/knotbind.mjsKNOTBIND_API_KEY

Core API flow

$
"hl-c"># Public: returns a kbk_ key once
curl -X POST https://www.knotbind.com/api/v1/signup \
  -H 'content-type: application/json' \
  -d '{"company":"Acme","name":"Ada","email":"ada@acme.example"}'

"hl-c"># Authenticated: connect and start a Baseline
curl -X POST https://www.knotbind.com/api/v1/integration \
  -H "authorization: Bearer $KNOTBIND_API_KEY" \
  -H 'content-type: application/json' \
  -d '{"mcp_url":"https://api.example.com/mcp"}'

curl https://www.knotbind.com/api/v1/status \
  -H "authorization: Bearer $KNOTBIND_API_KEY"

Scopes

ScopeCan doCannot do
readStatus, Runs, Findings, tools, assistant connections, planChange Checks or run a write operation
writeEverything in read plus connect, run, add/remove Checks and relayApprove, reject or deploy production changes

Error contract

Errors are JSON and stable enough for agents to act on:

{}
{
  "error": {
    "code": "plan_limit",
    "message": "The Free plan includes up to 3 Checks."
  }
}