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

# List connections

> Lists the organization's connections, newest first, each with 24-hour metrics. `limit` defaults to 50 and is capped at 100.

**Required permission:** `connections:read`




## OpenAPI

````yaml /api-reference/openapi.yaml get /api/v1/connections
openapi: 3.1.0
info:
  title: Igris Management API
  version: '1'
  description: >-
    REST API for managing Igris connections, policies, sessions, audit events
    and alerts.
servers:
  - url: https://api.igrisecurity.com
security:
  - bearerAuth: []
tags:
  - name: Connections
  - name: Policies
  - name: Sessions
  - name: Audit Events
  - name: Incidents
  - name: Webhooks
  - name: API Keys
  - name: Members
  - name: LLM Providers
  - name: LLM Cost
  - name: Observe
paths:
  /api/v1/connections:
    get:
      tags:
        - Connections
      summary: List connections
      description: >
        Lists the organization's connections, newest first, each with 24-hour
        metrics. `limit` defaults to 50 and is capped at 100.


        **Required permission:** `connections:read`
      operationId: listConnections
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: A page of connections.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ConnectionListItem'
                  meta:
                    $ref: '#/components/schemas/ListMeta'
              example:
                data:
                  - id: 3f0c2a9e-0000-4000-8000-000000000001
                    slug: github-prod
                    name: GitHub Production
                    description: null
                    serverType: http
                    upstreamUrl: https://api.github.com/mcp
                    authType: bearer
                    enabled: true
                    timeoutSeconds: 30
                    retries: 2
                    rateLimitRpm: null
                    denyByDefault: true
                    logSampling: all
                    createdAt: '2026-01-01T00:00:00Z'
                    type: MCP
                    status: active
                    metrics:
                      requests24h: 1200
                      requestsTrend: []
                      p50LatencyMs: 140
                      errorRate: 0.01
                      cost24hCents: 0
                      lastUsedAt: '2026-01-01T12:00:00Z'
                      policiesAttachedCount: 2
                meta:
                  total: 1
                  limit: 50
                  offset: 0
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: Page size.
      schema:
        type: integer
        minimum: 1
        default: 50
    Offset:
      name: offset
      in: query
      description: Number of rows to skip.
      schema:
        type: integer
        minimum: 0
        default: 0
  schemas:
    ConnectionListItem:
      allOf:
        - $ref: '#/components/schemas/Connection'
        - type: object
          properties:
            type:
              type: string
              enum:
                - MCP
                - LLM
              description: Display type derived from `serverType`.
            status:
              type: string
              enum:
                - active
                - degraded
                - paused
                - error
              description: >-
                `paused` when disabled. Otherwise computed from the error rate
                over the last hour of traffic.
            metrics:
              $ref: '#/components/schemas/ConnectionMetrics'
    ListMeta:
      type: object
      required:
        - total
        - limit
        - offset
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
    Connection:
      type: object
      description: >
        A connection. Credentials are never returned. Custom header values come
        back blank (names only).
      properties:
        id:
          type: string
          format: uuid
        organizationId:
          type: string
        slug:
          type: string
        name:
          type: string
        description:
          type:
            - string
            - 'null'
        serverType:
          type: string
          enum:
            - http
            - llm
        upstreamUrl:
          type:
            - string
            - 'null'
        authType:
          type: string
          enum:
            - none
            - bearer
            - header
            - api_key
        authHeaderName:
          type:
            - string
            - 'null'
        customHeaders:
          type:
            - object
            - 'null'
          description: Header names, with every value blanked to `""`.
          additionalProperties:
            type: string
        keyVersion:
          type: integer
        enabled:
          type: boolean
        llmProvider:
          type:
            - string
            - 'null'
        customBaseUrl:
          type:
            - string
            - 'null'
        allowedModels:
          type:
            - array
            - 'null'
          items:
            type: string
        logFullContent:
          type: boolean
        bodyRetentionDays:
          type: integer
        anomalyConfig:
          type:
            - object
            - 'null'
        authConfig:
          type:
            - object
            - 'null'
        timeoutSeconds:
          type: integer
        retries:
          type: integer
        rateLimitRpm:
          type:
            - integer
            - 'null'
        denyByDefault:
          type: boolean
        logSampling:
          type: string
          enum:
            - all
            - 10pct
            - 1pct
            - errors_only
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    ConnectionMetrics:
      type: object
      description: Traffic over the last 24 hours.
      properties:
        requests24h:
          type: integer
        requestsTrend:
          type: array
          items:
            type: object
            properties:
              bucket:
                type: string
              'n':
                type: integer
        p50LatencyMs:
          type:
            - integer
            - 'null'
        errorRate:
          type: number
          description: Errors divided by requests
          0 to 1.: null
        cost24hCents:
          type: number
        lastUsedAt:
          type:
            - string
            - 'null'
          format: date-time
        policiesAttachedCount:
          type: integer
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    ForbiddenError:
      type: object
      properties:
        error:
          type: string
          example: Forbidden
        required:
          type: string
          description: The permission the caller lacks.
          example: policies:write
  responses:
    Unauthorized:
      description: No valid session or API key, or the key's creator is no longer a member.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
    Forbidden:
      description: The caller lacks the required permission.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ig_...
      description: >-
        An Igris API key. It acts with the current role and permission overrides
        of the member who created it.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.