One file of a documents run. url is a fresh signed link on every read and expires after 7 days; storage_key and sha256 identify the file for good.

path
string
required

The document's path within the run, stable across runs.

storage_key
string | null

Where the file is stored. With sha256, identifies the file for good.

url
string | null

A signed link to download the file, valid for 7 days. Fresh on every read.

source_url
string
default:""

Where the source publishes the document.

display_name
string
default:""

What the source calls the document, exactly as published. Changes when the source retitles it.

scope_key
string
default:""

Which part of the source the document belongs to.

category
string
default:""

The heading the document sits under on the source's site. Empty when there is none.

content_type
string | null

The file's type, for example application/pdf.

bytes
integer | null

The file's size.

sha256
string | null

The SHA-256 of the file. A different value means different content.

status
string
default:ok

ok, failed, accepted_missing or not_published (the source lists it but does not serve it).

change
string | null

new, changed, unchanged or removed since your previous run. Null when unknown.

error
string | null

Why the download failed, when status is failed.