Analytics
Run a financial report
Changed onRuns the report identified by key. range is an absolute YYYY-MM-DD..YYYY-MM-DD (end exclusive) or last_N_days. compare is previous_period or previous_year.
post/analytics/reports/{key}/query
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/analytics/reports/{key}/query
- AuthAPI key in header x-api-key
Path parameters
keystring required
Report key
Request body
Example request
{
"range": "2026-09-01..2026-10-01"
}Response
OK
Changes
- info
added the new optional request property
- info
- warning
removed the request property
- warning