scorer-feedback
Generate Prompt
Changed onGenerate improved scorer prompt using Autotune (CLHF).
This endpoint:
- Fetches all feedback items from the active queue with ClickHouse context
- Assembles the current metric system prompt
- Constructs AutotuneInput with annotated examples
- Queues a background job to the runners service
- Returns task_id for polling
The API prepares all data internally - no request body needed.
Validation:
- Scorer exists and user has access
- Active queue exists in 'pending' state
- Queue has at least one feedback item
Response:
- 202 Accepted with task_id for polling
Errors:
- 404 - Scorer not found or no active pending queue exists
- 409 - Queue is already locked (generating or reviewing)
- 422 - Scorer missing required configuration or queue has no feedback items
post/feedback-queues/scorer/{scorer_id}/generate-prompt
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/feedback-queues/scorer/{scorer_id}/generate-prompt
- Auth
- API key in header Splunk-AO-API-Key
- or API key in header Galileo-API-Key
- or OAuth 2PasswordToken URL: https://api.galileo.ai/login
- or HTTP basic
Path parameters
scorer_idstring uuid4 required
Response
Successful Response
Changes
- info
the endpoint scheme security
ClassicAPIKeyHeaderwas added to the API
- info