Skip to content

File

A file attachment.

PropertyTypeRequiredDescription
downloadUrl url Yes The file's download URL.
name string Yes The file's name.
description string No The file's description.
sizeInBytes number No The file's size in bytes.
mimeType string No The file's MIME type.
createdAt utcDateTime Yes The timestamp (in UTC) at which the record was created.
lastModifiedAt utcDateTime Yes The timestamp (in UTC) at which the record was last modified.

A JSON example of this model.

{
"downloadUrl": "https://example.com/file.pdf",
"name": "example.pdf",
"description": "A PDF file with instructions",
"sizeInBytes": 1000,
"mimeType": "application/pdf",
"createdAt": "2025-01-01T17:01:01.000Z",
"lastModifiedAt": "2025-01-02T17:30:00.000Z"
}
Version Changes
0.2.0
  • Added File model