Skip to main content

Report List

Returns a list of available reports, with an option to include inactive reports.

Endpoint

GET /v2/reports/{ShowInactive}

Path Parameters

ParameterTypeRequiredDescription
ShowInactiveboolYesPass true to include inactive reports; false to return only active reports

Response

Returns an array of report descriptors available for the authenticated account.

{
"success": true,
"data": [
{
"reportId": 1,
"name": "Monthly Interchange Summary",
"description": "Summarizes interchange activity for a calendar month.",
"active": true
},
{
"reportId": 2,
"name": "Traffic Volume Report",
"description": "Shows byte volume and parcel counts across configurable time periods.",
"active": true
}
]
}

Response Fields

FieldTypeDescription
reportIdintUnique identifier for the report, used with other report endpoints
namestringHuman-readable name of the report
descriptionstringBrief description of the report's content and purpose
activeboolWhether this report is currently active and available to run

Code Examples

curl -X GET "https://rest.ecgrid.io/v2/reports/$SHOW_INACTIVE" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also