List ExportDestinations
Function name:m3ter_ListDestinations
Category: READ
HTTP method: GET (paginated)
Destination: m3ter
Retrieve a list of Export Destination entities. You can filter the list of Destinations returned by UUID.
Parameters
Exits
Create ExportDestination
Function name:m3ter_PostDestination
Category: WRITE
HTTP method: POST
Destination: m3ter
Create a new Export Destination to use for your Data Export Schedules or Ad-Hoc Data Exports.
Currently, two options for setting up Data Export Destinations are available:
- S3 buckets on your AWS account.
- Buckets in your Google Cloud Storage account.
- Use the selector under the
destinationTypeparameter to expose the relevant request and response schema for the type of Destination.
- Use the Example selector to show the relevant request and response samples for the type of Destination.
Parameters
Exits
List Jobs
Function name:m3ter_listJobStatuses
Category: READ
HTTP method: GET (paginated)
Destination: m3ter
Retrieve a list of Export Job entities.
Parameters
Exits
List Schedules
Function name:m3ter_listSchedules
Category: READ
HTTP method: GET (paginated)
Destination: m3ter
Retrieve a list of Data Export Schedules created for your Organization. You can filter the response by Schedules ids.
The response will contain an array for both the operational and usage Data Export Schedules in your Organization.
Parameters
Exits
Create Schedule
Function name:m3ter_CreateSchedule
Category: WRITE
HTTP method: POST
Destination: m3ter
Create a new Data Export Schedule. Each Schedule can be configured for exporting only one of either Usage or Operational data:
Operational Data Exports.
- Use the
operationalDataTypesparameter to specify the entities whose operational data you want to include in the export each time the Export Schedule runs. - For each of the entity types you select, each time the Export Schedule runs a separate file is compiled containing the operational data for all entities of that type that exist in your Organization
- Select the Meters and Accounts whose usage data you want to include in the export each time the Export Schedule runs.
- You can use the
dimensionFiltersparameter to filter the usage data returned for export by adding specific values of non-numeric Dimension data fields on included Meters. Only the data collected for the values you’ve added for the selected Dimension fields will be included in the export. - You can use the
aggregationsto apply aggregation methods the usage data returned for export. This restricts the range of usage data returned for export to only the data collected by aggregated fields on selected Meters. Nothing is returned for any non-aggregated fields on Meters. The usage data for Meter fields is returned as the values resulting from applying the selected aggregation method. See the Aggregations for Queries - Options and Consequences for more details. - If you’ve applied
aggregationsto the usage returned for export, you can then use thegroupsparameter to group the data by Account, Dimension, or Time.
- Use the selector under the
sourceTypeparameter to expose the relevant request and response schema for the source data type.
- Use the Example selector to show the relevant request and response samples for source data type.
Parameters
Exits
Get Data Export File Download URL
Function name:m3ter_GenerateDataExportFileDownloadUrl
Category: READ
HTTP method: GET
Destination: m3ter
Returns a presigned download URL for data export file download based on the jobId provided.
If you omit destinationIds when setting up your Ad-Hoc data exports or Scheduled data exports, then the data is not copied to a destination but is available for you to download using the returned download URL.
Constraints:
- Only valid for Export jobs ran in the past 24 hours.
- The download URL is time-bound and is only valid for 15 minutes.
Parameters
Exits
Retrieve Job
Function name:m3ter_GetJob
Category: READ
HTTP method: GET
Destination: m3ter
Retrieve an Export Job for the given UUID.
The response returns:
- The source type for the data exported by the Export Job: one of USAGE or OPERATIONAL.
- The status of the Export Job.
Parameters
Exits
Retrieve ExportDestination
Function name:m3ter_GetExportDestination
Category: READ
HTTP method: GET
Destination: m3ter
Retrieve an Export Destination for the given UUID.
Parameters
Exits
Update ExportDestination
Function name:m3ter_PutDestination
Category: WRITE
HTTP method: PUT
Destination: m3ter
Update an Export Destination for the given UUID.
Currently, two options for setting up Data Export Destinations are available:
- S3 buckets on your AWS account.
- Buckets in your Google Cloud Storage account.
- Use the selector under the
destinationTypeparameter to expose the relevant request and response schema for the type of Destination.
- Use the Example selector to show the relevant request and response samples for the type of Destination.
Parameters
Exits
Delete ExportDestination
Function name:m3ter_DeleteDestination
Category: WRITE
HTTP method: DELETE
Destination: m3ter
Delete an Export Destination for the given UUID.
NOTE: If you attempt to delete an Export Destination that is currently linked to a Data Export Schedule, an error message is returned and you won’t be able to delete the Destination.
Parameters
Exits
Retrieve Schedule
Function name:m3ter_GetSchedule
Category: READ
HTTP method: GET
Destination: m3ter
Retrieve a Data Export Schedule for the given UUID. Each Schedule can be configured for exporting only one of either Usage or Operational data.
Parameters
Exits
Update Schedule
Function name:m3ter_UpdateSchedule
Category: WRITE
HTTP method: PUT
Destination: m3ter
Update a Data Export Schedule for the given UUID. Each Schedule can be configured for exporting only one of either Usage or Operational data:
Operational Data Exports.
- Use the
operationalDataTypesparameter to specify the entities whose operational data you want to include in the export each time the Export Schedule runs. - For each of the entity types you select, each time the Export Schedule runs a separate file is compiled containing the operational data for all entities of that type that exist in your Organization
- Select the Meters and Accounts whose usage data you want to include in the export each time the Export Schedule runs.
- You can use the
dimensionFiltersparameter to filter the usage data returned for export by adding specific values of non-numeric Dimension data fields on included Meters. Only the data collected for the values you’ve added for the selected Dimension fields will be included in the export. - You can use the
aggregationsto apply aggregation methods the usage data returned for export. This restricts the range of usage data returned for export to only the data collected by aggregated fields on selected Meters. Nothing is returned for any non-aggregated fields on Meters. The usage data for Meter fields is returned as the values resulting from applying the selected aggregation method. See the Aggregations for Queries - Options and Consequences for more details. - If you’ve applied
aggregationsto the usage returned for export, you can then use thegroupsparameter to group the data by Account, Dimension, or Time.
Parameters
Exits
Delete Schedule
Function name:m3ter_DeleteSchedule
Category: WRITE
HTTP method: DELETE
Destination: m3ter
Delete the Data Export Schedule for the given UUID. Each Schedule can be configured for exporting only one of either Usage or Operational data.
Parameters
Exits
Trigger data export.
Function name:m3ter_TriggerDataExport
Category: WRITE
HTTP method: POST
Destination: m3ter
Trigger an ad-hoc Data Export. Each ad-hoc Export can be configured for exporting only one of either Usage or Operational data:
Operational Data Exports.
- Entity Types. Use the
operationalDataTypesparameter to specify the entities whose operational data you want to include in the ad-hoc export. - Export Files. For each of the entity types you select, when the ad-hoc export runs a separate file is compiled containing the operational data for all entities of that type that exist in your Organization
- Select the Meters and Accounts whose usage data you want to include in the ad-hoc export.
- You can use the
dimensionFiltersparameter to filter the usage data returned for export by adding specific values of non-numeric Dimension data fields on included Meters. Only the data collected for the values you’ve added for the selected Dimension fields will be included in the export. - You can use the
aggregationsto apply aggregation methods the usage data returned for export. This restricts the range of usage data returned for export to only the data collected by aggregated fields on selected Meters. Nothing is returned for any non-aggregated fields on Meters. The usage data for Meter fields is returned as the values resulting from applying the selected aggregation method. See the Aggregations for Queries - Options and Consequences for more details. - If you’ve applied
aggregationsto the usage returned for export, you can then use thegroupsparameter to group the data by Account, Dimension, or Time.
startDate date/time request parameter to specify the start of the time period. The export will include all operational data from the specified startDate up until the date/time the export job runs.
Date Range for Usage Data Exports. To restrict the usage data included in the ad-hoc export by date/time range, use the startDate and endDate date/time parameters:
- Both
startDateandendDateare required. endDatemust be afterstartDate.endDatecannot be after tomorrow at midnight UTC. For example if today is May 20th 2025, you can only chooseendDateto be equal or before 2025-05-21T00:00:00.000Z.
id returned to check the status of the triggered ad-hoc export. See the ExportJob section of this API Reference.