# API

> The HTTP routes a script can call.

Web page: /docs/api/

The server is `https://k8s.dflow.sh`. The same actions as the CLI are HTTP routes. The pages are generated from `api/openapi.yaml`, and that YAML file stays the source. This page does not list the routes by hand.

Send a workspace token as `Authorization: Bearer`. The try-it panel on a route page does not include a sample token. Paste a token only in that browser tab, and only on a machine you trust.

The routes are on [dFlow API](/docs/api/reference/). [Swagger](/swagger/) is another view of the same file.
