Skip to main content

Document attributes representing a generated or uploaded file

category
string

Document category

file_name
string | null

Name of the file (populated when status is available)

file_path
string | null

Storage path of the file

file_type
string | null

MIME type of the file (e.g., text/csv, application/pdf)

status
enum<string>

Current status of the document

Available options:
queued,
processing,
available,
failed
user_id
integer

ID of the user who owns the document