{"openapi":"3.1.0","info":{"title":"SanatanIQ Public API","version":"1.0.0","summary":"Read-only access to SanatanIQ's scripture, temple, ritual, Sanskrit and panchang content.","description":"Authenticate with an API key issued by SanatanIQ. Every response carries a `license` block listing the attribution obligations on what it returns; developers who redistribute content must carry those forward. Keys are server-side secrets: do not call this API from a browser.","termsOfService":"https://sanataniq.com/developers/terms/","contact":{"name":"SanatanIQ","url":"https://sanataniq.com/developers/","email":"admin@wharfstreetstudios.com"}},"servers":[{"url":"https://api.sanataniq.com/api/public/v1","description":"Production (sq_live_ keys)"}],"security":[{"apiKey":[]},{"bearer":[]}],"tags":[{"name":"Account"},{"name":"Gita"},{"name":"Vedas"},{"name":"Upanishads"},{"name":"Puranas"},{"name":"Epics"},{"name":"Temples"},{"name":"Rituals"},{"name":"Shlokas"},{"name":"Sanskrit"},{"name":"Panchang","description":"Pro and Enterprise plans only. Has its own 15-minute budget per key."}],"x-rate-limits":{"free":{"perMinute":60,"perDay":1000,"panchangPer15Min":0},"pro":{"perMinute":600,"perDay":50000,"panchangPer15Min":120},"enterprise":{"perMinute":2000,"perDay":500000,"panchangPer15Min":600}},"paths":{"/me":{"get":{"summary":"The calling key, its plan, limits and today's usage","tags":["Account"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","properties":{"keyId":{"type":"integer"},"keyPrefix":{"type":"string"},"clientId":{"type":"integer"},"plan":{"type":"string","enum":["free","pro","enterprise"]},"limits":{"type":"object","properties":{"perMinute":{"type":"integer"},"perDay":{"type":"integer"},"panchangPer15Min":{"type":["integer","null"]}}},"usageToday":{"type":"integer"}}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/gita/chapters":{"get":{"summary":"List the 18 chapters","tags":["Gita"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/gita/chapters/{chapterNumber}":{"get":{"summary":"One chapter","tags":["Gita"],"parameters":[{"name":"chapterNumber","in":"path","required":true,"description":"1–18","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/gita/chapters/{chapterNumber}/verses":{"get":{"summary":"Verses of a chapter (Sanskrit, transliteration, word meanings, recitation URL)","tags":["Gita"],"parameters":[{"name":"chapterNumber","in":"path","required":true,"description":"1–18","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/gita/chapters/{chapterNumber}/verses/{verseNumber}":{"get":{"summary":"One verse with its approved translations and commentary","tags":["Gita"],"parameters":[{"name":"chapterNumber","in":"path","required":true,"description":"1–18","schema":{"type":"integer","minimum":1}},{"name":"verseNumber","in":"path","required":true,"description":"Verse within the chapter","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas":{"get":{"summary":"List the Vedas","tags":["Vedas"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/{slug}":{"get":{"summary":"Overview of a Veda","tags":["Vedas"],"parameters":[{"name":"slug","in":"path","required":true,"description":"e.g. rigveda, samaveda","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/{slug}/mandalas":{"get":{"summary":"Mandalas of a Veda","tags":["Vedas"],"parameters":[{"name":"slug","in":"path","required":true,"description":"e.g. rigveda","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/{slug}/mandalas/{mandalaNumber}":{"get":{"summary":"One mandala","tags":["Vedas"],"parameters":[{"name":"slug","in":"path","required":true,"description":"e.g. rigveda","schema":{"type":"string"}},{"name":"mandalaNumber","in":"path","required":true,"description":"1–10","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/{slug}/mandalas/{mandalaNumber}/suktas":{"get":{"summary":"Suktas of a mandala","tags":["Vedas"],"parameters":[{"name":"slug","in":"path","required":true,"description":"e.g. rigveda","schema":{"type":"string"}},{"name":"mandalaNumber","in":"path","required":true,"description":"1–10","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/{slug}/mandalas/{mandalaNumber}/suktas/{suktaNumber}":{"get":{"summary":"One sukta with its riks","tags":["Vedas"],"parameters":[{"name":"slug","in":"path","required":true,"description":"e.g. rigveda","schema":{"type":"string"}},{"name":"mandalaNumber","in":"path","required":true,"description":"1–10","schema":{"type":"integer","minimum":1}},{"name":"suktaNumber","in":"path","required":true,"description":"Sukta within the mandala","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/purvarcika":{"get":{"summary":"Samaveda Pūrvārcika kāṇḍas","tags":["Vedas"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/purvarcika/{kandaSlug}":{"get":{"summary":"One kāṇḍa","tags":["Vedas"],"parameters":[{"name":"kandaSlug","in":"path","required":true,"description":"Kāṇḍa slug","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/purvarcika/{kandaSlug}/mantras":{"get":{"summary":"Mantras of a kāṇḍa","tags":["Vedas"],"parameters":[{"name":"kandaSlug","in":"path","required":true,"description":"Kāṇḍa slug","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/purvarcika/{kandaSlug}/{mantraNumber}":{"get":{"summary":"One mantra","tags":["Vedas"],"parameters":[{"name":"kandaSlug","in":"path","required":true,"description":"Kāṇḍa slug","schema":{"type":"string"}},{"name":"mantraNumber","in":"path","required":true,"description":"Mantra number","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/uttararcika":{"get":{"summary":"Samaveda Uttarārcika prapāṭhakas","tags":["Vedas"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/uttararcika/{prapathakaNumber}":{"get":{"summary":"One prapāṭhaka","tags":["Vedas"],"parameters":[{"name":"prapathakaNumber","in":"path","required":true,"description":"Prapāṭhaka number","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/uttararcika/{prapathakaNumber}/mantras":{"get":{"summary":"Mantras of a prapāṭhaka","tags":["Vedas"],"parameters":[{"name":"prapathakaNumber","in":"path","required":true,"description":"Prapāṭhaka number","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/vedas/samaveda/uttararcika/{prapathakaNumber}/{mantraNumber}":{"get":{"summary":"One mantra","tags":["Vedas"],"parameters":[{"name":"prapathakaNumber","in":"path","required":true,"description":"Prapāṭhaka number","schema":{"type":"integer","minimum":1}},{"name":"mantraNumber","in":"path","required":true,"description":"Mantra number","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/epics":{"get":{"summary":"List the Epics (Ramayana, Mahabharata), read in public-domain English translations","tags":["Epics"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/epics/{slug}":{"get":{"summary":"One epic with its books (kandas or parvas)","tags":["Epics"],"parameters":[{"name":"slug","in":"path","required":true,"description":"ramayana or mahabharata","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/epics/{slug}/books/{bookNumber}":{"get":{"summary":"One book with its chapters (cantos or sections)","tags":["Epics"],"parameters":[{"name":"slug","in":"path","required":true,"description":"ramayana or mahabharata","schema":{"type":"string"}},{"name":"bookNumber","in":"path","required":true,"description":"Book number","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/epics/{slug}/books/{bookNumber}/chapters/{chapterNumber}":{"get":{"summary":"One chapter: English passages, translator's notes, prev/next and a link to the Sanskrit on Pramana","tags":["Epics"],"parameters":[{"name":"slug","in":"path","required":true,"description":"ramayana or mahabharata","schema":{"type":"string"}},{"name":"bookNumber","in":"path","required":true,"description":"Book number","schema":{"type":"integer","minimum":1}},{"name":"chapterNumber","in":"path","required":true,"description":"Chapter within the book","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/upanishads":{"get":{"summary":"List the Upanishads","tags":["Upanishads"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/upanishads/{id}":{"get":{"summary":"One Upanishad","tags":["Upanishads"],"parameters":[{"name":"id","in":"path","required":true,"description":"Upanishad id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/upanishads/{id}/passages":{"get":{"summary":"Passages of an Upanishad","tags":["Upanishads"],"parameters":[{"name":"id","in":"path","required":true,"description":"Upanishad id","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/upanishads/{id}/passages/{passageId}":{"get":{"summary":"One passage","tags":["Upanishads"],"parameters":[{"name":"id","in":"path","required":true,"description":"Upanishad id","schema":{"type":"integer","minimum":1}},{"name":"passageId","in":"path","required":true,"description":"Passage id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/puranas":{"get":{"summary":"List the Puranas","tags":["Puranas"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/puranas/{id}":{"get":{"summary":"One Purana","tags":["Puranas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Purana id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/puranas/{id}/stories":{"get":{"summary":"Stories of a Purana","tags":["Puranas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Purana id","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/puranas/{id}/stories/{storyId}":{"get":{"summary":"One story","tags":["Puranas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Purana id","schema":{"type":"integer","minimum":1}},{"name":"storyId","in":"path","required":true,"description":"Story id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/puranas/{id}/passages":{"get":{"summary":"Scriptural passages of a Purana","tags":["Puranas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Purana id","schema":{"type":"integer","minimum":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/puranas/{id}/passages/{passageId}":{"get":{"summary":"One passage","tags":["Puranas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Purana id","schema":{"type":"integer","minimum":1}},{"name":"passageId","in":"path","required":true,"description":"Passage id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/temples":{"get":{"summary":"Temples (published)","tags":["Temples"],"parameters":[{"name":"deity","in":"query","required":false,"description":"Filter by deity (contains)","schema":{"type":"string"}},{"name":"location","in":"query","required":false,"description":"Filter by location (contains)","schema":{"type":"string"}},{"name":"search","in":"query","required":false,"description":"Name, location or deity (contains)","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/temples/{id}":{"get":{"summary":"One temple","tags":["Temples"],"parameters":[{"name":"id","in":"path","required":true,"description":"Temple id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/rituals":{"get":{"summary":"Rituals (published)","tags":["Rituals"],"parameters":[{"name":"search","in":"query","required":false,"description":"Name, occasion or tag (contains)","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/rituals/{id}":{"get":{"summary":"One ritual","tags":["Rituals"],"parameters":[{"name":"id","in":"path","required":true,"description":"Ritual id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/shlokas":{"get":{"summary":"Shlokas with translation and recitation","tags":["Shlokas"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/shlokas/{id}":{"get":{"summary":"One shloka","tags":["Shlokas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shloka id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sanskrit/dictionary":{"get":{"summary":"Search the Sanskrit dictionary","tags":["Sanskrit"],"parameters":[{"name":"query","in":"query","required":false,"description":"Word, Devanagari or meaning (contains)","schema":{"type":"string"}},{"name":"category","in":"query","required":false,"description":"Exact category","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sanskrit/dictionary/{wordId}":{"get":{"summary":"One dictionary word","tags":["Sanskrit"],"parameters":[{"name":"wordId","in":"path","required":true,"description":"Word id","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panchang":{"get":{"summary":"Panchang for a date and city","tags":["Panchang"],"parameters":[{"name":"date","in":"query","required":true,"description":"The date (YYYY-MM-DD, within two years of today)","schema":{"type":"string","format":"date"}},{"name":"cityId","in":"query","required":true,"description":"City id from /panchang/cities","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panchang/cities":{"get":{"summary":"Supported cities","tags":["Panchang"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panchang/cities/{cityId}":{"get":{"summary":"One city","tags":["Panchang"],"parameters":[{"name":"cityId","in":"path","required":true,"description":"City id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panchang/history":{"get":{"summary":"Panchang for a date range (at most 92 days)","tags":["Panchang"],"parameters":[{"name":"cityId","in":"query","required":true,"description":"City id","schema":{"type":"string"}},{"name":"startDate","in":"query","required":true,"description":"Range start (YYYY-MM-DD, within two years of today)","schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":true,"description":"Range end (YYYY-MM-DD, within two years of today)","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panchang/observances":{"get":{"summary":"Ekadashi, Purnima, Amavasya, Pradosh, Sankranti and curated festivals for a range (at most 92 days)","tags":["Panchang"],"parameters":[{"name":"from","in":"query","required":true,"description":"Range start (YYYY-MM-DD, within two years of today)","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"Range end (YYYY-MM-DD, within two years of today)","schema":{"type":"string","format":"date"}},{"name":"city","in":"query","required":false,"description":"City id (default ujjain)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["success","data","meta","license"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"}}},"mediaExpiresAt":{"type":"string","format":"date-time","description":"Present when the response holds presigned media URLs; they stop working at this time."}}},"license":{"type":"object","required":["content","media"],"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}}}}}}}}},"400":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key revoked or expired, client suspended, or plan does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see the RateLimit header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"bearer":{"type":"http","scheme":"bearer","description":"The same key as a Bearer token."}},"schemas":{"Attribution":{"type":"object","required":["subject","license"],"properties":{"subject":{"type":"string"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"author":{"type":"string"},"source":{"type":"string"},"sourceUrl":{"type":"string","format":"uri"},"citation":{"type":"string","description":"Reproduce this text when attribution is required."},"shareAlike":{"type":"boolean","description":"Derivatives must carry the same licence (CC BY-SA)."}}},"Error":{"type":"object","required":["success","message"],"properties":{"success":{"type":"boolean","const":false},"message":{"type":"string"},"code":{"type":"string","enum":["API_KEY_INVALID","API_KEY_REVOKED","API_KEY_EXPIRED","API_CLIENT_SUSPENDED","PLAN_REQUIRED","FEATURE_DISABLED"]}}}}}}