> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get case by cnr

> You know a case's CNR (e.g. DLND010000012024, printed on court notices, orders and cause lists) and need its current status, parties, hearing history or order list.

## Request contract

* **Method and path:** POST /apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/services-ecourts-gov-in.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "services-ecourts-gov-in.court-cases.get-case-by-cnr",
  "method": "POST",
  "path": "/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "cnr": "DLND010000012024"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "cnr": {
              "description": "16-character CNR: 2-letter state, 2-letter establishment, 2-digit court, 6-digit serial, 4-digit year (e.g. DLND010000012024). Pattern: ^[A-Za-z]{4}[0-9]{12}$.",
              "type": "string"
            }
          },
          "required": [
            "cnr"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/services-ecourts-gov-in.json POST /apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr
openapi: 3.1.0
info:
  description: ''
  title: India eCourts district court services
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    services-ecourts-gov-in:
      description: ''
      title: India eCourts district court services
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: d0e0f512b577c26f3ec9199fd028f75181f3b4879640453a889701764626a401
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr
    - /apis/v1/services-ecourts-gov-in/court-cases/list-court-complexes
    - /apis/v1/services-ecourts-gov-in/court-cases/list-districts
    - /apis/v1/services-ecourts-gov-in/court-cases/list-establishments
    - /apis/v1/services-ecourts-gov-in/court-cases/list-states
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:c52252121d2b5509b7c2123db8a128d3dc8251ef1946f4194b26ec2e3defcc3a
    facts_hash: d0e0f512b577c26f3ec9199fd028f75181f3b4879640453a889701764626a401
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: services-ecourts-gov-in
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr:
    post:
      tags:
        - India eCourts district court services
      summary: Get case by cnr
      description: >-
        You know a case's CNR (e.g. DLND010000012024, printed on court notices,
        orders and cause lists) and need its current status, parties, hearing
        history or order list.
      operationId: services-ecourts-gov-in.court-cases.get-case-by-cnr
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  cnr: DLND010000012024
            schema:
              additionalProperties: true
              properties:
                cnr:
                  description: >-
                    16-character CNR: 2-letter state, 2-letter establishment,
                    2-digit court, 6-digit serial, 4-digit year (e.g.
                    DLND010000012024). Pattern: ^[A-Za-z]{4}[0-9]{12}$.
                  type: string
              required:
                - cnr
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-05.
                  summary: Official provider example
                  value:
                    acts:
                      - act: Recovery of Money
                        sections: '1908'
                    case_stage: null
                    case_status: Case disposed
                    case_type: Misc DJ - MISC. CASES FOR DJ and ADJ
                    cnr: DLND010000012024
                    court_name: District and Sessions Judge,New Delhi, PHC
                    court_number_and_judge: 52-District Judge-01
                    decision_date: 03rd January 2024
                    disposed: true
                    efiling_date: null
                    efiling_number: null
                    filing_date: 02-01-2024
                    filing_number: 1/2024
                    final_orders:
                      - details: COPY OF JUDICIAL PROCEEDINGS
                        has_document_link: false
                        order_date: 03-01-2024
                        order_number: '2'
                    first_hearing_date: 02nd January 2024
                    history:
                      - business_on_date: 03-01-2024
                        hearing_date: null
                        judge: District Judge-01
                        purpose: Disposed
                      - business_on_date: 02-01-2024
                        hearing_date: 03-01-2024
                        judge: District Judge-01
                        purpose: Consideration
                    interim_orders:
                      - details: COPY OF JUDICIAL PROCEEDINGS
                        has_document_link: false
                        order_date: 02-01-2024
                        order_number: '1'
                    nature_of_disposal: Uncontested--DISPOSED
                    next_hearing_date: null
                    observed_at_ms: 1791171237119
                    petitioners:
                      - advocates:
                          - ASHOK KUMAR BAHL
                        name: STATE BANK OF INDIA
                        serial: '1'
                    registration_date: 02-01-2024
                    registration_number: 1/2024
                    respondents:
                      - advocates: []
                        name: RAJNI KANTA AND ORS
                        serial: '1'
                    source_url: >-
                      https://services.ecourts.gov.in/ecourtindia_v6/?p=cnr_status/index
                    status_fields:
                      - label: First Hearing Date
                        value: 02nd January 2024
                      - label: Decision Date
                        value: 03rd January 2024
                      - label: Case Status
                        value: Case disposed
                      - label: Nature of Disposal
                        value: Uncontested--DISPOSED
                      - label: Court Number and Judge
                        value: 52-District Judge-01
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Public case status record of a district-court case identified by its
            16-character CNR (ep-view-cnr-history, cnr_status/viewCNRHistory).
            No CAPTCHA is involved: the portal answers this call with the full
            record once a session is open. Returns the court, case type,
            filing/registration/e-filing numbers and dates, the status block
            (first hearing, next hearing or decision date, case stage or nature
            of disposal, court number and judge; every row is also kept verbatim
            in status_fields), petitioners and respondents with their advocates,
            acts and sections, the hearing history and the interim and final
            order rows. Dates are kept exactly as the portal prints them
            (dd-mm-yyyy in tables, '02nd January 2024' in the status block). An
            unknown CNR is not_found.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `acts` | object[] |  |

            | `case_stage` | string | Pending cases only, e.g. 'Pre-Charge
            Evidence'. |

            | `case_status` | string | Disposed cases print 'Case disposed';
            pending cases have no such row (null). |

            | `case_type` | string | '<short> - <long>' as printed, e.g. 'Misc
            DJ - MISC. CASES FOR DJ and ADJ'. |

            | `cnr` | string | The CNR as the portal prints it (upper case). |

            | `court_name` | string | Court establishment heading, e.g.
            'District and Sessions Judge,New Delhi, PHC'. |

            | `court_number_and_judge` | string | e.g. '52-District Judge-01'. |

            | `decision_date` | string | Disposed cases only. |

            | `disposed` | boolean | true when the status block carries a
            Decision Date or a 'disposed' Case Status. |

            | `efiling_date` | string | null when the portal prints '-'. |

            | `efiling_number` | string | null when the portal prints the row
            blank. |

            | `filing_date` | string | dd-mm-yyyy as printed. |

            | `filing_number` | string |  |

            | `final_orders` | object[] | Empty for pending cases. |

            | `first_hearing_date` | string | As printed in the status block,
            e.g. '02nd January 2024'. |

            | `history` | object[] |  |

            | `interim_orders` | object[] |  |

            | `nature_of_disposal` | string | Disposed cases only, e.g.
            'Uncontested--DISPOSED'. |

            | `next_hearing_date` | string | Pending cases only. |

            | `observed_at_ms` | number |  |

            | `petitioners` | object[] |  |

            | `registration_date` | string | dd-mm-yyyy as printed. |

            | `registration_number` | string |  |

            | `respondents` | object[] |  |

            | `source_url` | string | The portal's CNR search page; the record
            itself is only reachable through the session-bound POST. |

            | `status_fields` | object[] | Every row of the status block
            verbatim, in page order. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.