Homepage

PrivateFile

Last edit: Nov 10, 2026

File stored in a legacy attachment property. Deprecated, use property uploads

type PrivateFile {
  content_type: String
  created_at: JSONDate
  file_name: String
  id: ID
  name: String
  size_bytes: Int
  url(expires_in: Int = 900): String
}

Fields

content_type (String)

MIME type guessed from the file extension; application/octet-stream when unknown

created_at (JSONDate)

Timestamp of when the object was created, set automatically by the system

file_name (String)

File name

id (ID)

Unique identifier of the object

name (String)

Name of the attachment property

size_bytes (Int)

File size in bytes

url (String)

URL of the file. For private files it is a signed URL valid for expires_in seconds

  • expires_in (Int)

Number of seconds before presigned URL expires. Max value is one week (604800)

Questions?

We are always happy to help with any questions you may have.

contact us