Developer Portal
Build with Online Legacy
Integrate conversational AI legacy profiles into your applications. Our public API is accessible without authentication — no API key required for public endpoints.
Quickstart
Ask a question about Online Legacy in one HTTP request — no API key, no setup:
curl -X POST https://online-legacy.com/ask \
-H "Content-Type: application/json" \
-d '{"query":{"text":"How does Online Legacy work?"}}'Response (NLWeb v0.55 format):
{
"_meta": { "response_type": "answer", "version": "0.55" },
"results": [
{
"@type": "Answer",
"text": "Online Legacy creates conversational AI twins...",
"url": "https://online-legacy.com"
}
]
}API reference
/askNo auth requiredNatural language query — NLWeb v0.55. Add "prefer":{"streaming":true} to receive a Server-Sent Events stream.
/ask?q=your+questionGET convenience wrapper for the NLWeb endpoint.
/api/legacy/{slug}/chatChat with a published legacy profile. Returns a streamed SSE response in the voice and knowledge of the person. Replace {slug} with the profile's public URL slug.
Agent discovery
AI agents and crawlers can discover Online Legacy capabilities through these standard discovery endpoints:
Authentication
No authentication required
All public endpoints — /ask, /api/legacy/*/chat, and all discovery files — are open with no API key or session token required.
Admin and content management endpoints require a session token issued by Online Legacy staff. See auth.md for the full authentication specification.