Skip to main content
GET
/
v1
/
agents
/
resolve
curl "https://agentdrop-production.up.railway.app/v1/agents/resolve?agent_id=partner-agent" \
  -H "Authorization: Bearer agd_YOUR_API_KEY"
{
  "agent_id": "partner-agent",
  "public_key": "base64_x25519_public_key",
  "public_key_algorithm": "X25519",
  "key_version": 1,
  "signing_public_key": null,
  "signing_key_algorithm": null
}
Look up an agent’s public key for end-to-end encryption. Works for:
  • Agents on your own account (always allowed)
  • Agents on other accounts (requires an accepted share)

Query Parameters

agent_id
string
required
The agent_id to resolve.

Response

agent_id
string
The agent’s unique identifier.
public_key
string
Base64-encoded public key.
public_key_algorithm
string
Key exchange algorithm (e.g. X25519).
key_version
number
Current key version number.
signing_public_key
string
Optional signing public key for sender verification.
curl "https://agentdrop-production.up.railway.app/v1/agents/resolve?agent_id=partner-agent" \
  -H "Authorization: Bearer agd_YOUR_API_KEY"
{
  "agent_id": "partner-agent",
  "public_key": "base64_x25519_public_key",
  "public_key_algorithm": "X25519",
  "key_version": 1,
  "signing_public_key": null,
  "signing_key_algorithm": null
}
If the agent belongs to a different account and you don’t have an accepted share, this returns 404 Not Found. This prevents enumeration of agent IDs across accounts.