SIMs (Devices)

List recent data usage records

get/usage/data/

Request

Query parameters

limitinteger

Maximum number of results to return (max 5000)

beforeinteger

Return records with ID less than this value (cursor-based pagination)

afterinteger

Return records with ID greater than this value (cursor-based pagination)

linkidinteger

Filter by a specific cellular link (SIM profile) ID

linkidsstring

Comma-separated list of link (SIM profile) IDs to filter by

tagidsstring

Comma-separated list of device tag IDs to filter by

timestartinteger

Unix timestamp; return records from this time onward

timeendinteger

Unix timestamp; return records up to this time

isliveboolean

When true, include only live (non-paused) devices

getdeviceinfoboolean

When true, include device metadata in each record

getplaninfoboolean

When true, include data plan metadata in each record

getprofileinfoboolean

When true, include SIM profile metadata in each record

getcountryinfoboolean

When true, include country metadata in each record

getlocationinfoboolean

When true, include location metadata in each record

startafterinteger

Return results with record ID less than this value

higherthanidinteger

Return results with record ID greater than this value

simcardidsstring

Comma-separated list of SIM card IDs

tagidinteger

Filter by device tag ID

tagnamestring

Filter by device tag name

Response

OK

successboolean

Indicates whether the request was successful.

limitinteger

Maximum number of records returned per page

sizeinteger

Number of records in this response

continuesboolean

True if more records are available

lastidinteger

record_id of the last record returned; pass as startafter to fetch the next page

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.