code-metric-generation
Create Code Metric Generation
Changed onGenerate scorer code from a user message (natural language, existing code, or combination).
Creates a background job that calls an LLM with the code metric generation system prompt. Returns a generation ID for polling.
Response: 202 Accepted with generation ID.
post/code-metric-generations
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/code-metric-generations
- 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
Request body
Response
Successful Response
Changes
- info
added the new
boolean_probabilityenum value to the request property/
- info
- info
the endpoint scheme security
ClassicAPIKeyHeaderwas added to the API - info
added the new optional request property
- info