Lunar · Example Payload

Lunar Apply Flows Payload

API ManagementAPI GatewayAI GatewayMCP GatewayRate LimitingQuota EnforcementAPI MonetizationTraffic ManagementAPI GovernanceCost ControlsObservability

Lunar Apply Flows Payload is an example object payload from Lunar, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

flowsprocessors

Example Payload

lunar-apply-flows-payload.json Raw ↑
{
  "flows": [
    {
      "id": "rate-limit-stripe",
      "filter": {
        "url": {
          "host": "api.stripe.com"
        },
        "method": ["GET", "POST"]
      },
      "request": [
        {
          "processor": {
            "name": "rateLimiter",
            "parameters": [
              { "key": "requests_per_second", "value": 10 },
              { "key": "strategy", "value": "fixed-window" }
            ]
          }
        }
      ],
      "response": [
        {
          "processor": {
            "name": "retryAfter",
            "parameters": [
              { "key": "enabled", "value": true }
            ]
          }
        }
      ]
    }
  ],
  "processors": {
    "rateLimiter": {
      "processor": "LunarRateLimitingProcessor",
      "parameters": []
    },
    "retryAfter": {
      "processor": "LunarRetryAfterProcessor",
      "parameters": []
    }
  }
}