For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Copy to LLMGithubGo to App
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
    • Overview
  • Python SDK
    • Reference
    • REST API Client
  • Typescript SDK
    • Overview
    • Opik TS
    • Prompts
    • Opik Query Language (OQL)
  • Rest API
    • Overview
        • GETCancel Studio optimizations
        • GETFind optimizations
        • POSTCreate optimization
        • PUTUpsert optimization
        • POSTDelete optimizations by id
        • GETGet optimization by id
        • PUTUpdate optimization by id
        • GETGet Studio optimization logs
LogoLogo
Copy to LLMGithubGo to App
Rest APIAPI ReferenceOptimizations

Update optimization by id

PUT
/v1/private/optimizations/:id
PUT
/api/v1/private/optimizations/:id
$curl -X PUT http://localhost:5173/api/v1/private/optimizations/id \
> -H "Content-Type: application/json" \
> -d '{}'
Update optimization by id
Was this page helpful?
Previous

Get Studio optimization logs

Next
Built with

Path parameters

idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
namestringOptional
statusenumOptional
Allowed values: