Loading...

GET /api/reports

A Plaspy report organises tracker data into a table. If you are building a fleet worksheet, you can see which reports your user can access and look for one that summarises vehicle activity.

This request returns the catalogue. Review each report’s name, type and description when available. Copy the ID of the report you want and use it to run the report for your chosen dates.

Request Details

GET /api/reports

The example identifiers are fictional. Use the identifiers returned by your account’s list for the resource you want to look up or change.

Request Parameters

Send the request without parameters or a body.

Authentication Required

You need access to the settings page used to manage reports.

Send a valid bearer token in the Authorization header. See Authentication.

Example Request

GET /api/reports HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

reports contains the visible reports. Each object includes id (with the rpt- prefix), name, type, and the boolean public flag. It may also include description. Pass the complete id to POST /api/reports/{reportId}/run.

FieldTypePresenceDescription
reportsObject arrayAlwaysObject arrayAlwaysReports available to the user.
apiUsageIntegerAlwaysIntegerAlwaysUnits charged for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysDaily usage before the units for this request are added.

Fields in each report

FieldTypePresenceDescription
idStringAlwaysStringAlwaysPublic report ID with the rpt- prefix.
nameStringWhen setStringWhen setReport name.
descriptionStringWhen setStringWhen setReport description, when configured.
typeStringAlwaysStringAlwaysReport type, for example ActivitySummary.
publicBooleanAlwaysBooleanAlwaysIndicates whether the report is public.

Example HTTP 200 response

{ "reports": [ { "id": "rpt-QmXvWNpRkY", "name": "Fleet activity", "description": "Activity by vehicle", "type": "ActivitySummary", "public": false } ], "apiUsage": 1, "apiDailyUsage": 24 }

Errors

FieldTypePresenceDescription
successBooleanDepends on the errorBooleanDepends on the errorIn the operation errors shown here, the value is false.
errorStringDepends on the errorStringDepends on the errorMessage explaining why the request was rejected.

HTTP 403 if the user lacks page access. An empty catalogue returns HTTP 200 with reports: [].

Example error

{ "success": false, "error": "Your user does not have permission to do this." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:50:48