playground_prompts

Reorder Playground Prompts

Changed on

Set 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 URL
    https://api.galileo.ai
  • URL
    https://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 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Path parameters

project_idstring uuid4 required
playground_idstring uuid4 required

Request body

idsstring[] required

Response

Successful Response

unknown required

Changes