Skip to main content
Returns a single version of a bill’s text, with its full extracted text. Parsagon extracts the text after collecting the version. Until then, text is null. To check whether the text is available without retrieving it, use the has_text field from List bill text versions.

Path parameters

string
required
The id of the bill.
string
required
The id of the text version, from List bill text versions.

Response

Returns the same fields as List bill text versions, plus text.
string
UUID of the text version.
string
The text version’s ID in the legislature’s own system.
string
Title of the text version, such as "HL Bill 57". Empty if unavailable.
string
Type of publication, as given by the legislature. Empty if unavailable.
string | null
When the text version was published (ISO 8601).
boolean
Whether this is the bill’s current text.
string
URL of the PDF version on the legislature’s website. Empty if unavailable.
string
URL of the HTML version on the legislature’s website. Empty if unavailable.
string
URL that Parsagon downloaded the text from. Empty if unavailable.
string | null
uuid of the "LEGISLATION" source that holds the extracted text. null until the text is extracted.
boolean
Whether the extracted text is available.
string | null
Full extracted text of the version. null until the text is extracted.

Errors