Phase 7.5 — Spectron-as-agent chat endpoint. Resolves the session, retrieves context via the unified /query router, and calls the configured LLM provider; then, only after a successful synthesis (or a tier-2 cache hit), stores the user message and the assistant response via /facts and emits a response_trace. A failed synthesis writes no turn, fact, or response_trace (a retrieval_trace recording the query may still be written). Set stream=true for SSE.
Path parameters
Spectron context id
Request body
Response
Changes
Changed in 3 of the 5 revisions of this API.26
- ○
added the new optional request property
suppressMarkersnew-optional-request-property
- ○
added the non-success response with the status
503response-non-success-status-added
- ○
added the required property
citationsto the response with the200statusresponse-required-property-added
- ○
added the required property
memoryUpdates/actionsto the response with the200statusresponse-required-property-added
- ○
- ●
removed the request property
scoperequest-property-removed
- ○
added the new optional request property
scopesnew-optional-request-property
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the request property
scopesrequest-property-removed
- ○
added the new optional request property
scopenew-optional-request-property
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●