Vital Lab Testing API

Order, fulfill, and retrieve lab tests across a nationwide US lab network spanning all 50 states including NY, NJ, and RI. Covers at-home testkits, at-home phlebotomy, walk-in / Patient Service Center collection, and on-site collection. Endpoints handle order creation and lifecycle (create, get, update, cancel, import, register, simulate), appointment management (availability, booking, cancellation, rescheduling for both phlebotomy and PSC), order transactions, results (JSON and PDF), the lab-test compendium (search + convert), payor and insurance/diagnosis search, ABN forms, requisition and label PDFs, collection instructions, and team lab accounts.

Vital Lab Testing API is one of 8 APIs that Vital publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 machine-runnable capability that can be deployed as REST, MCP, or Agent Skill surfaces via Naftiko and 2 JSON Schema definitions.

Tagged areas include Lab Testing, Lab Orders, Biomarkers, Phlebotomy, and Testkits. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, sample payloads, 1 Naftiko capability spec, and 2 JSON Schemas.

OpenAPI Specification

vital-lab-testing-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Vital Lab Testing API
  description: Order, fulfill, and retrieve lab tests across a nationwide US lab network (50 states + NY/NJ/RI). Covers at-home
    testkits, at-home phlebotomy, walk-in / Patient Service Center collection, appointment scheduling, order lifecycle, results
    (JSON & PDF), order transactions, the lab-test compendium, payor and insurance/diagnosis search, and team lab accounts.
  version: 0.4.497
  contact:
    name: Junction (Vital) Support
    url: https://docs.junction.com
paths:
  /v3/lab_tests:
    get:
      tags:
      - lab_tests
      summary: Get Lab Tests For Team
      description: GET all the lab tests the team has access to.
      operationId: get_lab_tests_for_team_v3_lab_tests_get
      deprecated: true
      parameters:
      - name: generation_method
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/LabTestGenerationMethodFilter'
          description: Filter on whether auto-generated lab tests created by Vital, manually created lab tests, or all lab
            tests should be returned.
          default: manual
        description: Filter on whether auto-generated lab tests created by Vital, manually created lab tests, or all lab tests
          should be returned.
      - name: lab_slug
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by the slug of the lab for these lab tests.
          title: Lab Slug
        description: Filter by the slug of the lab for these lab tests.
      - name: collection_method
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/LabTestCollectionMethod'
          - type: 'null'
          description: Filter by the collection method for these lab tests.
          title: Collection Method
        description: Filter by the collection method for these lab tests.
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/LabTestStatus'
          - type: 'null'
          description: Filter by the status of these lab tests.
          title: Status
        description: Filter by the status of these lab tests.
      - name: marker_ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: integer
          - type: 'null'
          description: Filter to only include lab tests containing these marker IDs.
          title: Marker Ids
        description: Filter to only include lab tests containing these marker IDs.
      - name: provider_ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Filter to only include lab tests containing these provider IDs.
          title: Provider Ids
        description: Filter to only include lab tests containing these provider IDs.
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by the name of the lab test (a case-insensitive substring search).
          title: Name
        description: Filter by the name of the lab test (a case-insensitive substring search).
      - name: order_key
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - price
            - created_at
            - updated_at
            type: string
          - type: 'null'
          title: Order Key
      - name: order_direction
        in: query
        required: false
        schema:
          enum:
          - asc
          - desc
          type: string
          default: asc
          title: Order Direction
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientFacingLabTest'
                title: Response Get Lab Tests For Team V3 Lab Tests Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get
      x-fern-availability: deprecated
    post:
      tags:
      - lab_tests
      summary: Create Lab Test For Team
      operationId: create_lab_test_for_team_v3_lab_tests_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLabTestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingLabTest'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: create
  /v3/lab_tests/{lab_test_id}:
    patch:
      tags:
      - lab_tests
      summary: Update Lab Test For Team
      operationId: update_lab_test_for_team_v3_lab_tests__lab_test_id__patch
      parameters:
      - name: lab_test_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Lab Test Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLabTestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingLabTest'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: update_lab_test
    get:
      tags:
      - lab_tests
      summary: Get Lab Test For Team
      description: GET all the lab tests the team has access to.
      operationId: get_lab_test_for_team_v3_lab_tests__lab_test_id__get
      parameters:
      - name: lab_test_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: The identifier Vital assigned to a lab test.
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
          title: Lab Account Id
        description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingLabTest'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_by_id
  /v3/lab_tests/markers:
    get:
      tags:
      - lab_tests
      summary: Get Markers
      description: List active and orderable markers for a given Lab. Note that reflex markers are not included.
      operationId: get_markers_v3_lab_tests_markers_get
      parameters:
      - name: lab_id
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: integer
          - type: 'null'
          description: The identifier Vital assigned to a lab partner.
          title: Lab Id
        description: The identifier Vital assigned to a lab partner.
      - name: lab_slug
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: The slug of the lab for these markers. If both lab_id and lab_slug are provided, lab_slug will be used.
          title: Lab Slug
        description: The slug of the lab for these markers. If both lab_id and lab_slug are provided, lab_slug will be used.
      - name: name
        in: query
        required: false
        schema:
          type: string
          description: The name or test code of an individual biomarker or a panel.
          default: ''
          title: Name
        description: The name or test code of an individual biomarker or a panel.
      - name: a_la_carte_enabled
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: A La Carte Enabled
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
          title: Lab Account Id
        description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarkersResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_markers
  /v3/lab_tests/list_order_set_markers:
    post:
      tags:
      - lab_tests
      summary: Get Markers For Order Set
      operationId: get_markers_for_order_set_v3_lab_tests_list_order_set_markers_post
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Size
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderSetRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarkersResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_markers_for_order_set
  /v3/lab_tests/{lab_test_id}/markers:
    get:
      tags:
      - lab_tests
      summary: Get Markers For Test
      description: List all markers for a given Lab Test, as well as any associated reflex markers.
      operationId: get_markers_for_test_v3_lab_tests__lab_test_id__markers_get
      parameters:
      - name: lab_test_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: The identifier Vital assigned to a lab test.
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
          title: Lab Account Id
        description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarkersResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_markers_for_lab_test
  /v3/lab_tests/{lab_id}/markers/{provider_id}:
    get:
      tags:
      - lab_tests
      summary: Get Markers By Provider Id
      description: GET a specific marker for the given lab and provider_id
      operationId: get_markers_by_provider_id_v3_lab_tests__lab_id__markers__provider_id__get
      parameters:
      - name: provider_id
        in: path
        required: true
        schema:
          type: string
          title: The provider id assigned by a Lab.
      - name: lab_id
        in: path
        required: true
        schema:
          type: integer
          title: The identifier Vital assigned to a lab partner.
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
          title: Lab Account Id
        description: The lab account ID. This lab account is used to determine the availability of markers and lab tests.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientFacingMarker'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_markers_by_lab_and_provider_id
  /v3/lab_tests/labs:
    get:
      tags:
      - lab_tests
      summary: Get Labs
      description: GET all the labs.
      operationId: get_labs_v3_lab_tests_labs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ClientFacingLab'
                type: array
                title: Response Get Labs V3 Lab Tests Labs Get
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_labs
  /v3/compendium/search:
    post:
      tags:
      - compendium
      summary: Search Compendium
      operationId: search_compendium_v3_compendium_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchCompendiumBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchCompendiumResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: compendium
      x-fern-sdk-method-name: search
  /v3/compendium/convert:
    post:
      tags:
      - compendium
      summary: Convert Compendium
      operationId: convert_compendium_v3_compendium_convert_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConvertCompendiumBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConvertCompendiumResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: compendium
      x-fern-sdk-method-name: convert
  /v3/lab_test/lab_account:
    get:
      tags:
      - lab_account
      summary: Get Team Lab Accounts
      operationId: get_team_lab_accounts_v3_lab_test_lab_account_get
      parameters:
      - name: lab_account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Lab Account Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/LabAccountStatus'
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTeamLabAccountsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_account
      x-fern-sdk-method-name: get_team_lab_accounts
  /v3/lab_test:
    get:
      tags:
      - lab_tests
      summary: Get Paginated Lab Tests For Team
      description: GET lab tests the team has access to as a paginated list.
      operationId: get_paginated_lab_tests_for_team_v3_lab_test_get
      parameters:
      - name: lab_test_limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Lab Test Limit
      - name: next_cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: The cursor for fetching the next page, or `null` to fetch the first page.
          title: Next Cursor
      - name: generation_method
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/LabTestGenerationMethodFilter'
          description: Filter on whether auto-generated lab tests created by Vital, manually created lab tests, or all lab
            tests should be returned.
          default: manual
        description: Filter on whether auto-generated lab tests created by Vital, manually created lab tests, or all lab tests
          should be returned.
      - name: lab_slug
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by the slug of the lab for these lab tests.
          title: Lab Slug
        description: Filter by the slug of the lab for these lab tests.
      - name: collection_method
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/LabTestCollectionMethod'
          - type: 'null'
          description: Filter by the collection method for these lab tests.
          title: Collection Method
        description: Filter by the collection method for these lab tests.
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/LabTestStatus'
          - type: 'null'
          description: Filter by the status of these lab tests.
          title: Status
        description: Filter by the status of these lab tests.
      - name: marker_ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: integer
          - type: 'null'
          description: Filter to only include lab tests containing these marker IDs.
          title: Marker Ids
        description: Filter to only include lab tests containing these marker IDs.
      - name: provider_ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Filter to only include lab tests containing these provider IDs.
          title: Provider Ids
        description: Filter to only include lab tests containing these provider IDs.
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by the name of the lab test (a case-insensitive substring search).
          title: Name
        description: Filter by the name of the lab test (a case-insensitive substring search).
      - name: order_key
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - price
            - created_at
            - updated_at
            type: string
          - type: 'null'
          title: Order Key
      - name: order_direction
        in: query
        required: false
        schema:
          enum:
          - asc
          - desc
          type: string
          default: asc
          title: Order Direction
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LabTestResourcesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_paginated
  /v3/lab_test/{lab_test_id}/collection_instruction_pdf:
    get:
      tags:
      - lab_tests
      summary: Get Lab Test Collection Instructions Url
      operationId: get_lab_test_collection_instructions_url_v3_lab_test__lab_test_id__collection_instruction_pdf_get
      parameters:
      - name: lab_test_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: The identifier Vital assigned to a lab test.
      responses:
        '200':
          description: PDF with collection instructions
          content:
            application/json:
              schema: {}
            application/pdf:
              schema:
                type: string
                format: binary
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: get_lab_test_collection_instruction_pdf
      x-fern-streaming: true
  /v3/order_transaction/{transaction_id}:
    get:
      tags:
      - order_transaction
      summary: Get Order Transaction
      operationId: get_order_transaction_v3_order_transaction__transaction_id__get
      parameters:
      - name: transaction_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Transaction Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOrderTransactionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: order_transaction
      x-fern-sdk-method-name: get_transaction
  /v3/order_transaction/{transaction_id}/result:
    get:
      tags:
      - order_transaction
      summary: Get Order Transaction Result
      operationId: get_order_transaction_result_v3_order_transaction__transaction_id__result_get
      parameters:
      - name: transaction_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Transaction Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LabResultsRaw'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: order_transaction
      x-fern-sdk-method-name: get_transaction_result
  /v3/order_transaction/{transaction_id}/result/pdf:
    get:
      tags:
      - order_transaction
      summary: Get Order Transaction Result Pdf
      operationId: get_order_transaction_result_pdf_v3_order_transaction__transaction_id__result_pdf_get
      parameters:
      - name: transaction_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Transaction Id
      responses:
        '200':
          description: PDF with results
          content:
            application/json:
              schema:
                title: Response Get Order Transaction Result Pdf V3 Order Transaction  Transaction Id  Result Pdf Get
            application/pdf:
              schema:
                type: string
                format: binary
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: order_transaction
      x-fern-sdk-method-name: get_transaction_result_pdf
      x-fern-streaming: true
  /v3/orders:
    get:
      tags:
      - orders
      summary: Get Orders
      description: GET many orders with filters.
      operationId: get_orders_v3_orders_get
      parameters:
      - name: search_input
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by order id, user id, patient name, shipping dob, or shipping recipient name.
          title: Search Input
        description: Search by order id, user id, patient name, shipping dob, or shipping recipient name.
      - name: start_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time
            will be set to 00:00:00
          title: Start Date
        description: Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will
          be set to 00:00:00
      - name: end_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will
            be set to 23:59:59
          title: End Date
        description: Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be
          set to 23:59:59
      - name: updated_start_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time
            will be set to 00:00:00
          title: Updated Start Date
        description: Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will
          be set to 00:00:00
      - name: updated_end_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will
            be set to 00:00:00
          title: Updated End Date
        description: Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be
          set to 00:00:00
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/OrderLowLevelStatus'
          - type: 'null'
          description: Filter by low level status.
          title: Status
        description: Filter by low level status.
      - name: order_key
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - created_at
            - patient_name
            - last_status
            type: string
          - type: 'null'
          description: Order key to sort by.
          title: Order Key
        description: Order key to sort by.
      - name: order_direction
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - asc
            - desc
            type: string
          - type: 'null'
          description: Order direction to sort by.
          title: Order Direction
        description: Order direction to sort by.
      - name: order_type
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/LabTestCollectionMethod'
          - type: 'null'
          description: Filter by method used to perform the lab test.
          title: Order Type
        description: Filter by method used to perform the lab test.
      - name: is_critical
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Filter by critical order status.
          title: Is Critical
        description: Filter by critical order status.
      - name: interpretation
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/Interpretation'
          - type: 'null'
          description: Filter by result interpretation of the lab test.
          title: Interpretation
        description: Filter by result interpretation of the lab test.
      - name: order_activation_types
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/OrderActivationType'
          - type: 'null'
          description: Filter by activation type.
          title: Order Activation Types
        description: Filter by activation type.
      - name: user_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Filter by user ID.
          title: User Id
        description: Filter by user ID.
      - name: patient_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by patient name.
          title: Patient Name
        description: Filter by patient name.
      - name: shipping_recipient_name
        in: query
        required: false
        sc

# --- truncated at 32 KB (758 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vital-io/refs/heads/main/openapi/vital-lab-testing-api-openapi.yml