Get Peer Context
Get context for a peer, including their representation and peer card.
This endpoint returns a curated subset of the representation and peer card for a peer. If a target is specified, returns the context for the target from the observer peer's perspective. If no target is specified, returns the peer's own context (self-observation).
This is useful for getting all the context needed about a peer without making multiple API calls.
Path parameters
ID of the observer peer
ID of the observer peer
Query parameters
Optional target peer to get context for, from the observer's perspective. If not provided, returns the observer's own context (self-observation)
Optional target peer to get context for, from the observer's perspective. If not provided, returns the observer's own context (self-observation)
Optional query to curate the representation around semantic search results
Optional query to curate the representation around semantic search results
Only used if search_query is provided. Number of semantic-search-retrieved conclusions to include
Only used if search_query is provided. Number of semantic-search-retrieved conclusions to include
Only used if search_query is provided. Maximum distance for semantically relevant conclusions
Only used if search_query is provided. Maximum distance for semantically relevant conclusions
Whether to include the most frequent conclusions in the representation
Whether to include the most frequent conclusions in the representation
Maximum number of conclusions to include in the representation
Maximum number of conclusions to include in the representation
Response
Successful Response