POST /api/workspaces
Create a workspace from a topic, mode, lens, optional sources, and optional uploaded image data URL.
Developer mode
ChronoLens uses the query you send. Without OpenAI it returns a minimal contextual workspace plus any live source-adapter results; with OpenAI it enriches the workspace once and caches it in memory.
Create a workspace from a topic, mode, lens, optional sources, and optional uploaded image data URL.
Return a workspace from the in-memory store.
Search OpenAlex, Library of Congress, the Met, and other optional source adapters.
Generate a standalone StudyModule for the Study page.
Generate a standalone LessonPack for the Teach page.
Return recent research/source-watch items with contextual fallback.
Return deterministic visual regions for Image Lab.
Analyze a user-selected image region with optional OpenAI fallback-safe interpretation.
Manually run optional OpenAI enrichment if configured.
Regenerate a lesson pack.
Regenerate a study module.
{
"query": "Teach me about Islamic geometric patterns in architecture.",
"mode": "student",
"lensType": "topic"
}{
"id": "workspace-islamic-geometric-patterns-in-architecture-...",
"title": "Islamic geometric patterns in architecture",
"status": {
"sourcesLoaded": 0,
"evidenceCards": 0,
"connectionsMapped": 0,
"lessonReady": true,
"aiMode": "enriched"
}
}