# Remedies for one dosha

`GET https://api.astroway.info/v1/vedic/remedies/by-dosha`

Remedies of one dosha (`dosha`: mangal, kaal-sarp, pitru, sade-sati, grahan, shrapit, guru-chandal, kemadruma). `classicalStatus` says whether the dosha itself is in the classical texts; `specific` holds the rites written for it or for its nearest classical trigger (BPHS 83 curses, BPHS 91 eclipse birth), each noting what it was written for; `grahaRemedies` holds the remedies of the grahas it is defined over; `detection` names the route that checks a chart for it. Optional `type` filter.

Group: Vedic. Auth: `X-Api-Key` header. Operation ID: `vedic_remedies_by-dosha_get`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `dosha` | query | yes | "mangal" \| "kaal-sarp" \| "pitru" \| "sade-sati" \| "grahan" \| "shrapit" \| "guru-chandal" \| "kemadruma" | The dosha, lowercase and hyphenated. |
| `type` | query | no | string | Remedy type, or a comma list of them: mantra, puja, deity, yantra, rudraksha, fasting, charity, colour, gemstone, lal-kitab. All types when omitted. |
| `fields` | query | no | string | Comma-separated dotted paths, relative to `data`, to keep in the response. A path is applied to every element of an array, so `planets.name` means the name of each planet. Paths that match nothing come back in `_fields_unmatched`; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer. |
| `precision` | query | no | integer | Round every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute. |

## Responses

| Status | Meaning |
|---|---|
| 200 | Successful calculation |
| 400 | Validation error |
| 401 | Missing or invalid API key |

### Success fields, under `data`

| Field | Type | Required | Description |
|---|---|---|---|
| `dosha` | string | no |  |
| `name` | string | no |  |
| `classicalStatus` | string | no |  |
| `grahas` | string[] | no |  |
| `detection` | object | no |  |
| `detection.method` | string | no |  |
| `detection.path` | string | no |  |
| `detection.note` | string | no |  |
| `specific` | object[] | no |  |
| `related` | object[] | no |  |
| `grahaRemedies` | object[] | no |  |
| `basisNote` | string | no |  |
| `disclaimer` | string | no |  |

## Example

```bash
curl -X GET https://api.astroway.info/v1/vedic/remedies/by-dosha?dosha=sade-sati \
  -H "X-Api-Key: aw_live_..." \
  -H "Content-Type: application/json"
```

---

Rendered from https://api.astroway.info/v1/openapi.json. HTML page: https://api.astroway.info/docs/api/operations/vedic_remedies_by-dosha_get/
