List the registered private ranges of your own cell

Newest first.

GET/v1/private-ranges

Newest first. Empty in Pod's own cells, and for any organization but the cell's owner.

A key with the network:read scope.

Request

curl "https://api.pod.mapier.ai/v1/private-ranges" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of ranges, newest first.

200
{
  "data": [
    {
      "id": "prg_3ahrz6dmv29gqy5ckt18fpx4b",
      "cidr": "example",
      "label": "example",
      "created_at": null,
      "created_by": "example"
    }
  ],
  "next_cursor": null
}
FieldTypeAlwaysWhat it is
dataPrivateRange[]Yes
next_cursorstring | nullYes

Errors

The refusals this call is known for: invalid, forbidden. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.network.privateRanges.list()
Pythonpod.network.private_ranges.list()