---
title: "Retrieve the IP allowlist"
method: GET
path: "/v2/{workspace_key}/ip-allowlist"
tags: ["Workspace Security"]
---

# Retrieve the IP allowlist

`GET /v2/{workspace_key}/ip-allowlist`

Returns the workspace IP allowlist and the current caller IP when available.

## Path parameters

- `workspace_key` string, required

## Response `200`

OK

- GetIPAllowlistResponse
  - `ip_allowlist` IPAllowlist, required
    - `enabled` boolean, required
    - `ranges` IPRange[], required
      - `id` string, required
      - `cidr` string, required
      - `description` string, required
      - `created_at` string, date-time, required
      - `created_by_id` string
  - `current_ip` string, required

---

[API](https://skmtc.net/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.net/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orq-ai/orq-ai-api/revisions/addad33219df/schema)
