Skip to main content
Most teams use the SDK, which wraps this API. Use the API directly from a language without an SDK, or to see exactly what goes over the wire.

Basics

  • Base URL: https://api.invokehq.run
  • Auth: send your key in the X-API-Key header. See Authentication.
  • Bodies: JSON in, JSON out.

Running actions

These are the endpoints invoke.call() and friends use. {ws} is your workspace id. A tool call looks like this:
With an agent key, the key names the acting agent. With an account key, add "agent_id".

Decisions

Every response carries a decision, 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