DI Insights Report API
Machine-oriented API for authenticated report retrieval from DI Insights.
Use the endpoints on this page to discover accessible accounts and reports, resolve report parameters, and download report data from CORE or FLOW.
Base URL
https://insights-api.di.noThe base URL is environment-specific.
Authentication
Authorization: Bearer <jwt-token>All endpoints require an authenticated user.
API overview
Method | Endpoint | Purpose |
|---|---|---|
GET |
| List accounts accessible to the authenticated user. |
GET |
| List available reports and their source. |
GET |
| Get the parameter contract for a report. |
GET |
| Resolve allowed values for a report parameter. |
POST |
| Execute and download a report. |
GET |
| List accessible report adaptations. |
Authentication and conventions
Generate a JWT access token through DI SSO Authentication API
Send the JWT access token as
Authorization: Bearer <token>.The download endpoint requires explicit access to the supplied
accountId.Path and query enum values are case-sensitive.
A report is uniquely identified by
reportSourceandreportId. IDs may overlap between sources, so clients must retain and send both values in subsequent calls.Report parameters are validated before report execution.
User and access details
Use your normal DI Insight application user OR a web service user (order in DI Support)
The user have access to relevant account(s) (assign in DI Insight → Admin → Account)
The user is limited to its specific geography and product access
Report sources
Value | Description |
|---|---|
| Report provided by DI Core. |
| Report provided by DI Flow. |
Recommended client flow
Fetch accessible accounts and select a valid
accountId.Fetch reports for the required language.
Retain both
idandreportSourcefor the chosen report.Fetch the report parameters.
Resolve dependent parameter values using the selected parent value.
Build the request body as
ApiParam[].Download the report using the same
reportSource.
Clients using this API should not fail if new optional fields are added to the API. If a new field is added to the request or response on a later stage, existing clients should handle this in a way such as they just ignore the field.
Endpoints
Error responses
Error key | HTTP status | Meaning |
|---|---|---|
| 401 | User is not authenticated. |
| 400 / 401 | Account is invalid or inaccessible. |
| 400 | Invalid report or parameter input. |
| 400 | A dependent parameter is missing |
| 400 | The submitted value is not allowed in the selected context. |
Common scenarios
Scenario | Outcome |
|---|---|
Call a dependent parameter-values endpoint without |
|
Download using an account the user cannot access. |
|
Submit a parameter value not permitted by the selected parent context. |
|
September 2026.