/api/v1/guide/chatChat with the Guide
Send a message to the astrology Guide. Replies are grounded in chart context with deterministic intent handling; AI depth is used when available. Pass conversation history for multi-turn context.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| message | string | body | required | User message, 1–2000 chars |
| language | string | body | optional | Two-letter language code (default en) |
| history | array | body | optional | Prior turns: [{role, content}] |
Example request
curl -X POST "https://api-rho-eight-42.vercel.app/api/v1/guide/chat" \
-H "X-API-Key: kundli_abc123..." \
-H "Content-Type: application/json" \
-d '{
"message": "What does today hold for my career?",
"language": "en",
"history": [
{
"role": "user",
"content": "Tell me about my strengths"
}
]
}'Example response
{
"reply": "With Saturn transiting your 10th house, today rewards patient, visible work...",
"intent": "career",
"grounded": true,
"is_ai": true,
"remaining_free": 4
}Try it — paste your own key from Developers → API Keys in place of kundli_abc123... and run the snippet against https://api-rho-eight-42.vercel.app.