Records

Each time Rover reads a portal it stores a reading: every record it found, the documents they point to, and the pages it saw. Every answer tells you which reading it came from.

Readings

A reading belongs to one portal and, if you name one, one customer. Every record read returns these fields beside the answer:

  • asOf: when the reading was taken. Null when Rover has no reading for that portal yet.
  • coverage: how complete the reading was, from 0 to 100.
  • runId: the run that took it.

The HTTP answer wraps this in {"ok": true, "tool": "...", "says": "...", "answer": {...}}. says is a one-line caveat such as "as of 2026-09-24T06:10:00.000Z, coverage 92", ready to show a person.

A record

A record has a type (entity), a key and its values.

Record
FieldWhat it is
entityThe record type, such as vendor_invoices.
identityKeyThe key that stays the same across readings. For an invoice it is the printed invoice number.
identityvendor when the portal assigned the key, composite when Rover built it from several fields.
valuesField name to value. Every value is a string.
fromDocumentFields filled from a PDF rather than the page.
issuesFields Rover flagged, each with a code.
documentSha256The document this record cites, if any.

Reading records

All record reads are GET requests under /v1/portals/{host}, and each is also an MCP tool with the same arguments. Add customer to narrow to one customer.

Record reads
PathMCP toolAnswers
/recordslatest_recordsThe newest reading. Filter with entity and filters[field]=value, or pass asOf for an earlier one.
/historyrecord_historyEvery stored version of one record (entity and identity), oldest first, with the fields that changed.
/changeschangesRecords added or removed, and values that changed, between since and until. severity=notable keeps money, status, and accounts or services that appear or go away.
/searchsearchFull text over record values and the text of their documents.
/documents/{sha256}/textinvoice_textThe text of one document and the records that cite it.
/pagespage_searchFull text over the pages a run read, for details that have no field.
/pagepage_textOne of those pages as Markdown, by url or sha256.
/healthportal_healthWhether the portal is still being read: last run, how it ended, and why if it failed.
/coveragecoverageThe coverage of the newest reading and the ones before it.
terminal
curl -H "Authorization: Bearer $ROVER_TOKEN" \
  "https://rover.waste.dev/v1/portals/portal.example-hauler.test/changes?since=2026-09-01T00:00:00Z&severity=notable"

Documents

Invoice PDFs and statements are stored by the sha256 of their bytes. To download one, ask for a signed link and fetch it. The link needs no token and expires.

terminal
curl -H "Authorization: Bearer $ROVER_TOKEN" \
  https://rover.waste.dev/v1/documents/3b1f0c9e2d7a4b6c8e5f1a2d3c4b5a69788e7d6c5b4a39281706f5e4d3c2b1a0/link
# {"url": "<signed link>", "expiresAt": "2026-09-24T07:10:00.000Z"}

Record types and fields

Every portal is read into the same types and field names, so your code handles one shape for every hauler. A portal fills the fields it has. key marks the fields Rover uses to identify a record. GET /v1/fields returns each field's meaning and type, and GET /v1/portals/{host}/offers shows which fields one portal fills.

locations 20 fields
locations fields
FieldTypeValues
location_idkeyidentifier
namekeytext
site_referenceidentifier
address_line1text
address_line2text
citytext
statetext
postal_codetext
countrytext
service_addressaddress
property_typeenumcommercial multi_family unknown
statusenumactive inactive pending closed unknown
contact_nametext
contact_phonetext
contact_emailtext
service_instructionstext
active_services_countinteger
latitudedecimal
longitudedecimal
detail_urlurl
services 32 fields
services fields
FieldTypeValues
service_idkeyidentifier
location_refidentifier
vendor_account_refidentifier
service_typeenumcommercial device doorstep rolloff rental unknown
service_codetext
service_descriptiontext
material_typeenumtrash recycling organics cardboard yard_waste construction_debris scrap_metal glass electronics hazardous medical cooking_oil other unknown
container_typeenumbags barrels bulk bulk_bags compactor_apartment compactor_horizontal_baler compactor_self_contained compactor_stationary compactor_unknown compactor_vertical_baler cube drum dry_van_trailer fl_comp front_load gaylord hand_pickup large_tub metal_drum molok moving_floor_trailer open_top_compaction open_top_rolloff other pallets pioneer_monitor rear_load receiver_box rl_comp roll_top_rolloff self_dumper side_load split_front_load storage_container toilet toter trap vip unknown
container_quantityinteger
container_sizedecimal
container_size_unitenumyards gallons foot unknown
equipment_ididentifier
equipment_manufacturertext
schedule_typeenumscheduled on_call one_time unknown
schedule_frequencytext
schedule_daystext
schedule_rawtext
service_account_typeenumpermanent temporary unknown
statusenumdraft pending_activation active terminated suspended unknown
effective_datedate
termination_datedate
next_pickup_datedate
last_activity_datedate
base_ratemoney
base_rate_basisenumper_month per_week per_quarter per_year per_occurrence per_haul per_unit per_ton per_yard one_time unknown
per_occurrence_ratemoney
per_unit_ratemoney
included_unitsdecimal
billing_periodenummonthly bi_monthly quarterly yearly one_time per_vendor_invoice not_billable unknown
contract_refidentifier
detail_urlurl
labeltext
vendor_accounts 28 fields
vendor_accounts fields
FieldTypeValues
account_numberkeyidentifier
account_nametext
vendor_nametext
vendor_branchtext
parent_account_refidentifier
billing_address_line1text
billing_citytext
billing_statetext
billing_postal_codetext
billing_countrytext
billing_addressaddress
billing_emailtext
billing_contacttext
statusenumnew active suspended terminated closed overdue unknown
billing_frequencyenumnot_billable one_time per_service bi_monthly monthly quarterly yearly unknown
billing_typeenumahead arrears unknown
balancemoney
overdue_balancemoney
currencytext
payment_termstext
tax_exemptenumyes no unknown
autopayenumon off yes no true false 1 0 unknown
active_services_countinteger
last_invoice_datedate
next_invoice_datedate
termination_datedate
detail_urlurl
account_ididentifier
vendor_invoices 21 fields
vendor_invoices fields
FieldTypeValues
invoice_numberkeyidentifier
invoice_ididentifier
vendor_account_refidentifier
account_nametext
invoice_datedate
due_datedate
service_period_startdate
service_period_enddate
document_kindenuminvoice credit_memo statement adjustment payment unknown
currencytext
subtotalmoney
taxmoney
totalmoney
previous_balancemoney
paymentsmoney
adjustmentsmoney
amount_duemoney
statusenumopen sent delivered approved paid partially_paid past_due overdue delinquent void write_off disputed pending unknown
document_refurl
document_nametext
detail_urlurl
work_orders 32 fields
work_orders fields
FieldTypeValues
work_order_idkeyidentifier
hauler_referenceidentifier
service_refidentifier
location_refidentifier
vendor_account_refidentifier
route_numberidentifier
work_order_typetext
service_typetext
requested_actionenumempty_and_return bulk_item_removal commercial_bin_exchange delivery extra_pickup installation preventative_maintenance relocate remove_from_site other unknown
incident_typetext
request_reasontext
statusenumnew requested scheduled in_progress reported_completed cancelled failed unknown
priorityenumlow medium high unknown
request_datedate
requested_completion_datedate
scheduled_datedate
completed_datedate
occurred_rawtext
reported_relativetext
quantitydecimal
container_sizedecimal
activitytext
container_countinteger
quantity_unitenumeach haul pull ton short_ton metric_ton yard pound kilogram unknown
work_order_datedate
instructionstext
finishedtext
cancellation_reasontext
filed_bytext
sourcetext
on_site_contacttext
detail_urlurl
pickups 21 fields
pickups fields
FieldTypeValues
pickup_idkeyidentifier
work_order_refidentifier
service_refidentifier
location_refidentifier
activity_typeenumhaul extra_pickup bulk_removal delivery exchange removal relocate attempted_service unknown
outcomeenumcompleted partial missed failed cancelled unknown
actual_datedate
period_startdate
period_enddate
countinteger
materialenumtrash recycling organics cardboard yard_waste construction_debris scrap_metal glass electronics hazardous medical cooking_oil other unknown
container_sizetext
weightdecimal
weight_unitenumpounds kilograms short_tons metric_tons yards unknown
weight_basisenumactual estimated manual sensor unknown
disposal_methodenumcomposted incineration landfill recycling reuse unknown
disposal_facilitytext
ticket_refidentifier
ticket_documenturl
invoice_refidentifier
costmoney
documents 4 fields
documents fields
FieldTypeValues
periodkeytext
document_kindenumstatement invoice notice other
vendor_account_refidentifier
document_refurl
vendor_payments 8 fields
vendor_payments fields
FieldTypeValues
payment_datekeydate
payment_idkeyidentifier
amountmoney
vendor_account_refidentifier
invoice_refidentifier
payment_methodtext
statusenumposted pending scheduled failed returned reversed void unknown
detail_urlurl