{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Azure Retail Prices",
    "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-catalogs": {
      "prices-azure-com": {
        "description": "",
        "title": "Azure Retail Prices",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "8552ea0a6ab5011e521a1d2f56c99aaff99a33ae5a246a631612706c9cfe123b",
          "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-configured-paths": [
      "/apis/v1/prices-azure-com/products/get-meter",
      "/apis/v1/prices-azure-com/products/get-sku-prices",
      "/apis/v1/prices-azure-com/products/search-prices"
    ],
    "x-aisa-document": {
      "composer_version": "28",
      "document_hash": "sha256:bf903d433182fab9c4e82e14c07f7e4e0b6ceb921bf16085136231d96fb6ece8",
      "facts_hash": "8552ea0a6ab5011e521a1d2f56c99aaff99a33ae5a246a631612706c9cfe123b",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "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-provider": "prices-azure-com"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/prices-azure-com/products/get-meter": {
      "post": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.0005 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.0001 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "prices-azure-com.products.get-meter",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "value": {
                    "meter_id": "example"
                  }
                },
                "minimal": {
                  "value": {
                    "meter_id": "example"
                  }
                }
              },
              "schema": {
                "additionalProperties": true,
                "properties": {
                  "meter_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "meter_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful response. The payload schema has not been reviewed yet."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get meter",
        "tags": [
          "Azure Retail Prices"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "prices-azure-com",
        "x-aisa-category": "data",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/prices-azure-com/prices-azure-com-products-get-meter",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.0005,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "unit": "provider_credit",
          "unit_rate_usd": 0.0001
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-review": {
          "request": "runtime_binding",
          "response": "generic",
          "status": "unreviewed"
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "660b80f46152",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "6f754e1f60c9"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "prices-azure-com.products.get-meter",
          "path": "/apis/v1/prices-azure-com/products/get-meter"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed",
        "x-codeSamples": [
          {
            "label": "Reference example",
            "lang": "text",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/prices-azure-com/products/get-meter \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"meter_id\": \"example\"\n}'"
          }
        ]
      }
    },
    "/apis/v1/prices-azure-com/products/get-sku-prices": {
      "post": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.0005 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.0001 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "prices-azure-com.products.get-sku-prices",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "value": {
                    "arm_region_name": "example",
                    "arm_sku_name": "example"
                  }
                },
                "minimal": {
                  "value": {
                    "arm_region_name": "example",
                    "arm_sku_name": "example"
                  }
                }
              },
              "schema": {
                "additionalProperties": true,
                "properties": {
                  "arm_region_name": {
                    "type": "string"
                  },
                  "arm_sku_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "arm_region_name",
                  "arm_sku_name"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful response. The payload schema has not been reviewed yet."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get sku prices",
        "tags": [
          "Azure Retail Prices"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "prices-azure-com",
        "x-aisa-category": "data",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/prices-azure-com/prices-azure-com-products-get-sku-prices",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.0005,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "unit": "provider_credit",
          "unit_rate_usd": 0.0001
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-review": {
          "request": "runtime_binding",
          "response": "generic",
          "status": "unreviewed"
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "660b80f46152",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "0bbb9e14a466"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "prices-azure-com.products.get-sku-prices",
          "path": "/apis/v1/prices-azure-com/products/get-sku-prices"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed",
        "x-codeSamples": [
          {
            "label": "Reference example",
            "lang": "text",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/prices-azure-com/products/get-sku-prices \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"arm_region_name\": \"example\",\n  \"arm_sku_name\": \"example\"\n}'"
          }
        ]
      }
    },
    "/apis/v1/prices-azure-com/products/search-prices": {
      "post": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.0005 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.0001 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "prices-azure-com.products.search-prices",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "value": {
                    "arm_sku_name": "example"
                  }
                },
                "minimal": {
                  "value": {
                    "arm_sku_name": "example"
                  }
                }
              },
              "schema": {
                "additionalProperties": true,
                "allOf": [
                  {
                    "anyOf": [
                      {
                        "properties": {
                          "arm_sku_name": {}
                        },
                        "required": [
                          "arm_sku_name"
                        ]
                      },
                      {
                        "properties": {
                          "meter_id": {}
                        },
                        "required": [
                          "meter_id"
                        ]
                      },
                      {
                        "properties": {
                          "product_name": {}
                        },
                        "required": [
                          "product_name"
                        ]
                      },
                      {
                        "properties": {
                          "product_name_contains": {}
                        },
                        "required": [
                          "product_name_contains"
                        ]
                      },
                      {
                        "properties": {
                          "service_family": {}
                        },
                        "required": [
                          "service_family"
                        ]
                      },
                      {
                        "properties": {
                          "service_name": {}
                        },
                        "required": [
                          "service_name"
                        ]
                      },
                      {
                        "properties": {
                          "sku_name": {}
                        },
                        "required": [
                          "sku_name"
                        ]
                      }
                    ]
                  }
                ],
                "properties": {
                  "arm_sku_name": {
                    "type": "string"
                  },
                  "meter_id": {
                    "type": "string"
                  },
                  "product_name": {
                    "type": "string"
                  },
                  "product_name_contains": {
                    "type": "string"
                  },
                  "service_family": {
                    "type": "string"
                  },
                  "service_name": {
                    "type": "string"
                  },
                  "sku_name": {
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful response. The payload schema has not been reviewed yet."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search prices",
        "tags": [
          "Azure Retail Prices"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "prices-azure-com",
        "x-aisa-category": "data",
        "x-aisa-constraints": {
          "required_any_of": [
            [
              {
                "in": "body",
                "name": "option_arm_sku_name",
                "selector": "/arm_sku_name"
              },
              {
                "in": "body",
                "name": "option_meter_id",
                "selector": "/meter_id"
              },
              {
                "in": "body",
                "name": "option_product_name",
                "selector": "/product_name"
              },
              {
                "in": "body",
                "name": "option_product_name_contains",
                "selector": "/product_name_contains"
              },
              {
                "in": "body",
                "name": "option_service_family",
                "selector": "/service_family"
              },
              {
                "in": "body",
                "name": "option_service_name",
                "selector": "/service_name"
              },
              {
                "in": "body",
                "name": "option_sku_name",
                "selector": "/sku_name"
              }
            ]
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/prices-azure-com/prices-azure-com-products-search-prices",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.0005,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "unit": "provider_credit",
          "unit_rate_usd": 0.0001
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-review": {
          "request": "runtime_binding",
          "response": "generic",
          "status": "unreviewed"
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "660b80f46152",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "4a6402227684"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "prices-azure-com.products.search-prices",
          "path": "/apis/v1/prices-azure-com/products/search-prices"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed",
        "x-codeSamples": [
          {
            "label": "Reference example",
            "lang": "text",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/prices-azure-com/products/search-prices \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"arm_sku_name\": \"example\"\n}'"
          }
        ]
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
