Memory

An agent's own peer context

Resolves the peer from the agent's platform connection, so an agent does not need to know a peer id.

An agent may only ask for its own — otherwise this route would be a way to read a peer through an agent that observes it, from one that does not. The observer check still applies: being the agent named in the path is not the same as observing that connection's peer.

get/v1/agents/{agent_id}/peer-context

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/agents/{agent_id}/peer-context
  • Auth: HTTP bearer

Path parameters

agent_idstring uuid required

Query parameters

budgetinteger

Response

Context

peer_idstring uuid
contextstring
charactersinteger

Changes

No recorded changes to this operation across all 1 revision of this API.