{
  "opencollection": "1.0.0",
  "info": {
    "name": "MetaLend Rebalancing AI Agent Guide Auth API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Auth",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create wallet challenge",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.metalend.tech/v1/auth/challenge",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Issues a challenge message that must be signed by the wallet owner.\n\n**Rate limiting**: 1 request per 6 seconds per client IP. Excess requests receive HTTP `429` with `Retry-After`, `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers (see `RateLimitExceeded` response).\n"
        },
        {
          "info": {
            "name": "Verify wallet challenge",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.metalend.tech/v1/auth/verify",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Verifies the signed challenge and issues a JWT for authenticated requests.\n\n**Rate limiting**: 1 request per 12 seconds per client IP. Excess requests receive HTTP `429` with `Retry-After`, `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers (see `RateLimitExceeded` response).\n"
        }
      ]
    }
  ],
  "bundled": true
}