playgrounds

Update Playground

Changed on

Update a playground's name, dataset or scorers.

Args: body: Fields to set on the playground. playground: Playground resolved from the URL, verified to belong to the URL project. ctx: Async request context supplying the read session and current user.

Returns: The updated playground.

patch/projects/{project_id}/playgrounds/{playground_id}

Request

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

Example request

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

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 /// request property anyOf list

    • info

      added subschema #2 to the /////// request property anyOf list

    • 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 new optional request property ///

    • info

      added the new optional request property ///

    • info

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

    • info

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