{
  "version": 1,
  "resources": [
    "https://agentdrives.com/api/paid/find-tools",
    "https://agentdrives.com/api/credits/topup"
  ],
  "examples": [
    {
      "resource": "https://agentdrives.com/api/paid/find-tools",
      "input": {
        "type": "http",
        "method": "POST",
        "bodyType": "json",
        "body": {
          "task": "send an invoice",
          "limit": 3
        }
      },
      "output": {
        "type": "json",
        "example": {
          "task": "send an invoice",
          "results": []
        }
      }
    },
    {
      "resource": "https://agentdrives.com/api/credits/topup",
      "input": {
        "type": "http",
        "method": "POST",
        "bodyType": "json",
        "body": {
          "amount_usd": 5
        }
      },
      "output": {
        "type": "json",
        "example": {
          "api_key": "<shown once>",
          "key": {
            "header": "x-api-key",
            "shown_once": true
          },
          "credit": {
            "balance_cents": 500
          },
          "topup": {
            "amount_cents": 500,
            "calls": 500
          },
          "payment": {
            "rail": "x402",
            "amount_cents": 500,
            "currency": "usd",
            "receipt_url": "https://agentdrives.com/api/credits/<id>/receipt"
          }
        }
      }
    }
  ]
}