playground_prompts
Update Playground Prompt
Changed onUpdate a playground prompt's template or settings.
Args: body: Fields to set on the prompt. prompt: Prompt resolved from the URL, verified to belong to the URL playground. ctx: Async request context supplying the read session and current user. principal: Caller the base template's permissions are resolved for.
Returns: The updated prompt.
patch/projects/{project_id}/playgrounds/{playground_id}/prompts/{prompt_id}
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/projects/{project_id}/playgrounds/{playground_id}/prompts/{prompt_id}
- 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
project_idstring uuid4 required
prompt_idstring uuid4 required
playground_idstring uuid4 required
Request body
Response
Successful Response
Changes
- breaking
removed the enum value
vegas_gatewayof the request property//// - warning
added the new
read_all_logsenum value to the/////response property for the response status - warning
added the new
read_filtered_logsenum value to the/////response property for the response status
- breaking
- info
added the new optional request property
////
- info