Get a file
Get one file metadata record using the canonical file resource.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Path parameters
fileId
Unique file identifier generated by BCTRL.
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Response
OK
contentType
createdAt
RFC 3339 timestamp with a UTC offset.
downloadUrl
id
Unique file identifier generated by BCTRL.
name
Customer-facing resource name. 1–200 characters.
path
sizeBytes
Non-negative number of bytes.
source
spaceId
Unique space identifier generated by BCTRL.
expiresAt
RFC 3339 timestamp with a UTC offset.
metadata
runId
Unique run identifier generated by BCTRL.
runtimeId
Unique runtime identifier generated by BCTRL.
type
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error

