{
  "x402Version": 2,
  "id": 5935,
  "slug": "5935",
  "resource": "https://redlynr.com/run",
  "description": "Agent guardrail decision engine. Call once before every agent action; returns a single decision — proceed, slow down (with a reason and wait time), or stop — based on cost budget, chain depth, step cap and retry budget, and request volume pressure. Policy thresholds are configured separately via /policy; this endpoint only reports the decision for a single action.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1A9a7C72208ABf3552750eB1C4a4F2cA9e8733E5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "agent_id": "agent_42",
            "chain_id": "chain_abc123",
            "is_retry": false,
            "step_cost": 0.02,
            "tenant_id": "acme_corp"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "checks": {
              "chain_depth": {
                "current": 3,
                "limit": 10
              },
              "cost": {
                "limit": 50,
                "spent": 12.4
              },
              "paused": false,
              "steps_retries": {
                "retries": 0,
                "retry_limit": 3,
                "step_limit": 25,
                "steps": 7
              },
              "volume": {
                "blocking": false,
                "pct_used": 42
              }
            },
            "decision": "proceed",
            "reason": null,
            "wait_seconds": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "agent_id": {
                    "description": "Identifies the specific agent, used for pause/retry tracking",
                    "type": "string"
                  },
                  "chain_id": {
                    "description": "Identifies the specific agent chain/task, used for depth/step tracking",
                    "type": "string"
                  },
                  "is_retry": {
                    "description": "Set true if this call represents a retry of a previous failed step (default false)",
                    "type": "boolean"
                  },
                  "step_cost": {
                    "description": "Cost of this step in USD, must be >= 0 (default 0)",
                    "type": "number"
                  },
                  "tenant_id": {
                    "description": "Identifies the customer account; policy and counters are scoped to this",
                    "type": "string"
                  }
                },
                "required": [
                  "tenant_id",
                  "agent_id",
                  "chain_id"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "checks": {
                    "properties": {
                      "chain_depth": {
                        "properties": {
                          "current": {
                            "type": "integer"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "type": "object"
                      },
                      "cost": {
                        "properties": {
                          "limit": {
                            "type": "number"
                          },
                          "spent": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "paused": {
                        "type": "boolean"
                      },
                      "steps_retries": {
                        "properties": {
                          "retries": {
                            "type": "integer"
                          },
                          "retry_limit": {
                            "type": "integer"
                          },
                          "step_limit": {
                            "type": "integer"
                          },
                          "steps": {
                            "type": "integer"
                          }
                        },
                        "type": "object"
                      },
                      "volume": {
                        "properties": {
                          "blocking": {
                            "type": "boolean"
                          },
                          "pct_used": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "decision": {
                    "enum": [
                      "proceed",
                      "slow_down",
                      "stop"
                    ],
                    "type": "string"
                  },
                  "reason": {
                    "description": "e.g. agent_paused, retries_exhausted, cost_budget_exceeded, chain_depth_exceeded, step_cap_exceeded, volume_pressure_blocked",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "wait_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "redlynr.com",
  "lastUpdated": "2026-09-17T03:28:39.027Z",
  "quality": {
    "calls30d": 7,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-09-17T03:28:38.457Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "redlynr.com",
    "manifest_name": "redlynr.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}