Get a static address

Get a static address

GET/v1/static-addresses/{static_address_id}

A key with the network:read scope.

Request

curl "https://api.pod.mapier.ai/v1/static-addresses/sip_3ahrz6dmv29gqy5ckt18fpx4b" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
static_address_idpathstringYes

Answer

200. The address.

200
{
  "id": "sip_3ahrz6dmv29gqy5ckt18fpx4b",
  "address": "example",
  "site": "example",
  "project_id": "prj_3ahrz6dmv29gqy5ckt18fp",
  "state": "assigned",
  "assigned_at": null,
  "cooling_until": null
}
FieldTypeAlwaysWhat it is
idstringYes
addressstringYesThe public IPv4 or IPv6 address.
sitestringYesA site the cell runs at; the catalog's regions names them.
project_idstringYes
state"assigned" | "cooling"YesTreat a value you do not know as not assigned.
assigned_atstring | nullYes
cooling_untilstring | nullYes

Errors

The refusals this call is known for: forbidden, not_found. 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.staticAddresses.get(id)
Pythonpod.network.static_addresses.get(id)