playground_prompts

Query Playground Prompts

Changed on

List a playground's prompts.

Args: ctx: Async request context supplying the read session and current user. playground: Playground resolved from the URL, verified to belong to the URL project. pagination: Page window to read. params: Sort to apply. principal: Caller the base templates' permissions are resolved for.

Returns: The requested page of prompts.

post/projects/{project_id}/playgrounds/{playground_id}/prompts/query

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/projects/{project_id}/playgrounds/{playground_id}/prompts/query
  • 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

Query parameters

starting_tokeninteger
limitinteger

Request body

Response

Successful Response

starting_tokeninteger
limitinteger
paginatedboolean
next_starting_tokeninteger nullable

Changes

    • warning

      added the new read_all_logs enum value to the /////// response property for the response status

    • warning

      added the new read_filtered_logs enum value to the /////// response property for the response status

    • warning

      added the new configure_rate_limit enum value to the /////// response property for the response status