Reports
Retrieve a report
Fetches a Report object by its unique ID. Use the status
field to determine whether the report is ready: pending
, succeeded
, or failed
. When status=succeeded
, the url
property points to the CSV or JSON file, and size
gives the file size in bytes.
GET
Path Parameters
ID of the report to retrieve.
Query Parameters
Specifies related objects to expand (for example, expand[]=fleet
).
Body
application/json · object
Response
200
application/json
Returns the Report object for a valid identifier. If the report is still being generated, its status field is pending and url is null. When generation succeeds, status becomes succeeded, succeeded_at is populated, and url contains a downloadable link. Raises an error otherwise.