Export a station's OCPP message log as NDJSON

get/v1/tenants/{tenant_id}/stations/{station_id}/ocpp-messages/export
Requires an API key

The same messages and filters as the log, oldest first, one JSON object per line (application/x-ndjson), at most 10,000 lines. When more remain, or the charging core fails mid-export, a last line without an id carries next_cursor (and error): pass it as cursor with the same filters to continue. since and until are ISO 8601; until defaults to now and since to 24 hours before until, and one request covers at most 7 days (422 time_range_invalid). action (repeatable, up to 20) keeps only those OCPP actions; a reply carries its request's action. Payloads are redacted before they leave the API: passwords, keys and secret configuration values read [redacted], HTTP Basic and URL credentials and query strings are masked, ID tokens show their last 4 characters, and certificates are cut to 32 characters. Requires stations:diagnostics, which team owners, admins and developers and Ivora support hold, and operators, viewers and billing members never do.

Path parameters

  • tenant_idintegerRequired
  • station_idintegerRequired

Query parameters

  • sincestring | null
    Up to 40 characters
  • untilstring | null
    Up to 40 characters
  • actionarray of string | null
    OCPP action, for example StatusNotification; repeat for more
  • cursorstring | null
    next_cursor of an earlier export
    Up to 20 characters

Returns · 200

One OcppMessageRecord per line, oldest first.

GET /v1/tenants/{tenant_id}/stations/{station_id}/ocpp-messages/export
curl --fail-with-body "https://api.ivoracharge.com/v1/tenants/1042/stations/1/ocpp-messages/export" \
  -H "Authorization: Bearer $IVORA_API_KEY"
Try it is not available here yetRequests from this page are off until the production API at https://api.ivoracharge.com is public. Use the code samples from your application server; Ivora grants production access. Keys are created in Developer tools.