Vellum AI subpackage_testSuiteRuns API

The subpackage_testSuiteRuns API from Vellum AI — 3 operation(s) for subpackage_testsuiteruns.

OpenAPI Specification

vellum-subpackage-testsuiteruns-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Client SDK subpackage_testSuiteRuns API
  version: 1.0.0
servers:
- url: https://predict.vellum.ai
- url: https://api.vellum.ai
- url: https://documents.vellum.ai
tags:
- name: subpackage_testSuiteRuns
paths:
  /v1/test-suite-runs:
    post:
      operationId: create
      summary: Create
      description: Trigger a Test Suite and create a new Test Suite Run
      tags:
      - subpackage_testSuiteRuns
      parameters:
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: X-API-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestSuiteRunRead'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestSuiteRunCreateRequest'
  /v1/test-suite-runs/{id}:
    get:
      operationId: retrieve
      summary: Retrieve
      description: Retrieve a specific Test Suite Run by ID
      tags:
      - subpackage_testSuiteRuns
      parameters:
      - name: id
        in: path
        description: A UUID string identifying this test suite run.
        required: true
        schema:
          type: string
          format: uuid
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: X-API-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestSuiteRunRead'
  /v1/test-suite-runs/{id}/executions:
    get:
      operationId: list-executions
      summary: List Executions
      tags:
      - subpackage_testSuiteRuns
      parameters:
      - name: id
        in: path
        description: A UUID string identifying this test suite run.
        required: true
        schema:
          type: string
          format: uuid
      - name: expand
        in: query
        description: 'The response fields to expand for more information.

          - ''metric_results.metric_label'' expands the metric label for each metric result.

          - ''metric_results.metric_definition'' expands the metric definition for each metric result.

          - ''metric_results.metric_definition.name'' expands the metric definition name for each metric result.'
        required: false
        schema:
          type: array
          items:
            type: string
      - name: limit
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      - name: offset
        in: query
        description: The initial index from which to return the results.
        required: false
        schema:
          type: integer
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: X-API-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTestSuiteRunExecutionList'
components:
  schemas:
    TestSuiteRunRead:
      type: object
      properties:
        id:
          type: string
          format: uuid
        created:
          type: string
          format: date-time
        test_suite:
          $ref: '#/components/schemas/TestSuiteRunTestSuite'
        state:
          $ref: '#/components/schemas/TestSuiteRunState'
          description: 'The current state of this run


            * `QUEUED` - Queued

            * `RUNNING` - Running

            * `COMPLETE` - Complete

            * `FAILED` - Failed

            * `CANCELLED` - Cancelled'
        exec_config:
          oneOf:
          - $ref: '#/components/schemas/TestSuiteRunExecConfig'
          - type: 'null'
          description: Configuration that defines how the Test Suite should be run
        progress:
          $ref: '#/components/schemas/TestSuiteRunProgress'
      required:
      - id
      - created
      - test_suite
      - state
      title: TestSuiteRunRead
    ArrayChatMessageContentRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ArrayEnum'
        value:
          type: array
          items:
            $ref: '#/components/schemas/ArrayChatMessageContentItemRequest'
      required:
      - type
      - value
      description: A list of chat message content items.
      title: ArrayChatMessageContentRequest
    ErrorVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ErrorEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumError'
          - type: 'null'
      required:
      - type
      - value
      description: A value representing an Error.
      title: ErrorVellumValue
    PdfEnum:
      type: string
      enum:
      - PDF
      title: PdfEnum
    VideoVellumValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/VideoEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumVideoRequest'
          - type: 'null'
      required:
      - type
      - value
      description: A base Vellum primitive value representing a video.
      title: VideoVellumValueRequest
    TestSuiteRunExternalExecConfigDataRequest:
      type: object
      properties:
        executions:
          type: array
          items:
            $ref: '#/components/schemas/ExternalTestCaseExecutionRequest'
          description: The executions of some callable external to Vellum whose outputs you would like to evaluate.
      required:
      - executions
      title: TestSuiteRunExternalExecConfigDataRequest
    FunctionCallRequest:
      type: object
      properties:
        arguments:
          type: object
          additionalProperties:
            description: Any type
        id:
          type:
          - string
          - 'null'
        name:
          type: string
      required:
      - arguments
      - name
      description: The final resolved function call value.
      title: FunctionCallRequest
    TestSuiteRunMetricErrorOutput:
      type: object
      properties:
        value:
          $ref: '#/components/schemas/VellumError'
        type:
          $ref: '#/components/schemas/TestSuiteRunMetricErrorOutputTypeEnum'
        name:
          type: string
      required:
      - value
      - name
      description: Output for a test suite run metric that is of type ERROR
      title: TestSuiteRunMetricErrorOutput
    TestSuiteRunExecutionStringOutput:
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/StringEnum'
        value:
          type:
          - string
          - 'null'
        output_variable_id:
          type: string
          format: uuid
      required:
      - name
      - type
      - value
      - output_variable_id
      description: Execution output of an entity evaluated during a Test Suite Run that is of type STRING
      title: TestSuiteRunExecutionStringOutput
    DocumentVellumValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/DocumentEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumDocumentRequest'
          - type: 'null'
      required:
      - type
      - value
      description: A base Vellum primitive value representing a document.
      title: DocumentVellumValueRequest
    SearchResultsVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/SearchResultsEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SearchResult'
      required:
      - type
      - value
      description: A value representing Search Results.
      title: SearchResultsVellumValue
    ChatHistoryVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ChatHistoryEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChatMessage'
      required:
      - type
      - value
      description: A value representing Chat History.
      title: ChatHistoryVellumValue
    TestSuiteRunMetricStringOutputTypeEnum:
      type: string
      enum:
      - STRING
      description: '* `STRING` - STRING'
      title: TestSuiteRunMetricStringOutputTypeEnum
    NamedTestCaseVideoVariableValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/VideoEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumVideo'
          - type: 'null'
        name:
          type: string
      required:
      - type
      - value
      - name
      title: NamedTestCaseVideoVariableValue
    TestSuiteRunDeploymentReleaseTagExecConfig:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigTypeEnum'
        data:
          $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigData'
        test_case_ids:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default.
      required:
      - data
      description: Execution configuration for running a Test Suite against a Prompt Deployment
      title: TestSuiteRunDeploymentReleaseTagExecConfig
    NamedTestCaseJsonVariableValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/JsonEnum'
        value:
          oneOf:
          - description: Any type
          - type: 'null'
        name:
          type: string
      required:
      - type
      - value
      - name
      description: Named Test Case value that is of type JSON
      title: NamedTestCaseJsonVariableValueRequest
    TestSuiteRunExecutionJsonOutput:
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/JsonEnum'
        value:
          oneOf:
          - description: Any type
          - type: 'null'
        output_variable_id:
          type: string
          format: uuid
      required:
      - name
      - type
      - value
      - output_variable_id
      description: Execution output of an entity evaluated during a Test Suite Run that is of type JSON
      title: TestSuiteRunExecutionJsonOutput
    ArrayVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ArrayEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/VellumValue'
      required:
      - type
      - value
      description: A value representing an array of Vellum variable values.
      title: ArrayVellumValue
    TestSuiteRunExecutionMetricResult:
      type: object
      properties:
        metric_id:
          type: string
          format: uuid
        outputs:
          type: array
          items:
            $ref: '#/components/schemas/TestSuiteRunMetricOutput'
        metric_label:
          type: string
        metric_definition:
          $ref: '#/components/schemas/TestSuiteRunExecutionMetricDefinition'
      required:
      - metric_id
      - outputs
      title: TestSuiteRunExecutionMetricResult
    TestSuiteRunExecutionNumberOutput:
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/NumberEnum'
        value:
          type:
          - number
          - 'null'
          format: double
        output_variable_id:
          type: string
          format: uuid
      required:
      - name
      - type
      - value
      - output_variable_id
      description: Execution output of an entity evaluated during a Test Suite Run that is of type NUMBER
      title: TestSuiteRunExecutionNumberOutput
    VideoEnum:
      type: string
      enum:
      - VIDEO
      title: VideoEnum
    DocumentChatMessageContentRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/DocumentEnum'
        value:
          $ref: '#/components/schemas/VellumDocumentRequest'
      required:
      - type
      - value
      description: A document value that is used in a chat message.
      title: DocumentChatMessageContentRequest
    NamedTestCaseSearchResultsVariableValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/SearchResultsEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SearchResult'
        name:
          type: string
      required:
      - type
      - value
      - name
      description: Named Test Case value that is of type SEARCH_RESULTS
      title: NamedTestCaseSearchResultsVariableValue
    VideoChatMessageContent:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/VideoEnum'
        value:
          $ref: '#/components/schemas/VellumVideo'
      required:
      - type
      - value
      description: A video value that is used in a chat message.
      title: VideoChatMessageContent
    TestSuiteRunWorkflowReleaseTagExecConfigDataRequest:
      type: object
      properties:
        workflow_deployment_id:
          type: string
          format: uuid
          description: The ID of the Workflow Deployment to run the Test Suite against.
        tag:
          type: string
          default: LATEST
          description: A tag identifying which release of the Workflow Deployment to run the Test Suite against. Useful for testing past versions of the Workflow Deployment
      required:
      - workflow_deployment_id
      title: TestSuiteRunWorkflowReleaseTagExecConfigDataRequest
    ErrorVellumValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ErrorEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumErrorRequest'
          - type: 'null'
      required:
      - type
      - value
      description: A value representing an Error.
      title: ErrorVellumValueRequest
    FunctionCallChatMessageContentValueRequest:
      type: object
      properties:
        name:
          type: string
        arguments:
          type: object
          additionalProperties:
            description: Any type
        id:
          type:
          - string
          - 'null'
      required:
      - name
      - arguments
      description: The final resolved function call value.
      title: FunctionCallChatMessageContentValueRequest
    SearchResultMeta:
      type: object
      properties:
        source:
          oneOf:
          - $ref: '#/components/schemas/SearchResultMetaSource'
          - type: 'null'
      title: SearchResultMeta
    VideoChatMessageContentRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/VideoEnum'
        value:
          $ref: '#/components/schemas/VellumVideoRequest'
      required:
      - type
      - value
      description: A video value that is used in a chat message.
      title: VideoChatMessageContentRequest
    AudioVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/AudioEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumAudio'
          - type: 'null'
      required:
      - type
      - value
      description: A base Vellum primitive value representing audio.
      title: AudioVellumValue
    TestSuiteRunWorkflowSandboxExecConfigTypeEnum:
      type: string
      enum:
      - WORKFLOW_SANDBOX
      description: '* `WORKFLOW_SANDBOX` - WORKFLOW_SANDBOX'
      title: TestSuiteRunWorkflowSandboxExecConfigTypeEnum
    TestSuiteRunMetricNumberOutputTypeEnum:
      type: string
      enum:
      - NUMBER
      description: '* `NUMBER` - NUMBER'
      title: TestSuiteRunMetricNumberOutputTypeEnum
    TestSuiteRunExecutionChatHistoryOutput:
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/ChatHistoryEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChatMessage'
        output_variable_id:
          type: string
          format: uuid
      required:
      - name
      - type
      - value
      - output_variable_id
      description: Execution output of an entity evaluated during a Test Suite Run that is of type CHAT_HISTORY
      title: TestSuiteRunExecutionChatHistoryOutput
    ArrayChatMessageContent:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ArrayEnum'
        value:
          type: array
          items:
            $ref: '#/components/schemas/ArrayChatMessageContentItem'
      required:
      - type
      - value
      description: A list of chat message content items.
      title: ArrayChatMessageContent
    ExternalTestCaseExecution:
      type: object
      properties:
        outputs:
          type: array
          items:
            $ref: '#/components/schemas/NamedTestCaseVariableValue'
          description: The output values of a callable that was executed against a Test Case outside of Vellum
        test_case_id:
          type: string
      required:
      - outputs
      - test_case_id
      title: ExternalTestCaseExecution
    ChatMessageRole:
      type: string
      enum:
      - SYSTEM
      - ASSISTANT
      - USER
      - FUNCTION
      description: '* `SYSTEM` - System

        * `ASSISTANT` - Assistant

        * `USER` - User

        * `FUNCTION` - Function'
      title: ChatMessageRole
    TestSuiteRunProgress:
      type: object
      properties:
        number_of_requested_test_cases:
          type: integer
        number_of_completed_test_cases:
          type: integer
      required:
      - number_of_requested_test_cases
      - number_of_completed_test_cases
      title: TestSuiteRunProgress
    NumberEnum:
      type: string
      enum:
      - NUMBER
      title: NumberEnum
    TestSuiteRunExternalExecConfig:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/TestSuiteRunExternalExecConfigData'
        test_case_ids:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default.
        type:
          $ref: '#/components/schemas/TestSuiteRunExternalExecConfigTypeEnum'
      required:
      - data
      description: Execution configuration for running a Vellum Test Suite against an external callable
      title: TestSuiteRunExternalExecConfig
    TestSuiteRunWorkflowSandboxHistoryItemExecConfig:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum'
        data:
          $ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData'
        test_case_ids:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default.
      required:
      - data
      description: Execution configuration for running a Test Suite against a Workflow Sandbox History Item
      title: TestSuiteRunWorkflowSandboxHistoryItemExecConfig
    SearchResultMetaRequest:
      type: object
      properties:
        source:
          oneOf:
          - $ref: '#/components/schemas/SearchResultMetaSourceRequest'
          - type: 'null'
      title: SearchResultMetaRequest
    FunctionCallVellumValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/FunctionCallEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/FunctionCallRequest'
          - type: 'null'
      required:
      - type
      - value
      description: A value representing a Function Call.
      title: FunctionCallVellumValueRequest
    ArrayChatMessageContentItemRequest:
      oneOf:
      - $ref: '#/components/schemas/StringChatMessageContentRequest'
      - $ref: '#/components/schemas/FunctionCallChatMessageContentRequest'
      - $ref: '#/components/schemas/AudioChatMessageContentRequest'
      - $ref: '#/components/schemas/VideoChatMessageContentRequest'
      - $ref: '#/components/schemas/ImageChatMessageContentRequest'
      - $ref: '#/components/schemas/DocumentChatMessageContentRequest'
      title: ArrayChatMessageContentItemRequest
    TestSuiteRunWorkflowSandboxHistoryItemExecConfigData:
      type: object
      properties:
        history_item_id:
          type: string
          format: uuid
          description: The ID of the Workflow Sandbox History Item that the Test Suite will run against.
        workflow_variant_id:
          type: string
          format: uuid
          description: The ID of the Workflow Variant within the Workflow Sandbox History Item that you'd like to run the Test Suite against.
      required:
      - history_item_id
      - workflow_variant_id
      title: TestSuiteRunWorkflowSandboxHistoryItemExecConfigData
    NamedTestCaseFunctionCallVariableValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/FunctionCallEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/FunctionCallRequest'
          - type: 'null'
        name:
          type: string
      required:
      - type
      - value
      - name
      description: Named Test Case value that is of type FUNCTION_CALL
      title: NamedTestCaseFunctionCallVariableValueRequest
    TestSuiteRunWorkflowReleaseTagExecConfigTypeEnum:
      type: string
      enum:
      - WORKFLOW_RELEASE_TAG
      description: '* `WORKFLOW_RELEASE_TAG` - WORKFLOW_RELEASE_TAG'
      title: TestSuiteRunWorkflowReleaseTagExecConfigTypeEnum
    TestSuiteRunPromptSandboxHistoryItemExecConfigData:
      type: object
      properties:
        history_item_id:
          type: string
          format: uuid
          description: The ID of the Prompt Sandbox History Item that the Test Suite will run against.
        prompt_variant_id:
          type: string
          format: uuid
          description: The ID of the Prompt Variant within the Prompt Sandbox History Item that you'd like to run the Test Suite against.
      required:
      - history_item_id
      - prompt_variant_id
      title: TestSuiteRunPromptSandboxHistoryItemExecConfigData
    StringChatMessageContentRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/StringEnum'
        value:
          type: string
      required:
      - type
      - value
      description: A string value that is used in a chat message.
      title: StringChatMessageContentRequest
    ChatHistoryVellumValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ChatHistoryEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChatMessageRequest'
      required:
      - type
      - value
      description: A value representing Chat History.
      title: ChatHistoryVellumValueRequest
    VellumImage:
      type: object
      properties:
        src:
          type: string
          description: "The reference to the source data. This can be one of the following formats:\n1. A base64-encoded data URL (e.g., 'data:application/pdf;base64,JVBERi0xLjQKJcfs...').\n2. A url pointing to a file accessible over HTTP or HTTPS.\n3. A reference to a file that's been previously uploaded to Vellum, in the form of 'vellum:uploaded-file:{uploaded_file_id}'.\n    You can use the Uploaded Files API to retrieve the url of the uploaded file given its ID. See https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for details."
        metadata:
          type:
          - object
          - 'null'
          additionalProperties:
            description: Any type
      required:
      - src
      title: VellumImage
    NamedTestCaseChatHistoryVariableValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ChatHistoryEnum'
        value:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChatMessageRequest'
        name:
          type: string
      required:
      - type
      - value
      - name
      description: Named Test Case value that is of type CHAT_HISTORY
      title: NamedTestCaseChatHistoryVariableValueRequest
    TestSuiteRunDeploymentReleaseTagExecConfigRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigTypeEnum'
        data:
          $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigDataRequest'
        test_case_ids:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default.
      required:
      - data
      description: Execution configuration for running a Test Suite against a Prompt Deployment
      title: TestSuiteRunDeploymentReleaseTagExecConfigRequest
    TestSuiteRunMetricErrorOutputTypeEnum:
      type: string
      enum:
      - ERROR
      description: '* `ERROR` - ERROR'
      title: TestSuiteRunMetricErrorOutputTypeEnum
    StringVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/StringEnum'
        value:
          type:
          - string
          - 'null'
      required:
      - type
      - value
      description: A value representing a string.
      title: StringVellumValue
    NamedTestCaseDocumentVariableValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/DocumentEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumDocumentRequest'
          - type: 'null'
        name:
          type: string
      required:
      - type
      - value
      - name
      title: NamedTestCaseDocumentVariableValueRequest
    TestSuiteRunWorkflowSandboxExecConfigDataRequest:
      type: object
      properties:
        workflow_sandbox_id:
          type: string
          format: uuid
          description: The ID of the Workflow Sandbox to run the Test Suite against.
      required:
      - workflow_sandbox_id
      title: TestSuiteRunWorkflowSandboxExecConfigDataRequest
    NamedTestCaseStringVariableValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/StringEnum'
        value:
          type:
          - string
          - 'null'
        name:
          type: string
      required:
      - type
      - value
      - name
      description: Named Test Case value that is of type STRING
      title: NamedTestCaseStringVariableValue
    TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest:
      type: object
      properties:
        history_item_id:
          type: string
          format: uuid
          description: The ID of the Prompt Sandbox History Item that the Test Suite will run against.
        prompt_variant_id:
          type: string
          format: uuid
          description: The ID of the Prompt Variant within the Prompt Sandbox History Item that you'd like to run the Test Suite against.
      required:
      - history_item_id
      - prompt_variant_id
      title: TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest
    TestSuiteRunExecutionOutput:
      oneOf:
      - $ref: '#/components/schemas/TestSuiteRunExecutionStringOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionNumberOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionJsonOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionChatHistoryOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionSearchResultsOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionErrorOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionFunctionCallOutput'
      - $ref: '#/components/schemas/TestSuiteRunExecutionArrayOutput'
      title: TestSuiteRunExecutionOutput
    VellumDocumentRequest:
      type: object
      properties:
        src:
          type: string
          description: "The reference to the source data. This can be one of the following formats:\n1. A base64-encoded data URL (e.g., 'data:application/pdf;base64,JVBERi0xLjQKJcfs...').\n2. A url pointing to a file accessible over HTTP or HTTPS.\n3. A reference to a file that's been previously uploaded to Vellum, in the form of 'vellum:uploaded-file:{uploaded_file_id}'.\n    You can use the Uploaded Files API to retrieve the url of the uploaded file given its ID. See https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for details."
        metadata:
          type:
          - object
          - 'null'
          additionalProperties:
            description: Any type
      required:
      - src
      title: VellumDocumentRequest
    ImageVellumValueRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ImageEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumImageRequest'
          - type: 'null'
      required:
      - type
      - value
      description: A base Vellum primitive value representing an image.
      title: ImageVellumValueRequest
    VellumDocument:
      type: object
      properties:
        src:
          type: string
          description: "The reference to the source data. This can be one of the following formats:\n1. A base64-encoded data URL (e.g., 'data:application/pdf;base64,JVBERi0xLjQKJcfs...').\n2. A url pointing to a file accessible over HTTP or HTTPS.\n3. A reference to a file that's been previously uploaded to Vellum, in the form of 'vellum:uploaded-file:{uploaded_file_id}'.\n    You can use the Uploaded Files API to retrieve the url of the uploaded file given its ID. See https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for details."
        metadata:
          type:
          - object
          - 'null'
          additionalProperties:
            description: Any type
      required:
      - src
      title: VellumDocument
    VideoVellumValue:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/VideoEnum'
        value:
          oneOf:
          - $ref: '#/components/schemas/VellumVideo'
          - type: 'null'
      required:
      - type
      - value
      description: A base Vellum primitive value representing a video.
      title: VideoVellumValue
    PdfSearchResultMetaSource:
      type: object
      properties:
        document_type:
          $ref: '#/components/schemas/PdfEnum'
        start_page_num:
          type:
          - integer
          - 'null'
          description: The 1-indexed page number where the chunk starts in the document. Only available for supported chunking strategies and document types.
        end_page_num:
          type:
          - integer
          - 'null'
          description: The 1-indexed page number where the chunk ends in the document. Only available for supported chunking strategies and document types.
      required:
      - document_type
      - start_page_num
      - end_page_num
      description: The source of a search result from a PDF document.
      title: PdfSearchResultMetaSource
    TestSuiteRunExecConfig:
      oneOf:
      - $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfig'
      - $ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemEx

# --- truncated at 32 KB (85 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vellum/refs/heads/main/openapi/vellum-subpackage-testsuiteruns-api-openapi.yml