Back to Home|
AgentGuard Documentation
Quickstart Guide

Integrating AgentGuard Reverse Proxy

Route tool invocation requests through AgentGuard before executing external APIs or database mutations.

1Obtain an API Authentication Key

Generate your tenant key inside the Command Center settings. Pass this key as a Bearer token in your proxy request headers.

2Send a Proxy Evaluation Request

curl -X POST https://api.agentguard.io/v1/proxy/evaluate \
  -H "Authorization: Bearer ag_live_99812a8f92" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "ag_support_01",
    "tool_name": "stripe.create_refund",
    "payload": {
      "amount": 1500,
      "currency": "usd",
      "customer_id": "cus_9918"
    }
  }'

3Interpret Response Verdict

The proxy engine will return an HTTP 200 ALLOWED payload or a 403 BLOCKED status along with the triggered policy identifier.