Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Attachments list for entity

GET/v1/private/attachment/listAttachments list for entity

Attachments list for entity

Parameters

pageinteger · int32query

default 1 · minimum 1

sizeinteger · int32query

default 100 · minimum 1

project_idstring · uuidqueryrequired
entity_typestringqueryrequired

one of "trace", "span"

one of "trace", "span"

entity_idstring · uuidqueryrequired
pathstringqueryrequired

minLength 1

Responses

200Attachment Resourceapplication/json
objectAttachmentPage
contentarray of object
Show child attributes
Show array items
file_namestringrequired
file_sizeinteger · int64required
linkstring
mime_typestringrequired
pageinteger · int32
sizeinteger · int32
sortableByarray of string
Show child attributes
totalinteger · int64
Example response
{
  "content": [
    {
      "file_name": "string",
      "file_size": 0,
      "link": "string",
      "mime_type": "string"
    }
  ],
  "page": 0,
  "size": 0,
  "sortableBy": [
    "string"
  ],
  "total": 0
}
401Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
403Access forbiddenapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu