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

# Search documents

> Search US filings or Indian annual reports and judgments while preserving source evidence.

Use the country-specific search endpoint so results cannot cross jurisdictions.

## Search US filings

```bash theme={"dark"}
curl --request POST "https://corpus-api.onera.app/us/search" \
  --header "X-API-KEY: $CORPUS_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"query":"supply chain concentration","limit":5}'
```

## Search Indian documents

```bash theme={"dark"}
curl --request POST "https://corpus-api.onera.app/india/search" \
  --header "X-API-KEY: $CORPUS_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"query":"related party transactions","limit":5}'
```

Results include document identity, source metadata, matched text, and location information. Keep those fields with quotations or model outputs so the evidence remains reproducible.
