Chat
Query a Peer’s representation using natural language. Performs agentic search and reasoning to comprehensively answer the query based on all latent knowledge gathered about the peer from their messages and conclusions.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Dialectic API Prompt
1 - 10000ID of the session to scope the representation to
Optional filters to scope recall. This endpoint supports only the 'session_id' key: a session id, a list of session ids, or {"in": [...]}. Recall (conclusions and messages) is restricted to the allowlist; unsupported keys are rejected. When session_id is also set, it must be included in the allowlist.
Optional (unprefixed) scope name(s) to confine recall. A single scope answers from the scope's own representation of the target peer: conclusion recall is confined to what the scope observed and message recall to the scope's member sessions. A list of scopes restricts recall to the union of the scopes' member sessions (explicit allowlist, fail-closed: an empty union recalls nothing). Mutually exclusive with filters and session_id. Requires a workspace- or admin-level key.
Optional peer to get the representation for, from the perspective of this peer
Level of reasoning to apply: minimal, low, medium, high, or max
minimal, low, medium, high, max Optional JSON Schema (root type 'object') the response must conform to. When provided, content is a JSON string matching this schema. Only a conservative subset of JSON Schema is supported; unsupported schemas are rejected with 422. Constraint keywords (minItems, maxLength, ...) are hints to the model, not enforced server-side.
Response
Successful Response