Get context for a peer, including their representation and peer card.
This endpoint returns the working 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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the workspace
ID of the peer (observer)
The target peer to get context for. If not provided, returns the peer's own context (self-observation)
Optional query to curate the representation around semantic search results
Only used if search_query is provided. Number of semantic-search-retrieved observations to include
1 <= x <= 100Only used if search_query is provided. Maximum distance for semantically relevant observations
0 <= x <= 1Whether to include the most derived observations in the representation
Maximum number of observations to include in the representation
1 <= x <= 100Successful Response
Context for a peer, including representation and peer card.
The ID of the peer
The ID of the target peer being observed
The working representation of the target peer from the observer's perspective
The peer card for the target peer from the observer's perspective