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

# List all networks (admin only)

> List all networks. Requires admin access.



## OpenAPI

````yaml https://controller.simplecloud.app/swagger/doc.json get /v0/admin/networks
openapi: 3.1.0
info:
  contact:
    email: support@swagger.io
    name: API Support
    url: http://www.swagger.io/support
  description: API for SimpleCloud Controller
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://swagger.io/terms/
  title: SimpleCloud Controller API
  version: '1.0'
servers:
  - url: https://controller.platform.simplecloud.app/
security: []
externalDocs:
  description: ''
  url: ''
paths:
  /v0/admin/networks:
    get:
      tags:
        - admin
      summary: List all networks (admin only)
      description: List all networks. Requires admin access.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ListNetworksResponse'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    models.ListNetworksResponse:
      description: Response for listing all networks
      properties:
        count:
          example: 5
          type: integer
        networks:
          items:
            $ref: '#/components/schemas/models.NetworkSummary'
          type: array
          uniqueItems: false
      type: object
    models.ErrorResponse:
      description: Generic error response
      properties:
        error:
          type: string
      type: object
    models.NetworkSummary:
      description: Summary of a network
      properties:
        assigned_controller_id:
          example: controller-1
          type: string
        created_at:
          example: '2023-01-01T12:00:00Z'
          type: string
        id:
          example: 123e4567-e89b-12d3-a456-426614174000
          type: string
        name:
          example: example-network
          type: string
        updated_at:
          example: '2023-01-01T12:00:00Z'
          type: string
      type: object

````