#6231·opik

[FR]: Extend Attachment API to support dataset items

Author: fansi-sifanCreated Apr 14, 2026Updated Sep 30, 2026
Labelsenhancement

Proposal summary

Extend Attachment API to support dataset items

Motivation

Currently, the Attachment API in Opik only supports attaching files to traces and spans. There is no way to permanently associate images or other binary assets with dataset items.

This creates a significant problem for multimodal evaluation workflows. Using signed S3/GCS URLs as a workaround is unreliable because tokens typically expire, leaving dataset items with broken image references

There is currently no built-in mechanism to carry over attached images cleanly from traces into dataset items