For MCP-capable agents, use the MCP Tools — they’re simpler and handle auth automatically. Use the REST API only when MCP isn’t an option.
Authentication
Authenticate with your workspace key (the same key embedded in your MCP URL), passed as a bearer token:The core lifecycle over REST
Every run should:- Heartbeat running — register the run and receive active decisions/knowledge.
- Emit at least one event — so the run is visible.
- File any results — publish outputs to the Vault.
- Heartbeat idle — close the run with a summary.
Why a run without telemetry is invisible
If a scheduled job runs without heartbeating, you have no way to see it ran, what it did, or whether it failed. Embedding the REST telemetry in any background runner keeps it on your dashboard alongside your MCP agents.Embed telemetry in scheduled jobs
Keep cron and serverless runs visible.

