REST API reference
The hod CLI, the web UI and scripts all use the same REST API, under /api/v1 on the server. Requests carry a token, Authorization: Bearer <token> (see Users and roles); public projects' runs, logs and files can be read without one.
For example:
The API is described by an OpenAPI 3.1 document, generated from the server's code: every server serves its own at /api/v1/openapi.json, and this page shows the one for this version of the docs, openapi.json.
Loading the API reference…