Reports API Reference
List Download Reports
List reports, using and filtering logic based on parameters
query Parameters
| org_id | integer ID of org to query, defaults to token claims |
| plan_id | integer Include reports generated for the given Plan ID |
| report_type | string (ReportType) Enum: "detailed" "summary" Report type |
| cadence | string Enum: "daily" "monthly" Report cadence |
| start | string <date> Include reports on or after this date |
| end | string <date> Include reports on or before this date |
| page_size | integer Number of records to return per page, defaults to 50. |
| after | string Paging navigation - specifies ID of report to start listing from. |
| offset | integer (Offset) >= 0 Number of results to skip in a query |
Responses
Response samples
- 200
{- "reports": [
- {
- "report_id": "string",
- "contents": [
- "string"
], - "org_id": 0,
- "plan_id": 0,
- "data_date_start": "2019-08-24",
- "data_date_end": "2019-08-24",
- "report_type": "detailed",
- "num_rows": 0,
- "cadence": "daily",
- "has_footprint": true,
- "_links": {
- "self": "string"
}
}
], - "_links": {
- "next": "string"
}
}List PV Reports
List PV reports, using filtering logic based on parameters
query Parameters
| org_id | integer ID of org to query, defaults to token claims |
| plan_id | integer Include PV reports generated for the given Contract ID |
| line_item_id | integer Include PV reports generated for the given Line Item ID |
| report_type | string (PvReportType) Enum: "pv_detailed" "billableaoi_detailed" PV report type |
| cadence | string (Cadence) Enum: "daily" "monthly" PV report cadence Please note that no monthly reports are created for the pv_detailed report_type. A list of monthly pv_detailed reports will always be empty |
| start | string <date> Include PV reports on or after this date |
| end | string <date> Include PV reports on or before this date |
| page_size | integer Number of records to return per page, defaults to 50 for PV reports. |
| after | string Paging navigation - specifies ID of PV report to start listing from. |
| offset | integer (Offset) >= 0 Number of results to skip in a query |
Responses
Response samples
- 200
{- "reports": [
- {
- "report_id": "string",
- "contents": [
- "string"
], - "org_id": 0,
- "plan_id": 0,
- "data_date_start": "2019-08-24",
- "data_date_end": "2019-08-24",
- "report_type": "detailed",
- "num_rows": 0,
- "cadence": "daily",
- "has_footprint": true,
- "_links": {
- "self": "string"
}
}
], - "_links": {
- "next": "string"
}
}Create a SubOrg Download Report
Request to generate a download usage report of "all" or "selected" Suborganizations of the Organization the requesting user belongs to.
Request Body schema: application/jsonrequired
| report_type | string (ReportType) Enum: "detailed" "summary" |
| cadence | string (Cadence) Enum: "daily" "monthly" |
object (TOI) Time of interest, the time window cannot be greater than 90 days, start date and end date included | |
object |
Responses
Request samples
- Payload
{- "report_type": "detailed",
- "cadence": "daily",
- "toi": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}, - "suborgs": {
- "include": "all",
- "ids": [
- 0
]
}
}Get Tiles Usage Report
Download tiles usage report
path Parameters
| planID required | integer ID of plan to request the report (you can find this ID in the Accounts Page) |
query Parameters
| start required | string <date> The report will include results after this date (YYYY-MM-DD) |
| end required | string <date> The report will include results before this date (YYYY-MM-DD) |
| include_user required | boolean If true, the report will contains the user |
| interval required | string (Cadence) Enum: "daily" "monthly" Report cadence, can be daily or monthly |
| type | string (Type) Enum: "scenes" "basemaps" Optional filter by tile type, can be scenes or basemaps |
| include_subject | boolean If true, the report will include the subject for every streaming event |
Responses
Response samples
- 400
- 401
{- "field": {
- "property1": [
- {
- "message": "string"
}
], - "property2": [
- {
- "message": "string"
}
]
}, - "general": [
- {
- "message": "string"
}
]
}Get Tasking Usage Report
Download a usage report for a tasking contract
path Parameters
| contractId required | string tasking contract ID (pl-number) |
query Parameters
| limit | integer Max. number of rows to return |
| exclude | string Column headers to be excluded from the CSV report. Include the query param for each column |
Responses
Get Footprints Usage Reports
Returns the download footprints geometry reports generated for the given Plan ID
path Parameters
| planId required | integer ID of the plan |
Responses
Response samples
- 200
{- "reports": [
- {
- "id": "string",
- "report_date": "2019-08-24",
- "report_type": "detailed",
- "usage_bucket": "string",
- "org": 0,
- "package": 0,
- "plan": 0,
- "content_link": "string"
}
]
}Get a single Footprints Usage Report
Returns the download footprints report generated for the given Plan ID and Report Id
path Parameters
| planId required | integer ID of the plan |
| reportId required | string <uuid> ID of the requested report |
Responses
Response samples
- 200
{- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
]
]
]
}