Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Start multipart attachment upload

POST/v1/private/attachment/upload-startStart multipart attachment upload

Start multipart attachment upload

Request body

application/json
objectStartMultipartUploadRequest
container_idstring · uuid
entity_idstring · uuidrequired
entity_typestringrequired

one of "trace", "span"

file_namestringrequired

minLength 1

mime_typestring
num_of_file_partsinteger · int32required
pathstringrequired

minLength 1

project_namestring

If null, the default project is used

pattern (?s)^\s*(\S.*\S|\S)\s*$

Example request
{
  "entity_id": "00000000-0000-0000-0000-000000000000",
  "entity_type": "span",
  "file_name": "string",
  "mime_type": "string",
  "num_of_file_parts": 0,
  "path": "string",
  "project_name": "string"
}

Responses

200MultipartUploadResponseapplication/json
objectStartMultipartUploadResponse
pre_sign_urlsarray of stringrequired
Show child attributes
upload_idstringrequired

minLength 1

Example response
{
  "pre_sign_urls": [
    "string"
  ],
  "upload_id": "string"
}
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