{
  "opencollection": "1.0.0",
  "info": {
    "name": "Requesty Router API Keys API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "API Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List API keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://router.requesty.ai/v1/api-keys"
          },
          "docs": "Lists all API keys for the authenticated account."
        },
        {
          "info": {
            "name": "Create an API key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://router.requesty.ai/v1/api-keys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new API key with optional spending limit, labels, and expiry."
        },
        {
          "info": {
            "name": "Get an API key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://router.requesty.ai/v1/api-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Identifier of the API key."
              }
            ]
          },
          "docs": "Get an API key"
        },
        {
          "info": {
            "name": "Delete an API key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://router.requesty.ai/v1/api-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Identifier of the API key."
              }
            ]
          },
          "docs": "Delete an API key"
        },
        {
          "info": {
            "name": "Update API key spending limit",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://router.requesty.ai/v1/api-keys/:key_id/limit",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "Identifier of the API key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update API key spending limit"
        }
      ]
    }
  ],
  "bundled": true
}