← All endpoints / AI Narrative Layer

AI Narrative Runtime

POST/api/v1/ai/narratives/{narrative_id}
POSThttps://vedintelastroapi.com/api/v1/ai/narratives/{narrative_id}

Generate a single AI narrative from a configured Narrative template. Returns plain JSON (not streamed). api_key in JSON body. Requires Developer+ plan.

Requires a paid plan (Developer or above).

Parameters

NameInRequiredTypeDescription
narrative_idpathYesstringnarrative_id from your dashboard

Request Body (application/json)

FieldRequiredTypeDescription
api_keyYesstringVedIntel API key (in JSON body, not query string)
dobYesstringDate of birth in DD/MM/YYYY format
tobYesstringTime of birth in HH:MM (24-hour) format
latYesnumberBirth latitude with decimals
lonYesnumberBirth longitude with decimals
tzYesnumberTimezone offset from UTC. IST = 5.5

Example Request

curl -X POST "https://vedintelastroapi.com/api/v1/ai/narratives/YOUR_NARRATIVE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_API_KEY",
  "dob": "01/10/1977",
  "tob": "11:40",
  "lat": 11,
  "lon": 77,
  "tz": 5.5
}'
← Back to all endpointsInteractive Docs
Get a free API key →