---
title: "Get Metric Settings"
method: GET
path: "/v2/projects/{project_id}/experiments/{experiment_id}/metric_settings"
tags: ["experiment"]
---

# Get Metric Settings

`GET /v2/projects/{project_id}/experiments/{experiment_id}/metric_settings`

## Path parameters

- `experiment_id` string, uuid4, required
- `project_id` string, uuid4, required

## Response `200`

Successful Response

- MetricSettingsResponse
  - `scorers` ScorerConfig[], required
    - `model_name` string, nullable
    - `num_judges` integer, nullable
    - `filters` union[], nullable — List of filters to apply to the scorer.
      - union
        - NodeNameFilter — Filters on node names in scorer jobs.
          - `name` 'node_name'
          - `operator` 'eq' | 'ne' | 'contains' | 'one_of' | 'not_in', required
          - `value` union, required
            - string
            - string[]
          - `case_sensitive` boolean
        - MetadataFilter — Filters on metadata key-value pairs in scorer jobs.
          - `name` 'metadata'
          - `operator` 'one_of' | 'not_in' | 'eq' | 'ne', required
          - `key` string, required
          - `value` union, required
            - string
            - string[]
        - ModalityFilter — Filters on content modalities in scorer jobs. Matches if at least one of the specified modalities is present.
          - `name` 'modality'
          - `operator` 'eq' | 'ne' | 'one_of' | 'not_in', required
          - `value` union, required
            - string — Single enum value - specific options depend on the concrete enum type used
            - string[] — Array of enum values
    - `scoreable_node_types` string[], nullable — List of node types that can be scored by this scorer. Defaults to llm/chat.
    - `cot_enabled` boolean, nullable — Whether to enable chain of thought for this scorer. Defaults to False for llm scorers.
    - `output_type` 'boolean' | 'categorical' | 'count' | 'discrete' | 'freeform' | 'percentage' | 'multilabel' | 'retrieved_chunk_list_boolean' | 'boolean_multilabel' — Enumeration of output types.
    - `input_type` 'basic' | 'llm_spans' | 'retriever_spans' | 'sessions_normalized' | 'sessions_trace_io_only' | 'tool_spans' | 'trace_input_only' | 'trace_io_only' | 'trace_normalized' | 'trace_output_only' | 'agent_spans' | 'workflow_spans' — Enumeration of input types.
    - `id` string, uuid4, required
    - `name` string, nullable
    - `scorer_type` 'llm' | 'code' | 'luna' | 'preset', required
    - `model_type` 'slm' | 'llm' | 'code'
    - `scorer_version` BaseScorerVersionDB — Scorer version from the scorer_versions table.
      - `id` string, uuid4, required
      - `version` integer, required
      - `scorer_id` string, uuid4, required
      - `generated_scorer` BaseGeneratedScorerDB
        - `id` string, uuid4, required
        - `name` string, required
        - `instructions` string, nullable
        - `chain_poll_template` ChainPollTemplate, required — Template for a chainpoll metric prompt, containing all the info necessary to send a chainpoll prompt.
          - `metric_system_prompt` string, nullable — System prompt for the metric.
          - `metric_description` string, nullable — Description of what the metric should do.
          - `value_field_name` string — Field name to look for in the chainpoll response, for the rating.
          - `explanation_field_name` string — Field name to look for in the chainpoll response, for the explanation.
          - `template` string, required — Chainpoll prompt template.
          - `metric_few_shot_examples` FewShotExample[] — Few-shot examples for the metric.
            - `generation_prompt_and_response` string, required
            - `evaluating_response` string, required
          - `response_schema` object, nullable — Response schema for the output
        - `user_prompt` string, nullable
      - `registered_scorer` BaseRegisteredScorerDB
        - `id` string, uuid4, required
        - `name` string, required
        - `score_type` string, nullable
      - `finetuned_scorer` BaseFinetunedScorerDB
        - `id` string, uuid4, required
        - `name` string, required
        - `lora_task_id` integer, required
        - `lora_weights_path` string, nullable
        - `prompt` string, required
        - `luna_input_type` 'span' | 'trace_object' | 'trace_input_output_only'
        - `luna_output_type` 'float' | 'string' | 'string_list' | 'bool_list'
        - `class_name_to_vocab_ix` union
          - object
          - object
        - `executor` 'action_completion_luna' | 'action_advancement_luna' | 'agentic_session_success' | 'agentic_session_success' | 'action_completion_vision' | 'action_completion_audio' | 'agentic_workflow_success' | 'agentic_workflow_success' | 'agent_efficiency' | 'agent_flow' | 'chunk_attribution_utilization_luna' | 'chunk_attribution_utilization' | 'chunk_relevance' | 'chunk_relevance_luna' | 'context_precision' | 'precision_at_k' | 'completeness_luna' | 'completeness' | 'context_adherence' | 'context_adherence_luna' | 'context_adherence_vision' | 'context_adherence_audio' | 'context_relevance' | 'context_relevance_luna' | 'conversation_quality' | 'correctness' | 'correctness_vision' | 'correctness_audio' | 'ground_truth_adherence' | 'ground_truth_adherence_vision' | 'ground_truth_adherence_audio' | 'visual_fidelity' | 'visual_quality' | 'input_pii' | 'input_pii_gpt' | 'input_sexist' | 'input_sexist' | 'input_sexist_luna' | 'input_sexist_luna' | 'input_tone' | 'input_tone_gpt' | 'input_toxicity' | 'input_toxicity_luna' | 'input_toxicity_vision' | 'input_toxicity_audio' | 'instruction_adherence' | 'output_pii' | 'output_pii_gpt' | 'output_sexist' | 'output_sexist' | 'output_sexist_luna' | 'output_sexist_luna' | 'output_tone' | 'output_tone_gpt' | 'output_toxicity' | 'output_toxicity_luna' | 'output_toxicity_vision' | 'output_toxicity_audio' | 'prompt_injection' | 'prompt_injection_luna' | 'reasoning_coherence' | 'reasoning_coherence_vision' | 'reasoning_coherence_audio' | 'sql_efficiency' | 'sql_adherence' | 'sql_injection' | 'sql_correctness' | 'tool_error_rate' | 'tool_error_rate_luna' | 'tool_selection_quality' | 'tool_selection_quality_luna' | 'user_intent_change' | 'user_intent_change_vision' | 'user_intent_change_audio' | 'interruption_detection'
      - `model_name` string, nullable
      - `num_judges` integer, nullable
      - `scoreable_node_types` string[], nullable — List of node types that can be scored by this scorer. Defaults to llm/chat.
      - `cot_enabled` boolean, nullable — Whether to enable chain of thought for this scorer. Defaults to False for llm scorers.
      - `output_type` 'boolean' | 'categorical' | 'count' | 'discrete' | 'freeform' | 'percentage' | 'multilabel' | 'retrieved_chunk_list_boolean' | 'boolean_multilabel' — Enumeration of output types.
      - `input_type` 'basic' | 'llm_spans' | 'retriever_spans' | 'sessions_normalized' | 'sessions_trace_io_only' | 'tool_spans' | 'trace_input_only' | 'trace_io_only' | 'trace_normalized' | 'trace_output_only' | 'agent_spans' | 'workflow_spans' — Enumeration of input types.
    - `multimodal_capabilities` MultimodalCapability[], nullable — Multimodal capabilities which this scorer can utilize in its evaluation.
    - `roll_up_method` 'average' | 'sum' | 'max' | 'min' | 'category_count' | 'percentage_true' | 'percentage_false' — Display options for roll up methods when showing rolled up metrics in the UI. Separates display intent from computation methods. The computation methods (NumericRollUpMethod, CategoricalRollUpMethod) control what aggregations are available. This enum controls how the UI displays the selected roll-up value for a scorer.
    - `score_type` string, nullable — Return type of code scorers (e.g., 'bool', 'int', 'float', 'str').
  - `segment_filters` SegmentFilter[], nullable — List of segment filters to apply to the run.
    - `filter` union — Filter to apply to the segment. By default sample on all data.
      - NodeNameFilter — Filters on node names in scorer jobs.
        - `name` 'node_name'
        - `operator` 'eq' | 'ne' | 'contains' | 'one_of' | 'not_in', required
        - `value` union, required
          - string
          - string[]
        - `case_sensitive` boolean
      - MetadataFilter — Filters on metadata key-value pairs in scorer jobs.
        - `name` 'metadata'
        - `operator` 'one_of' | 'not_in' | 'eq' | 'ne', required
        - `key` string, required
        - `value` union, required
          - string
          - string[]
      - ModalityFilter — Filters on content modalities in scorer jobs. Matches if at least one of the specified modalities is present.
        - `name` 'modality'
        - `operator` 'eq' | 'ne' | 'one_of' | 'not_in', required
        - `value` union, required
          - string — Single enum value - specific options depend on the concrete enum type used
          - string[] — Array of enum values
    - `sample_rate` number, required — The fraction of the data to sample. Must be between 0 and 1, inclusive.
    - `llm_scorers` boolean — Whether to sample only on LLM scorers.
    - `multimodal_scorers` boolean — Whether to sample only on multimodal scorers.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/galileo/apis/fastapi.md) · [All operations](https://skmtc.net/galileo/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/galileo/fastapi/versions/441b96da8c30/schema)
