workspace-storage
workspace-storage

Presign Files

Short-lived download URLs for files this workspace owns.

Ownership is checked here, per file, against workspace_id — the URL itself is a bearer token for one object, so the boundary has to be enforced before it is minted, not after.

post/api/workspace/storage/presign

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/workspace/storage/presign
  • Auth: none declared

Request body

file_idsinteger[] required
expires_ininteger

Response

Successful Response

file_idinteger required
urlstring nullable required
bucketstring nullable required
keystring nullable required
mime_typestring nullable required
byte_sizeinteger nullable required
errorstring nullable

Changes

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