Dedicated IP Attachments
Compact map of "which IP is attached to which endpoint". Useful when you want a single view of all your dedicated IPs and their current bindings without joining /dedicated-ips with /endpoints manually.
Includes only currently-active attachments. Released or never-attached IPs aren't here — use /dedicated-ips for the full lifecycle view.
Response (200 OK)
items array
Active
(IP, endpoint) bindings. Each: {ip_id, address, region_slug, endpoint_uuid, subdomain, attached_at}.Errors
401 Unauthorized
Missing auth.
Request
curl "https://api.ngris.com/v1/dedicated-ips/attachments" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
result = client._get_raw("/dedicated-ips/attachments")
for a in result["items"]:
print(f"{a['address']:<16} -> {a['subdomain']}")
Response — 200 OK
{
"items": [
{
"ip_id": 7,
"address": "203.0.113.5",
"region_slug": "eu-north-1",
"endpoint_uuid": "abc-123",
"subdomain": "myapp",
"attached_at": "2026-04-15T00:00:00Z"
}
]
}