Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Update experiment by id

PATCH/v1/private/experiments/{id}Update experiment by id

Update experiment by id

Parameters

idstring · uuidpathrequired

Request body

application/json
objectExperimentUpdate
experiment_scoresarray of object
Show child attributes
Show array items
namestringrequired

minLength 1

valuenumberrequired
metadataobject
namestring

pattern (?s)^\s*(\S.*\S|\S)\s*$

statusstring

The status of the experiment

one of "running", "completed", "cancelled"

tagsarray of string

Tags

maxItems 50 · minItems 0 · uniqueItems true

Show child attributes

maxItems 50 · minItems 0 · uniqueItems true

tags_to_addarray of string

Tags to add

maxItems 50 · minItems 0 · uniqueItems true

Show child attributes

maxItems 50 · minItems 0 · uniqueItems true

tags_to_removearray of string

Tags to remove

maxItems 50 · minItems 0 · uniqueItems true

Show child attributes

maxItems 50 · minItems 0 · uniqueItems true

typestring

one of "regular", "trial", "mini-batch", "mutation"

Example request
{
  "experiment_scores": [
    {
      "name": "string",
      "value": 0
    }
  ],
  "metadata": {},
  "name": "string",
  "status": "cancelled",
  "tags": [
    "string"
  ],
  "tags_to_add": [
    "string"
  ],
  "tags_to_remove": [
    "string"
  ],
  "type": "mini-batch"
}

Responses

204No Content
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
404Not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu