FileResp
- contentType: string
Type requiredMIME type of the file's bytes (e.g.,
application/pdf,image/png). - createdType: stringFormat: date-time
At requiredISO 8601 / RFC 3339 timestamp of the file's reservation.
- downloadType: string
Url requiredTime-limited URL for fetching the file's bytes directly from cloud storage. Pre-authorized — issue a plain
GET(do not attach anAuthorization: Bearerheader; the URL carries short-lived credentials in its query string and the storage backend rejects extra auth headers). If it expires, callGET /files/{fileId}again for a fresh one. - idType: string
Pattern: ^f_[0-9a-z]{26}$requiredCanonical, immutable identifier for this file. Prefixed lowercase ULID, e.g.
f_01jv8m7qfj6xj9gkz7a4s2h8e. - nameType: stringrequired
Display name for the file, as supplied at upload time.
- statusType: stringenumrequired
uploadingwhile the upload-URL is reserved but bytes haven't landed;availableonce the bytes are stored and the file can be referenced elsewhere.values- uploading
- available
- updatedType: stringFormat: date-time
At requiredISO 8601 / RFC 3339 timestamp of the most recent change (e.g., upload completion).
- hashType: string
SHA-256 hash of the file's bytes, as supplied by the uploader at request time. Returned only when the uploader provided one.
- hashType: string
Algorithm Algorithm used to compute
hash(e.g.,sha256). - sizeType: integer
Size of the file in bytes, when known.
