Get Representation
Get a curated subset of a Peer’s Representation. A Representation is always a subset of the total knowledge about the Peer. The subset can be scoped and filtered in various ways.
If a session_id is provided in the body, we get the Representation of the Peer scoped to that Session. If a target is provided, we get the Representation of the target from the perspective of the Peer. If no target is provided, we get the omniscient Honcho Representation of the Peer.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Options for getting the peer representation
Optional session ID within which to scope the representation
Optional filters to scope the representation. This endpoint supports only the 'session_id' key: a session id, a list of session ids, or {"in": [...]}. When session_id is also set, it must be included in the allowlist.
Optional (unprefixed) scope name(s) to confine the representation. A single scope reads the scope's own representation of the target peer, formed only from the scope's member sessions. A list of scopes restricts the representation to conclusions from the union of the scopes' member sessions (explicit allowlist, fail-closed: an empty union yields an empty representation). Mutually exclusive with filters and session_id. Requires a workspace- or admin-level key.
Optional peer ID to get the representation for, from the perspective of this peer
Optional input to curate the representation around semantic search results
Only used if search_query is provided. Number of semantic-search-retrieved conclusions to include in the representation
1 <= x <= 100Only used if search_query is provided. Maximum distance to search for semantically relevant conclusions
0 <= x <= 1Only used if search_query is provided. Whether to include the most frequent conclusions in the representation
Only used if search_query is provided. Maximum number of conclusions to include in the representation
1 <= x <= 100Response
Successful Response