> ## Documentation Index
> Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get

> Get detailed information about an IP restriction




## OpenAPI

````yaml https://raw.githubusercontent.com/ngrok/ngrok-openapi/refs/heads/main/ngrok.yaml get /ip_restrictions/{id}
openapi: 3.0.0
info:
  title: ngrok OpenAPI
  version: 1.0.0
servers:
  - url: https://api.ngrok.com
security:
  - authentication: []
paths:
  /ip_restrictions/{id}:
    get:
      tags:
        - IPRestrictions
      summary: Get
      description: |
        Get detailed information about an IP restriction
      operationId: IpRestrictionsGet
      parameters:
        - $ref: '#/components/parameters/ngrokVersion'
        - name: id
          description: |
            a resource identifier
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: |
            Get detailed information about an IP restriction
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPRestriction'
components:
  parameters:
    ngrokVersion:
      name: ngrok-version
      in: header
      required: true
      schema:
        type: integer
        default: 2
  schemas:
    IPRestriction:
      type: object
      properties:
        id:
          description: |
            unique identifier for this IP restriction
          type: string
        uri:
          description: |
            URI of the IP restriction API resource
          type: string
        created_at:
          description: |
            timestamp when the IP restriction was created, RFC 3339 format
          type: string
        description:
          description: >
            human-readable description of this IP restriction. optional, max 255
            bytes.
          type: string
        metadata:
          description: >
            arbitrary user-defined machine-readable data of this IP restriction.
            optional, max 4096 bytes.
          type: string
        enforced:
          description: >
            true if the IP restriction will be enforced. if false, only warnings
            will be issued
          type: boolean
        type:
          description: >
            the type of IP restriction. this defines what traffic will be
            restricted with the attached policies. four values are currently
            supported: `dashboard`, `api`, `agent`, and `endpoints`
          type: string
        ip_policies:
          description: |
            the set of IP policies that are used to enforce the restriction
          type: array
          items:
            $ref: '#/components/schemas/Ref'
    Ref:
      type: object
      properties:
        id:
          description: |
            a resource identifier
          type: string
        uri:
          description: |
            a uri for locating a resource
          type: string
  securitySchemes:
    authentication:
      type: http
      scheme: bearer

````