files

Confirm Upload

Verify the upload landed in R2 and finalize the row.

Idempotent: confirming an already-uploaded file with a matching sha256 returns the existing row unchanged.

post/api/v1/files/{file_id}/confirm

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/files/{file_id}/confirm
  • Auth: none declared

Path parameters

file_idstring uuid required

Query parameters

workspace_idstring uuid required

Owning workspace

Headers

authorizationstring nullable

Request body

sha256string required

Response

Successful Response

idunknown required
workspace_idunknown required
context_idunknown
filenameunknown required
content_typeunknown required
size_bytesunknown required
sha256unknown required
statusunknown required
created_atunknown required
uploaded_atunknown

Changes

No recorded changes to this operation across all 2 revisions of this API.