> ## 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 prescriptions

> Returns a list of prescription records across all clinics in the organization. Each record includes the latest prescription associated with that record. A **prescription** record is uniquely identified by the combination of patient, catalog item, and clinic. A record may have multiple prescriptions over time, but this endpoint returns only the most recent prescription for each record. Results are sorted by creation date (descending), with the most recently created records appearing first. When using modified filters, results are instead sorted by modification date (descending)



## OpenAPI

````yaml get /ext/v2/prescriptions/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/prescriptions/:
    get:
      tags:
        - Prescriptions
      summary: List all prescriptions
      description: >-
        Returns a list of prescription records across all clinics in the
        organization. Each record includes the latest prescription associated
        with that record. A **prescription** record is uniquely identified by
        the combination of patient, catalog item, and clinic. A record may have
        multiple prescriptions over time, but this endpoint returns only the
        most recent prescription for each record. Results are sorted by creation
        date (descending), with the most recently created records appearing
        first. When using modified filters, results are instead sorted by
        modification date (descending)
      operationId: prescriptions_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: >-
            A cursor token used for pagination. This token contains encoded
            information about the last seen record in order to continue
            pagination. Cannot be used with `starting_after` or `ending_before`
            parameters.
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              A cursor token used for pagination. This token contains encoded
              information about the last seen record in order to continue
              pagination. Cannot be used with `starting_after` or
              `ending_before` parameters.
            title: Cursor
        - description: >-
            Filters to objects modified on or after this datetime (ISO8601 UTC,
            e.g. 2025-08-25T10:30:00Z). Cannot be used with `starting_after` or
            `ending_before` parameters.
          in: query
          name: modified__gte
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: >-
              Filters to objects modified on or after this datetime (ISO8601
              UTC, e.g. 2025-08-25T10:30:00Z). Cannot be used with
              `starting_after` or `ending_before` parameters.
            title: Modified  Gte
        - description: >-
            Filters to objects modified on or before this datetime (ISO8601 UTC,
            e.g. 2025-08-25T10:30:00Z). Cannot be used with `starting_after` or
            `ending_before` parameters.
          in: query
          name: modified__lte
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: >-
              Filters to objects modified on or before this datetime (ISO8601
              UTC, e.g. 2025-08-25T10:30:00Z). Cannot be used with
              `starting_after` or `ending_before` parameters.
            title: Modified  Lte
        - description: >-
            When 'FALSE' (default), filters to non-deleted records only. When
            'TRUE', filters to soft-deleted records only. When 'ALL', returns
            both deleted and non-deleted records.
          in: query
          name: is_deleted
          required: false
          schema:
            allOf:
              - enum:
                  - 'FALSE'
                  - 'TRUE'
                  - ALL
                title: DeletedFilterOption
                type: string
            default: 'FALSE'
            description: >-
              When 'FALSE' (default), filters to non-deleted records only. When
              'TRUE', filters to soft-deleted records only. When 'ALL', returns
              both deleted and non-deleted records.
        - description: >-
            When provided, filters to prescriptions for the clinic client with
            this ID
          in: query
          name: clinic_client_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              When provided, filters to prescriptions for the clinic client with
              this ID
            title: Clinic Client Id
        - description: >-
            When provided, filters to prescriptions for the clinic patient with
            this ID
          in: query
          name: clinic_patient_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              When provided, filters to prescriptions for the clinic patient
              with this ID
            title: Clinic Patient Id
        - description: When provided, filters to prescriptions for the clinic with this ID
          in: query
          name: clinic_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              When provided, filters to prescriptions for the clinic with this
              ID
            title: Clinic Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectPrescriptionSchemaList'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ConnectPrescriptionSchemaList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ConnectPrescriptionSchema'
          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: ConnectPrescriptionSchemaList
      type: object
    ConnectPrescriptionSchema:
      properties:
        allowed_uses:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: >-
            The number of fills allowed for this prescript, each with the
            specified `quantity`.
          title: Allowed Uses
        client_notes:
          anyOf:
            - type: string
            - type: 'null'
          description: Additional notes for the prescription.
          title: Client Notes
        clinic_id:
          description: The ID of the clinic where this prescription was created.
          title: Clinic Id
          type: integer
        clinic_patient_id:
          description: The ID of the clinic patient that this prescription is for.
          title: Clinic Patient Id
          type: integer
        created:
          description: The datetime this object was created.
          format: date-time
          title: Created
          type: string
        days_supply:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: How many days one unit of this prescription is itended to last for.
          title: Days Supply
        deleted:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The datetime this record was soft deleted.
          title: Deleted
        directions:
          anyOf:
            - type: string
            - type: 'null'
          description: The directions for the prescription.
          title: Directions
        expiration_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: When this prescription expires, if applicable.
          title: Expiration Date
        id:
          description: The unique identifier for the prescription.
          title: Id
          type: integer
        is_deleted:
          description: Whether this record is soft deleted or not.
          title: Is Deleted
          type: boolean
        is_prn:
          anyOf:
            - type: boolean
            - type: 'null'
          description: Whether the prescription is PRN.
          title: Is Prn
        item:
          $ref: '#/components/schemas/ConnectPrescriptionItemSchema'
          description: The item this prescription is for.
        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
        prescribed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The date and time when the prescription was prescribed.
          title: Prescribed At
        prescribed_by:
          anyOf:
            - type: string
            - type: 'null'
          description: The name of the doctor who prescribed the prescription.
          title: Prescribed By
        prescribed_by_doctor_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The ID of the doctor who prescribed the prescription. Use with the
            Doctors endpoint to look up full doctor details.
          title: Prescribed By Doctor Id
        quantity:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: How many of the items should be provided for each fill.
          title: Quantity
        status:
          anyOf:
            - $ref: '#/components/schemas/PrescriptionStatus'
            - type: 'null'
          description: The status of the prescription.
        total_allowed_uses:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The total quantity for which the prescription can be used for the
            item. None if the prescription is PRN.
          title: Total Allowed Uses
      required:
        - created
        - modified
        - is_deleted
        - deleted
        - id
        - clinic_id
        - clinic_patient_id
        - item
      title: ConnectPrescriptionSchema
      type: object
    ConnectPrescriptionItemSchema:
      properties:
        id:
          description: The ID of the item.
          title: Id
          type: integer
        name:
          description: The name of the item.
          title: Name
          type: string
      required:
        - name
        - id
      title: ConnectPrescriptionItemSchema
      type: object
    PrescriptionStatus:
      enum:
        - ACTIVE
        - DRAFT
        - DECLINED
        - IMPORTED
      title: PrescriptionStatus
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````