# 3. Search Full-Text Tribunal Orders (NCLT / ITAT / NCDRC / DRT / SAT)
> Query Vidhi's 11,230 full-text embedded tribunal orders across 12 specialized Bharat tribunals and read sectioned bodies.
Source URL: /docs/recipes/search-tribunal-orders

**Problem:** Many legal datasets store only tribunal PDF stubs or headnotes. Vidhi embeds **11,230 full-text tribunal orders** across **12 Bharat tribunals &amp; regulators** (`NCLT`, `NCLAT`, `ITAT`, `NCDRC`, `DRT`, `CCI`, `SAT`, `RERA`, `CESTAT`, `CAT`, `NGT`, `TDSAT` — query `GET /api/v1/in/courts` for the authoritative live registry) for semantic + FTS retrieval and section-structured reading.

| Step | Endpoint | Scope | Credits |
|---|---|---|---|
| 1. List tribunal forum codes | `GET /api/v1/in/courts` | `corpus:read` | 0 |
| 2. Search tribunal orders | `POST /api/v1/in/cases/search` | `corpus:read` | 2 |
| 3. Read structured judgment body | `GET /api/v1/in/cases/{id}/body?format=sections` | `corpus:read` | 3 (refunded if `complete: false`) |

## Implementation [#implementation]

<Tabs items={["cURL","Python (vidhi)","TypeScript (@vidhi/sdk)","Go CLI (vidhi)"]}>
<Tab value="cURL">
```bash
# 1. Inspect available tribunal codes
curl -sS https://api.vidhi.shamik.app/api/v1/in/courts \
  -H "Authorization: Bearer $VIDHI_API_KEY"

# 2. Search across full-text tribunal orders
curl -sS -X POST https://api.vidhi.shamik.app/api/v1/in/cases/search \
  -H "Authorization: Bearer $VIDHI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "IBC section 14 moratorium operational creditor pre-existing dispute",
    "forum_type": "tribunal",
    "court_codes": ["NCLT", "NCLAT"],
    "limit": 5
  }'

# 3. Fetch full sectioned body (auto-refunds if incomplete)
curl -sS "https://api.vidhi.shamik.app/api/v1/in/cases/918442/body?format=sections" \
  -H "Authorization: Bearer $VIDHI_API_KEY"
```
</Tab>

<Tab value="Python (vidhi)">
```python
from vidhi import Vidhi

client = Vidhi()
tribunals = [c.court_code for c in client.courts().courts if c.forum_type == "tribunal"]
hits = client.cases.search(
    query="IBC section 14 moratorium operational creditor pre-existing dispute",
    forum_type="tribunal",
    court_codes=tribunals[:2],
    limit=5,
)
body = client.cases.body(hits.items[0].id, format="sections")
print(body.text_reliability, body.complete, len(body.sections))
```
</Tab>

<Tab value="TypeScript (@vidhi/sdk)">
```ts
import { VidhiClient } from "@vidhi/sdk";

const client = new VidhiClient({ apiKey: process.env.VIDHI_API_KEY! });
const { courts } = await client.courts();
const tribunalCodes = courts.filter((c) => c.forum_type === "tribunal").map((c) => c.court_code);

const hits = await client.cases.search({
  query: "IBC section 14 moratorium operational creditor pre-existing dispute",
  forum_type: "tribunal",
  court_codes: tribunalCodes,
  limit: 5,
});

const body = await client.cases.body(hits.items[0].id, { format: "sections" });
console.log(body.text_reliability, body.complete, body.sections?.length);
```
</Tab>

<Tab value="Go CLI (vidhi)">
```bash
vidhi courts --json
vidhi search "IBC section 14 moratorium operational creditor pre-existing dispute" \
  --forum-type tribunal --limit 5 --json
vidhi case body 918442 --format sections --json
```
</Tab>
</Tabs>

## Verified Response Excerpt (`/cases/{id}/body?format=sections`) [#verified-response-excerpt-casesidbodyformatsections]

```json
{
  "id": "918442",
  "format": "sections",
  "text": "NATIONAL COMPANY LAW APPELLATE TRIBUNAL...",
  "sections": [
    { "section_type": "facts", "start_offset": 240, "end_offset": 1980, "confidence": 0.91, "method": "classifier_v3" },
    { "section_type": "decision", "start_offset": 6120, "end_offset": 8410, "confidence": 0.95, "method": "classifier_v3" }
  ],
  "text_reliability": "born_digital",
  "ocr_recovered": false,
  "complete": true
}
```