---
title: "Get Feedback Template V2"
method: GET
path: "/public/v2/projects/{project_id}/feedback/templates/{template_id}"
tags: ["feedback"]
deprecated: true
---

# Get Feedback Template V2

`GET /public/v2/projects/{project_id}/feedback/templates/{template_id}`

## Request

- Base URL: `https://api.galileo.ai`
- URL: `https://api.galileo.ai/public/v2/projects/{project_id}/feedback/templates/{template_id}`
- Auth: one of:
  - API key in header `Splunk-AO-API-Key`
  - API key in header `Galileo-API-Key`
  - OAuth 2
    - Password
    - Token URL: `https://api.galileo.ai/login`
  - HTTP basic

> **Deprecated.**

Get a v2 feedback template with its usage count.

Args:
    project: The project the template belongs to, resolved from the URL.
    template: The template to return, resolved from the URL.

Returns:
    The feedback template, including how many ratings reference it.

## Path parameters

- `project_id` string, uuid4, required
- `template_id` string, uuid4, required

## Response `200`

Successful Response

- FeedbackTemplateDB
  - `name` string, required
  - `include_explanation` boolean, required
  - `criteria` string, nullable
  - `constraints` union, required
    - LibsPythonSchemasLogRecordsFeedbackLikeDislikeConstraints
      - `feedback_type` 'like_dislike', required
    - LibsPythonSchemasLogRecordsFeedbackStarConstraints
      - `feedback_type` 'star', required
    - LibsPythonSchemasLogRecordsFeedbackScoreConstraints
      - `feedback_type` 'score', required
      - `min` integer, required
      - `max` integer, required
    - LibsPythonSchemasLogRecordsFeedbackTagsConstraints
      - `feedback_type` 'tags', required
      - `tags` string[], required
      - `allow_other` boolean
    - LibsPythonSchemasLogRecordsFeedbackTextConstraints
      - `feedback_type` 'text', required
    - LibsPythonSchemasLogRecordsFeedbackChoiceConstraints
      - `feedback_type` 'choice', required
      - `choices` string[], required
      - `allow_other` boolean
    - TreeChoiceConstraintsOutput: Tree-choice node values must be globally unique leaf-path values. Callers that start from nested YAML should use build_tree_choice_nodes_from_yaml so duplicate ids or labels in different branches are converted to unambiguous slash-delimited path values before model validation.
      - `feedback_type` 'tree_choice', required
      - `choices_tree` LibsPythonSchemasLogRecordsFeedbackTreeChoiceNodeOutput[], required
        - `label` string, nullable
        - `value` string, required
        - `children` LibsPythonSchemasLogRecordsFeedbackTreeChoiceNodeOutput[]
  - `id` string, uuid4, required
  - `created_at` string, date-time, required
  - `created_by` string, uuid4, nullable, required
  - `position` integer, required
  - `usage_count` integer, nullable: Number of feedback ratings using the template.

## Other responses

- `422`: Validation Error

## Changes

> 34 revisions in range; 2 not diffed.

- **2026-07-26** `05003e7835a2`: 1 info
  - the endpoint scheme security `ClassicAPIKeyHeader` was added to the API

[Operation history](https://skmtc.dev/galileo/apis/galileo-api-server/changes/public/v2/projects/:project_id/feedback/templates/:template_id/get.md)

---

[API](https://skmtc.dev/galileo/apis/galileo-api-server.md) - [All operations](https://skmtc.dev/galileo/apis/galileo-api-server/llms.txt) - [OpenAPI document](https://skmtc.dev/galileo/apis/galileo-api-server/revisions/a289cea1b504?raw)
