Skip to main content
Runflow ships an official JavaScript surface as runflow-js. Three packages, one for each integration shape. For other languages, generate a client from the public OpenAPI spec.

JavaScript packages

All three packages target the same api.runflow.io REST surface documented in the API reference. They are MIT-licensed and published from github.com/runflow-io/runflow-js.
Browsing without a key. GET /v1/public/models is an unauthenticated endpoint that returns the same model catalog the docs render from. Useful for client-side model pickers, IDE plugins, and discovery flows that should not ship an API key. Run dispatch + everything else still requires Authorization: Bearer $RUNFLOW_API_KEY.
These packages are pre-1.0 (0.0.x). Patch releases may change types or runtime behavior. Pin exact versions in production until 1.0.

Install

One call, server-side

Walk through every option in the JavaScript SDK guide.

Codegen for other languages

The public OpenAPI 3.1 spec is the same one that generates this site’s API reference:

TypeScript types

Python client

Go client

Hand-rolled HTTP

For most integrations a raw fetch or requests call is enough. Both snippets bound the network wait so a stuck connection never hangs the caller.

JavaScript SDK

Server-side, browser, and the tool DSL.

Embed the Studio

Drop the Studio into your site in three lines.

OpenAPI

Spec details and codegen recipes.

Authentication

Bearer header.