Skip to main content

Pagination & filtering

Every list endpoint returns paginated results and accepts the same three query parameters.

Parameter

Type / values

Description

p

number

Page number.

l

number

Page size. The maximum is 300 and the default is 100.

s

createdAt, -createdAt

Sort field. Prefix with - for descending order.

p

Type / values

number

Description

Page number.

l

Type / values

number

Description

Page size. The maximum is 300 and the default is 100.

s

Type / values

createdAt, -createdAt

Description

Sort field. Prefix with - for descending order.

Usage date ranges

The historical usage endpoints additionally require a date range, and the client storage usage endpoint requires a storage type.

Parameter

Type / values

Description

start

2026-04-21T15:22:00.000Z

Start of the date range, ISO 8601 with timezone offset. Required.

end

2026-05-21T15:22:00.000Z

End of the date range, ISO 8601 with timezone offset. Required.

type

aws, custom, wasabi, ibm, llc

Storage type to filter by. Required on the client storage usage endpoint.

start

Type / values

2026-04-21T15:22:00.000Z

Description

Start of the date range, ISO 8601 with timezone offset. Required.

end

Type / values

2026-05-21T15:22:00.000Z

Description

End of the date range, ISO 8601 with timezone offset. Required.

type

Type / values

aws, custom, wasabi, ibm, llc

Description

Storage type to filter by. Required on the client storage usage endpoint.

Read a month of AWS storage usage for a client:

curl -G https://lmp.lucidlink.com/api/v1/clients/<CLIENT_ID>/usage \  -H "Authorization: ApiKey <LMP_API_KEY>" \  --data-urlencode "type=aws" \  --data-urlencode "start=2026-07-01T00:00:00.000Z" \  --data-urlencode "end=2026-07-31T23:59:59.000Z" \  --data-urlencode "l=100" \  --data-urlencode "s=-createdAt"