resolve
What a citation, title or id names: the Act, regulation, statute or bill, and the provision where one is cited, with candidates when the match is not exact.
Resolve a citationDeterministicREST: GET /api/v1/resolve
Example
Call
{
"tool": "resolve",
"citation": "L.R.C. (1985), ch. L-2, art. 7"
}Response
{
"match": "exact",
"instrument": {
"id": "44d42efd-6d55-48fc-a053-93f3899731ce",
"official_id": "L-2",
"kind": "act",
"jurisdiction": "federal",
"citation": "R.S.C., 1985, c. L-2",
"title_en": "Canada Labour Code",
"title_fr": "Code canadien du travail",
"publisher_url": "https://laws-lois.justice.gc.ca/eng/acts/L-2/index.html"
},
"provision": {
"id": "34c19a13-022c-4a80-8159-2974286a77c5",
"path": "7",
"label": "s. 7"
},
"unresolved_path": null,
"citation": {
"en": "Canada Labour Code, R.S.C., 1985, c. L-2, s. 7",
"fr": "Code canadien du travail, L.R.C. (1985), ch. L-2, art. 7"
},
"status": "in_force",
"coverage": {
"provisions": true,
"current_to": "2026-10-30",
"read_at": "2026-11-18T06:18:42.802Z"
},
"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 | The citation or title. Pass this or id, not both. |
| id | uuid, optional | An instrument's or provision's id from an earlier answer. |
| jurisdiction | enum, optional | Bounds the match, for a title several jurisdictions share ("Employment Standards Act"). Must lie inside the key's scope. One of: federal, ontario, quebec, bc, alberta, saskatchewan, manitoba, new-brunswick, nova-scotia, prince-edward-island, newfoundland-and-labrador, yukon, northwest-territories, nunavut. |
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:
statusproposed · enacted · partly_in_force · in_force · repealed · withdrawn · placeholderThe instrument's lifecycle status as Legisail holds it. in_force asks about a day.matchexact · instrument_only · ambiguous · not_foundexact: the instrument and, if one was cited, the provision. instrument_only: the instrument resolved and the cited provision did not (unresolved_path names it; check coverage.provisions). ambiguous: several instruments, in candidates; pass jurisdiction or cite a provision only one holds. not_found: nothing we hold; candidates are the nearest titles, offered as choices, never as a match.| HTTP status | When |
|---|---|
| 200 | The resolution, whatever its match. |
| 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. |
Same answer over REST
curl "https://legisail.com/api/v1/resolve?citation=L.R.C.+(1985),+ch.+L-2,+art.+7" \ -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.