Skip to content

Pre-release documentation

This describes Beacon 2.0.0-rc3, a release candidate. Behavior documented here may still change before 2.0.0 ships, and some of it is not in any released build yet. For the current stable release, see the 1.8.0 documentation.

REST API

Beacon gives an HTTP API. Use it to query datasets, to inspect schemas and to manage the server. Every endpoint uses JSON over HTTP.

OpenAPI reference

Beacon generates an OpenAPI specification at run time. Start the server. Then open one of these URLs:

UIURL
Swagger UI/swagger
Scalar UI/scalar/
Raw spec (JSON)/openapi.json

Base URL

This documentation shows every endpoint as a relative path, for example GET /api/health. Send your request to the base URL of your Beacon server. The default is http://localhost:5001. Behind a reverse proxy, use the URL of that proxy.

Health check

http
GET /api/health

Returns 200 OK when Beacon runs and is ready.

What's in the API

SectionDescription
Exploring the catalogFind datasets, tables and schemas
QueryingRun a query with the JSON DSL or with SQL, and get the results
JSON Query DSLA structured query format for a client program
SQLFull SQL through DataFusion
ExamplesQuery patterns that you can copy

Released under the AGPL-3.0 License.