Preset catalogue
/api/v1/reportsNeeds a key with the full scope.
Every built-in report the account's plan includes, with the filters it accepts and the columns it returns. Read this first and build your query from it rather than hardcoding keys: the catalogue is the contract, and it shrinks or grows with the plan.
A fixed set of definitions rather than records, so there is no page.
Response · 200
dataobject[]requiredShow fieldsHide fields
keystringWhat you pass as
{id}to run it.plan_featurestringThe plan flag this report needs.
filtersobject[]The filters this preset accepts, as definitions rather than values.
columnsobject[]The columns it returns, in order, with their labels and types.
Responses
401Missing or invalid Bearer token403Policy denied or account has no owner429Rate limit exceeded
curl -X GET 'https://YOUR-CELL.lydira.com/api/v1/reports' \
-H 'Authorization: Bearer sek_YOUR_API_KEY'{
"data": [
{
"key": "ar_aging",
"plan_feature": "reports_builder",
"filters": [
{}
],
"columns": [
{}
]
}
]
}