{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    },
    "schemas": {
      "ProviderE58613C05201_BatchPricesHistoryRequest": {
        "type": "object",
        "required": [
          "markets"
        ],
        "properties": {
          "markets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of market asset ids to query. Maximum 20.",
            "maxItems": 20
          },
          "start_ts": {
            "type": "number",
            "format": "double",
            "description": "Filter by items after this unix timestamp (seconds)."
          },
          "end_ts": {
            "type": "number",
            "format": "double",
            "description": "Filter by items before this unix timestamp (seconds)."
          },
          "interval": {
            "type": "string",
            "enum": [
              "max",
              "all",
              "1m",
              "1w",
              "1d",
              "6h",
              "1h"
            ],
            "description": "Time interval for data aggregation."
          },
          "fidelity": {
            "type": "integer",
            "description": "Accuracy of the data expressed in minutes. Default is 1 minute."
          }
        }
      },
      "ResponseE58613C05201_BatchPricesHistoryResponse": {
        "type": "object",
        "properties": {
          "history": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ResponseE58613C05201_MarketPrice"
              }
            },
            "description": "Map of market asset id to array of price data points."
          }
        }
      },
      "ResponseE58613C05201_MarketPrice": {
        "type": "object",
        "properties": {
          "t": {
            "type": "integer",
            "format": "uint32"
          },
          "p": {
            "type": "number",
            "format": "float"
          }
        }
      },
      "ResponseE58613C05201_OrderBookSummary": {
        "type": "object",
        "required": [
          "market",
          "asset_id",
          "timestamp",
          "hash",
          "bids",
          "asks",
          "min_order_size",
          "tick_size",
          "neg_risk",
          "last_trade_price"
        ],
        "properties": {
          "market": {
            "type": "string",
            "description": "Market condition ID",
            "example": "0x1234567890123456789012345678901234567890"
          },
          "asset_id": {
            "type": "string",
            "description": "Token ID (asset ID)",
            "example": "0xabc123def456..."
          },
          "timestamp": {
            "type": "string",
            "description": "Timestamp of the order book snapshot",
            "example": "1234567890"
          },
          "hash": {
            "type": "string",
            "description": "Hash of the order book summary",
            "example": "a1b2c3d4e5f6..."
          },
          "bids": {
            "type": "array",
            "description": "List of bid orders (sorted by price descending)",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_OrderSummary"
            }
          },
          "asks": {
            "type": "array",
            "description": "List of ask orders (sorted by price ascending)",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_OrderSummary"
            }
          },
          "min_order_size": {
            "type": "string",
            "description": "Minimum order size",
            "example": "1"
          },
          "tick_size": {
            "type": "string",
            "description": "Minimum price increment (tick size)",
            "example": "0.01"
          },
          "neg_risk": {
            "type": "boolean",
            "description": "Whether negative risk is enabled for this market",
            "example": false
          },
          "last_trade_price": {
            "type": "string",
            "description": "Last trade price",
            "example": "0.45"
          }
        }
      },
      "ResponseE58613C05201_OrderSummary": {
        "type": "object",
        "required": [
          "price",
          "size"
        ],
        "properties": {
          "price": {
            "type": "string",
            "description": "Order price",
            "example": "0.45"
          },
          "size": {
            "type": "string",
            "description": "Order size",
            "example": "100"
          }
        }
      },
      "ProviderE58613C05201_BookRequest": {
        "type": "object",
        "required": [
          "token_id"
        ],
        "properties": {
          "token_id": {
            "type": "string",
            "description": "Token ID (asset ID)",
            "example": "0xabc123def456..."
          },
          "side": {
            "type": "string",
            "description": "Order side (optional, not used for midpoint calculation)",
            "enum": [
              "BUY",
              "SELL"
            ],
            "example": "BUY"
          }
        }
      },
      "ResponseE58613C05201_BuilderTradesResponse": {
        "type": "object",
        "description": "Paginated builder trades response",
        "required": [
          "limit",
          "next_cursor",
          "count",
          "data"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of items per page",
            "example": 300
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for next page (base64 encoded offset). \"LTE=\" indicates no more pages",
            "example": "MzAw"
          },
          "count": {
            "type": "integer",
            "description": "Number of items in current response",
            "example": 2
          },
          "data": {
            "type": "array",
            "description": "Array of builder trades",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_BuilderTrade"
            }
          }
        }
      },
      "ResponseE58613C05201_BuilderTrade": {
        "type": "object",
        "description": "Builder trade information",
        "required": [
          "id",
          "tradeType",
          "takerOrderHash",
          "builder",
          "market",
          "assetId",
          "side",
          "size",
          "sizeUsdc",
          "price",
          "status",
          "outcome",
          "outcomeIndex",
          "owner",
          "maker",
          "transactionHash",
          "matchTime",
          "bucketIndex",
          "fee",
          "feeUsdc"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Trade ID",
            "example": "trade-123"
          },
          "tradeType": {
            "type": "string",
            "description": "Trade type",
            "example": "TAKER"
          },
          "takerOrderHash": {
            "type": "string",
            "description": "Taker order hash",
            "example": "0xabcdef1234567890abcdef1234567890abcdef12"
          },
          "builder": {
            "type": "string",
            "description": "Builder code attributed to the trade",
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          "market": {
            "type": "string",
            "description": "Market (condition ID)",
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          "assetId": {
            "type": "string",
            "description": "Asset ID (token ID)",
            "example": "15871154585880608648532107628464183779895785213830018178010423617714102767076"
          },
          "side": {
            "type": "string",
            "description": "Trade side",
            "enum": [
              "BUY",
              "SELL"
            ],
            "example": "BUY"
          },
          "size": {
            "type": "string",
            "description": "Trade size",
            "example": "100000000"
          },
          "sizeUsdc": {
            "type": "string",
            "description": "Trade size in USDC",
            "example": "50000000"
          },
          "price": {
            "type": "string",
            "description": "Trade price",
            "example": "0.5"
          },
          "status": {
            "type": "string",
            "description": "Trade status",
            "example": "TRADE_STATUS_CONFIRMED"
          },
          "outcome": {
            "type": "string",
            "description": "Market outcome",
            "example": "YES"
          },
          "outcomeIndex": {
            "type": "integer",
            "description": "Outcome index",
            "example": 0
          },
          "owner": {
            "type": "string",
            "description": "Owner UUID",
            "example": "f4f247b7-4ac7-ff29-a152-04fda0a8755a"
          },
          "maker": {
            "type": "string",
            "description": "Maker address",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "example": "0x1234567890123456789012345678901234567890"
          },
          "transactionHash": {
            "type": "string",
            "description": "Transaction hash",
            "pattern": "^0x[a-fA-F0-9]{64}$",
            "example": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
          },
          "matchTime": {
            "type": "string",
            "description": "Match time (Unix timestamp)",
            "example": "1700000000"
          },
          "bucketIndex": {
            "type": "integer",
            "description": "Bucket index",
            "example": 0
          },
          "fee": {
            "type": "string",
            "description": "Fee amount",
            "example": "300000"
          },
          "feeUsdc": {
            "type": "string",
            "description": "Fee amount in USDC",
            "example": "150000"
          },
          "err_msg": {
            "type": [
              "string",
              "null"
            ],
            "description": "Error message (if any)",
            "example": null
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "Creation timestamp",
            "example": "2024-01-01T00:00:00Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Last update timestamp",
            "example": "2024-01-01T00:00:00Z"
          }
        }
      },
      "ResponseE58613C05201_CancelOrdersResponse": {
        "type": "object",
        "required": [
          "canceled",
          "not_canceled"
        ],
        "properties": {
          "canceled": {
            "type": "array",
            "description": "Array of order IDs that were successfully canceled",
            "items": {
              "type": "string"
            },
            "example": [
              "0xabcdef1234567890abcdef1234567890abcdef12"
            ]
          },
          "not_canceled": {
            "type": "object",
            "description": "Map of order IDs that could not be canceled with error messages",
            "additionalProperties": {
              "type": "string"
            },
            "example": {
              "0xabcdef1234567890abcdef1234567890abcdef12": "Order not found or already canceled"
            }
          }
        }
      },
      "ProviderE58613C05201_OrderMarketCancelParams": {
        "type": "object",
        "required": [
          "market",
          "asset_id"
        ],
        "properties": {
          "market": {
            "type": "string",
            "description": "Market (condition ID)",
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          "asset_id": {
            "type": "string",
            "description": "Asset ID (token ID)",
            "example": "0xabc123def456..."
          }
        }
      },
      "ResponseE58613C05201_ClobMarketDetails": {
        "type": "object",
        "description": "CLOB-level parameters for a market — tokens, tick size, base fees, rewards, RFQ status, and fee details.",
        "properties": {
          "gst": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Game start time (used for sports markets), ISO 8601 timestamp or null"
          },
          "r": {
            "$ref": "#/components/schemas/ResponseE58613C05201_ClobRewards"
          },
          "t": {
            "type": "array",
            "description": "Tokens for this market",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_ClobToken"
            }
          },
          "mos": {
            "type": "number",
            "format": "float",
            "description": "Minimum order size",
            "example": 5
          },
          "mts": {
            "type": "number",
            "format": "float",
            "description": "Minimum tick size (price increment)",
            "example": 0.01
          },
          "mbf": {
            "type": "integer",
            "format": "int64",
            "description": "Maker base fee in basis points",
            "example": 0
          },
          "tbf": {
            "type": "integer",
            "format": "int64",
            "description": "Taker base fee in basis points",
            "example": 0
          },
          "rfqe": {
            "type": "boolean",
            "description": "Whether RFQ (Request for Quote) is enabled for this market"
          },
          "itode": {
            "type": "boolean",
            "description": "Whether taker order delay is enabled for this market. When true, marketable orders are held for the 250 ms taker-delay window before synchronous processing. This field is omitted when false."
          },
          "ibce": {
            "type": "boolean",
            "description": "Whether Blockaid check is enabled"
          },
          "fd": {
            "$ref": "#/components/schemas/ResponseE58613C05201_FeeDetails"
          },
          "oas": {
            "type": "integer",
            "description": "Minimum order age in seconds"
          }
        }
      },
      "ResponseE58613C05201_ClobRewards": {
        "type": "object",
        "description": "Rewards configuration for a market.",
        "additionalProperties": true
      },
      "ResponseE58613C05201_ClobToken": {
        "type": "object",
        "description": "A token in a CLOB market with its ID and outcome label.",
        "properties": {
          "t": {
            "type": "string",
            "description": "The token ID",
            "example": "71321045679252212594626385532706912750332728571942532289631379312455583992563"
          },
          "o": {
            "type": "string",
            "description": "Outcome label for the token (e.g. \"Yes\", \"No\")",
            "example": "Yes"
          }
        }
      },
      "ResponseE58613C05201_FeeDetails": {
        "type": "object",
        "description": "Fee curve parameters for a market.",
        "properties": {
          "r": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "description": "Fee rate",
            "example": 0.02
          },
          "e": {
            "type": "number",
            "format": "float",
            "nullable": true,
            "description": "Fee curve exponent",
            "example": 2
          },
          "to": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether fees apply to takers only",
            "example": true
          }
        }
      },
      "ResponseE58613C05201_OrdersResponse": {
        "type": "object",
        "required": [
          "limit",
          "next_cursor",
          "count",
          "data"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of results per page",
            "example": 100
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for pagination (base64 encoded offset). Empty if no more results.",
            "example": "MTAw"
          },
          "count": {
            "type": "integer",
            "description": "Number of orders in this response",
            "example": 2
          },
          "data": {
            "type": "array",
            "description": "Array of open orders",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_OpenOrder"
            }
          }
        }
      },
      "ResponseE58613C05201_OpenOrder": {
        "type": "object",
        "required": [
          "id",
          "status",
          "owner",
          "maker_address",
          "market",
          "asset_id",
          "side",
          "original_size",
          "size_matched",
          "price",
          "expiration",
          "order_type",
          "created_at",
          "outcome"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Order ID (order hash)",
            "example": "0xabcdef1234567890abcdef1234567890abcdef12"
          },
          "status": {
            "type": "string",
            "description": "Order status. CANCELED_MARKET_RESOLVED cancels the unfilled remainder when the market resolves; it does not undo settled fills.",
            "enum": [
              "LIVE",
              "INVALID",
              "CANCELED_MARKET_RESOLVED",
              "CANCELED",
              "MATCHED"
            ]
          },
          "owner": {
            "type": "string",
            "description": "UUID of the order owner",
            "example": "f4f247b7-4ac7-ff29-a152-04fda0a8755a"
          },
          "maker_address": {
            "type": "string",
            "description": "Ethereum address of the maker",
            "example": "0x1234567890123456789012345678901234567890"
          },
          "market": {
            "type": "string",
            "description": "Market (condition ID)",
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          "asset_id": {
            "type": "string",
            "description": "Asset ID (token ID)",
            "example": "0xabc123def456..."
          },
          "side": {
            "type": "string",
            "description": "Order side",
            "enum": [
              "BUY",
              "SELL"
            ],
            "example": "BUY"
          },
          "original_size": {
            "type": "string",
            "description": "Original order size in shares, as a decimal string. Already normalized; do not divide by 1e6.",
            "example": "100"
          },
          "size_matched": {
            "type": "string",
            "description": "Matched size in shares, as a decimal string. Retained after cancellation; this is not the current position balance.",
            "example": "0"
          },
          "price": {
            "type": "string",
            "description": "Order price",
            "example": "0.5"
          },
          "outcome": {
            "type": "string",
            "description": "Market outcome (YES/NO)",
            "example": "YES"
          },
          "expiration": {
            "type": "string",
            "description": "Unix timestamp when the order expires",
            "example": "1735689600"
          },
          "order_type": {
            "type": "string",
            "description": "Order type",
            "enum": [
              "GTC",
              "FOK",
              "GTD",
              "FAK"
            ],
            "example": "GTC"
          },
          "associate_trades": {
            "type": "array",
            "description": "Array of associated trade IDs",
            "items": {
              "type": "string"
            },
            "example": [
              "trade-123"
            ]
          },
          "created_at": {
            "type": "integer",
            "description": "Unix timestamp when the order was created",
            "example": 1700000000
          }
        }
      },
      "ResponseE58613C05201_FeeRate": {
        "type": "object",
        "required": [
          "base_fee"
        ],
        "properties": {
          "base_fee": {
            "type": "integer",
            "format": "int64",
            "description": "Base fee in basis points",
            "example": 30
          }
        }
      },
      "ResponseE58613C05201_HeartbeatResponse": {
        "type": "object",
        "description": "Response for heartbeat request",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the heartbeat acknowledgment",
            "example": "ok"
          }
        }
      },
      "ResponseE58613C05201_MarketByTokenResponse": {
        "type": "object",
        "description": "Response for GET /markets-by-token/{token_id} — condition ID and both token IDs in the market.",
        "required": [
          "condition_id",
          "primary_token_id",
          "secondary_token_id"
        ],
        "properties": {
          "condition_id": {
            "type": "string",
            "description": "The condition ID of the market containing the given token",
            "example": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
          },
          "primary_token_id": {
            "type": "string",
            "description": "The primary (Yes) token ID",
            "example": "71321045679252212594626385532706912750332728571942532289631379312455583992563"
          },
          "secondary_token_id": {
            "type": "string",
            "description": "The secondary (No) token ID",
            "example": "52114319501245915516055106046884209969926127482827954674443846427813813222426"
          }
        }
      },
      "ProviderE58613C05201_CancelOrderPayload": {
        "type": "object",
        "required": [
          "orderID"
        ],
        "properties": {
          "orderID": {
            "type": "string",
            "description": "Order ID (order hash) to cancel",
            "example": "0xabcdef1234567890abcdef1234567890abcdef12"
          }
        }
      },
      "ProviderE58613C05201_SendOrder": {
        "type": "object",
        "required": [
          "order",
          "owner"
        ],
        "properties": {
          "order": {
            "$ref": "#/components/schemas/ProviderE58613C05201_Order"
          },
          "owner": {
            "type": "string",
            "description": "UUID of the API key owner",
            "example": "f4f247b7-4ac7-ff29-a152-04fda0a8755a"
          },
          "orderType": {
            "type": "string",
            "description": "Time in force",
            "enum": [
              "GTC",
              "FOK",
              "GTD",
              "FAK"
            ],
            "default": "GTC"
          },
          "deferExec": {
            "type": "boolean",
            "description": "Whether to defer execution",
            "default": false
          },
          "postOnly": {
            "type": "boolean",
            "description": "Whether the order must rest on the book and not match immediately. Only supported for GTC and GTD orders.",
            "default": false
          }
        }
      },
      "ProviderE58613C05201_Order": {
        "type": "object",
        "description": "Order payload submitted to the CLOB API. In CLOB V2, `expiration` remains in\nthe POST /order wire body for GTD/order-expiry handling, but it is not part\nof the EIP-712 signed order struct.\n",
        "required": [
          "maker",
          "signer",
          "tokenId",
          "makerAmount",
          "takerAmount",
          "side",
          "expiration",
          "timestamp",
          "builder",
          "signature",
          "salt",
          "signatureType"
        ],
        "properties": {
          "maker": {
            "type": "string",
            "description": "Ethereum address of the maker (In the default case, this is your proxy address)",
            "example": "0x1234567890123456789012345678901234567890"
          },
          "signer": {
            "type": "string",
            "description": "Ethereum address of the signer",
            "example": "0x1234567890123456789012345678901234567890"
          },
          "tokenId": {
            "type": "string",
            "description": "Token ID (asset ID) for the order",
            "example": "0xabc123def456..."
          },
          "makerAmount": {
            "type": "string",
            "description": "Amount the maker is providing in fixed-math with 6 decimals",
            "example": "100000000"
          },
          "takerAmount": {
            "type": "string",
            "description": "Amount the taker is providing in fixed-math with 6 decimals",
            "example": "200000000"
          },
          "side": {
            "type": "string",
            "description": "Order side",
            "enum": [
              "BUY",
              "SELL"
            ],
            "example": "BUY"
          },
          "expiration": {
            "type": "string",
            "description": "Unix timestamp when the order expires. Present in the API wire body; not part of the CLOB V2 EIP-712 signed order struct.",
            "example": "1735689600"
          },
          "timestamp": {
            "type": "string",
            "description": "Unix timestamp in milliseconds when the order was created (used for order uniqueness)",
            "example": "1735689600000"
          },
          "metadata": {
            "type": "string",
            "description": "Reserved for future use",
            "example": ""
          },
          "builder": {
            "type": "string",
            "description": "Builder code (bytes32) for integrator attribution. `0x` + 64 hex chars or empty.",
            "example": "0x0000000000000000000000000000000000000000000000000000000000000000"
          },
          "signature": {
            "type": "string",
            "description": "Cryptographic signature of the order",
            "example": "0x1234abcd..."
          },
          "salt": {
            "type": "integer",
            "description": "Random salt for order uniqueness",
            "example": 1234567890
          },
          "signatureType": {
            "type": "integer",
            "description": "Type of signature (0 = EOA, 1 = POLY_PROXY, 2 = POLY_GNOSIS_SAFE)",
            "enum": [
              0,
              1,
              2
            ]
          }
        }
      },
      "ResponseE58613C05201_SendOrderResponse": {
        "type": "object",
        "required": [
          "success",
          "orderID",
          "status"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the order was successfully processed",
            "example": true
          },
          "orderID": {
            "type": "string",
            "description": "Unique identifier for the order (order hash)",
            "example": "0xabcdef1234567890abcdef1234567890abcdef12"
          },
          "status": {
            "type": "string",
            "description": "Status of the order after processing",
            "enum": [
              "live",
              "matched",
              "delayed"
            ]
          },
          "makingAmount": {
            "type": "string",
            "description": "Amount the maker is providing in fixed-math with 6 decimals",
            "example": "100000000"
          },
          "takingAmount": {
            "type": "string",
            "description": "Amount the taker is providing in fixed-math with 6 decimals",
            "example": "200000000"
          },
          "transactionsHashes": {
            "type": "array",
            "description": "Array of transaction hashes (present when status is 'matched')",
            "items": {
              "type": "string"
            },
            "example": [
              "0x1234567890abcdef1234567890abcdef12345678"
            ]
          },
          "tradeIDs": {
            "type": "array",
            "description": "Array of trade IDs (present when status is 'matched')",
            "items": {
              "type": "string"
            }
          },
          "errorMsg": {
            "type": "string",
            "description": "Error message (empty on success)",
            "example": ""
          }
        }
      },
      "ResponseE58613C05201_OrderScoringResponse": {
        "type": "object",
        "description": "Response indicating whether an order is currently scoring for rewards",
        "required": [
          "scoring"
        ],
        "properties": {
          "scoring": {
            "type": "boolean",
            "description": "Whether the order is currently scoring for maker rewards",
            "example": true
          }
        }
      },
      "ResponseE58613C05201_PricesHistoryResponse": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_MarketPrice"
            }
          }
        }
      },
      "ResponseE58613C05201_RebatedFees": {
        "type": "object",
        "description": "Rebated fees for a maker on a specific market and date",
        "required": [
          "date",
          "condition_id",
          "asset_address",
          "maker_address",
          "rebated_fees_usdc"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of the rebate (YYYY-MM-DD)",
            "example": "2026-02-27"
          },
          "condition_id": {
            "type": "string",
            "description": "Condition ID of the market",
            "example": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
          },
          "asset_address": {
            "type": "string",
            "description": "Asset address (e.g. USDC contract)",
            "example": "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB"
          },
          "maker_address": {
            "type": "string",
            "description": "Maker's Ethereum address",
            "example": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604"
          },
          "rebated_fees_usdc": {
            "type": "string",
            "description": "Rebated fee amount in USDC",
            "example": "0.237519"
          }
        }
      },
      "ResponseE58613C05201_PaginatedCurrentReward": {
        "type": "object",
        "description": "Paginated list of current reward configurations",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of items per page"
          },
          "count": {
            "type": "integer",
            "description": "Number of items in the current response"
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for the next page. \"LTE=\" indicates the last page."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_CurrentReward"
            }
          }
        },
        "required": [
          "limit",
          "count",
          "next_cursor",
          "data"
        ]
      },
      "ResponseE58613C05201_CurrentReward": {
        "type": "object",
        "description": "Current active reward configuration for a market",
        "properties": {
          "condition_id": {
            "type": "string",
            "description": "Condition ID of the market"
          },
          "rewards_max_spread": {
            "type": "number",
            "description": "Maximum spread for rewards eligibility"
          },
          "rewards_min_size": {
            "type": "number",
            "description": "Minimum order size for rewards eligibility"
          },
          "rewards_config": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_CurrentRewardConfig"
            }
          },
          "sponsored_daily_rate": {
            "type": "number",
            "format": "double",
            "description": "Sponsored daily rate (omitted when zero)"
          },
          "sponsors_count": {
            "type": "integer",
            "description": "Number of sponsors (omitted when zero)"
          },
          "native_daily_rate": {
            "type": "number",
            "format": "double",
            "description": "Computed native daily rate excluding sponsors (omitted when zero)"
          },
          "total_daily_rate": {
            "type": "number",
            "format": "double",
            "description": "Computed total daily rate including sponsors (omitted when zero)"
          }
        },
        "required": [
          "condition_id"
        ]
      },
      "ResponseE58613C05201_CurrentRewardConfig": {
        "type": "object",
        "description": "Reward configuration entry for a current rewards market",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Rewards config ID (always 0 on /rewards/markets/current)"
          },
          "asset_address": {
            "type": "string",
            "description": "Address of the reward asset"
          },
          "start_date": {
            "type": "string",
            "format": "date",
            "description": "Start date of the rewards period"
          },
          "end_date": {
            "type": "string",
            "format": "date",
            "description": "End date of the rewards period"
          },
          "rate_per_day": {
            "type": "number",
            "format": "double",
            "description": "Daily reward rate"
          },
          "total_rewards": {
            "type": "number",
            "format": "double",
            "description": "Total rewards amount"
          }
        },
        "required": [
          "asset_address",
          "start_date",
          "rate_per_day"
        ]
      },
      "ResponseE58613C05201_PaginatedMultiMarketInfo": {
        "type": "object",
        "description": "Paginated list of markets with rewards and trading metrics",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of items per page"
          },
          "count": {
            "type": "integer",
            "description": "Number of items in the current response"
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for the next page. \"LTE=\" indicates the last page."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_MultiMarketInfo"
            }
          }
        },
        "required": [
          "limit",
          "count",
          "next_cursor",
          "data"
        ]
      },
      "ResponseE58613C05201_MultiMarketInfo": {
        "type": "object",
        "description": "Market with rewards configuration and trading metrics",
        "properties": {
          "condition_id": {
            "type": "string",
            "description": "Condition ID of the market"
          },
          "event_id": {
            "type": "string",
            "description": "Event ID"
          },
          "event_slug": {
            "type": "string",
            "description": "URL slug for the event"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "Market creation timestamp"
          },
          "group_item_title": {
            "type": "string",
            "description": "Title within an event group"
          },
          "image": {
            "type": "string",
            "description": "URL to market image"
          },
          "market_competitiveness": {
            "type": "number",
            "format": "double",
            "description": "Competitiveness score of the market"
          },
          "market_id": {
            "type": "string",
            "description": "Market ID"
          },
          "market_slug": {
            "type": "string",
            "description": "URL slug for the market"
          },
          "one_day_price_change": {
            "type": "number",
            "format": "double",
            "description": "Price change over the last 24 hours"
          },
          "question": {
            "type": "string",
            "description": "Market question"
          },
          "rewards_max_spread": {
            "type": "number",
            "description": "Maximum spread for rewards eligibility"
          },
          "rewards_min_size": {
            "type": "number",
            "description": "Minimum order size for rewards eligibility"
          },
          "spread": {
            "type": "number",
            "format": "double",
            "description": "Current spread"
          },
          "end_date": {
            "type": "string",
            "description": "Market end date"
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_RewardsToken"
            }
          },
          "volume_24hr": {
            "type": "number",
            "format": "double",
            "description": "24-hour trading volume"
          },
          "rewards_config": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_RewardsConfig"
            }
          }
        },
        "required": [
          "condition_id",
          "market_id",
          "question",
          "tokens"
        ]
      },
      "ResponseE58613C05201_RewardsToken": {
        "type": "object",
        "description": "Token information for rewards markets",
        "properties": {
          "token_id": {
            "type": "string",
            "description": "Token ID"
          },
          "outcome": {
            "type": "string",
            "description": "Outcome name (e.g., \"YES\", \"NO\")"
          },
          "price": {
            "type": "number",
            "format": "double",
            "description": "Current price of the token"
          }
        },
        "required": [
          "token_id",
          "outcome"
        ]
      },
      "ResponseE58613C05201_RewardsConfig": {
        "type": "object",
        "description": "Rewards configuration for a market",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Rewards config ID"
          },
          "asset_address": {
            "type": "string",
            "description": "Address of the reward asset"
          },
          "start_date": {
            "type": "string",
            "format": "date",
            "description": "Start date of the rewards period"
          },
          "end_date": {
            "type": "string",
            "format": "date",
            "description": "End date of the rewards period"
          },
          "rate_per_day": {
            "type": "number",
            "format": "double",
            "description": "Daily reward rate"
          },
          "total_rewards": {
            "type": "number",
            "format": "double",
            "description": "Total rewards amount"
          },
          "remaining_reward_amount": {
            "type": "number",
            "format": "double",
            "description": "Remaining reward amount"
          },
          "total_days": {
            "type": "integer",
            "description": "Total number of days in the rewards period"
          }
        },
        "required": [
          "asset_address",
          "start_date",
          "rate_per_day"
        ]
      },
      "ResponseE58613C05201_PaginatedMarketReward": {
        "type": "object",
        "description": "Paginated list of market reward configurations",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of items per page"
          },
          "count": {
            "type": "integer",
            "description": "Number of items in the current response"
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for the next page. \"LTE=\" indicates the last page."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_MarketReward"
            }
          }
        },
        "required": [
          "limit",
          "count",
          "next_cursor",
          "data"
        ]
      },
      "ResponseE58613C05201_MarketReward": {
        "type": "object",
        "description": "Market with raw reward configurations",
        "properties": {
          "condition_id": {
            "type": "string",
            "description": "Condition ID of the market"
          },
          "question": {
            "type": "string",
            "description": "Market question"
          },
          "market_slug": {
            "type": "string",
            "description": "URL slug for the market"
          },
          "event_slug": {
            "type": "string",
            "description": "URL slug for the event"
          },
          "image": {
            "type": "string",
            "description": "URL to market image"
          },
          "rewards_max_spread": {
            "type": "number",
            "description": "Maximum spread for rewards eligibility"
          },
          "rewards_min_size": {
            "type": "number",
            "description": "Minimum order size for rewards eligibility"
          },
          "market_competitiveness": {
            "type": "number",
            "format": "double",
            "description": "Competitiveness score of the market"
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_RewardsToken"
            }
          },
          "rewards_config": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_RewardsConfig"
            }
          }
        },
        "required": [
          "condition_id",
          "question",
          "tokens"
        ]
      },
      "ResponseE58613C05201_PaginatedUserEarnings": {
        "type": "object",
        "description": "Paginated list of user earnings",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of items per page"
          },
          "count": {
            "type": "integer",
            "description": "Number of items in the current response"
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for the next page. \"LTE=\" indicates the last page."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_UserEarning"
            }
          }
        },
        "required": [
          "limit",
          "count",
          "next_cursor",
          "data"
        ]
      },
      "ResponseE58613C05201_UserEarning": {
        "type": "object",
        "description": "User earnings for a specific market on a given day",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time",
            "description": "Date of the earnings"
          },
          "condition_id": {
            "type": "string",
            "description": "Condition ID of the market"
          },
          "asset_address": {
            "type": "string",
            "description": "Address of the reward asset"
          },
          "maker_address": {
            "type": "string",
            "description": "Address of the maker"
          },
          "earnings": {
            "type": "number",
            "format": "double",
            "description": "Amount of earnings in the asset"
          },
          "asset_rate": {
            "type": "number",
            "format": "double",
            "description": "Exchange rate of the asset"
          }
        },
        "required": [
          "date",
          "condition_id",
          "asset_address",
          "maker_address",
          "earnings"
        ]
      },
      "ResponseE58613C05201_PaginatedUserRewardsMarkets": {
        "type": "object",
        "description": "Paginated list of user rewards markets",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of items per page"
          },
          "count": {
            "type": "integer",
            "description": "Number of items in the current response"
          },
          "total_count": {
            "type": "integer",
            "description": "Total number of items across all pages"
          },
          "next_cursor": {
            "type": "string",
            "description": "Cursor for the next page. \"LTE=\" indicates the last page."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_UserRewardsMarket"
            }
          }
        },
        "required": [
          "limit",
          "count",
          "next_cursor",
          "data"
        ]
      },
      "ResponseE58613C05201_UserRewardsMarket": {
        "type": "object",
        "description": "Market with user rewards earnings and configuration",
        "properties": {
          "condition_id": {
            "type": "string",
            "description": "Condition ID of the market"
          },
          "market_id": {
            "type": "string",
            "description": "Market ID"
          },
          "event_id": {
            "type": "string",
            "description": "Event ID"
          },
          "question": {
            "type": "string",
            "description": "Market question"
          },
          "market_slug": {
            "type": "string",
            "description": "URL slug for the market"
          },
          "event_slug": {
            "type": "string",
            "description": "URL slug for the event"
          },
          "image": {
            "type": "string",
            "description": "URL to market image"
          },
          "rewards_max_spread": {
            "type": "number",
            "description": "Maximum spread for rewards eligibility"
          },
          "rewards_min_size": {
            "type": "number",
            "description": "Minimum order size for rewards eligibility"
          },
          "volume_24hr": {
            "type": "number",
            "format": "double",
            "description": "24-hour trading volume"
          },
          "spread": {
            "type": "number",
            "format": "double",
            "description": "Current spread"
          },
          "market_competitiveness": {
            "type": "number",
            "format": "double",
            "description": "Competitiveness score of the market"
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_RewardsToken"
            }
          },
          "rewards_config": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_CurrentRewardConfig"
            }
          },
          "maker_address": {
            "type": "string",
            "description": "Maker address"
          },
          "earning_percentage": {
            "type": "number",
            "format": "double",
            "description": "Percentage of total rewards the user is earning"
          },
          "earnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_AssetEarning"
            }
          }
        },
        "required": [
          "condition_id",
          "market_id",
          "question",
          "tokens"
        ]
      },
      "ResponseE58613C05201_AssetEarning": {
        "type": "object",
        "description": "Earnings for a specific asset",
        "properties": {
          "asset_address": {
            "type": "string",
            "description": "Address of the reward asset"
          },
          "earnings": {
            "type": "number",
            "format": "double",
            "description": "Amount of earnings"
          },
          "asset_rate": {
            "type": "number",
            "format": "double",
            "description": "Exchange rate of the asset"
          }
        },
        "required": [
          "asset_address",
          "earnings"
        ]
      },
      "ResponseE58613C05201_TotalUserEarning": {
        "type": "object",
        "description": "Total user earnings for a given day grouped by asset",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time",
            "description": "Date of the earnings"
          },
          "asset_address": {
            "type": "string",
            "description": "Address of the reward asset"
          },
          "maker_address": {
            "type": "string",
            "description": "Address of the maker"
          },
          "earnings": {
            "type": "number",
            "format": "double",
            "description": "Total amount of earnings in the asset"
          },
          "asset_rate": {
            "type": "number",
            "format": "double",
            "description": "Exchange rate of the asset"
          }
        },
        "required": [
          "date",
          "asset_address",
          "maker_address",
          "earnings",
          "asset_rate"
        ]
      },
      "ResponseE58613C05201_PaginatedMarkets": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer"
          },
          "next_cursor": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_Market"
            }
          }
        }
      },
      "ResponseE58613C05201_Market": {
        "type": "object",
        "properties": {
          "enable_order_book": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          },
          "closed": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "accepting_orders": {
            "type": "boolean"
          },
          "accepting_order_timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "minimum_order_size": {
            "type": "number",
            "format": "double"
          },
          "minimum_tick_size": {
            "type": "number",
            "format": "double"
          },
          "condition_id": {
            "type": "string"
          },
          "question_id": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "market_slug": {
            "type": "string"
          },
          "end_date_iso": {
            "type": "string",
            "format": "date-time"
          },
          "game_start_time": {
            "type": "string",
            "format": "date-time"
          },
          "seconds_delay": {
            "type": "integer"
          },
          "fpmm": {
            "type": "string"
          },
          "maker_base_fee": {
            "type": "integer",
            "format": "int64"
          },
          "taker_base_fee": {
            "type": "integer",
            "format": "int64"
          },
          "notifications_enabled": {
            "type": "boolean"
          },
          "neg_risk": {
            "type": "boolean"
          },
          "neg_risk_market_id": {
            "type": "string"
          },
          "neg_risk_request_id": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "rewards": {
            "$ref": "#/components/schemas/ResponseE58613C05201_Rewards"
          },
          "is_50_50_outcome": {
            "type": "boolean"
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_Token"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ResponseE58613C05201_Rewards": {
        "type": "object",
        "properties": {
          "rates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "asset_address": {
                  "type": "string"
                },
                "rewards_daily_rate": {
                  "type": "number",
                  "format": "double"
                }
              }
            }
          },
          "min_size": {
            "type": "number",
            "format": "double"
          },
          "max_spread": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "ResponseE58613C05201_Token": {
        "type": "object",
        "properties": {
          "token_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "format": "double"
          },
          "winner": {
            "type": "boolean"
          }
        }
      },
      "ResponseE58613C05201_PaginatedSimplifiedMarkets": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer"
          },
          "next_cursor": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_SimplifiedMarket"
            }
          }
        }
      },
      "ResponseE58613C05201_SimplifiedMarket": {
        "type": "object",
        "properties": {
          "condition_id": {
            "type": "string"
          },
          "rewards": {
            "$ref": "#/components/schemas/ResponseE58613C05201_Rewards"
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseE58613C05201_Token"
            }
          },
          "active": {
            "type": "boolean"
          },
          "closed": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "accepting_orders": {
            "type": "boolean"
          }
        }
      },
      "ResponseE58613C05201_TickSize": {
        "type": "object",
        "required": [
          "minimum_tick_size"
        ],
        "properties": {
          "minimum_tick_size": {
            "type": "number",
            "format": "double",
            "description": "Minimum tick size (price increment)",
            "example": 0.01
          }
        }
      }
    },
    "responses": {},
    "parameters": {},
    "examples": {},
    "requestBodies": {},
    "headers": {},
    "links": {},
    "callbacks": {},
    "pathItems": {}
  },
  "info": {
    "description": "",
    "title": "Polymarket Clob",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/polymarket/batch-prices-history",
      "/apis/v1/polymarket/book",
      "/apis/v1/polymarket/books",
      "/apis/v1/polymarket/builder/trades",
      "/apis/v1/polymarket/cancel-all",
      "/apis/v1/polymarket/cancel-market-orders",
      "/apis/v1/polymarket/clob-markets/{condition_id}",
      "/apis/v1/polymarket/data/orders",
      "/apis/v1/polymarket/fee-rate",
      "/apis/v1/polymarket/fee-rate/{token_id}",
      "/apis/v1/polymarket/heartbeats",
      "/apis/v1/polymarket/last-trade-price",
      "/apis/v1/polymarket/last-trades-prices",
      "/apis/v1/polymarket/markets-by-token/{token_id}",
      "/apis/v1/polymarket/midpoint",
      "/apis/v1/polymarket/midpoints",
      "/apis/v1/polymarket/order",
      "/apis/v1/polymarket/order-scoring",
      "/apis/v1/polymarket/order/{orderID}",
      "/apis/v1/polymarket/orders",
      "/apis/v1/polymarket/price",
      "/apis/v1/polymarket/prices",
      "/apis/v1/polymarket/prices-history",
      "/apis/v1/polymarket/rebates/current",
      "/apis/v1/polymarket/rewards/markets/current",
      "/apis/v1/polymarket/rewards/markets/multi",
      "/apis/v1/polymarket/rewards/markets/{condition_id}",
      "/apis/v1/polymarket/rewards/user",
      "/apis/v1/polymarket/rewards/user/markets",
      "/apis/v1/polymarket/rewards/user/percentages",
      "/apis/v1/polymarket/rewards/user/total",
      "/apis/v1/polymarket/sampling-markets",
      "/apis/v1/polymarket/sampling-simplified-markets",
      "/apis/v1/polymarket/simplified-markets",
      "/apis/v1/polymarket/spread",
      "/apis/v1/polymarket/spreads",
      "/apis/v1/polymarket/tick-size",
      "/apis/v1/polymarket/tick-size/{token_id}",
      "/apis/v1/polymarket/time",
      "/apis/v1/polymarket/trades"
    ],
    "x-aisa-document": {
      "facts_hash": "3ef99d33457af3e3c3b16299db54930852c884758cba034bdda67a08da5ab7fb",
      "generator_version": "3",
      "protocol_version": "1",
      "schema_version": "1",
      "composer_version": "20",
      "response_pending": [],
      "document_hash": "sha256:4f5e4ee43fc291a2eac81a6de1e0cf1aa0b2c203f52e26bb112d5fa95e18ab72"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "polymarket-clob",
    "x-aisa-catalogs": {
      "polymarket-clob": {
        "title": "Polymarket Clob",
        "description": "",
        "x-aisa-document": {
          "facts_hash": "3ef99d33457af3e3c3b16299db54930852c884758cba034bdda67a08da5ab7fb",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        },
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        }
      }
    }
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "paths": {
    "/apis/v1/polymarket/batch-prices-history": {
      "post": {
        "description": "Retrieve historical price data for multiple markets in a single request.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_batch_pric_649cc3",
        "responses": {
          "200": {
            "description": "Successful response with price history for each market",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_BatchPricesHistoryResponse"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get batch prices history",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "a157e098caf6"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/batch-prices-history",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_batch_pric_649cc3",
          "method": "ANY",
          "path": "/apis/v1/polymarket/batch-prices-history"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "markets"
                ],
                "properties": {
                  "markets": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of market asset ids to query. Maximum 20.",
                    "maxItems": 20
                  },
                  "start_ts": {
                    "type": "number",
                    "format": "double",
                    "description": "Filter by items after this unix timestamp (seconds)."
                  },
                  "end_ts": {
                    "type": "number",
                    "format": "double",
                    "description": "Filter by items before this unix timestamp (seconds)."
                  },
                  "interval": {
                    "type": "string",
                    "enum": [
                      "max",
                      "all",
                      "1m",
                      "1w",
                      "1d",
                      "6h",
                      "1h"
                    ],
                    "description": "Time interval for data aggregation."
                  },
                  "fidelity": {
                    "type": "integer",
                    "description": "Accuracy of the data expressed in minutes. Default is 1 minute."
                  }
                }
              }
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:665771676703e81ddca0521323cc6da139a59004b43db013a740691061fa8da0"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_batch_pric_649cc3"
      }
    },
    "/apis/v1/polymarket/book": {
      "get": {
        "description": "Retrieves the order book summary for a specific token ID. Includes bids, asks, market details, and last trade price.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_book",
        "responses": {
          "200": {
            "description": "Successfully retrieved order book",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_OrderBookSummary"
                },
                "example": {
                  "market": "0x1234567890123456789012345678901234567890",
                  "asset_id": "0xabc123def456...",
                  "timestamp": "1234567890",
                  "hash": "a1b2c3d4e5f6...",
                  "bids": [
                    {
                      "price": "0.45",
                      "size": "100"
                    },
                    {
                      "price": "0.44",
                      "size": "200"
                    }
                  ],
                  "asks": [
                    {
                      "price": "0.46",
                      "size": "150"
                    },
                    {
                      "price": "0.47",
                      "size": "250"
                    }
                  ],
                  "min_order_size": "1",
                  "tick_size": "0.01",
                  "neg_risk": false,
                  "last_trade_price": "0.45"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get order book",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "490974dc3771"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/book",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_book",
          "method": "ANY",
          "path": "/apis/v1/polymarket/book"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:7974134f090072a959d2fde4b989634a807d4e94dc37ecda31d3e0192f7bad23"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/book?token_id=0xabc123def456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_book"
      }
    },
    "/apis/v1/polymarket/books": {
      "get": {
        "description": "Retrieves order book summaries for multiple token IDs using a request body.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "get_any_polymarket_clob_apis_v1_polymarket_books",
        "responses": {
          "200": {
            "description": "Successfully retrieved order books",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResponseE58613C05201_OrderBookSummary"
                  }
                },
                "example": [
                  {
                    "market": "0x1234567890123456789012345678901234567890",
                    "asset_id": "0xabc123def456...",
                    "timestamp": "1234567890",
                    "hash": "a1b2c3d4e5f6...",
                    "bids": [
                      {
                        "price": "0.45",
                        "size": "100"
                      }
                    ],
                    "asks": [
                      {
                        "price": "0.46",
                        "size": "150"
                      }
                    ],
                    "min_order_size": "1",
                    "tick_size": "0.01",
                    "neg_risk": false,
                    "last_trade_price": "0.45"
                  }
                ]
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get order books (request body)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "6e7bd2d782bf"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/books",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_books",
          "method": "ANY",
          "path": "/apis/v1/polymarket/books"
        },
        "parameters": [
          {
            "name": "token_ids",
            "in": "query",
            "description": "Comma-separated list of token IDs",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123...,0xdef456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:873787a61b7be25299a195713628a5dfa8e8b5171e02cbafc8bebcefaccd1338"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/books?token_ids=0xabc123...%2C0xdef456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/get_any_polymarket_clob_apis_v1_polymarket_books"
      },
      "post": {
        "description": "Retrieves order book summaries for multiple token IDs using a request body.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "post_any_polymarket_clob_apis_v1_polymarket_books",
        "responses": {
          "200": {
            "description": "Successfully retrieved order books",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResponseE58613C05201_OrderBookSummary"
                  }
                },
                "example": [
                  {
                    "market": "0x1234567890123456789012345678901234567890",
                    "asset_id": "0xabc123def456...",
                    "timestamp": "1234567890",
                    "hash": "a1b2c3d4e5f6...",
                    "bids": [
                      {
                        "price": "0.45",
                        "size": "100"
                      }
                    ],
                    "asks": [
                      {
                        "price": "0.46",
                        "size": "150"
                      }
                    ],
                    "min_order_size": "1",
                    "tick_size": "0.01",
                    "neg_risk": false,
                    "last_trade_price": "0.45"
                  }
                ]
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get order books (request body)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "6e7bd2d782bf"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/books",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_books",
          "method": "ANY",
          "path": "/apis/v1/polymarket/books"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token_id"
                  ],
                  "properties": {
                    "token_id": {
                      "type": "string",
                      "description": "Token ID (asset ID)",
                      "example": "0xabc123def456..."
                    },
                    "side": {
                      "type": "string",
                      "description": "Order side (optional, not used for midpoint calculation)",
                      "enum": [
                        "BUY",
                        "SELL"
                      ],
                      "example": "BUY"
                    }
                  }
                }
              },
              "example": [
                {
                  "token_id": "0xabc123def456..."
                },
                {
                  "token_id": "0xdef456abc123..."
                }
              ]
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:873787a61b7be25299a195713628a5dfa8e8b5171e02cbafc8bebcefaccd1338"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/polymarket/books \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '[\n  {\n    \"token_id\": \"0xabc123def456...\"\n  },\n  {\n    \"token_id\": \"0xdef456abc123...\"\n  }\n]'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/post_any_polymarket_clob_apis_v1_polymarket_books"
      }
    },
    "/apis/v1/polymarket/builder/trades": {
      "get": {
        "description": "Retrieves trades attributed to a builder code.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_builder_trades",
        "responses": {
          "200": {
            "description": "Successfully retrieved builder trades",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_BuilderTradesResponse"
                },
                "examples": {
                  "example": {
                    "summary": "Builder trades response",
                    "value": {
                      "limit": 300,
                      "next_cursor": "MzAw",
                      "count": 2,
                      "data": [
                        {
                          "id": "trade-123",
                          "tradeType": "TAKER",
                          "takerOrderHash": "0xabcdef1234567890abcdef1234567890abcdef12",
                          "builder": "0x0000000000000000000000000000000000000000000000000000000000000001",
                          "market": "0x0000000000000000000000000000000000000000000000000000000000000001",
                          "assetId": "15871154585880608648532107628464183779895785213830018178010423617714102767076",
                          "side": "BUY",
                          "size": "100000000",
                          "sizeUsdc": "50000000",
                          "price": "0.5",
                          "status": "TRADE_STATUS_CONFIRMED",
                          "outcome": "YES",
                          "outcomeIndex": 0,
                          "owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
                          "maker": "0x1234567890123456789012345678901234567890",
                          "transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
                          "matchTime": "1700000000",
                          "bucketIndex": 0,
                          "fee": "300000",
                          "feeUsdc": "150000",
                          "createdAt": "2024-01-01T00:00:00Z",
                          "updatedAt": "2024-01-01T00:00:00Z"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get builder trades",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "29e13cf45047"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/builder/trades",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_builder_trades",
          "method": "ANY",
          "path": "/apis/v1/polymarket/builder/trades"
        },
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "description": "Filter trades after this Unix timestamp",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            },
            "example": "1600000000"
          },
          {
            "name": "asset_id",
            "in": "query",
            "description": "Asset ID (token ID) to filter trades",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "15871154585880608648532107628464183779895785213830018178010423617714102767076"
          },
          {
            "name": "before",
            "in": "query",
            "description": "Filter trades before this Unix timestamp",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            },
            "example": "1700000000"
          },
          {
            "name": "builder_code",
            "in": "query",
            "description": "Builder code to fetch attributed trades for",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{64}$"
            },
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          {
            "name": "id",
            "in": "query",
            "description": "Trade ID to filter by specific trade",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "trade-123"
          },
          {
            "name": "market",
            "in": "query",
            "description": "Market (condition ID) to filter trades",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{64}$"
            },
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Cursor for pagination (base64 encoded offset)",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "MA=="
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:bdab26b1021370c7501b2133ac9167323c69a2f6c1bb5cbc7aa996e452f37f1d"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/builder/trades?after=1600000000&asset_id=15871154585880608648532107628464183779895785213830018178010423617714102767076&before=1700000000&builder_code=0x0000000000000000000000000000000000000000000000000000000000000001&id=trade-123&market=0x0000000000000000000000000000000000000000000000000000000000000001&next_cursor=MA%3D%3D' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_builder_trades"
      }
    },
    "/apis/v1/polymarket/cancel-all": {
      "delete": {
        "description": "Cancel all open orders for the authenticated user.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_cancel_all",
        "responses": {
          "200": {
            "description": "Cancellation results for all orders",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_CancelOrdersResponse"
                },
                "examples": {
                  "canceled": {
                    "summary": "All orders canceled",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12",
                        "0xfedcba0987654321fedcba0987654321fedcba09"
                      ],
                      "not_canceled": {}
                    }
                  },
                  "mixed": {
                    "summary": "Some orders canceled, some not",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12"
                      ],
                      "not_canceled": {
                        "0xfedcba0987654321fedcba0987654321fedcba09": "Order already matched"
                      }
                    }
                  },
                  "no_orders": {
                    "summary": "No orders to cancel",
                    "value": {
                      "canceled": [],
                      "not_canceled": {}
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Cancel all orders",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "4b247fddea85"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/cancel-all",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_cancel_all",
          "method": "ANY",
          "path": "/apis/v1/polymarket/cancel-all"
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:b62a858721b1974857363240c189184e7465a7a9c0dded6205a543dea0693850"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_cancel_all"
      }
    },
    "/apis/v1/polymarket/cancel-market-orders": {
      "delete": {
        "description": "Cancel orders for a specific market, optionally scoped to an asset ID.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_cancel_mar_a29973",
        "responses": {
          "200": {
            "description": "Cancellation results for market orders",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_CancelOrdersResponse"
                },
                "examples": {
                  "canceled": {
                    "summary": "All market orders canceled",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12",
                        "0xfedcba0987654321fedcba0987654321fedcba09"
                      ],
                      "not_canceled": {}
                    }
                  },
                  "mixed": {
                    "summary": "Some orders canceled, some not",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12"
                      ],
                      "not_canceled": {
                        "0xfedcba0987654321fedcba0987654321fedcba09": "Order already matched"
                      }
                    }
                  },
                  "no_orders": {
                    "summary": "No orders found for this market",
                    "value": {
                      "canceled": [],
                      "not_canceled": {}
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Cancel orders for a market",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "f838c0216288"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/cancel-market-orders",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_cancel_mar_a29973",
          "method": "ANY",
          "path": "/apis/v1/polymarket/cancel-market-orders"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "market",
                  "asset_id"
                ],
                "properties": {
                  "market": {
                    "type": "string",
                    "description": "Market (condition ID)",
                    "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
                  },
                  "asset_id": {
                    "type": "string",
                    "description": "Asset ID (token ID)",
                    "example": "0xabc123def456..."
                  }
                }
              },
              "example": {
                "market": "0x0000000000000000000000000000000000000000000000000000000000000001",
                "asset_id": "0xabc123def456..."
              }
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:f03ea908489598e933f32228ce95db121d98a63ab836c0d147bb769c4b831bf3"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_cancel_mar_a29973"
      }
    },
    "/apis/v1/polymarket/clob-markets/{condition_id}": {
      "get": {
        "description": "Returns all CLOB-level parameters for a market in a single call — tokens, tick size, base fees, rewards, RFQ status, and fee details.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_clob_marke_bb5be4",
        "responses": {
          "200": {
            "description": "Successfully retrieved CLOB market info",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_ClobMarketDetails"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get CLOB market info",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "0764f0f80f08"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/clob-markets/{condition_id}",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_clob_marke_bb5be4",
          "method": "ANY",
          "path": "/apis/v1/polymarket/clob-markets/{condition_id}"
        },
        "parameters": [
          {
            "name": "condition_id",
            "in": "path",
            "required": true,
            "description": "The condition ID of the market",
            "schema": {
              "type": "string"
            },
            "example": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:c836621b3c5aa27cac993caf5fb4fd3484452b24b661be191f227c4546e29c93"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url https://api.aisa.one/apis/v1/polymarket/clob-markets/0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_clob_marke_bb5be4"
      }
    },
    "/apis/v1/polymarket/data/orders": {
      "get": {
        "description": "Retrieve open orders for the authenticated user. Returns paginated results and supports filtering by order, market, asset, and cursor.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_data_orders",
        "responses": {
          "200": {
            "description": "Successfully retrieved orders",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_OrdersResponse"
                },
                "examples": {
                  "example": {
                    "summary": "User orders response",
                    "value": {
                      "limit": 100,
                      "next_cursor": "MTAw",
                      "count": 2,
                      "data": [
                        {
                          "id": "0xabcdef1234567890abcdef1234567890abcdef12",
                          "status": "LIVE",
                          "owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
                          "maker_address": "0x1234567890123456789012345678901234567890",
                          "market": "0x0000000000000000000000000000000000000000000000000000000000000001",
                          "asset_id": "0xabc123def456...",
                          "side": "BUY",
                          "original_size": "100",
                          "size_matched": "0",
                          "price": "0.5",
                          "outcome": "YES",
                          "expiration": "1735689600",
                          "order_type": "GTC",
                          "associate_trades": [],
                          "created_at": 1700000000
                        },
                        {
                          "id": "0xfedcba0987654321fedcba0987654321fedcba09",
                          "status": "LIVE",
                          "owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
                          "maker_address": "0x1234567890123456789012345678901234567890",
                          "market": "0x0000000000000000000000000000000000000000000000000000000000000002",
                          "asset_id": "0xdef456abc789...",
                          "side": "SELL",
                          "original_size": "200",
                          "size_matched": "50",
                          "price": "0.75",
                          "outcome": "NO",
                          "expiration": "1735689600",
                          "order_type": "GTC",
                          "associate_trades": [
                            "trade-123"
                          ],
                          "created_at": 1700000001
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get user orders",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "38255dc55321"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/data/orders",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_data_orders",
          "method": "ANY",
          "path": "/apis/v1/polymarket/data/orders"
        },
        "parameters": [
          {
            "name": "asset_id",
            "in": "query",
            "description": "Asset ID (token ID) to filter orders",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          },
          {
            "name": "id",
            "in": "query",
            "description": "Order ID (hash) to filter by specific order",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xabcdef1234567890abcdef1234567890abcdef12"
          },
          {
            "name": "market",
            "in": "query",
            "description": "Market (condition ID) to filter orders",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0x0000000000000000000000000000000000000000000000000000000000000001"
          },
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Cursor for pagination (base64 encoded offset)",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "MA=="
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:de15bd7617f75797c4e0e3bb9942071d87dd5237b53feccebf8a4d04521efe28"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_data_orders"
      }
    },
    "/apis/v1/polymarket/fee-rate": {
      "get": {
        "description": "Retrieves the base fee rate for a specific token ID. The fee rate can be provided either as a query parameter or as a path parameter.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_fee_rate",
        "responses": {
          "200": {
            "description": "Successfully retrieved fee rate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_FeeRate"
                },
                "example": {
                  "base_fee": 30
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get fee rate",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "b885edb01035"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/fee-rate",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_fee_rate",
          "method": "ANY",
          "path": "/apis/v1/polymarket/fee-rate"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:8b820b9399b6640ed485028def3b894cd0839b8d05fb2a2f0168d716b96565b0"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_fee_rate"
      }
    },
    "/apis/v1/polymarket/fee-rate/{token_id}": {
      "get": {
        "description": "Retrieves the base fee rate for a specific token ID using the token ID as a path parameter.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_fee_rate_token_id",
        "responses": {
          "200": {
            "description": "Successfully retrieved fee rate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_FeeRate"
                },
                "example": {
                  "base_fee": 30
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get fee rate by path parameter",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "c5acd228665d"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/fee-rate/{token_id}",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_fee_rate_token_id",
          "method": "ANY",
          "path": "/apis/v1/polymarket/fee-rate/{token_id}"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "path",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:8b820b9399b6640ed485028def3b894cd0839b8d05fb2a2f0168d716b96565b0"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url https://api.aisa.one/apis/v1/polymarket/fee-rate/0xabc123def456... \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_fee_rate_token_id"
      }
    },
    "/apis/v1/polymarket/heartbeats": {
      "post": {
        "description": "Send a heartbeat to maintain active session status. If heartbeats are not sent regularly, all open orders for the user are automatically canceled.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_heartbeats",
        "responses": {
          "200": {
            "description": "Heartbeat acknowledged",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_HeartbeatResponse"
                },
                "example": {
                  "status": "ok"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Send heartbeat",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "0a917dcc162b"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/heartbeats",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_heartbeats",
          "method": "ANY",
          "path": "/apis/v1/polymarket/heartbeats"
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:ea981be09c454b57a1829f4d959ba967761d29b1d588f6e2c160f20c4e1c4962"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_heartbeats"
      }
    },
    "/apis/v1/polymarket/last-trade-price": {
      "get": {
        "description": "Retrieves the last trade price and side for a specific token ID. Returns default values of 0.5 for price and empty string for side if no trades found.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_last_trade_price",
        "responses": {
          "200": {
            "description": "Successfully retrieved last trade price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "price",
                    "side"
                  ],
                  "properties": {
                    "price": {
                      "type": "string",
                      "description": "Last trade price",
                      "example": "0.45"
                    },
                    "side": {
                      "type": "string",
                      "description": "Last trade side (BUY or SELL)",
                      "enum": [
                        "BUY",
                        "SELL",
                        ""
                      ],
                      "example": "BUY"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get last trade price",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "5f2e31f160db"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/last-trade-price",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_last_trade_price",
          "method": "ANY",
          "path": "/apis/v1/polymarket/last-trade-price"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:560f498802389d92260c1202c282595c5d0536632db776634e4bca726201a264"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/last-trade-price?token_id=0xabc123def456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_last_trade_price"
      }
    },
    "/apis/v1/polymarket/last-trades-prices": {
      "get": {
        "description": "Retrieves last trade prices for multiple token IDs using query parameters. Maximum 500 token IDs can be requested per call.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "get_any_polymarket_clob_apis_v1_polymarket_last_t_e0a230",
        "responses": {
          "200": {
            "description": "Successfully retrieved last trade prices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "token_id",
                      "price",
                      "side"
                    ],
                    "properties": {
                      "token_id": {
                        "type": "string",
                        "description": "Token ID (asset ID)",
                        "example": "0xabc123def456..."
                      },
                      "price": {
                        "type": "string",
                        "description": "Last trade price",
                        "example": "0.45"
                      },
                      "side": {
                        "type": "string",
                        "description": "Last trade side (BUY or SELL)",
                        "enum": [
                          "BUY",
                          "SELL"
                        ],
                        "example": "BUY"
                      }
                    }
                  }
                },
                "example": [
                  {
                    "token_id": "0xabc123def456...",
                    "price": "0.45",
                    "side": "BUY"
                  },
                  {
                    "token_id": "0xdef456abc123...",
                    "price": "0.52",
                    "side": "SELL"
                  }
                ]
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get last trade prices (query parameters)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e1608b48c177"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/last-trades-prices",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_last_trade_dcee0c",
          "method": "ANY",
          "path": "/apis/v1/polymarket/last-trades-prices"
        },
        "parameters": [
          {
            "name": "token_ids",
            "in": "query",
            "description": "Comma-separated list of token IDs (max 500)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123...,0xdef456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:cbaa23e33ad40a88f2511bcee22f8de43abbc882d352a5cbac68c7839b3d2076"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/last-trades-prices?token_ids=0xabc123...%2C0xdef456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/get_any_polymarket_clob_apis_v1_polymarket_last_t_e0a230"
      },
      "post": {
        "description": "Retrieves last trade prices for multiple token IDs using query parameters. Maximum 500 token IDs can be requested per call.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "post_any_polymarket_clob_apis_v1_polymarket_last__b38f3e",
        "responses": {
          "200": {
            "description": "Successfully retrieved last trade prices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "token_id",
                      "price",
                      "side"
                    ],
                    "properties": {
                      "token_id": {
                        "type": "string",
                        "description": "Token ID (asset ID)",
                        "example": "0xabc123def456..."
                      },
                      "price": {
                        "type": "string",
                        "description": "Last trade price",
                        "example": "0.45"
                      },
                      "side": {
                        "type": "string",
                        "description": "Last trade side (BUY or SELL)",
                        "enum": [
                          "BUY",
                          "SELL"
                        ],
                        "example": "BUY"
                      }
                    }
                  }
                },
                "example": [
                  {
                    "token_id": "0xabc123def456...",
                    "price": "0.45",
                    "side": "BUY"
                  },
                  {
                    "token_id": "0xdef456abc123...",
                    "price": "0.52",
                    "side": "SELL"
                  }
                ]
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get last trade prices (query parameters)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e1608b48c177"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/last-trades-prices",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_last_trade_dcee0c",
          "method": "ANY",
          "path": "/apis/v1/polymarket/last-trades-prices"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token_id"
                  ],
                  "properties": {
                    "token_id": {
                      "type": "string",
                      "description": "Token ID (asset ID)",
                      "example": "0xabc123def456..."
                    },
                    "side": {
                      "type": "string",
                      "description": "Order side (optional, not used for midpoint calculation)",
                      "enum": [
                        "BUY",
                        "SELL"
                      ],
                      "example": "BUY"
                    }
                  }
                }
              },
              "example": [
                {
                  "token_id": "0xabc123def456..."
                },
                {
                  "token_id": "0xdef456abc123..."
                }
              ]
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:cbaa23e33ad40a88f2511bcee22f8de43abbc882d352a5cbac68c7839b3d2076"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/polymarket/last-trades-prices \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '[\n  {\n    \"token_id\": \"0xabc123def456...\"\n  },\n  {\n    \"token_id\": \"0xdef456abc123...\"\n  }\n]'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/post_any_polymarket_clob_apis_v1_polymarket_last__b38f3e"
      }
    },
    "/apis/v1/polymarket/markets-by-token/{token_id}": {
      "get": {
        "description": "Return the parent market for a given token id.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.00044 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_markets_by_bc50a0",
        "responses": {
          "200": {
            "description": "Successfully retrieved market",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_MarketByTokenResponse"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get market by token",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.00044,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "6eaa0bf5df0d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "29f3448dcc17"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/markets-by-token/{token_id}",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_markets_by_bc50a0",
          "method": "ANY",
          "path": "/apis/v1/polymarket/markets-by-token/{token_id}"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "path",
            "required": true,
            "description": "The token ID to look up the parent market for",
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:7c12c512dabf8c1c1fe16b59efdb9d383bb02bfd83863032bc78e8e89e9d3eb5"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_markets_by_bc50a0"
      }
    },
    "/apis/v1/polymarket/midpoint": {
      "get": {
        "description": "Retrieves the midpoint price for a specific token ID. The midpoint is calculated as the average of the best bid and best ask prices.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_midpoint",
        "responses": {
          "200": {
            "description": "Successfully retrieved midpoint price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "mid_price"
                  ],
                  "properties": {
                    "mid_price": {
                      "type": "string",
                      "description": "Midpoint price as a string",
                      "example": "0.45"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get midpoint price",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e6dda162258c"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/midpoint",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_midpoint",
          "method": "ANY",
          "path": "/apis/v1/polymarket/midpoint"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:ae073801feb73691be77594ae850d1c461443a833a405ad52f2dbae46e070c6d"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/midpoint?token_id=0xabc123def456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_midpoint"
      }
    },
    "/apis/v1/polymarket/midpoints": {
      "get": {
        "description": "Retrieves midpoint prices for multiple token IDs using query parameters. The midpoint is calculated as the average of the best bid and best ask prices.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "get_any_polymarket_clob_apis_v1_polymarket_midpoints",
        "responses": {
          "200": {
            "description": "Successfully retrieved midpoint prices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Map of token ID to midpoint price"
                },
                "example": {
                  "0xabc123def456...": "0.45",
                  "0xdef456abc123...": "0.52"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get midpoint prices (query parameters)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "aa69f9a8458a"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/midpoints",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_midpoints",
          "method": "ANY",
          "path": "/apis/v1/polymarket/midpoints"
        },
        "parameters": [
          {
            "name": "token_ids",
            "in": "query",
            "description": "Comma-separated list of token IDs",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123...,0xdef456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:fb8076b5d0f051a6f6b3f798af22d20184b4a794eeb196126c9aec111708c480"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/midpoints?token_ids=0xabc123...%2C0xdef456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/get_any_polymarket_clob_apis_v1_polymarket_midpoints"
      },
      "post": {
        "description": "Retrieves midpoint prices for multiple token IDs using query parameters. The midpoint is calculated as the average of the best bid and best ask prices.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "post_any_polymarket_clob_apis_v1_polymarket_midpoints",
        "responses": {
          "200": {
            "description": "Successfully retrieved midpoint prices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Map of token ID to midpoint price"
                },
                "example": {
                  "0xabc123def456...": "0.45",
                  "0xdef456abc123...": "0.52"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get midpoint prices (query parameters)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "aa69f9a8458a"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/midpoints",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_midpoints",
          "method": "ANY",
          "path": "/apis/v1/polymarket/midpoints"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token_id"
                  ],
                  "properties": {
                    "token_id": {
                      "type": "string",
                      "description": "Token ID (asset ID)",
                      "example": "0xabc123def456..."
                    },
                    "side": {
                      "type": "string",
                      "description": "Order side (optional, not used for midpoint calculation)",
                      "enum": [
                        "BUY",
                        "SELL"
                      ],
                      "example": "BUY"
                    }
                  }
                }
              },
              "example": [
                {
                  "token_id": "0xabc123def456..."
                },
                {
                  "token_id": "0xdef456abc123..."
                }
              ]
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:fb8076b5d0f051a6f6b3f798af22d20184b4a794eeb196126c9aec111708c480"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/polymarket/midpoints \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '[\n  {\n    \"token_id\": \"0xabc123def456...\"\n  },\n  {\n    \"token_id\": \"0xdef456abc123...\"\n  }\n]'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/post_any_polymarket_clob_apis_v1_polymarket_midpoints"
      }
    },
    "/apis/v1/polymarket/order": {
      "delete": {
        "description": "Submit a new order to the CLOB API.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "delete_any_polymarket_clob_apis_v1_polymarket_order",
        "responses": {
          "200": {
            "description": "Order cancellation result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_CancelOrdersResponse"
                },
                "examples": {
                  "canceled": {
                    "summary": "Order successfully canceled",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12"
                      ],
                      "not_canceled": {}
                    }
                  },
                  "not_canceled": {
                    "summary": "Order could not be canceled",
                    "value": {
                      "canceled": [],
                      "not_canceled": {
                        "0xabcdef1234567890abcdef1234567890abcdef12": "Order not found or already canceled"
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Post a new order",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "020aec1a4598"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/order",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_order",
          "method": "ANY",
          "path": "/apis/v1/polymarket/order"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderID"
                ],
                "properties": {
                  "orderID": {
                    "type": "string",
                    "description": "Order ID (order hash) to cancel",
                    "example": "0xabcdef1234567890abcdef1234567890abcdef12"
                  }
                }
              },
              "example": {
                "orderID": "0xabcdef1234567890abcdef1234567890abcdef12"
              }
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:836f79ec317cc0e82dbe29940fedd204090830b3807871ec77456aa6d78d20b0"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/delete_any_polymarket_clob_apis_v1_polymarket_order"
      },
      "post": {
        "description": "Submit a new order to the CLOB API.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "post_any_polymarket_clob_apis_v1_polymarket_order",
        "responses": {
          "200": {
            "description": "Order successfully processed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_SendOrderResponse"
                },
                "examples": {
                  "live_order": {
                    "summary": "Order placed on book",
                    "value": {
                      "success": true,
                      "orderID": "0xabcdef1234567890abcdef1234567890abcdef12",
                      "status": "live",
                      "makingAmount": "100000000",
                      "takingAmount": "200000000",
                      "errorMsg": ""
                    }
                  },
                  "matched_order": {
                    "summary": "Order immediately matched",
                    "value": {
                      "success": true,
                      "orderID": "0xabcdef1234567890abcdef1234567890abcdef12",
                      "status": "matched",
                      "makingAmount": "100000000",
                      "takingAmount": "200000000",
                      "transactionsHashes": [
                        "0x1234567890abcdef1234567890abcdef12345678"
                      ],
                      "tradeIDs": [
                        "trade-123"
                      ],
                      "errorMsg": ""
                    }
                  },
                  "delayed_order": {
                    "summary": "Order delayed",
                    "value": {
                      "success": true,
                      "orderID": "0xabcdef1234567890abcdef1234567890abcdef12",
                      "status": "delayed",
                      "makingAmount": "100000000",
                      "takingAmount": "200000000",
                      "errorMsg": ""
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Post a new order",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "020aec1a4598"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/order",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_order",
          "method": "ANY",
          "path": "/apis/v1/polymarket/order"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "order",
                  "owner"
                ],
                "properties": {
                  "order": {
                    "type": "object",
                    "description": "Order payload submitted to the CLOB API. In CLOB V2, `expiration` remains in\nthe POST /order wire body for GTD/order-expiry handling, but it is not part\nof the EIP-712 signed order struct.\n",
                    "required": [
                      "maker",
                      "signer",
                      "tokenId",
                      "makerAmount",
                      "takerAmount",
                      "side",
                      "expiration",
                      "timestamp",
                      "builder",
                      "signature",
                      "salt",
                      "signatureType"
                    ],
                    "properties": {
                      "maker": {
                        "type": "string",
                        "description": "Ethereum address of the maker (In the default case, this is your proxy address)",
                        "example": "0x1234567890123456789012345678901234567890"
                      },
                      "signer": {
                        "type": "string",
                        "description": "Ethereum address of the signer",
                        "example": "0x1234567890123456789012345678901234567890"
                      },
                      "tokenId": {
                        "type": "string",
                        "description": "Token ID (asset ID) for the order",
                        "example": "0xabc123def456..."
                      },
                      "makerAmount": {
                        "type": "string",
                        "description": "Amount the maker is providing in fixed-math with 6 decimals",
                        "example": "100000000"
                      },
                      "takerAmount": {
                        "type": "string",
                        "description": "Amount the taker is providing in fixed-math with 6 decimals",
                        "example": "200000000"
                      },
                      "side": {
                        "type": "string",
                        "description": "Order side",
                        "enum": [
                          "BUY",
                          "SELL"
                        ],
                        "example": "BUY"
                      },
                      "expiration": {
                        "type": "string",
                        "description": "Unix timestamp when the order expires. Present in the API wire body; not part of the CLOB V2 EIP-712 signed order struct.",
                        "example": "1735689600"
                      },
                      "timestamp": {
                        "type": "string",
                        "description": "Unix timestamp in milliseconds when the order was created (used for order uniqueness)",
                        "example": "1735689600000"
                      },
                      "metadata": {
                        "type": "string",
                        "description": "Reserved for future use",
                        "example": ""
                      },
                      "builder": {
                        "type": "string",
                        "description": "Builder code (bytes32) for integrator attribution. `0x` + 64 hex chars or empty.",
                        "example": "0x0000000000000000000000000000000000000000000000000000000000000000"
                      },
                      "signature": {
                        "type": "string",
                        "description": "Cryptographic signature of the order",
                        "example": "0x1234abcd..."
                      },
                      "salt": {
                        "type": "integer",
                        "description": "Random salt for order uniqueness",
                        "example": 1234567890
                      },
                      "signatureType": {
                        "type": "integer",
                        "description": "Type of signature (0 = EOA, 1 = POLY_PROXY, 2 = POLY_GNOSIS_SAFE)",
                        "enum": [
                          0,
                          1,
                          2
                        ]
                      }
                    }
                  },
                  "owner": {
                    "type": "string",
                    "description": "UUID of the API key owner",
                    "example": "f4f247b7-4ac7-ff29-a152-04fda0a8755a"
                  },
                  "orderType": {
                    "type": "string",
                    "description": "Time in force",
                    "enum": [
                      "GTC",
                      "FOK",
                      "GTD",
                      "FAK"
                    ],
                    "default": "GTC"
                  },
                  "deferExec": {
                    "type": "boolean",
                    "description": "Whether to defer execution",
                    "default": false
                  },
                  "postOnly": {
                    "type": "boolean",
                    "description": "Whether the order must rest on the book and not match immediately. Only supported for GTC and GTD orders.",
                    "default": false
                  }
                }
              },
              "examples": {
                "example": {
                  "summary": "Send order example",
                  "value": {
                    "order": {
                      "maker": "0x1234567890123456789012345678901234567890",
                      "signer": "0x1234567890123456789012345678901234567890",
                      "tokenId": "0xabc123def456...",
                      "makerAmount": "100000000",
                      "takerAmount": "200000000",
                      "side": "BUY",
                      "expiration": "1735689600",
                      "timestamp": "1735689600000",
                      "metadata": "",
                      "builder": "0x0000000000000000000000000000000000000000000000000000000000000000",
                      "signature": "0x1234abcd...",
                      "salt": 1234567890,
                      "signatureType": 0
                    },
                    "owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
                    "orderType": "GTC",
                    "deferExec": false,
                    "postOnly": false
                  }
                }
              }
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:b86e230bc26a56a5f9c2545260d5f92722368e2c4acc4d44537fc87f4bd058ca"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/post_any_polymarket_clob_apis_v1_polymarket_order"
      }
    },
    "/apis/v1/polymarket/order-scoring": {
      "get": {
        "description": "Check whether a specific order is currently scoring for rewards.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_order_scoring",
        "responses": {
          "200": {
            "description": "Successfully retrieved order scoring status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_OrderScoringResponse"
                },
                "examples": {
                  "scoring": {
                    "summary": "Order is scoring",
                    "value": {
                      "scoring": true
                    }
                  },
                  "not_scoring": {
                    "summary": "Order is not scoring",
                    "value": {
                      "scoring": false
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get order scoring status",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e8f5b9ff347e"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/order-scoring",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_order_scoring",
          "method": "ANY",
          "path": "/apis/v1/polymarket/order-scoring"
        },
        "parameters": [
          {
            "name": "order_id",
            "in": "query",
            "description": "The order ID (order hash) to check scoring status for",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:b1d2ff55321ba032cc97a2e88748911d749fdd5843b2390cb9e35b7faabb10f4"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/order-scoring?order_id=0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_order_scoring"
      }
    },
    "/apis/v1/polymarket/orders": {
      "delete": {
        "description": "Submit multiple orders to the CLOB API in a single request. Maximum array length is 15.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "delete_get_polymarket-orders",
        "responses": {
          "200": {
            "description": "Cancellation results for all orders",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_CancelOrdersResponse"
                },
                "examples": {
                  "all_canceled": {
                    "summary": "All orders canceled",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12",
                        "0xfedcba0987654321fedcba0987654321fedcba09",
                        "0x1234567890abcdef1234567890abcdef12345678"
                      ],
                      "not_canceled": {}
                    }
                  },
                  "mixed": {
                    "summary": "Some orders canceled, some not",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12",
                        "0xfedcba0987654321fedcba0987654321fedcba09"
                      ],
                      "not_canceled": {
                        "0x1234567890abcdef1234567890abcdef12345678": "Order already matched"
                      }
                    }
                  },
                  "partial": {
                    "summary": "Partial cancellation",
                    "value": {
                      "canceled": [
                        "0xabcdef1234567890abcdef1234567890abcdef12"
                      ],
                      "not_canceled": {
                        "0xfedcba0987654321fedcba0987654321fedcba09": "Order not found",
                        "0x1234567890abcdef1234567890abcdef12345678": "Order already canceled"
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Post multiple orders",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "99d624559d23"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/orders",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "get_polymarket-orders",
          "method": "ANY",
          "path": "/apis/v1/polymarket/orders"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 1000
              },
              "example": [
                "0xabcdef1234567890abcdef1234567890abcdef12",
                "0xfedcba0987654321fedcba0987654321fedcba09",
                "0x1234567890abcdef1234567890abcdef12345678"
              ]
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:82a95b2ce43677fbaf31dcf064a1d513caf978b9cb7e9c7af17c8b2a1f893654"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/delete_get_polymarket-orders"
      },
      "post": {
        "description": "Submit multiple orders to the CLOB API in a single request. Maximum array length is 15.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "post_get_polymarket-orders",
        "responses": {
          "200": {
            "description": "Orders successfully processed. Returns an array of order responses, one for each order in the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResponseE58613C05201_SendOrderResponse"
                  }
                },
                "examples": {
                  "mixed_results": {
                    "summary": "Mixed order results",
                    "value": [
                      {
                        "success": true,
                        "orderID": "0xabcdef1234567890abcdef1234567890abcdef12",
                        "status": "live",
                        "makingAmount": "100000000",
                        "takingAmount": "200000000",
                        "errorMsg": ""
                      },
                      {
                        "success": true,
                        "orderID": "0xfedcba0987654321fedcba0987654321fedcba09",
                        "status": "matched",
                        "makingAmount": "200000000",
                        "takingAmount": "100000000",
                        "transactionsHashes": [
                          "0x1234567890abcdef1234567890abcdef12345678"
                        ],
                        "tradeIDs": [
                          "trade-123"
                        ],
                        "errorMsg": ""
                      },
                      {
                        "success": false,
                        "orderID": "",
                        "status": "delayed",
                        "errorMsg": "Rate limit exceeded for tokenId: 0xdef456abc789..."
                      }
                    ]
                  },
                  "post_only_mode": {
                    "summary": "Post-only mode results",
                    "value": [
                      {
                        "errorMsg": "post-only mode: only post-only orders and cancels are allowed",
                        "orderID": "",
                        "takingAmount": "",
                        "makingAmount": "",
                        "status": "",
                        "success": true
                      },
                      {
                        "errorMsg": "post-only mode: only post-only orders and cancels are allowed",
                        "orderID": "",
                        "takingAmount": "",
                        "makingAmount": "",
                        "status": "",
                        "success": true
                      }
                    ]
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Post multiple orders",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "99d624559d23"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/orders",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "get_polymarket-orders",
          "method": "ANY",
          "path": "/apis/v1/polymarket/orders"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "order",
                    "owner"
                  ],
                  "properties": {
                    "order": {
                      "type": "object",
                      "description": "Order payload submitted to the CLOB API. In CLOB V2, `expiration` remains in\nthe POST /order wire body for GTD/order-expiry handling, but it is not part\nof the EIP-712 signed order struct.\n",
                      "required": [
                        "maker",
                        "signer",
                        "tokenId",
                        "makerAmount",
                        "takerAmount",
                        "side",
                        "expiration",
                        "timestamp",
                        "builder",
                        "signature",
                        "salt",
                        "signatureType"
                      ],
                      "properties": {
                        "maker": {
                          "type": "string",
                          "description": "Ethereum address of the maker (In the default case, this is your proxy address)",
                          "example": "0x1234567890123456789012345678901234567890"
                        },
                        "signer": {
                          "type": "string",
                          "description": "Ethereum address of the signer",
                          "example": "0x1234567890123456789012345678901234567890"
                        },
                        "tokenId": {
                          "type": "string",
                          "description": "Token ID (asset ID) for the order",
                          "example": "0xabc123def456..."
                        },
                        "makerAmount": {
                          "type": "string",
                          "description": "Amount the maker is providing in fixed-math with 6 decimals",
                          "example": "100000000"
                        },
                        "takerAmount": {
                          "type": "string",
                          "description": "Amount the taker is providing in fixed-math with 6 decimals",
                          "example": "200000000"
                        },
                        "side": {
                          "type": "string",
                          "description": "Order side",
                          "enum": [
                            "BUY",
                            "SELL"
                          ],
                          "example": "BUY"
                        },
                        "expiration": {
                          "type": "string",
                          "description": "Unix timestamp when the order expires. Present in the API wire body; not part of the CLOB V2 EIP-712 signed order struct.",
                          "example": "1735689600"
                        },
                        "timestamp": {
                          "type": "string",
                          "description": "Unix timestamp in milliseconds when the order was created (used for order uniqueness)",
                          "example": "1735689600000"
                        },
                        "metadata": {
                          "type": "string",
                          "description": "Reserved for future use",
                          "example": ""
                        },
                        "builder": {
                          "type": "string",
                          "description": "Builder code (bytes32) for integrator attribution. `0x` + 64 hex chars or empty.",
                          "example": "0x0000000000000000000000000000000000000000000000000000000000000000"
                        },
                        "signature": {
                          "type": "string",
                          "description": "Cryptographic signature of the order",
                          "example": "0x1234abcd..."
                        },
                        "salt": {
                          "type": "integer",
                          "description": "Random salt for order uniqueness",
                          "example": 1234567890
                        },
                        "signatureType": {
                          "type": "integer",
                          "description": "Type of signature (0 = EOA, 1 = POLY_PROXY, 2 = POLY_GNOSIS_SAFE)",
                          "enum": [
                            0,
                            1,
                            2
                          ]
                        }
                      }
                    },
                    "owner": {
                      "type": "string",
                      "description": "UUID of the API key owner",
                      "example": "f4f247b7-4ac7-ff29-a152-04fda0a8755a"
                    },
                    "orderType": {
                      "type": "string",
                      "description": "Time in force",
                      "enum": [
                        "GTC",
                        "FOK",
                        "GTD",
                        "FAK"
                      ],
                      "default": "GTC"
                    },
                    "deferExec": {
                      "type": "boolean",
                      "description": "Whether to defer execution",
                      "default": false
                    },
                    "postOnly": {
                      "type": "boolean",
                      "description": "Whether the order must rest on the book and not match immediately. Only supported for GTC and GTD orders.",
                      "default": false
                    }
                  }
                },
                "maxItems": 15
              },
              "examples": {
                "example": {
                  "summary": "Send multiple orders example",
                  "value": [
                    {
                      "order": {
                        "maker": "0x1234567890123456789012345678901234567890",
                        "signer": "0x1234567890123456789012345678901234567890",
                        "tokenId": "0xabc123def456...",
                        "makerAmount": "100000000",
                        "takerAmount": "200000000",
                        "side": "BUY",
                        "expiration": "1735689600",
                        "timestamp": "1735689600000",
                        "metadata": "",
                        "builder": "0x0000000000000000000000000000000000000000000000000000000000000000",
                        "signature": "0x1234abcd...",
                        "salt": 1234567890,
                        "signatureType": 0
                      },
                      "owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
                      "orderType": "GTC",
                      "deferExec": false,
                      "postOnly": false
                    },
                    {
                      "order": {
                        "maker": "0x1234567890123456789012345678901234567890",
                        "signer": "0x1234567890123456789012345678901234567890",
                        "tokenId": "0xdef456abc789...",
                        "makerAmount": "200000000",
                        "takerAmount": "100000000",
                        "side": "SELL",
                        "expiration": "1735689600",
                        "timestamp": "1735689600000",
                        "metadata": "",
                        "builder": "0x0000000000000000000000000000000000000000000000000000000000000000",
                        "signature": "0x5678efgh...",
                        "salt": 1234567891,
                        "signatureType": 0
                      },
                      "owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
                      "orderType": "GTC",
                      "deferExec": false,
                      "postOnly": false
                    }
                  ]
                }
              }
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:79aef92490cdb5742363c85d598da9b799afc813effd42d26b5d3928d9194790"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/post_get_polymarket-orders"
      }
    },
    "/apis/v1/polymarket/price": {
      "get": {
        "description": "Retrieves the best market price for a specific token ID and side (bid or ask). Returns the best bid price for BUY side or best ask price for SELL side.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_price",
        "responses": {
          "200": {
            "description": "Successfully retrieved market price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "price"
                  ],
                  "properties": {
                    "price": {
                      "type": "number",
                      "format": "double",
                      "description": "Market price as a decimal number",
                      "example": 0.45
                    }
                  }
                },
                "example": {
                  "price": 0.45
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get market price",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "5365b95674d2"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/price",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_price",
          "method": "ANY",
          "path": "/apis/v1/polymarket/price"
        },
        "parameters": [
          {
            "name": "side",
            "in": "query",
            "description": "Order side",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "BUY",
                "SELL"
              ]
            },
            "example": "BUY"
          },
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:8b924604ddcbb4c93d3bca8fac43aff8778c5427ebde730c121d8119cb04ab15"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/price?side=BUY&token_id=0xabc123def456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_price"
      }
    },
    "/apis/v1/polymarket/prices": {
      "get": {
        "description": "Retrieves market prices for multiple token IDs and sides using query parameters.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "get_any_polymarket_clob_apis_v1_polymarket_prices",
        "responses": {
          "200": {
            "description": "Successfully retrieved market prices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "number",
                      "format": "double"
                    }
                  },
                  "description": "Map of token ID to map of side to price"
                },
                "example": {
                  "0xabc123def456...": {
                    "BUY": 0.45
                  },
                  "0xdef456abc123...": {
                    "SELL": 0.52
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get market prices (query parameters)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8386ae22f165"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/prices",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_prices",
          "method": "ANY",
          "path": "/apis/v1/polymarket/prices"
        },
        "parameters": [
          {
            "name": "sides",
            "in": "query",
            "description": "Comma-separated list of sides (BUY or SELL) corresponding to token IDs",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "BUY,SELL"
          },
          {
            "name": "token_ids",
            "in": "query",
            "description": "Comma-separated list of token IDs",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123...,0xdef456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:774ce6b88c1f3282d05b8603b2e6b804e051e314caac87c90cb7e5f93fc2d251"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/prices?sides=BUY%2CSELL&token_ids=0xabc123...%2C0xdef456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/get_any_polymarket_clob_apis_v1_polymarket_prices"
      },
      "post": {
        "description": "Retrieves market prices for multiple token IDs and sides using query parameters.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "post_any_polymarket_clob_apis_v1_polymarket_prices",
        "responses": {
          "200": {
            "description": "Successfully retrieved market prices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "number",
                      "format": "double"
                    }
                  },
                  "description": "Map of token ID to map of side to price"
                },
                "example": {
                  "0xabc123def456...": {
                    "BUY": 0.45
                  },
                  "0xdef456abc123...": {
                    "SELL": 0.52
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get market prices (query parameters)",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8386ae22f165"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/prices",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_prices",
          "method": "ANY",
          "path": "/apis/v1/polymarket/prices"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token_id"
                  ],
                  "properties": {
                    "token_id": {
                      "type": "string",
                      "description": "Token ID (asset ID)",
                      "example": "0xabc123def456..."
                    },
                    "side": {
                      "type": "string",
                      "description": "Order side (optional, not used for midpoint calculation)",
                      "enum": [
                        "BUY",
                        "SELL"
                      ],
                      "example": "BUY"
                    }
                  }
                }
              },
              "example": [
                {
                  "token_id": "0xabc123def456...",
                  "side": "BUY"
                },
                {
                  "token_id": "0xdef456abc123...",
                  "side": "SELL"
                }
              ]
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:774ce6b88c1f3282d05b8603b2e6b804e051e314caac87c90cb7e5f93fc2d251"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/polymarket/prices \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '[\n  {\n    \"token_id\": \"0xabc123def456...\",\n    \"side\": \"BUY\"\n  },\n  {\n    \"token_id\": \"0xdef456abc123...\",\n    \"side\": \"SELL\"\n  }\n]'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/post_any_polymarket_clob_apis_v1_polymarket_prices"
      }
    },
    "/apis/v1/polymarket/prices-history": {
      "get": {
        "description": "Retrieve historical price data for a market.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_prices_history",
        "responses": {
          "200": {
            "description": "Successful response with price history",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PricesHistoryResponse"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get prices history",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8892d8447d2c"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/prices-history",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_prices_history",
          "method": "ANY",
          "path": "/apis/v1/polymarket/prices-history"
        },
        "parameters": [
          {
            "name": "endTs",
            "in": "query",
            "required": false,
            "description": "Filter by items before this unix timestamp.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "fidelity",
            "in": "query",
            "required": false,
            "description": "Accuracy of the data expressed in minutes. Default is 1 minute.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "interval",
            "in": "query",
            "required": false,
            "description": "Time interval for data aggregation.",
            "schema": {
              "type": "string",
              "enum": [
                "max",
                "all",
                "1m",
                "1w",
                "1d",
                "6h",
                "1h"
              ]
            }
          },
          {
            "name": "market",
            "in": "query",
            "required": true,
            "description": "The market (asset id) to query.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startTs",
            "in": "query",
            "required": false,
            "description": "Filter by items after this unix timestamp.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:024dc41f6b7a60206a746c24f38c86f23cb2acade75fc72d79f0fdf740a3b6d6"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_prices_history"
      }
    },
    "/apis/v1/polymarket/rebates/current": {
      "get": {
        "description": "Returns the current rebated fees for a maker address on a given date. Each entry includes the condition ID, asset address, and the USDC amount rebated. This endpoint does not require authentication.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rebates_current",
        "responses": {
          "200": {
            "description": "Successfully retrieved rebated fees",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResponseE58613C05201_RebatedFees"
                  }
                },
                "example": [
                  {
                    "date": "2026-02-27",
                    "condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
                    "asset_address": "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB",
                    "maker_address": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604",
                    "rebated_fees_usdc": "0.237519"
                  }
                ]
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get current rebated fees for a maker",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "3783bd4ab27c"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rebates/current",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rebates_current",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rebates/current"
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date in YYYY-MM-DD format",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2026-02-27"
          },
          {
            "name": "maker_address",
            "in": "query",
            "description": "Ethereum address of the maker",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604"
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:48231b4ef84cfda9ac9d006083a2d6e738a2a2d58d62429d52237b64dd400773"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/rebates/current?date=2026-02-27&maker_address=0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rebates_current"
      }
    },
    "/apis/v1/polymarket/rewards/markets/current": {
      "get": {
        "description": "Returns the current active rewards configurations for markets.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_ma_a68cc7",
        "responses": {
          "200": {
            "description": "Successfully retrieved current rewards configurations",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedCurrentReward"
                },
                "example": {
                  "limit": 500,
                  "count": 1,
                  "next_cursor": "LTE=",
                  "data": [
                    {
                      "condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
                      "rewards_max_spread": 99,
                      "rewards_min_size": 10,
                      "rewards_config": [
                        {
                          "id": 0,
                          "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                          "start_date": "2024-03-01",
                          "end_date": "2500-12-31",
                          "rate_per_day": 2,
                          "total_rewards": 92
                        },
                        {
                          "id": 0,
                          "asset_address": "0x69308FB512518e39F9b16112fA8d994F4e2Bf8bB",
                          "start_date": "2024-03-01",
                          "end_date": "2500-12-31",
                          "rate_per_day": 1,
                          "total_rewards": 46
                        }
                      ],
                      "sponsored_daily_rate": 0.5,
                      "sponsors_count": 2,
                      "native_daily_rate": 2.5,
                      "total_daily_rate": 3.0
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get current active rewards configurations",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "ece930104aa1"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/markets/current",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_ma_a68cc7",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/markets/current"
        },
        "parameters": [
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Pagination cursor from previous response",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sponsored",
            "in": "query",
            "description": "If true, returns sponsored reward configurations instead of standard ones",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:aa4203ccca4bab3b1660d6f6b0b9ed1f1d6e0242bd8db7bf44dafcf8fbd0a31a"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_ma_a68cc7"
      }
    },
    "/apis/v1/polymarket/rewards/markets/multi": {
      "get": {
        "description": "Returns multiple markets with rewards and supports filtering and sorting.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_ma_8c7184",
        "responses": {
          "200": {
            "description": "Successfully retrieved markets with rewards",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedMultiMarketInfo"
                },
                "example": {
                  "limit": 50,
                  "count": 1,
                  "next_cursor": "NQ==",
                  "data": [
                    {
                      "condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
                      "event_id": "12345",
                      "event_slug": "2024-us-election",
                      "created_at": "2024-05-01T12:00:00Z",
                      "group_item_title": "",
                      "image": "https://example.com/image.png",
                      "market_competitiveness": 0.42,
                      "market_id": "248849",
                      "market_slug": "will-trump-win-the-2024-iowa-caucus",
                      "one_day_price_change": 0.03,
                      "question": "Will Trump win the 2024 Iowa Caucus?",
                      "rewards_max_spread": 99,
                      "rewards_min_size": 10,
                      "spread": 0.12,
                      "end_date": "2024-08-10 00:00:00",
                      "tokens": [
                        {
                          "token_id": "1343197538147866997676250008839231694243646439454152539053893078719042421992",
                          "outcome": "YES",
                          "price": 0.8
                        },
                        {
                          "token_id": "16678291189211314787145083999015737376658799626183230671758641503291735614088",
                          "outcome": "NO",
                          "price": 0.2
                        }
                      ],
                      "volume_24hr": 12345.67,
                      "rewards_config": [
                        {
                          "id": 7,
                          "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                          "start_date": "2024-03-01",
                          "end_date": "2500-12-31",
                          "rate_per_day": 2,
                          "total_rewards": 92
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get multiple markets with rewards",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "df571f1a9dc0"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/markets/multi",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_ma_8c7184",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/markets/multi"
        },
        "parameters": [
          {
            "name": "event_id",
            "in": "query",
            "description": "Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_title",
            "in": "query",
            "description": "Search event titles using case-insensitive pattern matching",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "description": "Maximum first token price filter",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "max_spread",
            "in": "query",
            "description": "Maximum spread filter",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "max_volume_24hr",
            "in": "query",
            "description": "Maximum 24-hour volume filter",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "min_price",
            "in": "query",
            "description": "Minimum first token price filter",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "min_spread",
            "in": "query",
            "description": "Minimum spread filter",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "min_volume_24hr",
            "in": "query",
            "description": "Minimum 24-hour volume filter",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Pagination cursor from previous response",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order_by",
            "in": "query",
            "description": "Field to sort results by",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "market_id",
                "created_at",
                "volume_24hr",
                "spread",
                "competitiveness",
                "max_spread",
                "min_size",
                "question",
                "one_day_price_change",
                "rate_per_day",
                "price",
                "end_date",
                "start_date",
                "reward_end_date"
              ]
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "description": "Number of items per page (max 500, values above are capped)",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "maximum": 500
            }
          },
          {
            "name": "position",
            "in": "query",
            "description": "Sort direction",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "name": "q",
            "in": "query",
            "description": "Text search on market question/description",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag_slug",
            "in": "query",
            "description": "Filter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics)",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:183eddabb138d43c4bed7f453d0b5e6344715f0776bdb978f651114ef4b5f1f3"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_ma_8c7184"
      }
    },
    "/apis/v1/polymarket/rewards/markets/{condition_id}": {
      "get": {
        "description": "Returns raw rewards configuration for a specific market.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_ma_06def4",
        "responses": {
          "200": {
            "description": "Successfully retrieved rewards for market",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedMarketReward"
                },
                "example": {
                  "limit": 100,
                  "count": 1,
                  "next_cursor": "LTE=",
                  "data": [
                    {
                      "condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
                      "question": "Will Trump win the 2024 Iowa Caucus?",
                      "market_slug": "will-trump-win-the-2024-iowa-caucus",
                      "event_slug": "will-trump-win-the-2024-iowa-caucus",
                      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/trump1+copy.png",
                      "rewards_max_spread": 99,
                      "rewards_min_size": 10,
                      "market_competitiveness": 0.42,
                      "tokens": [
                        {
                          "token_id": "1343197538147866997676250008839231694243646439454152539053893078719042421992",
                          "outcome": "YES",
                          "price": 0.8
                        },
                        {
                          "token_id": "16678291189211314787145083999015737376658799626183230671758641503291735614088",
                          "outcome": "NO",
                          "price": 0.2
                        }
                      ],
                      "rewards_config": [
                        {
                          "id": 1,
                          "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                          "start_date": "2024-03-01",
                          "end_date": "2500-12-31",
                          "rate_per_day": 0.25,
                          "total_rewards": 0,
                          "total_days": 174161
                        },
                        {
                          "id": 2,
                          "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                          "start_date": "2024-03-01",
                          "end_date": "2024-05-31",
                          "rate_per_day": 1,
                          "total_rewards": 92,
                          "total_days": 92
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get raw rewards for a specific market",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "d8657217f513"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/markets/{condition_id}",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_ma_06def4",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/markets/{condition_id}"
        },
        "parameters": [
          {
            "name": "condition_id",
            "in": "path",
            "description": "The condition ID of the market",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
          },
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Pagination cursor from previous response",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sponsored",
            "in": "query",
            "description": "If true, folds sponsored daily rates into each config's rate_per_day",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:04bf3d38b6afc6781783e207edf5910ae286f5e7f1a795a7d68ba1faa0bf5dbf"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url https://api.aisa.one/apis/v1/polymarket/rewards/markets/0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_ma_06def4"
      }
    },
    "/apis/v1/polymarket/rewards/user": {
      "get": {
        "description": "Returns earnings for a user on a given date. Requires API key auth headers.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_user",
        "responses": {
          "200": {
            "description": "Successfully retrieved user earnings",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedUserEarnings"
                },
                "example": {
                  "limit": 100,
                  "count": 1,
                  "next_cursor": "LTE=",
                  "data": [
                    {
                      "date": "2024-03-26T00:00:00Z",
                      "condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
                      "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                      "maker_address": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604",
                      "earnings": 0.237519,
                      "asset_rate": 1
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get earnings for user by date",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "d278075c75d1"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/user",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_user",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/user"
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date in YYYY-MM-DD format",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2024-03-26"
          },
          {
            "name": "maker_address",
            "in": "query",
            "description": "Maker address to query earnings for",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604"
          },
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Pagination cursor from previous response",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "signature_type",
            "in": "query",
            "description": "Signature type for address derivation (required for API KEY auth):\n- 0: EOA\n- 1: POLY_PROXY\n- 2: POLY_GNOSIS_SAFE\n",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1,
                2
              ]
            }
          },
          {
            "name": "sponsored",
            "in": "query",
            "description": "If true, returns sponsored-only earnings",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:c3fca7d757ee3571dd863f20f6e9cea3e888b6601430d4ebd88ce0b7bc38a73b"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/rewards/user?date=2024-03-26&maker_address=0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_user"
      }
    },
    "/apis/v1/polymarket/rewards/user/markets": {
      "get": {
        "description": "Returns user earnings together with market configurations. Requires API key auth headers.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_us_50d129",
        "responses": {
          "200": {
            "description": "Successfully retrieved user earnings and market configurations",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedUserRewardsMarkets"
                },
                "example": {
                  "limit": 100,
                  "count": 1,
                  "total_count": 42,
                  "next_cursor": "LTE=",
                  "data": [
                    {
                      "condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
                      "market_id": "248849",
                      "event_id": "12345",
                      "question": "Will Trump win the 2024 Iowa Caucus?",
                      "market_slug": "will-trump-win-the-2024-iowa-caucus",
                      "event_slug": "will-trump-win-the-2024-iowa-caucus",
                      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/trump1+copy.png",
                      "rewards_max_spread": 99,
                      "rewards_min_size": 10,
                      "volume_24hr": 12345.67,
                      "spread": 0.12,
                      "market_competitiveness": 0.42,
                      "tokens": [
                        {
                          "token_id": "1343197538147866997676250008839231694243646439454152539053893078719042421992",
                          "outcome": "YES",
                          "price": 0.8
                        },
                        {
                          "token_id": "16678291189211314787145083999015737376658799626183230671758641503291735614088",
                          "outcome": "NO",
                          "price": 0.2
                        }
                      ],
                      "rewards_config": [
                        {
                          "id": 0,
                          "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                          "start_date": "2024-03-01",
                          "end_date": "2500-12-31",
                          "rate_per_day": 2,
                          "total_rewards": 92
                        }
                      ],
                      "maker_address": "0xD527CCdBEB6478488c848465F9947bDA3C2e6994",
                      "earning_percentage": 30,
                      "earnings": [
                        {
                          "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                          "earnings": 0.585051,
                          "asset_rate": 1.001
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get user earnings and markets configuration",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "21633ff31d7c"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/user/markets",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_us_50d129",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/user/markets"
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date in YYYY-MM-DD format. Defaults to current date if not provided.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2024-03-26"
          },
          {
            "name": "favorite_markets",
            "in": "query",
            "description": "If true, only show markets favorited by the user (requires auth)",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "maker_address",
            "in": "query",
            "description": "Maker address to query data for",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604"
          },
          {
            "name": "next_cursor",
            "in": "query",
            "description": "Pagination cursor from previous response",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "no_competition",
            "in": "query",
            "description": "Filter for markets with no competition",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "only_mergeable",
            "in": "query",
            "description": "Filter for only mergeable markets",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "only_open_orders",
            "in": "query",
            "description": "Filter for markets where user has open orders",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "only_open_positions",
            "in": "query",
            "description": "Filter for markets where user has open positions",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "order_by",
            "in": "query",
            "description": "Field to sort by",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "max_spread",
                "min_size",
                "end_date",
                "earning_percentage",
                "rate_per_day",
                "earnings",
                "spread",
                "competitiveness",
                "question",
                "price",
                "market",
                "volume_24hr"
              ]
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "description": "Number of items per page (max 500, values above are capped)",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "maximum": 500
            }
          },
          {
            "name": "position",
            "in": "query",
            "description": "Sort direction",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "name": "q",
            "in": "query",
            "description": "Search query to filter markets by question/description",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "signature_type",
            "in": "query",
            "description": "Signature type for address derivation (required for API KEY auth):\n- 0: EOA\n- 1: POLY_PROXY\n- 2: POLY_GNOSIS_SAFE\n",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1,
                2
              ]
            }
          },
          {
            "name": "sponsored",
            "in": "query",
            "description": "If true, returns sponsored reward earnings",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "tag_slug",
            "in": "query",
            "description": "Filter by tag slug (can be repeated for OR logic)",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:90acd54e7e2b45d8e34050c2bd0be10f47ea5018e4f62ea7af652978aa87c3c4"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_us_50d129"
      }
    },
    "/apis/v1/polymarket/rewards/user/percentages": {
      "get": {
        "description": "Returns reward percentages for a maker address. Requires API key auth headers.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_us_33f703",
        "responses": {
          "200": {
            "description": "Successfully retrieved reward percentages",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "number",
                    "format": "double"
                  },
                  "description": "Map of condition_id to reward percentage"
                },
                "example": {
                  "0x296ea2f3ad438ce7ead77f40d0159bf3e5d8be146f6f615fa253b00e02243f5c": 20,
                  "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af": 20
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get reward percentages for user",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "98c49cb30902"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/user/percentages",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_us_33f703",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/user/percentages"
        },
        "parameters": [
          {
            "name": "maker_address",
            "in": "query",
            "description": "Maker address to query percentages for",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604"
          },
          {
            "name": "signature_type",
            "in": "query",
            "description": "Signature type for address derivation (required for API KEY auth):\n- 0: EOA\n- 1: POLY_PROXY\n- 2: POLY_GNOSIS_SAFE\n",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1,
                2
              ]
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:f1c60409aea8bb37798bd09e64c91d4af0d57741cf2817f332a6a116f05b8d7e"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_us_33f703"
      }
    },
    "/apis/v1/polymarket/rewards/user/total": {
      "get": {
        "description": "Returns total earnings for a user on a given date. Requires API key auth headers.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_rewards_us_50471d",
        "responses": {
          "200": {
            "description": "Successfully retrieved total user earnings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResponseE58613C05201_TotalUserEarning"
                  }
                },
                "example": [
                  {
                    "date": "2024-04-09T00:00:00Z",
                    "asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
                    "maker_address": "0xD527CCdBEB6478488c848465F9947bDA3C2e6994",
                    "earnings": 1.59984,
                    "asset_rate": 0.999357
                  },
                  {
                    "date": "2024-04-09T00:00:00Z",
                    "asset_address": "0x69308FB512518e39F9b16112fA8d994F4e2Bf8bB",
                    "maker_address": "0xD527CCdBEB6478488c848465F9947bDA3C2e6994",
                    "earnings": 8.187219,
                    "asset_rate": 3.51
                  }
                ]
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get total earnings for user by date",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD",
            "OPTIONS",
            "TRACE"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "90363289c404"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/rewards/user/total",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_rewards_us_50471d",
          "method": "ANY",
          "path": "/apis/v1/polymarket/rewards/user/total"
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date in YYYY-MM-DD format",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2024-03-26"
          },
          {
            "name": "maker_address",
            "in": "query",
            "description": "Maker address to query earnings for",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604"
          },
          {
            "name": "signature_type",
            "in": "query",
            "description": "Signature type for address derivation (required for API KEY auth):\n- 0: EOA\n- 1: POLY_PROXY\n- 2: POLY_GNOSIS_SAFE\n",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1,
                2
              ]
            }
          },
          {
            "name": "sponsored",
            "in": "query",
            "description": "If true, aggregates both native and sponsored earnings",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:b79ebb3ff178cc17487b8331755bb88c94afb5ede6d06789caa892149e662820"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/rewards/user/total?date=2024-03-26&maker_address=0xFeA4cB3dD4ca7CefD3368653B7D6FF9BcDFca604' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_rewards_us_50471d"
      }
    },
    "/apis/v1/polymarket/sampling-markets": {
      "get": {
        "description": "Returns sampling markets with richer descriptive metadata, token summaries, and tags.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_sampling_markets",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedMarkets"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get sampling markets",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "a80f0fd6f488"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/sampling-markets",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_sampling_markets",
          "method": "ANY",
          "path": "/apis/v1/polymarket/sampling-markets"
        },
        "parameters": [
          {
            "name": "next_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:ae4b53c6862504a40120329348b5b03789091142943bd22df57f1cb56a4d8ff7"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_sampling_markets"
      }
    },
    "/apis/v1/polymarket/sampling-simplified-markets": {
      "get": {
        "description": "Returns sampling simplified markets with reward and token summaries.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_sampling_s_cd1ebe",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedSimplifiedMarkets"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get sampling simplified markets",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8b63dd6ddbbf"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/sampling-simplified-markets",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_sampling_s_cd1ebe",
          "method": "ANY",
          "path": "/apis/v1/polymarket/sampling-simplified-markets"
        },
        "parameters": [
          {
            "name": "next_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:2405009d3bfe3ef8d6136d62f86153726da421b01cf829b3d2918c03802d8c2e"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_sampling_s_cd1ebe"
      }
    },
    "/apis/v1/polymarket/simplified-markets": {
      "get": {
        "description": "Returns simplified CLOB markets with token and reward summaries.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_simplified_cec760",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_PaginatedSimplifiedMarkets"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get simplified markets",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "fe525dabffe8"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/simplified-markets",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_simplified_cec760",
          "method": "ANY",
          "path": "/apis/v1/polymarket/simplified-markets"
        },
        "parameters": [
          {
            "name": "next_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:2405009d3bfe3ef8d6136d62f86153726da421b01cf829b3d2918c03802d8c2e"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_simplified_cec760"
      }
    },
    "/apis/v1/polymarket/spread": {
      "get": {
        "description": "Retrieves the spread for a specific token ID. The spread is the difference between the best ask and best bid prices.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_spread",
        "responses": {
          "200": {
            "description": "Successfully retrieved spread",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "spread"
                  ],
                  "properties": {
                    "spread": {
                      "type": "string",
                      "description": "Spread as a string",
                      "example": "0.02"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get spread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "f3cfe6f0debb"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/spread",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_spread",
          "method": "ANY",
          "path": "/apis/v1/polymarket/spread"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:b602441909c52a1d457f09b6ec5c59fd04512f949ccd65d10940a5196b033c1e"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url 'https://api.aisa.one/apis/v1/polymarket/spread?token_id=0xabc123def456...' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_spread"
      }
    },
    "/apis/v1/polymarket/spreads": {
      "post": {
        "description": "Retrieves spreads for multiple token IDs. The spread is the difference between the best ask and best bid prices.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_spreads",
        "responses": {
          "200": {
            "description": "Successfully retrieved spreads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Map of token ID to spread"
                },
                "example": {
                  "0xabc123def456...": "0.02",
                  "0xdef456abc123...": "0.015"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get spreads",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "POST"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "3e5d59df6883"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/spreads",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_spreads",
          "method": "ANY",
          "path": "/apis/v1/polymarket/spreads"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token_id"
                  ],
                  "properties": {
                    "token_id": {
                      "type": "string",
                      "description": "Token ID (asset ID)",
                      "example": "0xabc123def456..."
                    },
                    "side": {
                      "type": "string",
                      "description": "Order side (optional, not used for midpoint calculation)",
                      "enum": [
                        "BUY",
                        "SELL"
                      ],
                      "example": "BUY"
                    }
                  }
                }
              },
              "example": [
                {
                  "token_id": "0xabc123def456..."
                },
                {
                  "token_id": "0xdef456abc123..."
                }
              ]
            }
          }
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:fd320bb48498b7fd629b762830901b839608aeae5c69146bcf233e0d372f690f"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/polymarket/spreads \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '[\n  {\n    \"token_id\": \"0xabc123def456...\"\n  },\n  {\n    \"token_id\": \"0xdef456abc123...\"\n  }\n]'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_spreads"
      }
    },
    "/apis/v1/polymarket/tick-size": {
      "get": {
        "description": "Retrieves the minimum tick size (price increment) for a specific token ID. The tick size can be provided either as a query parameter or as a path parameter.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_tick_size",
        "responses": {
          "200": {
            "description": "Successfully retrieved tick size",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_TickSize"
                },
                "example": {
                  "minimum_tick_size": 0.01
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get tick size",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "de63823e27e3"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/tick-size",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_tick_size",
          "method": "ANY",
          "path": "/apis/v1/polymarket/tick-size"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token ID (asset ID)",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:215c8d82a46739e679f4c04dc0e5d69968e946eacb0a492c8948e9641683001e"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_tick_size"
      }
    },
    "/apis/v1/polymarket/tick-size/{token_id}": {
      "get": {
        "description": "Retrieves the minimum tick size (price increment) for a specific token ID using the token ID as a path parameter.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_tick_size__0863ab",
        "responses": {
          "200": {
            "description": "Successfully retrieved tick size",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseE58613C05201_TickSize"
                },
                "example": {
                  "minimum_tick_size": 0.01
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get tick size by path parameter",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "7982d143bc03"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/tick-size/{token_id}",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_tick_size__0863ab",
          "method": "ANY",
          "path": "/apis/v1/polymarket/tick-size/{token_id}"
        },
        "parameters": [
          {
            "name": "token_id",
            "in": "path",
            "description": "Token ID (asset ID)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0xabc123def456..."
          }
        ],
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:215c8d82a46739e679f4c04dc0e5d69968e946eacb0a492c8948e9641683001e"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request GET \\\n  --url https://api.aisa.one/apis/v1/polymarket/tick-size/0xabc123def456... \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_tick_size__0863ab"
      }
    },
    "/apis/v1/polymarket/time": {
      "get": {
        "description": "Returns the current Unix timestamp of the server. This can be used to synchronize client time with server time.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "any_polymarket_clob_apis_v1_polymarket_time",
        "responses": {
          "200": {
            "description": "Successfully retrieved server time",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int64",
                  "description": "Unix timestamp (seconds since epoch)"
                },
                "example": 1234567890
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get server time",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "x402": false
        },
        "x-aisa-category": "9",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "1760a6870a9a"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/time",
        "x-aisa-validation": "provider",
        "x-aisa-catalog-id": "polymarket-clob",
        "x-aisa-runtime-operation": {
          "operation_id": "any_polymarket_clob_apis_v1_polymarket_time",
          "method": "ANY",
          "path": "/apis/v1/polymarket/time"
        },
        "x-aisa-source": {
          "kind": "provider_openapi",
          "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
          "fetched_at": "2026-10-09T03:03:35.217976+00:00",
          "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
          "converter": "scripts/import_upstream.py@2",
          "owner": "AIsa-team/docs",
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "refresh_interval_hours": 24,
          "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
        },
        "x-aisa-response-source": {
          "kind": "upstream_success_contract",
          "source": {
            "kind": "provider_openapi",
            "url": "https://docs.polymarket.com/api-spec/clob-openapi.yaml",
            "fetched_at": "2026-10-09T03:03:35.217976+00:00",
            "content_hash": "sha256:255ea03fc9ddf70da8fdad11b5bd02b449068e7a834df13bed67e6001b235892",
            "converter": "scripts/import_upstream.py@2",
            "owner": "AIsa-team/docs",
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "refresh_interval_hours": 24,
            "policy_revision": "sha256:1dbd38c2b29d4e67977b4dd8daa4a724cac03bbb57fc4845d370af5da8981009"
          },
          "content_hash": "sha256:944a5a9f4bd5437c4d640747fc3f0a8eaae1efa7da17d775ecca39b56d81125a"
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/polymarket-clob/any_polymarket_clob_apis_v1_polymarket_time"
      }
    }
  }
}
