> For the complete documentation index, see [llms.txt](https://ecourtsindia.gitbook.io/ecourtsindia-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ecourtsindia.gitbook.io/ecourtsindia-docs/search.md).

# Search

Solr full-text search with 40+ filters.

## Search cases

> Solr full-text search across metadata, AI summaries and full order text. 40+ filters. Max PageSize 100; loop Page until hasNextPage is false. Quote phrases for exact match; AND/OR/NOT uppercase. Use Litigants for party-only search.

```json
{"openapi":"3.0.3","info":{"title":"eCourtsIndia API","version":"4.0"},"tags":[{"name":"Search","description":"Solr full-text search with 40+ filters."}],"servers":[{"url":"https://webapi.ecourtsindia.com","description":"Partner API"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"eci_live_...","description":"Your API key from https://ecourtsindia.com/dashboard/settings"}}},"paths":{"/api/partner/search":{"get":{"tags":["Search"],"summary":"Search cases","description":"Solr full-text search across metadata, AI summaries and full order text. 40+ filters. Max PageSize 100; loop Page until hasNextPage is false. Quote phrases for exact match; AND/OR/NOT uppercase. Use Litigants for party-only search.","responses":{"200":{"description":"Success","content":{"application/json":{}}}},"parameters":[{"name":"Query","in":"query","required":false,"schema":{"type":"string"},"description":"Full-text query"},{"name":"Litigants","in":"query","required":false,"schema":{"type":"string"},"description":"Party names (both sides)"},{"name":"CourtCodes","in":"query","required":false,"schema":{"type":"string"},"description":""},{"name":"CaseTypes","in":"query","required":false,"schema":{"type":"string"},"description":""},{"name":"FilingYears","in":"query","required":false,"schema":{"type":"string"},"description":""},{"name":"Page","in":"query","required":false,"schema":{"type":"string"},"description":""},{"name":"PageSize","in":"query","required":false,"schema":{"type":"string"},"description":""},{"name":"IncludeFacetCounts","in":"query","required":false,"schema":{"type":"string"},"description":""}]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ecourtsindia.gitbook.io/ecourtsindia-docs/search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
