Skip to main content
POST
/
api
/
v1
/
research
/
search
Search the legal corpus (US + India)
curl --request POST \
  --url https://api.vaquill.ai/api/v1/research/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{ "data": { "results": [ { "id": "4687948", "content": "[Cite as Leonhardt v. Akron, 2019-Ohio-5223.]\\n\\nSTATE OF OHIO ... APPEAL FROM JUDGMENT ENTERED IN THE COURT OF COMMON PLEAS COUNTY OF SUMMIT...", "title": "Leonhardt v. Akron", "court": "Ohio Court of Appeals", "year": 2019, "citation": "2019 Ohio 5223", "score": 88.05, "snippet": "[Cite as Leonhardt v. Akron, 2019-Ohio-5223.] STATE OF OHIO ... NINTH JUDICIAL DISTRICT...", "metadata": { "pdfUrl": "https://app.vaquill.ai/research/cases/4687948", "decisionDate": "2019-12-18" } } ] }, "meta": { "total": 21571, "page": 1, "pageSize": 3, "totalPages": 7191, "processingTimeMs": 1568.5, "query": "qualified immunity AND excessive force", "creditsConsumed": 2, "creditsRemaining": 88339 } }

Documentation Index

Fetch the complete documentation index at: https://vaquill.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued from the Vaquill developer dashboard. Pass as Authorization: Bearer vq_key_...

Body

application/json

Request body for external research search.

query
string
required

Boolean search query. Supports AND, OR, NOT operators and quoted phrases.

Required string length: 1 - 10000
Example:

"murder AND conviction"

filters
SearchFilters · object

Optional filters to narrow results.

page
integer
default:1

Page number for pagination (max 50).

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

1

pageSize
integer
default:20

Results per page (1-100).

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

20

Response

Search results. Field shape is the same for US and India; metadata fields populated depend on jurisdiction.

Top-level response for external search.

data
SearchData · object
required

Wrapper for search results.

meta
SearchMeta · object
required

Metadata for search response.