> ## 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 vaccine historical treatments

> Returns a list of all historical vaccine records for a specific clinic patient.

A **vaccine historical treatment** represents a vaccination that was recorded from the clinic patient's history (e.g., imported from a previous clinic or manually entered) rather than administered during a visit. These records help maintain a complete vaccination history for the clinic patient.



## OpenAPI

````yaml get /ext/v2/vaccine-historical-treatments/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/vaccine-historical-treatments/:
    get:
      tags:
        - Medical Records
      summary: List all vaccine historical treatments
      description: >-
        Returns a list of all historical vaccine records for a specific clinic
        patient.


        A **vaccine historical treatment** represents a vaccination that was
        recorded from the clinic patient's history (e.g., imported from a
        previous clinic or manually entered) rather than administered during a
        visit. These records help maintain a complete vaccination history for
        the clinic patient.
      operationId: vaccine_historical_treatments_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 historical treatments associated with the clinic patient
            with the given ID.
          in: query
          name: clinic_patient_id
          required: true
          schema:
            description: >-
              Filters to historical treatments associated with the clinic
              patient with the given ID.
            title: Clinic Patient Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Vaccine_Historical_TreatmentList'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    Vaccine_Historical_TreatmentList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ExternalVaccineHistoricalTreatmentSchema'
          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: Vaccine Historical TreatmentList
      type: object
    ExternalVaccineHistoricalTreatmentSchema:
      description: Schema for vaccine HistoricalTreatment objects in the external API
      properties:
        administered_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: When the vaccine treatment was administered.
          title: Administered At
        clinic_patient_id:
          description: The ID of the patient who received this vaccine treatment.
          title: Clinic Patient Id
          type: integer
        created:
          description: The datetime this object was created.
          format: date-time
          title: Created
          type: string
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          description: The group service display name of the vaccine treatment.
          title: Display Name
        expires_at:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          description: When the vaccine treatment expires.
          title: Expires At
        id:
          description: The unique identifier for the vaccine historical treatment.
          title: Id
          type: integer
        lot_number:
          anyOf:
            - type: string
            - type: 'null'
          description: The lot number recorded for this vaccine, if any.
          title: Lot Number
        manufacturer:
          anyOf:
            - type: string
            - type: 'null'
          description: The vaccine manufacturer name, if any.
          title: Manufacturer
        modified:
          description: >-
            The datetime this object was last modified; changes to related
            entities will not update this field.
          format: date-time
          title: Modified
          type: string
        next_due:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          description: When the vaccine treatment is next due.
          title: Next Due
        patient_standard_care_reminder_id:
          description: >-
            The ID of the standard care reminder this vaccine treatment is
            associated with.
          title: Patient Standard Care Reminder Id
          type: integer
        patient_standard_care_reminder_name:
          description: >-
            The name of the standard care reminder this vaccine treatment is
            associated with.
          title: Patient Standard Care Reminder Name
          type: string
        rabies_tag:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The rabies tag recorded on this vaccine treatment, if any. Typically
            only populated for RABIES-kind vaccines where a tag was entered.
          title: Rabies Tag
        serial_number:
          anyOf:
            - type: string
            - type: 'null'
          description: The serial number recorded for this vaccine, if any.
          title: Serial Number
        vaccine_kind:
          $ref: '#/components/schemas/VaccineKind'
          description: The vaccine kind (e.g. RABIES, OTHER).
      required:
        - created
        - modified
        - id
        - clinic_patient_id
        - patient_standard_care_reminder_id
        - display_name
        - patient_standard_care_reminder_name
        - administered_at
        - expires_at
        - next_due
        - vaccine_kind
        - rabies_tag
        - lot_number
        - serial_number
        - manufacturer
      title: Vaccine Historical Treatment
      type: object
    VaccineKind:
      enum:
        - RABIES
        - OTHER
      title: VaccineKind
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````