curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"actId": "IND_state_20326",
"citation": "The Maharashtra Value Added Tax Act, 2002.",
"terms": [
{
"term": "certificate of entitlement",
"sectionNumber": "88"
},
{
"term": "eligibility certificate",
"sectionNumber": "88"
}
],
"total": 36,
"returned": 3,
"page": 1,
"pageSize": 3,
"hasMore": true,
"definitionSections": [],
"totalDefinitionSections": 0,
"meta": {
"processingTimeMs": 530.6,
"creditsConsumed": 2
}
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}Terms this act defines
The terms an act defines, and the provision that defines them.
Cost: 2 credits. Refunded when the act holds no extracted definitions, because the caller asked for definitions and did not get any.
⚠️ Coverage is thin and stated rather than implied: extracted defined terms
exist for about 11.8% of served acts. An empty answer here means we did not
extract them, NOT that the act defines nothing. definitionSections is
returned separately so you can read the defining provision directly even when
no terms were extracted from it.
terms is paged with page + pageSize, because a long definitions clause is
long: one act carries 23,550 stored term entries, and this route used to report
an honest total beside a list silently cut to 100 with no way to ask for row
101. definitionSections is short and is NOT paged, so it repeats in full on
every page.
curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vaquill.ai/api/v1/in/acts/{act_id}/definitions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"actId": "IND_state_20326",
"citation": "The Maharashtra Value Added Tax Act, 2002.",
"terms": [
{
"term": "certificate of entitlement",
"sectionNumber": "88"
},
{
"term": "eligibility certificate",
"sectionNumber": "88"
}
],
"total": 36,
"returned": 3,
"page": 1,
"pageSize": 3,
"hasMore": true,
"definitionSections": [],
"totalDefinitionSections": 0,
"meta": {
"processingTimeMs": 530.6,
"creditsConsumed": 2
}
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}Authorizations
API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_...
Path Parameters
Act identifier, as returned by search, /list or /resolve.
1 - 200^[a-zA-Z0-9_-]+$"IND_central_2114"
Query Parameters
1-based page number.
x >= 11
Rows per page (1-100). Defaults to 25.
1 <= x <= 10025
DEPRECATED alias for pageSize, kept working for clients written against the original shape. Send one or the other, not both.
1 <= x <= 10025
Response
Successful Response
Distinct terms this act defines, across all pages. Not rows on this page: that is returned.
Rows in terms on THIS page.
1-based page this response answers.
Rows per page requested.
True when a further page of terms exists.
Definition clauses found, before the cap on rows. Larger than len(definitionSections) only in the pathological case.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Provisions identified as definition clauses. Returned separately so a defining provision is reachable even when no terms were extracted from it. NOT paged: this list is short, and page moves terms only, so it is repeated in full on every page.
Show child attributes
Show child attributes
Was this page helpful?

