Enable the API
Turn on the API for reading reports and create its token.
On this page
Other programs can list your reports and load their data over HTTP. The API is off until you turn it on and set a token.

Turn it on
- Select Configuration in the bar on the left.
- Select Enable API for reading reports.
- Select Generate token to fill Token with a long random value, or enter your own.
- Select SUBMIT.
Copy link copies the address of the API with the token, for example http://localhost:8000/reports/?token=....
Send the token
Send the token with every request, in one of these ways:
- the header
x-token; - the query argument
token, as in the copied link.
Without the right token, or while the API is off, the API answers 401: Unauthorized.
Treat the token like a password: anyone who has it can read every report that is not private. To change it, generate a new one and select SUBMIT. Programs that use the old token stop working.
What you can do
Private reports cannot be loaded through the API.