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

Download attachment from MinIO

GET
/v1/private/attachment/download
GET
/api/v1/private/attachment/download
$curl -G http://localhost:5173/api/v1/private/attachment/download \
> -d container_id=container_id \
> -d entity_type=trace \
> -d entity_id=entity_id \
> -d file_name=file_name \
> -d mime_type=mime_type
Download attachment from MinIO
Was this page helpful?
Previous

Start multipart attachment upload

Next
Built with

Query parameters

workspace_namestringOptional
container_idstringRequiredformat: "uuid"
entity_typeenumRequired
Allowed values:
entity_idstringRequiredformat: "uuid"
file_namestringRequired>=1 character
mime_typestringRequired>=1 character

Response

Attachment Resource