Skip to main content
GET
Get upload by ID

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

Upload ID (Mongo ObjectId)

Response

Upload retrieved successfully

success
boolean
data
object

Admin view of an upload row. Mirrors the persisted shape from routes/models/upload.js, with two admin-handler shape changes: (1) thumbnail is returned as a base64-encoded string instead of a Buffer, and (2) an embeddings array of chunk text strings is appended when the embeddings DB connection is ready.