Skip to content

Reference

API reference

The control plane's HTTP API, for building, testing, releasing and deploying Decisions from your own code.

Everything the app and your agents do to build, test, release and deploy Decisions goes through this API, at https://api.typefuse.dev. Your own code and CI can use it too.

Each request carries a personal access token as Authorization: Bearer <token>, and can do what the token's access allows: Read, Run or Full. Bodies and answers are JSON. A refusal answers with its HTTP status and { "code", "message", "details" }, where details, when there is one, says more. 402 FAIR_USE_REACHED means the organisation has used what its plan includes of the Definition assistant for now; details.resetsAt says when it can be asked again.

Calls to deployed Decisions go to the runtime instead: see the Runtime API.