> ## 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 CC Pair Indexing Errors

> Gives back all errors for a given CC Pair. Allows pagination based on page and page_size params.

Args:
    cc_pair_id: ID of the connector-credential pair to get errors for
    include_resolved: Whether to include resolved errors in the results
    page_num: Page number for pagination, starting at 0
    page_size: Number of errors to return per page
    _: Current user, must be curator or admin
    db_session: Database session

Returns:
    Paginated list of indexing errors for the CC pair.



## OpenAPI

````yaml GET /manage/admin/cc-pair/{cc_pair_id}/errors
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:
  /manage/admin/cc-pair/{cc_pair_id}/errors:
    get:
      tags:
        - public
      summary: Get Cc Pair Indexing Errors
      description: >-
        Gives back all errors for a given CC Pair. Allows pagination based on
        page and page_size params.


        Args:
            cc_pair_id: ID of the connector-credential pair to get errors for
            include_resolved: Whether to include resolved errors in the results
            page_num: Page number for pagination, starting at 0
            page_size: Number of errors to return per page
            _: Current user, must be curator or admin
            db_session: Database session

        Returns:
            Paginated list of indexing errors for the CC pair.
      operationId: get_cc_pair_indexing_errors
      parameters:
        - name: cc_pair_id
          in: path
          required: true
          schema:
            type: integer
            title: Cc Pair Id
        - name: include_resolved
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Include Resolved
        - name: page_num
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Page Num
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 10
            title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedReturn_IndexAttemptErrorPydantic_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    PaginatedReturn_IndexAttemptErrorPydantic_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/IndexAttemptErrorPydantic'
          type: array
          title: Items
        total_items:
          type: integer
          title: Total Items
      type: object
      required:
        - items
        - total_items
      title: PaginatedReturn[IndexAttemptErrorPydantic]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    IndexAttemptErrorPydantic:
      properties:
        id:
          type: integer
          title: Id
        connector_credential_pair_id:
          type: integer
          title: Connector Credential Pair Id
        document_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Document Id
        document_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Document Link
        entity_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Entity Id
        failed_time_range_start:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Failed Time Range Start
        failed_time_range_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Failed Time Range End
        failure_message:
          type: string
          title: Failure Message
        is_resolved:
          type: boolean
          title: Is Resolved
          default: false
        time_created:
          type: string
          format: date-time
          title: Time Created
        index_attempt_id:
          type: integer
          title: Index Attempt Id
      type: object
      required:
        - id
        - connector_credential_pair_id
        - document_id
        - document_link
        - entity_id
        - failed_time_range_start
        - failed_time_range_end
        - failure_message
        - time_created
        - index_attempt_id
      title: IndexAttemptErrorPydantic
    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

````