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

# List all clinic patient upload groups

> This endpoint is available to Group API Keys only.

Returns a paginated list of clinic patient upload groups.

An **upload group** is a collection of uploaded files (such as lab results, images, or documents) that are attached to a clinic patient's record and displayed on their timeline in the PIMS.



## OpenAPI

````yaml get /ext/v2/clinic-patient-upload-groups/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/clinic-patient-upload-groups/:
    get:
      tags:
        - Clients And Patients
      summary: List all clinic patient upload groups
      description: >-
        This endpoint is available to Group API Keys only.


        Returns a paginated list of clinic patient upload groups.


        An **upload group** is a collection of uploaded files (such as lab
        results, images, or documents) that are attached to a clinic patient's
        record and displayed on their timeline in the PIMS.
      operationId: clinic_patient_upload_groups_list
      parameters:
        - description: When provided, filters to objects with these IDs.
          in: query
          name: ids
          required: false
          schema:
            anyOf:
              - items:
                  type: integer
                type: array
              - type: 'null'
            description: When provided, filters to objects with these IDs.
            title: Ids
        - description: >-
            A cursor used for pagination. Fetches the page of results ending
            immediately before the object with the given ID. Cannot be used at
            the same time as `starting_after`.
          in: query
          name: ending_before
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results ending
              immediately before the object with the given ID. Cannot be used at
              the same time as `starting_after`.
            title: Ending Before
        - description: >-
            A cursor used for pagination. Fetches the page of results starting
            immediately after the given ID. Cannot be used at the same time as
            `ending_before`.
          in: query
          name: starting_after
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results starting
              immediately after the given ID. Cannot be used at the same time as
              `ending_before`.
            title: Starting After
        - description: The maximum number of items to return per page.
          in: query
          name: limit
          required: false
          schema:
            default: 10
            description: The maximum number of items to return per page.
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
        - description: Filters to upload groups for the clinic patient with this ID.
          in: query
          name: clinic_patient_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Filters to upload groups for the clinic patient with this ID.
            title: Clinic Patient Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ExternalClinicPatientUploadGroupSchemaList
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalClinicPatientUploadGroupSchemaList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ExternalClinicPatientUploadGroupSchema'
          title: Data
          type: array
        has_more:
          default: false
          description: Whether there are more pages or data in this list.
          title: Has More
          type: boolean
        next_page:
          description: A URL linking to the next page of this list.
          title: Next Page
          type: string
        type:
          default: list
          description: Type of this object. Always `list`.
          title: Type
          type: string
      required:
        - data
        - next_page
      title: ExternalClinicPatientUploadGroupSchemaList
      type: object
    ExternalClinicPatientUploadGroupSchema:
      properties:
        clinic_patient_id:
          description: The ID of the clinic patient that this upload group is for.
          title: Clinic Patient Id
          type: integer
        description:
          description: The description of this group of uploads.
          title: Description
          type: string
        id:
          description: The unique identifier for the clinic patient upload group.
          title: Id
          type: integer
        uploaded_file_ids:
          description: >-
            The IDs of uploaded files that are shown as part of this upload
            group.
          items:
            type: integer
          title: Uploaded File Ids
          type: array
      required:
        - id
        - description
        - clinic_patient_id
        - uploaded_file_ids
      title: ExternalClinicPatientUploadGroupSchema
      type: object
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````