Skip to main content
GET
Get this section's change history

Authorizations

Authorization
string
header
required

API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_... (preferred).

Headers

Idempotency-Key
string | null

Optional. 16 to 255 visible ASCII characters (a UUIDv4 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's cacheQueryDerivedData retention setting off, no body is stored and a retry answers 409 idempotency_replay_unavailable, still without a second charge.

Required string length: 16 - 255
Pattern: ^[\x21-\x7e]+$
Example:

"3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f"

Path Parameters

act_id
string
required

Section identifier, e.g. USC_T42_C21_S1983 (42 U.S.C. § 1983). Take it from a /us/statutes/search, /resolve or /divisions result; do not assemble one. A citation such as 42 USC 1983 also works and adds the /resolve price (see GET /us/statutes/section/{actId}). State session laws (SSL_ ids) are read at /us/session-laws/{sessionLawId}.

Required string length: 3 - 200
Example:

"CFR_T21_P314_S314_50"

Query Parameters

limit
integer
default:50

Max changes to return on this page.

Required range: 1 <= x <= 200
Example:

50

sinceId
integer | null

Return only changes with an id greater than this: the cursor for polling forward into new changes. Implies order=asc: a forward cursor read newest-first would return the newest limit rows and skip the ones between. Ids are a monotonic sequence, so this is exact, immune to clock skew, and cannot drop two changes that share a timestamp. Carry cursor forward.

Required range: 0 <= x <= 9223372036854776000
beforeId
integer | null

Return only changes with an id less than this: the cursor for walking BACK through history, which is what a newest-first reader needs. Pass the smallest id on your last page.

Required range: 0 <= x <= 9223372036854776000
changeKind
enum<string>[] | null

Filter to these kinds. Repeat the parameter to pass several (?changeKind=amended&changeKind=removed). Omit for all three.

Available options:
added,
amended,
removed
order
enum<string>
default:desc

desc (default) is newest first, the natural reading order for a history. Use asc to replay a section's life forward, or when catching up from a cursor.

Available options:
asc,
desc

Response

The section's captured change history, newest first.

Response for GET /us/statutes/section/{act_id}/changes.

actId
string
required

The act_id of the section served. Equal to your request unless resolvedFrom is set, in which case it is the id your citation or cleaned-up input resolved to.

Example:

"CFR_T21_P314_S314_50"

coverage
string
required

What this history can and cannot tell you, in one sentence. Change capture began well after the corpus itself did and is swept on a retention window, so this endpoint reports the changes we OBSERVED in that window, never the section's full legislative history. Read it before treating an empty list as 'unchanged'.

Example:

"Observed changes only, from when capture began for this source through today, retained 5 years. Not a full legislative history."

section
StatuteResult · object | null

The section as it stands today. NULL is meaningful and not an error: it means the section is no longer in the corpus, which is exactly the case when the newest change is a removed. The history below is still the answer.

changes
StatuteChangeEvent · object[]

Observed changes, newest first by default. Empty is a real answer, and it means NO CAPTURED CHANGE, not that the section has never been amended. See coverage.

total
integer
default:0

Size of changes on this page, not a corpus-wide count: it is capped by limit.

Example:

3

hasMore
boolean
default:false

True only when at least one more change sits behind this page: the route reads one row past limit, so a section with exactly limit changes answers false. Page with beforeId (walking back) or sinceId (walking forward) rather than by raising limit.

cursor
integer | null

Highest id on this page, or null when the page is empty. Carry it into sinceId to poll for what is new; keep the one you hold when a page comes back empty.

Example:

91

observedFrom
string | null

The earliest change we ever captured for this section: the OBSERVATION HORIZON this history sits on. Read it before treating an empty or short list as the section's full history.

Null means we have never captured a change for this section, so an empty changes list is not evidence that it is stable. A non-null value with an empty list means your filters or cursor excluded everything we hold, which is a different answer.

coverage states the same caveat in prose. This is the fact behind it, and it is the same field, meaning the same thing, as asOf.observedFrom on GET /section/{actId}/body.

Example:

"2026-08-14T04:10:00Z"

captureBeganAt
string | null

When change capture began for this section's whole CORPUS: the earliest change event we hold for any section of the same source. observedFrom is the horizon for this one section; this is the horizon for its source, and it is what tells an empty changes list ('capture had begun and nothing moved') from 'capture began after the amendments you care about'. Null when it could not be determined (for example no event has ever been captured for the source).

Example:

"2026-06-18T04:10:00Z"

note
string | null

Present when the first (unfiltered) page of the log is empty: says that the log covers only changes Vaquill's own refreshes recorded, not legislative history, and points to the section record's amendmentHistory and, for a state section, GET /us/statutes/section/{actId}/enactments (state session laws only). Also present, even on a non-empty first page, when the publisher's amendmentYears include years that pre-date captureBeganAt: those amendments are real but are not in this log. Null when you are paging with a cursor or a filter.

Example:

"No change to this section has been captured. This log only covers changes Vaquill's own refreshes observed."

resolvedFrom
SectionIdentifierResolution · object | null

Null when the section is exactly the act_id you sent. Otherwise how your input was matched: a citation, or an act_id with transport damage (whitespace, quotes, a trailing period) removed. When your citation named a supported container (a regulation series, constitution article, Indiana chapter or Illinois article) or several sections, the section served is the FIRST of them and matchLevel says so, as on GET /us/statutes/resolve.

processingTimeMs
number
default:0

Server-side time for this request in milliseconds, excluding network transit. Useful for spotting a slow query; not billed on.

Example:

18.4

creditsConsumed
number
default:0

Credits actually charged for this call. Read it rather than assuming the list price: failed and refunded work bills 0.

Example:

1