The NAMASTE endpoints expose the loaded traditional Indian medicine codes covering Ayurveda, Siddha, and Unani systems. Codes are loaded from the bundledDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sagar-grv/ayush-synapse/llms.txt
Use this file to discover all available pages before exploring further.
sample-namaste.csv file and persisted to the database on application startup. All responses return plain JSON — no authentication token is required in demo mode.
GET /namaste — List All NAMASTE Codes
Returns the complete set of NAMASTE codes currently loaded in the database. Method:GETPath:
/namasteAuth: None required (open in demo mode)
Query Parameters
This endpoint accepts no query parameters. To search or filter, useGET /api/search.
Response
Returns a JSON array of NAMASTE code objects.Unique NAMASTE code identifier, e.g.
NAM-001.Human-readable name for the condition, e.g.
Common Cold.Clinical definition of the condition, e.g.
An upper respiratory tract infection caused by various viruses.AYUSH medical system this code belongs to. One of
Ayurveda, Siddha, or Unani.Example
Response
GET /namaste/{code} — Get a Specific NAMASTE Code
Returns the full detail record for a single NAMASTE code identified by its code string. Method:GETPath:
/namaste/{code}Auth: None required (open in demo mode)
Path Parameters
The NAMASTE code identifier to retrieve, e.g.
NAM-001. Must match a code stored in the database exactly (case-sensitive).Response
Returns a single NAMASTE code object on success.Unique NAMASTE code identifier.
Human-readable name for the condition.
Clinical definition of the condition.
AYUSH medical system:
Ayurveda, Siddha, or Unani.404 Response
Example
Response — 200 OK
Sample NAMASTE Codes
The following codes are included insample-namaste.csv and are loaded at startup. The table below shows the first six entries spanning all three AYUSH systems.
| Code | Display | System |
|---|---|---|
| NAM-001 | Common Cold | Ayurveda |
| NAM-002 | Headache | Ayurveda |
| NAM-003 | Fever | Ayurveda |
| NAM-004 | Joint Pain | Siddha |
| NAM-005 | Digestive Issues | Unani |
| NAM-006 | Skin Rash | Ayurveda |
NAMASTE codes are loaded from
sample-namaste.csv at application startup. The CSV uses four columns in this order: code, display, definition, system. The bundled file ships with 100 codes: 24 Ayurveda, 45 Siddha, and 31 Unani entries. System assignments are not strictly sequential — for example, NAM-004 is Siddha and NAM-005 is Unani, both appearing within the first six rows. If the database already contains NAMASTE codes on startup, the CSV load is skipped and the existing rows are used instead.