{
  "info": {
    "_postman_id": "32e83e92-d45d-71f6-9dcf-9d214688f037",
    "name": "96Astro API: AI interpretation",
    "description": "AI-written readings and answers grounded in chart, report or Vastu data the service computes.\n\n**Endpoints** (`POST /v1/ai/{capability}`, 10 in this family):\n\n- **Floor-Plan Auto-Detect (Vision)** (`vastu-vision-detect`): An AI vision model proposes a floor plan from a picture of it (PNG, JPEG or WebP): outline, centre, rooms, structures and main entrance in pixel coordinates, shaped as vastu-analyse input, with a confidence note.\n- **Vastu Defect Explanation (AI)** (`vastu-explain-defect`): An AI-written explanation of one Vastu defect in sections, with its remedies explained.\n- **Vastu Remedy Ranking (AI)** (`vastu-rank-remedies`): AI picks the top three actions across all defects and remedy tiers, each with what it addresses, effort and timeframe, and a summary.\n- **AI Reading: Structured reading** (`ai-insight`): An AI-written reading of a birth chart, grounded in chart data the service computes from the birth (or in one report named in `context`); choose persona, tier and language.\n- **AI Reading: Chat answer** (`ai-chat`): An AI answer to a question about a birth chart, with earlier turns as history; grounded in chart data the service computes from the birth (or in one report named in `context`).\n- **AI Reading: Custom lens** (`ai-lens`): An AI-written reading of a birth chart through one lens (career, marriage, wealth, health, spiritual or year ahead), grounded in chart data the service computes from the birth.\n- **AI Reading: General question** (`ai-general`): An AI answer to a general astrology question, grounded in chart data the service computes from the birth (or in one report named in `context`); choose persona, tier and language.\n- **AI Relocation Answer** (`location-ai-analysis`): An AI-written answer to a relocation question, grounded in the cities the service ranks for the birth (and KP analysis of the top ones); returns the answer and the ranked cities.\n- **AI Chat for a Couple** (`ai-match-chat`): An AI answer about two people, with earlier turns as history; grounded in their computed matching report.\n- **AI Chat, Western** (`ai-western-chat`): An AI answer about a birth chart in the tropical tradition, with earlier turns as history; grounded in the computed Western report.",
    "version": "1.0.0",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{api_key}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.96astroapi.com",
      "type": "string"
    },
    {
      "key": "api_key",
      "value": "",
      "type": "string"
    },
    {
      "key": "job_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "download_url",
      "value": "",
      "type": "string"
    },
    {
      "key": "image_url",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Floor-Plan Auto-Detect (Vision)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"image_base64\": \"iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAAAAABQyaazAAAAgklEQVR42u3bQQoAIAgEQP//6fpCBsFWs2fBEbyJNcJTgICAgIDXACspgIeAp/aouvWAgICAgICAgICAgICAgICAgICAgICAgICAgICAgGsN0+/F4cCNgQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE7QA/QbwMzAwgICPg7cAJxuHlDZty0owAAAABJRU5ErkJggg==\",\n  \"mime_type\": \"image/png\",\n  \"tier\": \"fast\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/vastu-vision-detect",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "vastu-vision-detect"
          ]
        },
        "description": "An AI vision model proposes a floor plan from a picture of it (PNG, JPEG or WebP): outline, centre, rooms, structures and main entrance in pixel coordinates, shaped as vastu-analyse input, with a confidence note.\n\n- **Endpoint:** `POST /v1/ai/vastu-vision-detect`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 500; Balanced 60 to 2,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en` (English; add `labels` for translated term names)\n\n### Body parameters\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `image_base64` | string | Yes | The photo or image file (a palm, a face or a floor plan), base64-encoded (a `data:image/...;base64,` prefix is accepted). PNG, JPEG or WebP; at most 3.75 MiB decoded and 8000 px a side. Min length 1, max length 5400000. |\n| `mime_type` | string | No | The image's type. Required unless image_base64 is a data: URI; must match the file. Allowed: `image/png`, `image/jpeg`, `image/webp`. May be `null`. |\n| `tier` | string | No | fast (Claude Haiku) or balanced (Sonnet). Sets the price range. Allowed: `fast`, `balanced`. Default: `fast`. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"image_base64\": \"iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAAAAABQyaazAAAAgklEQVR42u3bQQoAIAgEQP//6fpCBsFWs2fBEbyJNcJTgICAgIDXACspgIeAp/aouvWAgICAgICAgICAgICAgICAgICAgICAgICAgICAgGsN0+/F4cCNgQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE7QA/QbwMzAwgICPg7cAJxuHlDZty0owAAAABJRU5ErkJggg==\",\n  \"mime_type\": \"image/png\",\n  \"tier\": \"fast\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/vastu-vision-detect",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "vastu-vision-detect"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"plan\": {\n      \"boundary\": [\n        [\n          10,\n          10\n        ],\n        [\n          150,\n          10\n        ],\n        [\n          150,\n          110\n        ],\n        [\n          10,\n          110\n        ]\n      ],\n      \"north\": {\n        \"degrees\": 0\n      },\n      \"centre\": [\n        80,\n        60\n      ],\n      \"rooms\": [\n        {\n          \"name\": \"Room 1\",\n          \"polygon\": [\n            [\n              100,\n              10\n            ],\n            [\n              150,\n              10\n            ],\n            [\n              150,\n              60\n            ],\n            [\n              100,\n              60\n            ]\n          ]\n        }\n      ],\n      \"structures\": []\n    },\n    \"main_entrance\": null,\n    \"north_hint\": \"unknown\",\n    \"image\": {\n      \"width\": 160,\n      \"height\": 120\n    },\n    \"confidence\": {\n      \"level\": \"low\",\n      \"note\": \"Proposed by an AI vision model (claude-haiku-4-5-20251001) from the image alone; the model rated its reading low. Coordinates are image pixels. Check every outline before running vastu-analyse: rooms and structures can be missed, merged or mislabelled, and north and scale are not known from a drawing.\",\n      \"model_notes\": \"The drawing has no labels, door openings or north arrow.\"\n    },\n    \"tier\": \"fast\"\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [\n      \"1 room(s) have no recognised type: they are kept untyped (reported, not scored).\",\n      \"No north arrow was read from the plan: north is set to the top. Set plan.north.degrees.\"\n    ],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 842,\n      \"output_tokens\": 261\n    }\n  }\n}"
        }
      ]
    },
    {
      "name": "Vastu Defect Explanation (AI)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"defect\": {\n    \"key\": \"toilet_in_NE\",\n    \"title\": \"Toilet placed in NE\",\n    \"severity\": \"severe\",\n    \"has_remedy\": true\n  },\n  \"remedies\": {\n    \"defect\": \"Toilet placed in NE\",\n    \"severity\": \"severe\",\n    \"priority\": 1,\n    \"free\": [\n      {\n        \"action\": \"Keep toilet door closed at all times\",\n        \"effort\": \"low\",\n        \"cost_inr\": 0\n      }\n    ],\n    \"objects\": [\n      {\n        \"action\": \"Hang a 9-rod metal wind-chime outside toilet entrance\",\n        \"effort\": \"low\",\n        \"cost_inr\": 400\n      }\n    ],\n    \"structural\": [\n      {\n        \"action\": \"Relocate toilet to W or NW corner\",\n        \"effort\": \"very high\",\n        \"cost_inr\": 80000\n      }\n    ]\n  },\n  \"dasha\": {\n    \"mahadasha\": \"Jupiter\",\n    \"antardasha\": \"Saturn\"\n  },\n  \"tier\": \"fast\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/vastu-explain-defect",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "vastu-explain-defect"
          ]
        },
        "description": "An AI-written explanation of one Vastu defect in sections, with its remedies explained.\n\n- **Endpoint:** `POST /v1/ai/vastu-explain-defect`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en` (English; add `labels` for translated term names)\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `defect` | object | Yes | One entry of vastu-analyse data.defects, as it came. |\n| `defect.key` | string | No | The defect's key (empty when no remedy is written for it). Max length 80. Default: `\"\"`. |\n| `defect.title` | string | Yes | e.g. 'Toilet placed in NE'. Min length 1, max length 300. |\n| `defect.severity` | string | Yes | Allowed: `severe`, `poor`, `mixed`. |\n| `defect.has_remedy` | boolean | No | As in vastu-analyse; not used. May be `null`. |\n| `remedies` | object | No | The data.remedies entry for this defect (its 'defect' equals the defect's title), as it came. With it, the explanation says why each remedy works. May be `null`. |\n| `remedies.defect` | string | Yes | Title of the defect these remedies are for. Min length 1, max length 300. |\n| `remedies.severity` | string | Yes | Allowed: `severe`, `poor`, `mixed`. |\n| `remedies.priority` | integer | No | 1 = most urgent. Min 1, max 5. May be `null`. |\n| `remedies.free` | array of object | No | Max 5 items. |\n| `remedies.free[].action` | string | Yes | Min length 1, max length 200. |\n| `remedies.free[].effort` | string | No | Allowed: `low`, `medium`, `high`, `very high`. Default: `low`. |\n| `remedies.free[].cost_inr` | integer | No | Min 0, max 10000000. Default: `0`. |\n| `remedies.objects` | array of object | No | Max 5 items. |\n| `remedies.objects[].action` | string | Yes | Min length 1, max length 200. |\n| `remedies.objects[].effort` | string | No | Allowed: `low`, `medium`, `high`, `very high`. Default: `low`. |\n| `remedies.objects[].cost_inr` | integer | No | Min 0, max 10000000. Default: `0`. |\n| `remedies.structural` | array of object | No | Max 5 items. |\n| `remedies.structural[].action` | string | Yes | Min length 1, max length 200. |\n| `remedies.structural[].effort` | string | No | Allowed: `low`, `medium`, `high`, `very high`. Default: `low`. |\n| `remedies.structural[].cost_inr` | integer | No | Min 0, max 10000000. Default: `0`. |\n| `dasha` | object | No | The running dasha, to relate the defect to the chart. May be `null`. |\n| `dasha.mahadasha` | string | Yes | Allowed: `Sun`, `Moon`, `Mercury`, `Venus`, `Mars`, `Jupiter`, `Saturn`, `Rahu`, `Ketu`. |\n| `dasha.antardasha` | string | No | Allowed: `Sun`, `Moon`, `Mercury`, `Venus`, `Mars`, `Jupiter`, `Saturn`, `Rahu`, `Ketu`. May be `null`. |\n| `dasha.mahadasha_end` | string | No | Accepted; not used. Format: date. May be `null`. |\n| `dasha.antardasha_end` | string | No | Accepted; not used. Format: date. May be `null`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `fast`. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"defect\": {\n    \"key\": \"toilet_in_NE\",\n    \"title\": \"Toilet placed in NE\",\n    \"severity\": \"severe\",\n    \"has_remedy\": true\n  },\n  \"remedies\": {\n    \"defect\": \"Toilet placed in NE\",\n    \"severity\": \"severe\",\n    \"priority\": 1,\n    \"free\": [\n      {\n        \"action\": \"Keep toilet door closed at all times\",\n        \"effort\": \"low\",\n        \"cost_inr\": 0\n      }\n    ],\n    \"objects\": [\n      {\n        \"action\": \"Hang a 9-rod metal wind-chime outside toilet entrance\",\n        \"effort\": \"low\",\n        \"cost_inr\": 400\n      }\n    ],\n    \"structural\": [\n      {\n        \"action\": \"Relocate toilet to W or NW corner\",\n        \"effort\": \"very high\",\n        \"cost_inr\": 80000\n      }\n    ]\n  },\n  \"dasha\": {\n    \"mahadasha\": \"Jupiter\",\n    \"antardasha\": \"Saturn\"\n  },\n  \"tier\": \"fast\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/vastu-explain-defect",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "vastu-explain-defect"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"defect\": {\n      \"key\": \"toilet_in_NE\",\n      \"title\": \"Toilet placed in NE\",\n      \"severity\": \"severe\"\n    },\n    \"sections\": [\n      {\n        \"heading\": \"Why it matters\",\n        \"text\": \"The north-east (Ishanya) is the zone of water and clarity. A toilet here is treated in Vastu as the most serious placement defect.\"\n      },\n      {\n        \"heading\": \"What you can do\",\n        \"text\": \"Keep the toilet door closed at all times. A 9-rod metal wind-chime outside the entrance is the usual object remedy. The structural fix is to relocate the toilet to the west or north-west.\"\n      },\n      {\n        \"heading\": \"With your running dasha\",\n        \"text\": \"Jupiter, your Mahadasha lord, rules the north-east, so this zone deserves attention during the Jupiter-Saturn period.\"\n      }\n    ],\n    \"text\": \"Why it matters\\n\\nThe north-east (Ishanya) is the zone of water and clarity. A toilet here is treated in Vastu as the most serious placement defect.\\n\\nWhat you can do\\n\\nKeep the toilet door closed at all times. A 9-rod metal wind-chime outside the entrance is the usual object remedy. The structural fix is to relocate the toilet to the west or north-west.\\n\\nWith your running dasha\\n\\nJupiter, your Mahadasha lord, rules the north-east, so this zone deserves attention during the Jupiter-Saturn period.\",\n    \"tier\": \"fast\",\n    \"remedies_explained\": 3,\n    \"dasha_used\": true\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 612,\n      \"output_tokens\": 288\n    }\n  }\n}"
        }
      ]
    },
    {
      "name": "Vastu Remedy Ranking (AI)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"remedies\": [\n    {\n      \"defect\": \"Toilet placed in NE\",\n      \"severity\": \"severe\",\n      \"priority\": 1,\n      \"free\": [\n        {\n          \"action\": \"Keep toilet door closed at all times\",\n          \"effort\": \"low\",\n          \"cost_inr\": 0\n        }\n      ],\n      \"objects\": [\n        {\n          \"action\": \"Hang a 9-rod metal wind-chime outside toilet entrance\",\n          \"effort\": \"low\",\n          \"cost_inr\": 400\n        }\n      ],\n      \"structural\": [\n        {\n          \"action\": \"Relocate toilet to W or NW corner\",\n          \"effort\": \"very high\",\n          \"cost_inr\": 80000\n        }\n      ]\n    },\n    {\n      \"defect\": \"Brahmasthan (central area) is blocked\",\n      \"severity\": \"poor\",\n      \"priority\": 2,\n      \"free\": [\n        {\n          \"action\": \"Clear all clutter, furniture, partitions from central area\",\n          \"effort\": \"medium\"\n        }\n      ],\n      \"objects\": [\n        {\n          \"action\": \"Place a brass kalash or Vastu Purusha symbol at center\",\n          \"cost_inr\": 800\n        }\n      ],\n      \"structural\": []\n    }\n  ],\n  \"goal\": \"wealth\",\n  \"tier\": \"fast\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/vastu-rank-remedies",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "vastu-rank-remedies"
          ]
        },
        "description": "AI picks the top three actions across all defects and remedy tiers, each with what it addresses, effort and timeframe, and a summary.\n\n- **Endpoint:** `POST /v1/ai/vastu-rank-remedies`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en` (English; add `labels` for translated term names)\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `remedies` | array of object | Yes | vastu-analyse data.remedies, as it came. Min 1 items, max 40 items. |\n| `remedies[].defect` | string | Yes | Title of the defect these remedies are for. Min length 1, max length 300. |\n| `remedies[].severity` | string | Yes | Allowed: `severe`, `poor`, `mixed`. |\n| `remedies[].priority` | integer | No | 1 = most urgent. Min 1, max 5. May be `null`. |\n| `remedies[].free` | array of object | No | Max 5 items. |\n| `remedies[].free[].action` | string | Yes | Min length 1, max length 200. |\n| `remedies[].free[].effort` | string | No | Allowed: `low`, `medium`, `high`, `very high`. Default: `low`. |\n| `remedies[].free[].cost_inr` | integer | No | Min 0, max 10000000. Default: `0`. |\n| `remedies[].objects` | array of object | No | Max 5 items. |\n| `remedies[].objects[].action` | string | Yes | Min length 1, max length 200. |\n| `remedies[].objects[].effort` | string | No | Allowed: `low`, `medium`, `high`, `very high`. Default: `low`. |\n| `remedies[].objects[].cost_inr` | integer | No | Min 0, max 10000000. Default: `0`. |\n| `remedies[].structural` | array of object | No | Max 5 items. |\n| `remedies[].structural[].action` | string | Yes | Min length 1, max length 200. |\n| `remedies[].structural[].effort` | string | No | Allowed: `low`, `medium`, `high`, `very high`. Default: `low`. |\n| `remedies[].structural[].cost_inr` | integer | No | Min 0, max 10000000. Default: `0`. |\n| `defects` | array of object | No | vastu-analyse data.defects, as it came (optional). Max 100 items. |\n| `defects[].key` | string | No | The defect's key (empty when no remedy is written for it). Max length 80. Default: `\"\"`. |\n| `defects[].title` | string | Yes | e.g. 'Toilet placed in NE'. Min length 1, max length 300. |\n| `defects[].severity` | string | Yes | Allowed: `severe`, `poor`, `mixed`. |\n| `defects[].has_remedy` | boolean | No | As in vastu-analyse; not used. May be `null`. |\n| `dasha` | object | No | The running dasha; defects in its zones rank higher. May be `null`. |\n| `dasha.mahadasha` | string | Yes | Allowed: `Sun`, `Moon`, `Mercury`, `Venus`, `Mars`, `Jupiter`, `Saturn`, `Rahu`, `Ketu`. |\n| `dasha.antardasha` | string | No | Allowed: `Sun`, `Moon`, `Mercury`, `Venus`, `Mars`, `Jupiter`, `Saturn`, `Rahu`, `Ketu`. May be `null`. |\n| `dasha.mahadasha_end` | string | No | Accepted; not used. Format: date. May be `null`. |\n| `dasha.antardasha_end` | string | No | Accepted; not used. Format: date. May be `null`. |\n| `goal` | string | No | The life goal to favour. Allowed: `career`, `marriage`, `wealth`, `spiritual`, `health`, `education`, `peace`, `children`, `property`, `romance`, `fame`, `foreign`, `travel`, `politics`, `arts`. May be `null`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"remedies\": [\n    {\n      \"defect\": \"Toilet placed in NE\",\n      \"severity\": \"severe\",\n      \"priority\": 1,\n      \"free\": [\n        {\n          \"action\": \"Keep toilet door closed at all times\",\n          \"effort\": \"low\",\n          \"cost_inr\": 0\n        }\n      ],\n      \"objects\": [\n        {\n          \"action\": \"Hang a 9-rod metal wind-chime outside toilet entrance\",\n          \"effort\": \"low\",\n          \"cost_inr\": 400\n        }\n      ],\n      \"structural\": [\n        {\n          \"action\": \"Relocate toilet to W or NW corner\",\n          \"effort\": \"very high\",\n          \"cost_inr\": 80000\n        }\n      ]\n    },\n    {\n      \"defect\": \"Brahmasthan (central area) is blocked\",\n      \"severity\": \"poor\",\n      \"priority\": 2,\n      \"free\": [\n        {\n          \"action\": \"Clear all clutter, furniture, partitions from central area\",\n          \"effort\": \"medium\"\n        }\n      ],\n      \"objects\": [\n        {\n          \"action\": \"Place a brass kalash or Vastu Purusha symbol at center\",\n          \"cost_inr\": 800\n        }\n      ],\n      \"structural\": []\n    }\n  ],\n  \"goal\": \"wealth\",\n  \"tier\": \"fast\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/vastu-rank-remedies",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "vastu-rank-remedies"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"top3\": [\n      {\n        \"rank\": 1,\n        \"action\": \"Keep toilet door closed at all times\",\n        \"matched\": true,\n        \"addresses\": \"Toilet placed in NE\",\n        \"tier\": \"free\",\n        \"cost_inr\": 0,\n        \"effort\": \"low\",\n        \"timeframe\": \"today\",\n        \"rationale\": \"Free, immediate, and it contains the most severe defect first.\"\n      },\n      {\n        \"rank\": 2,\n        \"action\": \"Clear all clutter, furniture, partitions from central area\",\n        \"matched\": true,\n        \"addresses\": \"Brahmasthan (central area) is blocked\",\n        \"tier\": \"free\",\n        \"cost_inr\": null,\n        \"effort\": \"medium\",\n        \"timeframe\": \"this_week\",\n        \"rationale\": \"An open centre lets the house breathe; it supports steady income.\"\n      },\n      {\n        \"rank\": 3,\n        \"action\": \"Hang a 9-rod metal wind-chime outside toilet entrance\",\n        \"matched\": true,\n        \"addresses\": \"Toilet placed in NE\",\n        \"tier\": \"objects\",\n        \"cost_inr\": 400,\n        \"effort\": \"low\",\n        \"timeframe\": \"this_week\",\n        \"rationale\": \"Low-cost object remedy for the north-east defect.\"\n      }\n    ],\n    \"summary\": \"Start with the two free actions this week, then add the wind-chime; leave the structural relocation until the free fixes are in place.\",\n    \"goal\": \"wealth\",\n    \"tier\": \"fast\",\n    \"candidates\": 5,\n    \"dasha_used\": false\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 540,\n      \"output_tokens\": 236\n    }\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Reading: Structured reading",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"persona\": \"coach\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/ai-insight",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "ai-insight"
          ]
        },
        "description": "An AI-written reading of a birth chart, grounded in chart data the service computes from the birth (or in one report named in `context`); choose persona, tier and language. Optional JSON output.\n\n- **Endpoint:** `POST /v1/ai/ai-insight`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `place` | object | No | Where the person is now, for festival, vrat, moonrise, panchang, muhurta and wedding-plan questions. The birth place is used when omitted. May be `null`. |\n| `place.latitude` | number | Yes | Min -90, max 90. |\n| `place.longitude` | number | Yes | Min -180, max 180. |\n| `place.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `place.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. Default: `en`. |\n| `node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `persona` | string | No | Voice of the reading: coach (plain), pandit (traditional) or analyst. Allowed: `coach`, `pandit`, `analyst`. Default: `coach`. |\n| `context` | string | No | Ground the reading in this report's data instead of the natal chart. Only the AI reading is charged, never less than the report itself. Allowed: `report-career`, `report-children`, `report-education`, `report-foreign-travel`, `report-health`, `report-marriage`, `report-politics`, `report-property`, `report-relocation`, `report-romance`, `report-spiritual`, `report-wealth`, `detailed-life`. May be `null`. |\n| `partner` | object | No | The partner's birth. With it, compatibility and marriage questions are computed from both charts (matching, Manglik match, how the marriage holds up) instead of asking for it. May be `null`. |\n| `partner.datetime` | string | Yes | Local birth date and time, ISO 8601 without an offset, e.g. 1992-03-02T05:47:00. |\n| `partner.latitude` | number | Yes | Min -90, max 90. |\n| `partner.longitude` | number | Yes | Min -180, max 180. |\n| `partner.timezone` | string | No | IANA time zone of the birth place, e.g. Asia/Kolkata. May be `null`. |\n| `partner.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `partner_role` | string | No | The partner's side in Vedic matching; the person asking takes the other side. Allowed: `bride`, `groom`. Default: `bride`. |\n| `json_mode` | boolean | No | Return the reading as a JSON object (data.reading) as well as text. Default: `false`. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"persona\": \"coach\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/ai-insight",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "ai-insight"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"mode\": \"insight\",\n    \"text\": \"You are running Jupiter Mahadasha with Mars Antardasha until January 2027. Jupiter rules your 3rd and 12th houses from a Capricorn Ascendant, so this is a period of effort, writing, travel and foreign connections. Mars as the sub-period lord adds drive to work matters: start the projects you have been planning, but avoid hasty decisions around property. Your Moon in Virgo favours careful planning; use it.\",\n    \"tier\": \"fast\",\n    \"persona\": \"coach\",\n    \"as_of\": \"2026-10-14\",\n    \"grounding\": {\n      \"source\": \"birth-chart\",\n      \"characters\": 9412,\n      \"truncated\": false\n    },\n    \"citations\": []\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 2380,\n      \"output_tokens\": 214\n    }\n  }\n}"
        },
        {
          "name": "422 Latitude out of range",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\"datetime\":\"1990-10-18T14:30:00\",\"timezone\":\"Asia/Kolkata\",\"latitude\":91,\"longitude\":77.209,\"tier\":\"fast\",\"persona\":\"coach\"}"
            },
            "url": "{{base_url}}/v1/ai/ai-insight"
          },
          "status": "Unprocessable Entity",
          "code": 422,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"Input should be less than or equal to 90\",\n    \"field\": \"latitude\",\n    \"request_id\": \"req_6e985a89a166b73ea220\",\n    \"retryable\": false\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Reading: Chat answer",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"When is a good time to change jobs?\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/ai-chat",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "ai-chat"
          ]
        },
        "description": "An AI answer to a question about a birth chart, with earlier turns as history; grounded in chart data the service computes from the birth (or in one report named in `context`).\n\n- **Endpoint:** `POST /v1/ai/ai-chat`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `place` | object | No | Where the person is now, for festival, vrat, moonrise, panchang, muhurta and wedding-plan questions. The birth place is used when omitted. May be `null`. |\n| `place.latitude` | number | Yes | Min -90, max 90. |\n| `place.longitude` | number | Yes | Min -180, max 180. |\n| `place.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `place.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. Default: `en`. |\n| `node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `persona` | string | No | Voice of the reading: coach (plain), pandit (traditional) or analyst. Allowed: `coach`, `pandit`, `analyst`. Default: `coach`. |\n| `context` | string | No | Ground the reading in this report's data instead of the natal chart. Only the AI reading is charged, never less than the report itself. Allowed: `report-career`, `report-children`, `report-education`, `report-foreign-travel`, `report-health`, `report-marriage`, `report-politics`, `report-property`, `report-relocation`, `report-romance`, `report-spiritual`, `report-wealth`, `detailed-life`. May be `null`. |\n| `partner` | object | No | The partner's birth. With it, compatibility and marriage questions are computed from both charts (matching, Manglik match, how the marriage holds up) instead of asking for it. May be `null`. |\n| `partner.datetime` | string | Yes | Local birth date and time, ISO 8601 without an offset, e.g. 1992-03-02T05:47:00. |\n| `partner.latitude` | number | Yes | Min -90, max 90. |\n| `partner.longitude` | number | Yes | Min -180, max 180. |\n| `partner.timezone` | string | No | IANA time zone of the birth place, e.g. Asia/Kolkata. May be `null`. |\n| `partner.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `partner_role` | string | No | The partner's side in Vedic matching; the person asking takes the other side. Allowed: `bride`, `groom`. Default: `bride`. |\n| `question` | string | Yes | Min length 1, max length 1000. |\n| `history` | array of object | No | Earlier turns, oldest first. Max 6 items. |\n| `history[].role` | string | Yes | Allowed: `user`, `assistant`. |\n| `history[].content` | string | Yes | Min length 1, max length 4000. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"When is a good time to change jobs?\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/ai-chat",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "ai-chat"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"mode\": \"chat\",\n    \"question\": \"When is a good time to change jobs?\",\n    \"text\": \"The strongest window for a job change is from January 2027, when the Mars sub-period ends and Rahu's begins within your Jupiter Mahadasha. Rahu sub-periods favour unconventional moves and new environments, which supports a change of employer. Until then, prepare: update your skills and network rather than resign.\",\n    \"tier\": \"fast\",\n    \"persona\": \"coach\",\n    \"as_of\": \"2026-10-14\",\n    \"grounding\": {\n      \"source\": \"birth-chart\",\n      \"characters\": 9412,\n      \"truncated\": false\n    },\n    \"citations\": []\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 2412,\n      \"output_tokens\": 168\n    }\n  }\n}"
        },
        {
          "name": "422 Latitude out of range",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\"datetime\":\"1990-10-18T14:30:00\",\"timezone\":\"Asia/Kolkata\",\"latitude\":91,\"longitude\":77.209,\"tier\":\"fast\",\"question\":\"When is a good time to change jobs?\"}"
            },
            "url": "{{base_url}}/v1/ai/ai-chat"
          },
          "status": "Unprocessable Entity",
          "code": 422,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"Input should be less than or equal to 90\",\n    \"field\": \"latitude\",\n    \"request_id\": \"req_6e985a89a166b73ea220\",\n    \"retryable\": false\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Reading: Custom lens",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"lens\": \"career\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/ai-lens",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "ai-lens"
          ]
        },
        "description": "An AI-written reading of a birth chart through one lens (career, marriage, wealth, health, spiritual or year ahead), grounded in chart data the service computes from the birth.\n\n- **Endpoint:** `POST /v1/ai/ai-lens`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `place` | object | No | Where the person is now, for festival, vrat, moonrise, panchang, muhurta and wedding-plan questions. The birth place is used when omitted. May be `null`. |\n| `place.latitude` | number | Yes | Min -90, max 90. |\n| `place.longitude` | number | Yes | Min -180, max 180. |\n| `place.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `place.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. Default: `en`. |\n| `node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `persona` | string | No | Voice of the reading: coach (plain), pandit (traditional) or analyst. Allowed: `coach`, `pandit`, `analyst`. Default: `coach`. |\n| `context` | string | No | Ground the reading in this report's data instead of the natal chart. Only the AI reading is charged, never less than the report itself. Allowed: `report-career`, `report-children`, `report-education`, `report-foreign-travel`, `report-health`, `report-marriage`, `report-politics`, `report-property`, `report-relocation`, `report-romance`, `report-spiritual`, `report-wealth`, `detailed-life`. May be `null`. |\n| `partner` | object | No | The partner's birth. With it, compatibility and marriage questions are computed from both charts (matching, Manglik match, how the marriage holds up) instead of asking for it. May be `null`. |\n| `partner.datetime` | string | Yes | Local birth date and time, ISO 8601 without an offset, e.g. 1992-03-02T05:47:00. |\n| `partner.latitude` | number | Yes | Min -90, max 90. |\n| `partner.longitude` | number | Yes | Min -180, max 180. |\n| `partner.timezone` | string | No | IANA time zone of the birth place, e.g. Asia/Kolkata. May be `null`. |\n| `partner.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `partner_role` | string | No | The partner's side in Vedic matching; the person asking takes the other side. Allowed: `bride`, `groom`. Default: `bride`. |\n| `lens` | string | Yes | The focus of the reading. Allowed: `career`, `marriage`, `wealth`, `health`, `spiritual`, `year_ahead`. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"lens\": \"career\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/ai-lens",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "ai-lens"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"mode\": \"lens\",\n    \"lens\": \"career\",\n    \"text\": \"Career: your 10th house is ruled by Venus, which favours work involving design, finance or people. Saturn, your Ascendant lord, gives persistence and rewards long-term roles. In the D10 the 10th lord is well placed. The best timing windows in the current dasha sequence are mid-2027 to 2029.\",\n    \"tier\": \"fast\",\n    \"persona\": \"coach\",\n    \"as_of\": \"2026-10-14\",\n    \"grounding\": {\n      \"source\": \"birth-chart\",\n      \"characters\": 9412,\n      \"truncated\": false\n    },\n    \"citations\": []\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 2501,\n      \"output_tokens\": 231\n    }\n  }\n}"
        },
        {
          "name": "422 Latitude out of range",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\"datetime\":\"1990-10-18T14:30:00\",\"timezone\":\"Asia/Kolkata\",\"latitude\":91,\"longitude\":77.209,\"tier\":\"fast\",\"lens\":\"career\"}"
            },
            "url": "{{base_url}}/v1/ai/ai-lens"
          },
          "status": "Unprocessable Entity",
          "code": 422,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"Input should be less than or equal to 90\",\n    \"field\": \"latitude\",\n    \"request_id\": \"req_6e985a89a166b73ea220\",\n    \"retryable\": false\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Reading: General question",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"What does my Moon sign say about me?\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/ai-general",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "ai-general"
          ]
        },
        "description": "An AI answer to a general astrology question, grounded in chart data the service computes from the birth (or in one report named in `context`); choose persona, tier and language.\n\n- **Endpoint:** `POST /v1/ai/ai-general`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `place` | object | No | Where the person is now, for festival, vrat, moonrise, panchang, muhurta and wedding-plan questions. The birth place is used when omitted. May be `null`. |\n| `place.latitude` | number | Yes | Min -90, max 90. |\n| `place.longitude` | number | Yes | Min -180, max 180. |\n| `place.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `place.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. Default: `en`. |\n| `node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `persona` | string | No | Voice of the reading: coach (plain), pandit (traditional) or analyst. Allowed: `coach`, `pandit`, `analyst`. Default: `coach`. |\n| `context` | string | No | Ground the reading in this report's data instead of the natal chart. Only the AI reading is charged, never less than the report itself. Allowed: `report-career`, `report-children`, `report-education`, `report-foreign-travel`, `report-health`, `report-marriage`, `report-politics`, `report-property`, `report-relocation`, `report-romance`, `report-spiritual`, `report-wealth`, `detailed-life`. May be `null`. |\n| `partner` | object | No | The partner's birth. With it, compatibility and marriage questions are computed from both charts (matching, Manglik match, how the marriage holds up) instead of asking for it. May be `null`. |\n| `partner.datetime` | string | Yes | Local birth date and time, ISO 8601 without an offset, e.g. 1992-03-02T05:47:00. |\n| `partner.latitude` | number | Yes | Min -90, max 90. |\n| `partner.longitude` | number | Yes | Min -180, max 180. |\n| `partner.timezone` | string | No | IANA time zone of the birth place, e.g. Asia/Kolkata. May be `null`. |\n| `partner.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `partner_role` | string | No | The partner's side in Vedic matching; the person asking takes the other side. Allowed: `bride`, `groom`. Default: `bride`. |\n| `question` | string | Yes | Min length 1, max length 1000. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"What does my Moon sign say about me?\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/ai-general",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "ai-general"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"mode\": \"general\",\n    \"question\": \"What does my Moon sign say about me?\",\n    \"text\": \"Your Moon is in Virgo in Chitra nakshatra. Virgo Moons are observant, practical and detail-minded; you feel settled when things are in order and you show care through useful help. Chitra adds an eye for craft and beauty. Watch a tendency to over-analyse your feelings.\",\n    \"tier\": \"fast\",\n    \"persona\": \"coach\",\n    \"as_of\": \"2026-10-14\",\n    \"grounding\": {\n      \"source\": \"birth-chart\",\n      \"characters\": 9412,\n      \"truncated\": false\n    },\n    \"citations\": []\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 2366,\n      \"output_tokens\": 152\n    }\n  }\n}"
        },
        {
          "name": "422 Latitude out of range",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\"datetime\":\"1990-10-18T14:30:00\",\"timezone\":\"Asia/Kolkata\",\"latitude\":91,\"longitude\":77.209,\"tier\":\"fast\",\"question\":\"What does my Moon sign say about me?\"}"
            },
            "url": "{{base_url}}/v1/ai/ai-general"
          },
          "status": "Unprocessable Entity",
          "code": 422,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"Input should be less than or equal to 90\",\n    \"field\": \"latitude\",\n    \"request_id\": \"req_6e985a89a166b73ea220\",\n    \"retryable\": false\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Relocation Answer",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"Where should I move for my career?\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/location-ai-analysis",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "location-ai-analysis"
          ]
        },
        "description": "An AI-written answer to a relocation question, grounded in the cities the service ranks for the birth (and KP analysis of the top ones); returns the answer and the ranked cities.\n\n- **Endpoint:** `POST /v1/ai/location-ai-analysis`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en` (English; add `labels` for translated term names)\n\n### Body parameters\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `place` | string | No | Place of birth by name, e.g. 'Pune, India', instead of latitude and longitude: resolved from the same catalogue as `geo-search` (best match), which also supplies the time zone when none is sent. Coordinates, when sent, win. Max length 120. May be `null`. |\n| `ayanamsha` | string | No | This capability is computed with Lahiri only. Always `lahiri`. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`. Default: `en`. |\n| `question` | string | Yes | Min length 1, max length 1000. |\n| `tier` | string | No | fast, balanced or deep. Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `goal` | string | No | Life goal to rank places for. Inferred from the question when omitted. Allowed: `career`, `marriage`, `wealth`, `spiritual`, `health`, `education`, `peace`, `children`, `property`, `romance`, `fame`, `foreign`, `travel`, `politics`, `arts`, `business`. May be `null`. |\n| `region` | string | No | Limit the catalogue to one region. Allowed: `world`, `asia`, `europe`, `americas`, `africa`, `oceania`. Default: `world`. |\n| `as_of` | string | No | Date whose running dasha is used (YYYY-MM-DD). Today in UTC when omitted. Format: date. May be `null`. |\n| `limit` | integer | No | How many ranked places ground the answer. Min 1, max 10. Default: `10`. |\n| `kp_cities` | integer | No | How many of the top places get a full KP analysis. Min 0, max 3. Default: `3`. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"Where should I move for my career?\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/location-ai-analysis",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "location-ai-analysis"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"question\": \"Where should I move for my career?\",\n    \"goal\": \"career\",\n    \"goal_inferred\": true,\n    \"region\": \"world\",\n    \"as_of\": \"2026-10-14\",\n    \"answer\": \"For career, Seoul ranks first: it puts your career houses on strong angles, and your running Jupiter-Mars period favours a move made for work. The next places on the list are close behind; compare their reasons before deciding.\",\n    \"running\": {\n      \"vimshottari\": {\n        \"mahadasha\": \"Jupiter\",\n        \"antardasha\": \"Mars\",\n        \"mahadasha_end\": \"2029-05-30\",\n        \"antardasha_end\": \"2027-01-04\"\n      },\n      \"char\": {\n        \"sign\": \"Leo\",\n        \"lord\": \"Sun\",\n        \"end\": \"2031-10-18\"\n      },\n      \"yogini\": {\n        \"yogini\": \"Mangala\",\n        \"lord\": \"Moon\",\n        \"end\": \"2027-06-16\"\n      }\n    },\n    \"formula\": [\n      {\n        \"house\": 10,\n        \"weight\": 0.4\n      },\n      {\n        \"house\": 11,\n        \"weight\": 0.3\n      },\n      {\n        \"house\": 6,\n        \"weight\": 0.2\n      }\n    ],\n    \"kp_cities_analysed\": 3,\n    \"cities\": [\n      {\n        \"rank\": 1,\n        \"city\": \"Seoul\",\n        \"country\": \"South Korea\",\n        \"country_code\": \"KR\",\n        \"region\": \"asia\",\n        \"latitude\": 37.5665,\n        \"longitude\": 126.978,\n        \"score\": 87,\n        \"distance_km\": 4687,\n        \"ascendant_sign\": \"Aries\",\n        \"ascendant_lord\": \"Mars\",\n        \"midheaven_sign\": \"Sagittarius\",\n        \"midheaven_lord\": \"Jupiter\",\n        \"reasons\": [\n          \"Saturn (natural significator) in H10\",\n          \"Malefics Saturn and Rahu weaken H10\",\n          \"Jupiter (sign lord) in kendra/trikona H4\"\n        ]\n      },\n      {\n        \"rank\": 2,\n        \"city\": \"Busan\",\n        \"country\": \"South Korea\",\n        \"country_code\": \"KR\",\n        \"region\": \"asia\",\n        \"latitude\": 35.1796,\n        \"longitude\": 129.0756,\n        \"score\": 87,\n        \"distance_km\": 4896,\n        \"ascendant_sign\": \"Aries\",\n        \"ascendant_lord\": \"Mars\",\n        \"midheaven_sign\": \"Sagittarius\",\n        \"midheaven_lord\": \"Jupiter\",\n        \"reasons\": [\n          \"Saturn (natural significator) in H10\",\n          \"Malefics Saturn and Rahu weaken H10\",\n          \"Jupiter (sign lord) in kendra/trikona H4\"\n        ]\n      },\n      {\n        \"rank\": 3,\n        \"city\": \"Incheon\",\n        \"country\": \"South Korea\",\n        \"country_code\": \"KR\",\n        \"region\": \"asia\",\n        \"latitude\": 37.4563,\n        \"longitude\": 126.7052,\n        \"score\": 87,\n        \"distance_km\": 4663,\n        \"ascendant_sign\": \"Aries\",\n        \"ascendant_lord\": \"Mars\",\n        \"midheaven_sign\": \"Sagittarius\",\n        \"midheaven_lord\": \"Jupiter\",\n        \"reasons\": [\n          \"Saturn (natural significator) in H10\",\n          \"Malefics Saturn and Rahu weaken H10\",\n          \"Jupiter (sign lord) in kendra/trikona H4\"\n        ]\n      }\n    ]\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 1630,\n      \"output_tokens\": 342\n    }\n  }\n}"
        },
        {
          "name": "422 Latitude out of range",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\"datetime\":\"1990-10-18T14:30:00\",\"timezone\":\"Asia/Kolkata\",\"latitude\":91,\"longitude\":77.209,\"tier\":\"fast\",\"question\":\"Where should I move for my career?\"}"
            },
            "url": "{{base_url}}/v1/ai/location-ai-analysis"
          },
          "status": "Unprocessable Entity",
          "code": 422,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"Input should be less than or equal to 90\",\n    \"field\": \"latitude\",\n    \"request_id\": \"req_6e985a89a166b73ea220\",\n    \"retryable\": false\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Chat for a Couple",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"groom\": {\n    \"datetime\": \"1990-10-18T14:30:00\",\n    \"timezone\": \"Asia/Kolkata\",\n    \"latitude\": 28.6139,\n    \"longitude\": 77.209\n  },\n  \"bride\": {\n    \"datetime\": \"1992-03-05T09:15:00\",\n    \"timezone\": \"Asia/Kolkata\",\n    \"latitude\": 28.6139,\n    \"longitude\": 77.209\n  },\n  \"tier\": \"fast\",\n  \"question\": \"What should we watch out for in our first years together?\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/ai-match-chat",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "ai-match-chat"
          ]
        },
        "description": "An AI answer about two people, with earlier turns as history; grounded in their computed matching report.\n\n- **Endpoint:** `POST /v1/ai/ai-match-chat`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `groom` | object | Yes | - |\n| `groom.datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `groom.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `groom.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `groom.latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `groom.longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `groom.place` | string | No | Place of birth by name, e.g. 'Pune, India', instead of latitude and longitude: resolved from the same catalogue as `geo-search` (best match), which also supplies the time zone when none is sent. Coordinates, when sent, win. Max length 120. May be `null`. |\n| `groom.ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `groom.language` | string | No | Output language (ISO 639-1). Each capability lists the languages it supports. Default: `en`. |\n| `groom.node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `bride` | object | Yes | - |\n| `bride.datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `bride.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `bride.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `bride.latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `bride.longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `bride.place` | string | No | Place of birth by name, e.g. 'Pune, India', instead of latitude and longitude: resolved from the same catalogue as `geo-search` (best match), which also supplies the time zone when none is sent. Coordinates, when sent, win. Max length 120. May be `null`. |\n| `bride.ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `bride.language` | string | No | Output language (ISO 639-1). Each capability lists the languages it supports. Default: `en`. |\n| `bride.node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `question` | string | Yes | Min length 1, max length 1000. |\n| `history` | array of object | No | Earlier turns, oldest first. Max 6 items. |\n| `history[].role` | string | Yes | Allowed: `user`, `assistant`. |\n| `history[].content` | string | Yes | Min length 1, max length 4000. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. Default: `en`. |\n| `tier` | string | No | Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `persona` | string | No | Allowed: `coach`, `pandit`, `analyst`. Default: `coach`. |\n| `context` | null | No | - |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"groom\": {\n    \"datetime\": \"1990-10-18T14:30:00\",\n    \"timezone\": \"Asia/Kolkata\",\n    \"latitude\": 28.6139,\n    \"longitude\": 77.209\n  },\n  \"bride\": {\n    \"datetime\": \"1992-03-05T09:15:00\",\n    \"timezone\": \"Asia/Kolkata\",\n    \"latitude\": 28.6139,\n    \"longitude\": 77.209\n  },\n  \"tier\": \"fast\",\n  \"question\": \"What should we watch out for in our first years together?\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/ai-match-chat",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "ai-match-chat"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"mode\": \"chat\",\n    \"question\": \"When is a good time to change jobs?\",\n    \"text\": \"The strongest window for a job change is from January 2027, when the Mars sub-period ends and Rahu's begins within your Jupiter Mahadasha. Rahu sub-periods favour unconventional moves and new environments, which supports a change of employer. Until then, prepare: update your skills and network rather than resign.\",\n    \"tier\": \"fast\",\n    \"persona\": \"coach\",\n    \"as_of\": \"2026-10-14\",\n    \"grounding\": {\n      \"source\": \"matching-report\",\n      \"characters\": 9412,\n      \"truncated\": false\n    },\n    \"citations\": []\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 2412,\n      \"output_tokens\": 168\n    }\n  }\n}"
        }
      ]
    },
    {
      "name": "AI Chat, Western",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}",
            "description": "A new UUID per send. Reuse a fixed value to retry the same call safely: a repeat with the same body replays the stored response and is charged once."
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"What does my chart say about my work?\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{base_url}}/v1/ai/ai-western-chat",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "v1",
            "ai",
            "ai-western-chat"
          ]
        },
        "description": "An AI answer about a birth chart in the tropical tradition, with earlier turns as history; grounded in the computed Western report.\n\n- **Endpoint:** `POST /v1/ai/ai-western-chat`\n- **Credits:** Metered by the AI model's usage, per tier (minimum to ceiling credits): Fast 15 to 300; Balanced 60 to 2,000; Deep 180 to 5,000. The tier's ceiling is reserved before the call and only what was used is charged. Sandbox keys are not charged; errors are never charged.\n- **Compute class:** AI reading: 10 rate-limit units per call\n- **Status:** Generally available\n- **Languages:** `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`\n\n### Body parameters\n\nNested fields are dotted paths; `[]` marks the items of an array. A nested field's Required applies when its parent is sent.\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `datetime` | string | Yes | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00. Format: local-date-time. |\n| `timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `latitude` | number | No | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Min -90, max 90. May be `null`. |\n| `longitude` | number | No | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Min -180, max 180. May be `null`. |\n| `place` | object | No | Where the person is now, for festival, vrat, moonrise, panchang, muhurta and wedding-plan questions. The birth place is used when omitted. May be `null`. |\n| `place.latitude` | number | Yes | Min -90, max 90. |\n| `place.longitude` | number | Yes | Min -180, max 180. |\n| `place.timezone` | string | No | IANA time zone, e.g. Asia/Kolkata. May be `null`. |\n| `place.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `ayanamsha` | string | No | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Allowed: `sayana`, `krishnamurti_new`, `lahiri`, `lahiri_1940`, `lahiri_vp285`, `lahiri_icrc`, `lahiri_rashtriya`, `raman`, `krishnamurti`, `krishnamurti_vp291`, `yukteshwar`, `bhasin`, `fagan`, `true_chitra`, `true_pushya`, `true_mula`, `true_revati`, `true_sheoran`, `ss_citra`, `ss_revati`, `ushashashi`, `nadi`, `surya_siddhanta`, `surya_siddhanta_msun`, `aryabhata`, `aryabhata_msun`, `aryabhata_522`, `babyl_britton`, `babyl_etpsc`, `babyl_huber`, `babyl_kugler1`, `babyl_kugler2`, `babyl_kugler3`, `deluce`, `djwhal_khul`, `hipparchos`, `sassanian`, `valens_moon`, `aldebaran_15tau`, `galcent_0sag`, `galcent_rgilbrand`, `galcent_cochrane`, `galcent_mula_wilhelm`, `galequ_iau1958`, `galequ_true`, `galequ_mula`, `galequ_fiorenza`, `galalign_mardyks`, `j1900`, `j2000`, `b1950`. Default: `lahiri`. |\n| `language` | string | No | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Allowed: `en`, `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. Default: `en`. |\n| `node` | string | No | Lunar node: true (osculating) or mean. Allowed: `true`, `mean`. Default: `true`. |\n| `tier` | string | No | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Allowed: `fast`, `balanced`, `deep`. Default: `balanced`. |\n| `persona` | string | No | Voice of the reading: coach (plain), pandit (traditional) or analyst. Allowed: `coach`, `pandit`, `analyst`. Default: `coach`. |\n| `context` | string | No | Ground the reading in this report's data instead of the natal chart. Only the AI reading is charged, never less than the report itself. Allowed: `report-career`, `report-children`, `report-education`, `report-foreign-travel`, `report-health`, `report-marriage`, `report-politics`, `report-property`, `report-relocation`, `report-romance`, `report-spiritual`, `report-wealth`, `detailed-life`. May be `null`. |\n| `partner` | object | No | The partner's birth. With it, compatibility and marriage questions are computed from both charts (matching, Manglik match, how the marriage holds up) instead of asking for it. May be `null`. |\n| `partner.datetime` | string | Yes | Local birth date and time, ISO 8601 without an offset, e.g. 1992-03-02T05:47:00. |\n| `partner.latitude` | number | Yes | Min -90, max 90. |\n| `partner.longitude` | number | Yes | Min -180, max 180. |\n| `partner.timezone` | string | No | IANA time zone of the birth place, e.g. Asia/Kolkata. May be `null`. |\n| `partner.utc_offset` | string | No | Fixed offset such as +05:30, if no IANA zone is known. May be `null`. |\n| `partner_role` | string | No | The partner's side in Vedic matching; the person asking takes the other side. Allowed: `bride`, `groom`. Default: `bride`. |\n| `question` | string | Yes | Min length 1, max length 1000. |\n| `history` | array of object | No | Earlier turns, oldest first. Max 6 items. |\n| `history[].role` | string | Yes | Allowed: `user`, `assistant`. |\n| `history[].content` | string | Yes | Min length 1, max length 4000. |\n| `labels` | string | No | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed: `as`, `bn`, `de`, `es`, `fr`, `gu`, `hi`, `it`, `ja`, `kn`, `ko`, `ml`, `mr`, `ne`, `nl`, `or`, `pa`, `pl`, `pt`, `ru`, `si`, `ta`, `te`, `tr`, `ur`. |\n\n### Errors\n\n| HTTP status | Codes |\n|---|---|\n| 400 | `invalid_request` |\n| 401 | `invalid_key`, `expired_key` |\n| 402 | `payment_required` |\n| 403 | `account_suspended`, `plan_upgrade_required`, `plan_family_not_included`, `key_scope_denied`, `ip_not_allowed`, `origin_not_allowed`, `publishable_key_not_allowed` |\n| 404 | `not_found` |\n| 409 | `idempotency_conflict` |\n| 413 | `payload_too_large` |\n| 422 | `invalid_request`, `unsupported_language` |\n| 429 | `rate_limited`, `quota_exhausted`, `spend_cap_reached`, `project_budget_exceeded` |\n| 500 | `computation_failed` |\n| 502 | `unavailable` |\n| 503 | `unavailable`, `maintenance`, `temporarily_unavailable` |\n| 504 | `deadline_exceeded` |\n\nErrors are never charged. What each code means and whether to retry: **Error codes** in the collection overview."
      },
      "response": [
        {
          "name": "200 Illustrative: written by hand from the documented shape",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"datetime\": \"1990-10-18T14:30:00\",\n  \"timezone\": \"Asia/Kolkata\",\n  \"latitude\": 28.6139,\n  \"longitude\": 77.209,\n  \"tier\": \"fast\",\n  \"question\": \"What does my chart say about my work?\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/ai/ai-western-chat",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "ai",
                "ai-western-chat"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"data\": {\n    \"mode\": \"chat\",\n    \"question\": \"When is a good time to change jobs?\",\n    \"text\": \"The strongest window for a job change is from January 2027, when the Mars sub-period ends and Rahu's begins within your Jupiter Mahadasha. Rahu sub-periods favour unconventional moves and new environments, which supports a change of employer. Until then, prepare: update your skills and network rather than resign.\",\n    \"tier\": \"fast\",\n    \"persona\": \"coach\",\n    \"as_of\": \"2026-10-14\",\n    \"grounding\": {\n      \"source\": \"western-detailed-report\",\n      \"characters\": 9412,\n      \"truncated\": false\n    },\n    \"citations\": []\n  },\n  \"meta\": {\n    \"request_id\": \"req_00000000000000000000\",\n    \"api_version\": \"v1\",\n    \"credits_used\": 0,\n    \"warnings\": [],\n    \"language\": \"en\",\n    \"ai\": {\n      \"provider\": \"anthropic\",\n      \"model\": \"claude-haiku-4-5-20251001\",\n      \"tier\": \"fast\",\n      \"input_tokens\": 2412,\n      \"output_tokens\": 168\n    }\n  }\n}"
        },
        {
          "name": "422 Latitude out of range",
          "originalRequest": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\"datetime\":\"1990-10-18T14:30:00\",\"timezone\":\"Asia/Kolkata\",\"latitude\":91,\"longitude\":77.209,\"tier\":\"fast\",\"question\":\"What does my chart say about my work?\"}"
            },
            "url": "{{base_url}}/v1/ai/ai-western-chat"
          },
          "status": "Unprocessable Entity",
          "code": 422,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"Input should be less than or equal to 90\",\n    \"field\": \"latitude\",\n    \"request_id\": \"req_6e985a89a166b73ea220\",\n    \"retryable\": false\n  }\n}"
        }
      ]
    }
  ]
}
