Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Update optimization by id

PUT/v1/private/optimizations/{id}Update optimization by id

Update optimization by id

Parameters

idstring · uuidpathrequired

Request body

application/json
objectOptimizationUpdate
error_infoobject
Show child attributes
exception_typestringrequired

minLength 1

messagestring
tracebackstringrequired

minLength 1

metadataobject
Show child attributes
anyOf · 3 options
Option 1object
Option 2array of object
Option 3string
namestring
statusstring

one of "running", "completed", "cancelled", "initialized", "error"

Example request
{
  "error_info": {
    "exception_type": "string",
    "message": "string",
    "traceback": "string"
  },
  "metadata": {},
  "name": "string",
  "status": "cancelled"
}

Responses

204No content
Documentation menu