Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the workspace
ID of the session
Query Parameters
Number of tokens to use for the context. Includes summary if set to true. Includes representation and peer card if they are included in the response. If not provided, the context will be exhaustive (within 100000 tokens)
x <= 100000The most recent message, used to fetch semantically relevant observations
Whether or not to include a summary if one is available for the session
The target of the perspective. If given without peer_perspective, will get the Honcho-level representation and peer card for this peer. If given with peer_perspective, will get the representation and card for this peer from the perspective of that peer.
A peer to get context for. If given, response will attempt to include representation and card from the perspective of that peer. Must be provided with peer_target.
Response
Successful Response
The summary if available
The peer representation, if context is requested from a specific perspective A Representation is a traversable and diffable map of observations. At the base, we have a list of explicit observations, derived from a peer's messages.
From there, deductive observations can be made by establishing logical relationships between explicit observations.
In the future, we can add more levels of reasoning on top of these.
All of a peer's observations are stored as documents in a collection. These documents can be queried in various ways to produce this Representation object.
Additionally, a "working representation" is a version of this data structure representing the most recent observations within a single session.
A representation can have a maximum number of observations, which is applied individually to each level of reasoning. If a maximum is set, observations are added and removed in FIFO order.
The peer card, if context is requested from a specific perspective