API
Last updated
Last updated
Reportql has an API for programmatic operations. You can access it using the following address:
{ReportqlUrl}/swagger (e.g., http://localhost:4500/swagger)
The API includes Authentication and Report operations.
In general, the "ApiKey" parameter must be included in the header for all API calls. You can find the ApiKey parameter in the config.json
file located in the folder where Reportql is installed, and you can replace it with any value you prefer.
Default API Key:
Example request:
You can use it to obtain tokens for embedding operations.
Usage:
The validity period of tokens can be configured using the "AuthTokenExpireMinute" option in the config.json
file. The default value is 1 day.