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

# Get an internal network by ID

> Retrieves a single internal network by its ID.



## OpenAPI

````yaml /api-reference/openapi.json get /api/internal-networks/{id}
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/internal-networks/{id}:
    get:
      tags:
        - InternalNetworks
      summary: Get an internal network by ID
      description: Retrieves a single internal network by its ID.
      operationId: InternalNetworksController_getInternalNetworkById
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInternalNetworkResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    GetInternalNetworkResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the internal network
        name:
          type: string
          description: The name of the internal network
        createdAt:
          format: date-time
          type: string
          description: When the internal network was created
        updatedAt:
          format: date-time
          type: string
          description: When the internal network was last updated
        createdBy:
          description: The user who created this internal network
          allOf:
            - $ref: '#/components/schemas/User'
        agents:
          type: number
          description: The number of agents connected to this internal network
      required:
        - id
        - name
        - createdAt
        - updatedAt
        - createdBy
        - agents
    User:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        name:
          type: string
        role:
          type: string
          enum:
            - admin
            - user
            - bot
      required:
        - id
        - createdAt
        - updatedAt
        - name
        - role

````