history
Its versions, newest first, with the days each wording applied, where each was read, and the amendments each names.
A provision’s historyDeterministicREST: GET /api/v1/history
Example
Call
{
"tool": "history",
"as_of": "2015-01-01",
"citation": "BC Employment Standards Act, s. 3"
}Response
{
"match": "exact",
"instrument": {
"id": "01969bd5-f1e8-4599-a208-96153c99781a",
"official_id": "96113",
"kind": "act",
"jurisdiction": "bc",
"citation": "RSBC 1996, c. 113",
"title_en": "Employment Standards Act",
"title_fr": null,
"publisher_url": "https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/96113_01"
},
"provision": {
"id": "8379cf72-6b2f-418e-82f7-2afeec915243",
"path": "3",
"label": "s. 3"
},
"as_of": "2015-01-01",
"versions": [
{
"id": "49ff4aa4-8967-48ab-a072-b3fb9cf7c86c",
"current": false,
"wording_from": "2019-05-30",
"wording_basis": "replaced",
"wording_to": null,
"origin": "consolidation",
"status": "in_force",
"reason": "consolidated",
"in_force_on": null,
"consolidated_at": "2026-09-22",
"source": {
"kind": "consolidation",
"citation": "RSBC 1996, c. 113",
"url": "https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/96113_01",
"current_to": "2026-09-22",
"read_at": "2026-11-04T10:43:18.447Z"
},
"amendments": [
{
"kind": "statute",
"by": {
"id": "7cfa9bd9-5ba5-4759-8ae3-74cd897c6618",
"citation": "SBC 2024, c. 2",
"url": "https://www.bclaws.gov.bc.ca/civix/document/id/hstats/hstats/60845568",
"held": true
},
"amending_provision": "1",
"default_applied": null,
"made_in": null,
"in_effect_by": null,
"in_force_on": "2024-04-22",
"dated_by": "consolidation",
"date_source": {
"kind": "consolidation",
"citation": "RSBC 1996, c. 113",
"url": "https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/96113_01",
"current_to": "2026-09-22",
"read_at": "2026-11-04T10:43:18.447Z"
},
"date_reason": null
}
],
"amendments_unread": 0
},
{
"id": "b80f2cb2-3382-4fe2-9499-5badab2cbaab",
"current": true,
"wording_from": "2002-05-30",
"wording_basis": "replaced",
"wording_to": "2019-05-30",
"origin": "point_in_time",
"status": "in_force",
"reason": "consolidated",
"in_force_on": null,
"consolidated_at": "2019-05-30",
"source": {
"kind": "point_in_time",
"citation": "RSBC 1996, c. 113",
"url": "https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/96113_pit",
"current_to": "2019-05-30",
"read_at": "2026-09-30T15:49:21.686Z"
},
"amendments": [],
"amendments_unread": 0
}
],
"earliest": "2002-05-30",
"earliest_basis": "point_in_time",
"candidates": []
}Asked on 30 November 2026. Lists are cut to their first two entries, and meta, which every answer carries, is left out here: see the dates policy.
Parameters
| Name | Type | Description |
|---|---|---|
| citation | string, optional | As /resolve, naming a provision. Pass this or id, not both. |
| id | uuid, optional | A provision's id. |
| jurisdiction | string, optional | As /resolve. |
| as_of | date, optional | Marks the version that applies on this day (current). Defaults to today in Toronto. |
| include_sources | boolean, optional | false drops each amendment's date_source; the version's own source stays. One of: true, false. |
How a citation is matched
The same citation always gets the same answer, however it is written.
- Write it the way the jurisdiction does. Any form on the citation forms page works, in English or French, with or without full stops and spaces:
s. 2 (1) (a),art. 2,2-36.1,65D(1). - Say which jurisdiction when the title is shared. Several provinces have an Employment Standards Act. Pass
jurisdiction, name the province in the citation, or cite a provision only one of them has. - Close matches come back as choices. A misspelt or shortened title returns the likely Acts with what tells them apart: jurisdiction, year, chapter. Your assistant picks the right one.
- No match means no match. You get
not_foundwith up to five nearest titles, never a guess, and the call does not count against your quota.
Statuses and reasons
The answer's own values, so a client can branch on them:
matchexact · instrument_only · ambiguous · not_foundearliest_basispoint_in_time · consolidation · law_in_forceWhether the earliest version comes from the publisher's own point-in-time document, from Legisail's first read of the consolidation, or (law_in_force) is a provision's one wording, which no note names an amendment to, dated from the day its law came into force.| HTTP status | When |
|---|---|
| 200 | The history, or the choices when the reference named several instruments or none. |
| 400 | A parameter is missing or not valid; field names it. |
| 401 | No key, or a key that is not valid or has been revoked. |
| 403 | A jurisdiction outside the key's scope, or an evaluation key after its last day. |
| 404 | No such route. |
| 429 | Over the key's limit for the minute, or for the day where the key has one; a day ends at midnight Pacific time. Retry-After gives the seconds to wait. |
| 500 | Legisail's fault, recorded; or a response withheld because it would have carried wording. |
Where the date comes from
- Every date names its source document and the day we read it. If two publishers print one, both are returned and the official edition is marked.
- A statutory default (an Interpretation Act's “in force on assent”) is returned as
default_appliedwith the section relied on. It is never presented as a printed fact. - A date no publisher prints is
nullwith a reason. We do not infer from a bill's text or a model.
Same answer over REST
curl "https://legisail.com/api/v1/history?as_of=2015-01-01&citation=BC+Employment+Standards+Act,+s.+3" \ -H "Authorization: Bearer $LEGISAIL_KEY"
Responses carry X-Legisail-Version, the API version, and X-Legisail-Data-Revision, the position of the record they were read from. Breaking changes get thirty days' notice in the changelog; old ids resolve forever.