{churchShortname} with your actual church shortnamehttps://gracechurch.thehaystack.ai/api, your shortname is gracechurch.?stream=true to receive a Server-Sent Events stream. This feature is best suited for advanced integrations that need real-time AI summaries.
Server-Sent Events Implementation
results: Search results (same structure as JSON response)overview: Chunks of AI-generated summary as they’re generatedcomplete: Stream finished successfullyerror: An error occurredsseclient-py, aiohttp-sse-clientmpociot/php-sse-client, artax/ssecelluloid-eventsource, sse-clienteventsource, built-in fetch with stream handlingr3labs/sse, standard http packageEnter your API token from the Haystack dashboard
Search query
"how to pray"
Set to 'true' to receive a streaming response with AI-generated overview (Server-Sent Events). Default is 'false' for standard JSON response.