Skip to main content

getFile

GET 

/files/:file_id

Read-only. Names the file an id refers to: its name, size, type and folder, so an agent can confirm a file before it attaches, moves or cites it. The rule is the Broome app's own for opening a file: workspace membership, the folder's privacy, and a private file at the root only for whoever uploaded it. A file the caller cannot open answers 404, exactly like one that does not exist, so a file id can never be probed.

Request​

Responses​

File metadata.

Response Headers
    X-Request-Id
    Cache-Control

    Responses must use Cache-Control: no-store.