playground_prompts
Create Playground Prompt
Changed onAdd a prompt to a playground.
Args: ctx: Async request context supplying the read session and current user. principal: Caller the base template's permissions are resolved for. playground: Playground resolved from the URL, verified to belong to the URL project. create_request: Optional prompt to copy the template, settings and raw flag from.
Returns: The created prompt.
post/projects/{project_id}/playgrounds/{playground_id}/prompts
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/projects/{project_id}/playgrounds/{playground_id}/prompts
- 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
Changes
- 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
- warning
- warning
added the new
configure_rate_limitenum value to the/////response property for the response status
- warning