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

# List Eval Inputs

> List what an eval is built from: the {{variables}} a judge's instructions may use (and which this organization's privacy setting blocks, and why), the metrics a manual check can measure with their operators, and the instructions a new judge starts from.



## OpenAPI

````yaml get /v2/api/projects/{projectId}/workspaces/{workspaceId}/eval-inputs
openapi: 3.1.0
info:
  title: Upsolve API
  version: 1.5.0
servers:
  - url: https://api.upsolve.ai
security: []
tags: []
paths:
  /v2/api/projects/{projectId}/workspaces/{workspaceId}/eval-inputs:
    get:
      summary: 'List what an eval is built from: the {{variables}…'
      description: >-
        List what an eval is built from: the {{variables}} a judge's
        instructions may use (and which this organization's privacy setting
        blocks, and why), the metrics a manual check can measure with their
        operators, and the instructions a new judge starts from.
      operationId: GetV2ApiProjectsProjectIdWorkspacesWorkspaceIdEvalInputs
      parameters:
        - name: apiKey
          in: query
          required: false
          description: >-
            Upsolve API key, generated under Account → Developer settings in the
            Upsolve Hub. Keys are user-scoped: pass organizationId alongside the
            key to select which org to act on.
          schema:
            type: string
            minLength: 1
            description: >-
              Upsolve API key, generated under Account → Developer settings in
              the Upsolve Hub. Keys are user-scoped: pass organizationId
              alongside the key to select which org to act on.
            examples:
              - up_embed_************
          examples:
            example1:
              value: up_embed_************
        - name: organizationId
          in: query
          required: false
          description: >-
            Your Upsolve organization's UUID — the org that owns the API key and
            project. This is NOT a project organization: do not pass a value
            registered via /projects/register-organization, and do not pass an
            `externalId` (only `projectOrganizationId` accepts those). Omit it
            when using an org-bound API key — the org is read from the key and
            any value sent here is ignored. Required only for user-scoped API
            keys (created under Account → Developer settings) and for the
            Supabase JWT path, where the org is ambiguous and membership is
            verified against it.
          schema:
            description: >-
              Your Upsolve organization's UUID — the org that owns the API key
              and project. This is NOT a project organization: do not pass a
              value registered via /projects/register-organization, and do not
              pass an `externalId` (only `projectOrganizationId` accepts those).
              Omit it when using an org-bound API key — the org is read from the
              key and any value sent here is ignored. Required only for
              user-scoped API keys (created under Account → Developer settings)
              and for the Supabase JWT path, where the org is ambiguous and
              membership is verified against it.
            examples:
              - 123e4567-e89b-12d3-a456-426614174000
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
          examples:
            example1:
              value: 123e4567-e89b-12d3-a456-426614174000
        - name: projectId
          in: path
          required: true
          description: The project the workspace belongs to.
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: The project the workspace belongs to.
        - name: workspaceId
          in: path
          required: true
          description: The workspace.
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: The workspace.
      responses:
        '200':
          description: >-
            GET /v2/api/projects/:projectId/workspaces/:workspaceId/eval-inputs
            Positive response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    type: object
                    properties:
                      variables:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              enum:
                                - question
                                - final_answer
                                - agent_sql
                                - reference_sql
                                - result_data
                                - chart_config
                                - trace
                                - trace.tool_calls
                                - trace.tool_outputs
                                - trace.step_count
                                - trace.latency
                                - trace.tokens
                                - trace.tool_call_count
                                - trace.errors_count
                                - context.data_model
                                - context.knowledge_base
                                - context.skills
                                - context.system_prompts
                                - context.verified_questions
                                - context.metrics
                              description: The variable's name.
                            syntax:
                              type: string
                              description: >-
                                How instructions write it, e.g.
                                {{final_answer}}.
                            label:
                              type: string
                              description: A short name for a picker.
                            description:
                              type: string
                              description: What the judge is shown in its place.
                            group:
                              type: string
                              enum:
                                - answer
                                - data
                                - trace
                                - context
                              description: >-
                                answer, data, trace or context (the agent's own
                                context).
                            available:
                              type: boolean
                              description: >-
                                False when this organization's privacy setting
                                forbids sending it to a model; instructions
                                naming it are refused with EVAL_INPUT_BLOCKED.
                            unavailableReason:
                              type:
                                - object
                                - 'null'
                              properties:
                                code:
                                  type: string
                                  enum:
                                    - CONFIDENTIAL_DATA_ORG
                                  description: Why it is not offered, as a stable code.
                                message:
                                  type: string
                                  description: >-
                                    The same reason as a sentence a person can
                                    read.
                              required:
                                - code
                                - message
                              additionalProperties: false
                          required:
                            - key
                            - syntax
                            - label
                            - description
                            - group
                            - available
                            - unavailableReason
                          additionalProperties: false
                        description: >-
                          Every {{variable}} a judge's instructions may use, the
                          question first.
                      metrics:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              enum:
                                - answer_text
                                - agent_sql
                                - sql_tables
                                - sql_columns
                                - sql_functions
                                - sql_output_columns
                                - sql_clauses
                                - chart_type
                                - chart_dimensions
                                - chart_measures
                                - chart_row_count
                                - row_count
                                - column_count
                                - latency_ms
                                - cost_credits
                                - step_count
                                - tool_call_count
                                - errors_count
                                - total_tokens
                              description: The metric, as a check's config names it.
                            label:
                              type: string
                              description: A short name for a picker.
                            description:
                              type: string
                              description: What is measured.
                            group:
                              type: string
                              enum:
                                - answer
                                - sql
                                - chart
                                - data
                                - performance
                              description: answer, sql, chart, data or performance.
                            valueKind:
                              type: string
                              enum:
                                - number
                                - text
                                - list
                                - choice
                              description: >-
                                What `value` is: a number, a text, a list of
                                field names, or one of `choices`.
                            choices:
                              type:
                                - array
                                - 'null'
                              items:
                                type: object
                                properties:
                                  value:
                                    type: string
                                    description: The value a config sends.
                                  label:
                                    type: string
                                    description: Its words in a picker.
                                required:
                                  - value
                                  - label
                                additionalProperties: false
                            placeholder:
                              type:
                                - string
                                - 'null'
                            operators:
                              type: array
                              items:
                                type: object
                                properties:
                                  key:
                                    type: string
                                    enum:
                                      - gte
                                      - lte
                                      - eq
                                      - gt
                                      - lt
                                      - contains
                                      - not_contains
                                      - is
                                      - include
                                    description: >-
                                      The operator, as a check's config names
                                      it.
                                  label:
                                    type: string
                                    description: Its words, e.g. 'is at least'.
                                required:
                                  - key
                                  - label
                                additionalProperties: false
                              description: The operators this metric takes.
                            unit:
                              type:
                                - string
                                - 'null'
                            scenario:
                              type: boolean
                              description: >-
                                Whether it can measure a whole scenario, not
                                just one step.
                          required:
                            - key
                            - label
                            - description
                            - group
                            - valueKind
                            - choices
                            - placeholder
                            - operators
                            - unit
                            - scenario
                          additionalProperties: false
                        description: Every metric a manual check can measure.
                      defaultInstructions:
                        type: string
                        description: >-
                          The instructions a new judge starts from, with
                          {{variables}}.
                    required:
                      - variables
                      - metrics
                      - defaultInstructions
                    additionalProperties: false
                required:
                  - status
                  - data
                additionalProperties: false
        '400':
          description: >-
            GET /v2/api/projects/:projectId/workspaces/:workspaceId/eval-inputs
            Negative response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                    required:
                      - message
                    additionalProperties: false
                required:
                  - status
                  - error
                additionalProperties: false
      security:
        - APIKEY_2: []
components:
  securitySchemes:
    APIKEY_2:
      type: apiKey
      in: query
      name: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.