Galileo Technologies feedback API
The feedback API from Galileo Technologies — 14 operation(s) for feedback.
The feedback API from Galileo Technologies — 14 operation(s) for feedback.
openapi: 3.1.0
info:
title: Galileo API Server annotation feedback API
version: 1.1085.0
servers:
- url: https://api.galileo.ai
description: Galileo API Server - galileo-v2
tags:
- name: feedback
paths:
/projects/{project_id}/feedback/templates:
post:
tags:
- feedback
summary: Create Feedback Template
operationId: create_feedback_template_projects__project_id__feedback_templates_post
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateCreate'
examples:
- name: creativity
criteria: How creative was the response?
constraints:
feedback_type: score
min: 1
max: 10
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: List Feedback Templates
operationId: list_feedback_templates_projects__project_id__feedback_templates_get
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/FeedbackTemplateDB'
title: Response List Feedback Templates Projects Project Id Feedback Templates Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/projects/{project_id}/feedback/templates/{template_id}:
patch:
tags:
- feedback
summary: Update Feedback Template
operationId: update_feedback_template_projects__project_id__feedback_templates__template_id__patch
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: Get Feedback Template
operationId: get_feedback_template_projects__project_id__feedback_templates__template_id__get
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- feedback
summary: Delete Feedback Template
operationId: delete_feedback_template_projects__project_id__feedback_templates__template_id__delete
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/projects/{project_id}/runs/{run_id}/feedback/templates/{template_id}/index/{index}/rating:
put:
tags:
- feedback
summary: Create Feedback Rating
description: Record a feedack rating for a specific sample in a run. For prompt chains, the index must be the root node.
operationId: create_feedback_rating_projects__project_id__runs__run_id__feedback_templates__template_id__index__index__rating_put
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: run_id
in: path
required: true
schema:
type: string
format: uuid4
title: Run Id
- name: index
in: path
required: true
schema:
type: integer
title: Index
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: Get Feedback Rating
operationId: get_feedback_rating_projects__project_id__runs__run_id__feedback_templates__template_id__index__index__rating_get
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: run_id
in: path
required: true
schema:
type: string
format: uuid4
title: Run Id
- name: index
in: path
required: true
schema:
type: integer
title: Index
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- feedback
summary: Delete Feedback Rating
operationId: delete_feedback_rating_projects__project_id__runs__run_id__feedback_templates__template_id__index__index__rating_delete
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: run_id
in: path
required: true
schema:
type: string
format: uuid4
title: Run Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
- name: index
in: path
required: true
schema:
type: integer
title: Index
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/projects/{project_id}/runs/{run_id}/ratings:
post:
tags:
- feedback
summary: Apply Bulk Feedback
description: Record multiple feedback ratings
operationId: apply_bulk_feedback_projects__project_id__runs__run_id__ratings_post
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: run_id
in: path
required: true
schema:
type: string
format: uuid4
title: Run Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BulkFeedbackRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/BulkFeedbackRatingStatus'
title: Response Apply Bulk Feedback Projects Project Id Runs Run Id Ratings Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v2/projects/{project_id}/feedback/templates:
post:
tags:
- feedback
summary: Create Feedback Template V2
operationId: create_feedback_template_v2_v2_projects__project_id__feedback_templates_post
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateCreate'
examples:
- name: creativity
criteria: How creative was the response?
constraints:
feedback_type: score
min: 1
max: 10
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: List Feedback Templates V2
operationId: list_feedback_templates_v2_v2_projects__project_id__feedback_templates_get
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/FeedbackTemplateDB'
title: Response List Feedback Templates V2 V2 Projects Project Id Feedback Templates Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v2/projects/{project_id}/feedback/templates/{template_id}:
patch:
tags:
- feedback
summary: Update Feedback Template
operationId: update_feedback_template_v2_projects__project_id__feedback_templates__template_id__patch
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: Get Feedback Template V2
operationId: get_feedback_template_v2_v2_projects__project_id__feedback_templates__template_id__get
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- feedback
summary: Delete Feedback Template
operationId: delete_feedback_template_v2_projects__project_id__feedback_templates__template_id__delete
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v2/projects/{project_id}/feedback/templates/reorder:
post:
tags:
- feedback
summary: Reorder Feedback Templates
operationId: reorder_feedback_templates_v2_projects__project_id__feedback_templates_reorder_post
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateReorder'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v2/projects/{project_id}/feedback/templates/{template_id}/traces/{trace_id}/rating:
put:
tags:
- feedback
summary: Create Feedback Rating V2
operationId: create_feedback_rating_v2_v2_projects__project_id__feedback_templates__template_id__traces__trace_id__rating_put
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: trace_id
in: path
required: true
schema:
type: string
format: uuid4
title: Trace Id
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: Get Feedback Rating V2
operationId: get_feedback_rating_v2_v2_projects__project_id__feedback_templates__template_id__traces__trace_id__rating_get
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: trace_id
in: path
required: true
schema:
type: string
format: uuid4
title: Trace Id
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- feedback
summary: Delete Feedback Rating V2
operationId: delete_feedback_rating_v2_v2_projects__project_id__feedback_templates__template_id__traces__trace_id__rating_delete
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: trace_id
in: path
required: true
schema:
type: string
format: uuid4
title: Trace Id
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v2/projects/{project_id}/feedback/ratings:
post:
tags:
- feedback
summary: Apply Bulk Feedback V2
operationId: apply_bulk_feedback_v2_v2_projects__project_id__feedback_ratings_post
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BulkFeedbackRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/BulkFeedbackRatingStatus'
title: Response Apply Bulk Feedback V2 V2 Projects Project Id Feedback Ratings Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public/v2/projects/{project_id}/feedback/templates:
post:
tags:
- feedback
summary: Create Feedback Template V2
operationId: create_feedback_template_v2_public_v2_projects__project_id__feedback_templates_post
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateCreate'
examples:
- name: creativity
criteria: How creative was the response?
constraints:
feedback_type: score
min: 1
max: 10
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: List Feedback Templates V2
operationId: list_feedback_templates_v2_public_v2_projects__project_id__feedback_templates_get
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/FeedbackTemplateDB'
title: Response List Feedback Templates V2 Public V2 Projects Project Id Feedback Templates Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public/v2/projects/{project_id}/feedback/templates/{template_id}:
patch:
tags:
- feedback
summary: Update Feedback Template
operationId: update_feedback_template_public_v2_projects__project_id__feedback_templates__template_id__patch
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: Get Feedback Template V2
operationId: get_feedback_template_v2_public_v2_projects__project_id__feedback_templates__template_id__get
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- feedback
summary: Delete Feedback Template
operationId: delete_feedback_template_public_v2_projects__project_id__feedback_templates__template_id__delete
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public/v2/projects/{project_id}/feedback/templates/reorder:
post:
tags:
- feedback
summary: Reorder Feedback Templates
operationId: reorder_feedback_templates_public_v2_projects__project_id__feedback_templates_reorder_post
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackTemplateReorder'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public/v2/projects/{project_id}/feedback/templates/{template_id}/traces/{trace_id}/rating:
put:
tags:
- feedback
summary: Create Feedback Rating V2
operationId: create_feedback_rating_v2_public_v2_projects__project_id__feedback_templates__template_id__traces__trace_id__rating_put
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: trace_id
in: path
required: true
schema:
type: string
format: uuid4
title: Trace Id
- name: project_id
in: path
required: true
schema:
type: string
format: uuid4
title: Project Id
- name: template_id
in: path
required: true
schema:
type: string
format: uuid4
title: Template Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRatingDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- feedback
summary: Get Feedback Rating V2
operationId: get_feedback_rating_v2_public_v2_projects__project_id__feedback_templates__template_id__traces__trace_id__rating_get
deprecated: true
security:
- ClassicAPIKeyHeader: []
- APIKeyHeader: []
- OAuth2PasswordBearer: []
- HTTPBasic: []
parameters:
- name: trace_id
in: path
required: true
schema:
type: string
format: uuid4
title: Trace Id
- name: proj
# --- truncated at 32 KB (58 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/galileo-technologies/refs/heads/main/openapi/galileo-technologies-feedback-api-openapi.yml