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

# Get Scorer Prompt Preview

> Return this version's prompt using the run's effective scorer settings.



## OpenAPI

````yaml https://api.galileo.ai/public/v2/openapi.json get /v2/scorers/versions/{scorer_version_id}/prompt-preview
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.galileo.ai
    description: Galileo Public APIs - galileo-v2
security: []
paths:
  /v2/scorers/versions/{scorer_version_id}/prompt-preview:
    get:
      tags:
        - data
        - prompts
        - rows
      summary: Get Scorer Prompt Preview
      description: Return this version's prompt using the run's effective scorer settings.
      operationId: >-
        get_scorer_prompt_preview_v2_scorers_versions__scorer_version_id__prompt_preview_get
      parameters:
        - name: scorer_version_id
          in: path
          required: true
          schema:
            type: string
            format: uuid4
            title: Scorer Version Id
        - name: project_id
          in: query
          required: true
          schema:
            type: string
            format: uuid4
            title: Project Id
        - name: run_id
          in: query
          required: true
          schema:
            type: string
            format: uuid4
            title: Run Id
        - name: record_id
          in: query
          required: true
          schema:
            type: string
            format: uuid4
            title: Record Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ScorerPromptPreviewResponse'
                  - $ref: >-
                      #/components/schemas/ScorerPromptPreviewUnavailableResponse
                title: >-
                  Response Get Scorer Prompt Preview V2 Scorers Versions  Scorer
                  Version Id  Prompt Preview Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - ClassicAPIKeyHeader: []
        - OAuth2PasswordBearer: []
        - HTTPBasic: []
components:
  schemas:
    ScorerPromptPreviewResponse:
      properties:
        status:
          type: string
          const: available
          title: Status
          default: available
        label:
          type: string
          const: Reconstructed evaluator prompt
          title: Label
          default: Reconstructed evaluator prompt
        description:
          type: string
          const: >-
            Uses the selected evaluator version with current run settings and
            log data.
          title: Description
          default: >-
            Uses the selected evaluator version with current run settings and
            log data.
        scorer_id:
          type: string
          title: Scorer Id
        scorer_version_id:
          type: string
          title: Scorer Version Id
        messages:
          items:
            $ref: '#/components/schemas/ScorerPromptMessage'
          type: array
          title: Messages
        normalized_input:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Normalized Input
      type: object
      required:
        - scorer_id
        - scorer_version_id
        - messages
        - normalized_input
      title: ScorerPromptPreviewResponse
    ScorerPromptPreviewUnavailableResponse:
      properties:
        status:
          type: string
          const: unavailable
          title: Status
          default: unavailable
        scorer_id:
          type: string
          title: Scorer Id
        scorer_version_id:
          type: string
          title: Scorer Version Id
        reason:
          $ref: '#/components/schemas/ScorerPromptPreviewUnavailableReason'
        message:
          type: string
          title: Message
      type: object
      required:
        - scorer_id
        - scorer_version_id
        - reason
        - message
      title: ScorerPromptPreviewUnavailableResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ScorerPromptMessage:
      properties:
        role:
          type: string
          title: Role
        content:
          anyOf:
            - type: string
            - items:
                additionalProperties: true
                type: object
              type: array
          title: Content
      type: object
      required:
        - role
        - content
      title: ScorerPromptMessage
    ScorerPromptPreviewUnavailableReason:
      type: string
      enum:
        - run_settings_unavailable
        - score_not_directly_attributable
        - roll_up
        - ambiguous_legacy_roll_up
      title: ScorerPromptPreviewUnavailableReason
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Splunk-AO-API-Key
    ClassicAPIKeyHeader:
      type: apiKey
      in: header
      name: Galileo-API-Key
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: https://api.galileo.ai/login
    HTTPBasic:
      type: http
      scheme: basic

````

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