Skip to content
ไทย
This project is under early active development. The API and schema may have breaking changes several times without prior notice before the first official public release. Read changelog

The timestamps query tells when data in Politigraph last changed, and when the automation system on GitHub Actions last scraped data successfully.

query {
timestamps {
lastNodeUpdatedAt
lastVoteEventScrapedAt
lastBillScrapedAt
}
}

Every field is a UTC timestamp, and is null when there is no data yet.

Field Meaning
lastNodeUpdatedAt The last time any node was added or edited, whether by the automation system or our team
lastVoteEventScrapedAt The last successful scrape of votes (VoteEvent and Vote) by the automation system
lastBillScrapedAt The last successful scrape of bills (Bill and its BillEvent) by the automation system

These values are cached for up to an hour, so they may lag slightly behind.