playground_prompts
Reorder Playground Prompts
Changed onSet the order of a playground's prompts.
Args: body: Complete set of prompt IDs in their new order. ctx: Async request context supplying the read session and current user. playground: Playground resolved from the URL, verified to belong to the URL project.
Returns: An empty 204 response.
post/projects/{project_id}/playgrounds/{playground_id}/prompts/reorder
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/projects/{project_id}/playgrounds/{playground_id}/prompts/reorder
- 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
playground_idstring uuid4 required
Request body
Response
Successful Response
unknown required
Changes
- info
the endpoint scheme security
ClassicAPIKeyHeaderwas added to the API
- info