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

# Get Docs By Connector Credential Pair



## OpenAPI

````yaml GET /onyx-api/connector-docs/{cc_pair_id}
openapi: 3.1.0
info:
  title: Onyx API
  description: Onyx API for AI-powered enterprise search and chat
  version: Development
servers:
  - url: https://cloud.onyx.app/api
security: []
paths:
  /onyx-api/connector-docs/{cc_pair_id}:
    get:
      tags:
        - public
      summary: Get Docs By Connector Credential Pair
      operationId: get_docs_by_connector_credential_pair
      parameters:
        - name: cc_pair_id
          in: path
          required: true
          schema:
            type: integer
            title: Cc Pair Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DocMinimalInfo'
                title: >-
                  Response Get Docs By Connector Credential Pair Onyx Api
                  Connector Docs  Cc Pair Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    DocMinimalInfo:
      properties:
        document_id:
          type: string
          title: Document Id
        semantic_id:
          type: string
          title: Semantic Id
        link:
          anyOf:
            - type: string
            - type: 'null'
          title: Link
      type: object
      required:
        - document_id
        - semantic_id
      title: DocMinimalInfo
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authorization header with Bearer token

````