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
        • GETAttachments list for entity
        • POSTComplete multipart attachment upload
        • POSTDelete attachments
        • GETDownload attachment from MinIO
        • POSTStart multipart attachment upload
        • PUTUpload attachment to MinIO
LogoLogo
Copy to LLMGithubGo to App
Rest APIAPI ReferenceAttachments

Upload attachment to MinIO

PUT
/v1/private/attachment/upload
PUT
/api/v1/private/attachment/upload
$curl -X PUT "http://localhost:5173/api/v1/private/attachment/upload?file_name=file_name&entity_type=trace&entity_id=entity_id"
Upload attachment to MinIO
Was this page helpful?
Previous

Check user access to workspace

Next
Built with

Query parameters

file_namestringRequired
project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"
mime_typestringOptional
entity_typeenumRequired
Allowed values:
entity_idstringRequiredformat: "uuid"

Errors

401
Unauthorized Error
403
Forbidden Error