# 5-Minute Quickstart
> Inspect Bharat corpus coverage, run hybrid case search, and check live citator standing in under five minutes.
Source URL: /docs/guide/quickstart

Export your Cohort 1 Bearer API key (`vdh_live_<32_hex>` or `vdh_test_<32_hex>`). Never pass `X-Firm-ID` — tenant identity is resolved exclusively on the server via SHA-256 hash lookup.

```bash
export VIDHI_API_KEY="vdh_live_0123456789abcdef0123456789abcdef"
```

## Step 1 — Check Live Coverage (0 Credits) [#step-1--check-live-coverage-0-credits]

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

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

client = Vidhi(api_key=os.environ["VIDHI_API_KEY"])
coverage = client.coverage()
print(coverage.jurisdiction, coverage.total_cases, coverage.statutes_count)
```
</Tab>

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

const client = new VidhiClient({ apiKey: process.env.VIDHI_API_KEY! });
const coverage = await client.coverage();
console.log(coverage.jurisdiction, coverage.total_cases, coverage.statutes_count);
```
</Tab>

<Tab value="Go CLI (vidhi)">
```bash
vidhi auth login --key "$VIDHI_API_KEY"
vidhi coverage
```
</Tab>
</Tabs>

## Step 2 — Run Hybrid Case Search (2 Credits) [#step-2--run-hybrid-case-search-2-credits]

Search combines `Qwen3-4B` (2560d) dense embeddings with PostgreSQL full-text search via Reciprocal Rank Fusion (RRF). Set `include_intelligence: true` to receive pre-extracted `ratio_decidendi` and `key_findings` inline.

<Tabs items={["cURL","Python (vidhi)","TypeScript (@vidhi/sdk)","Go CLI (vidhi)"]}>
<Tab value="cURL">
```bash
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": "Section 138 Negotiable Instruments Act legally enforceable debt",
    "forum_type": "supreme_court",
    "include_intelligence": true,
    "limit": 5
  }'
```
</Tab>

<Tab value="Python (vidhi)">
```python
results = client.cases.search(
    query="Section 138 Negotiable Instruments Act legally enforceable debt",
    forum_type="supreme_court",
    include_intelligence=True,
    limit=5,
)
for item in results.items:
    print(item.id, item.citation, item.title)
```
</Tab>

<Tab value="TypeScript (@vidhi/sdk)">
```ts
const results = await client.cases.search({
  query: "Section 138 Negotiable Instruments Act legally enforceable debt",
  forum_type: "supreme_court",
  include_intelligence: true,
  limit: 5,
});
for (const item of results.items) {
  console.log(item.id, item.citation, item.title);
}
```
</Tab>

<Tab value="Go CLI (vidhi)">
```bash
vidhi search "Section 138 Negotiable Instruments Act legally enforceable debt" \
  --forum-type supreme_court --intelligence --limit 5 --json
```
</Tab>
</Tabs>

## Step 3 — Check Later Court Treatment (2 Credits) [#step-3--check-later-court-treatment-2-credits]

Always check citator standing before relying on a precedent returned by search:

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

<Tab value="Python (vidhi)">
```python
citator = client.citations.citator("122965")
print(citator.later_court_treatment.status, citator.later_court_treatment.basis_case_ids)
```
</Tab>

<Tab value="TypeScript (@vidhi/sdk)">
```ts
const citator = await client.citations.citator("122965");
console.log(citator.later_court_treatment.status, citator.later_court_treatment.basis_case_ids);
```
</Tab>

<Tab value="Go CLI (vidhi)">
```bash
vidhi case citator 122965
```
</Tab>
</Tabs>

## Local Worktree Testing [#local-worktree-testing]

When testing locally against a `dev:wt <slot>` stack (for example slot 1 at `http://localhost:8081`), point `VIDHI_API_BASE` to `http://localhost:8081` and authenticate with a provisioned `vdh_test_` key.