playgrounds

Create Playground

Changed on

Create a playground for a project, optionally seeded from an existing run.

Args: body: Playground name, dataset, scorers and optional run to load. project: Project resolved from the URL. ctx: Async request context supplying the read session and current user. principal: Caller the optional run load is authorized against.

Returns: The created playground.

post/projects/{project_id}/playgrounds

Request

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

Request body

run_idstring uuid4 nullable

Optional run ID to initialize the playground with existing run data.

Response

Successful Response

idstring uuid4 required
namestring required
created_atstring date-time required
updated_atstring date-time required
scratch_dataset_idstring uuid4 required

Example response

{
  "scorers": [
    {
      "filters": [
        {
          "value": "ENUM_VALUE"
        }
      ]
    }
  ]
}

Changes

    • info

      added subschema #2 to the /// response property anyOf list for the response status

    • info

      added subschema #2 to the /////// response property anyOf list for the response status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status