Basics
- Base URL:
https://api.invokehq.run - Auth: send your key in the
X-API-Keyheader. See Authentication. - Bodies: JSON in, JSON out.
Running actions
These are the endpointsinvoke.call() and friends use. {ws} is your workspace id.
A tool call looks like this:
"agent_id".
Decisions
Every response carries adecision, and the HTTP status follows it:
Retrying a request that got no answer is safe as long as you send the same
idempotency_key: it’s the same action.
Standalone checks
POST /state/verify: does the world still match what the agent assumed?POST /outcomes/reconcile: given live state, is a retry safe?