Judgments
India Judgments
Call GET /india/judgments on the Corpus API.
GET /india/judgments
Call GET /india/judgments on the Corpus API.
Category: India · Judgments
Authentication
Send the provisioned API key in the X-API-KEY header.
Required scopes: india:read, litigation:read.
Request
| Name | In | Required | Type | Constraints | Description |
|---|---|---|---|---|---|
| court_level | query | no | string | null | — | — |
| court | query | no | string | null | — | — |
| year | query | no | integer | null | — | — |
| query | query | no | string | null | — | — |
| as_of | query | no | string | null | — | — |
| limit | query | no | integer | default 100; min 1; max 1000 | — |
| offset | query | no | integer | default 0; min 0 | — |
Example request
curl --request GET \
--url 'https://corpus-api.onera.app/india/judgments?query=What+were+the+principal+risk+factors%3F&limit=100' \
--header "X-API-KEY: ${CORPUS_API_KEY}"
Responses
| Status | Description | Content type | Schema |
|---|---|---|---|
| 200 | Successful Response | application/json | JudgmentsResponse |
| 400 | Invalid parameter combination | application/json | ErrorResponse |
| 401 | Missing or invalid API key | application/json | ErrorResponse |
| 403 | Insufficient jurisdiction or scope | application/json | ErrorResponse |
| 404 | Unknown resource | application/json | ErrorResponse |
| 422 | Request schema validation failed | application/json | ErrorResponse |
| 429 | Rate limit exceeded | application/json | ErrorResponse |
| 503 | Source content is unavailable or still processing | application/json | ErrorResponse |
Representative 200 response
{
"judgments": [
{
"judgment_id": "judgment-example",
"has_pdf": true,
"has_text": true,
"court_level": "string",
"court": "string",
"bench": "string",
"case_title": "string",
"case_number": "string",
"cnr": "string",
"judges": "string",
"disposal_nature": "string",
"registration_date": "2025-12-31",
"decision_date": "2025-12-31",
"year": 1,
"details": {},
"knowledge_time": "2025-12-31T23:59:59Z"
}
],
"meta": {
"jurisdiction": "IN",
"count": 1,
"limit": 10,
"offset": 0,
"next_offset": null,
"as_of": "2025-12-31T23:59:59Z",
"normalization_version": "string",
"provenance": {}
}
}