Skip to main content
GET
/
meters
/
batch
Check processing status
curl --request GET \
  --url https://api.flatpeak.com/meters/batch \
  --header 'Authorization: Bearer <token>'
{
  "id": "bat_65e42b7827c0526548432b9f",
  "object": "meter_batch",
  "records_submitted": 18379,
  "records_accepted": 18378,
  "records_processed": 32,
  "failed_records": [
    {
      "record_num": 1,
      "record_reference_id": "MET1234567890",
      "error": "end_time must not be before start_time"
    }
  ],
  "time_created": "2023-11-07T05:31:56Z",
  "account_id": "acc_661677911f2197045e6cf1b1"
}

Authorizations

Authorization
string
header
required

Query Parameters

batch_id
string
required

Response

id
string
Example:
object
string
Example:
records_submitted
integer
Example:
records_accepted
integer
Example:
records_processed
integer
Example:
failed_records
FailedMeterRecord · object[]
time_created
string<date-time>
Example:
account_id
string
Example: