{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Twitch",
    "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/twitch/clips",
      "/apis/v1/twitch/profiles/{handle}",
      "/apis/v1/twitch/profiles/{handle}/schedule",
      "/apis/v1/twitch/profiles/{handle}/videos"
    ],
    "x-aisa-document": {
      "facts_hash": "dd2df2d79846b8e8bf4197dbd5afff727bfb2f23a562f4bb9f0af04357fdfd4e",
      "generator_version": "3",
      "protocol_version": "1",
      "schema_version": "1",
      "composer_version": "27",
      "response_pending": [
        {
          "operation_id": "twitch.clips",
          "path": "/apis/v1/twitch/clips",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        {
          "operation_id": "twitch.profiles.handle",
          "path": "/apis/v1/twitch/profiles/{handle}",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        {
          "operation_id": "twitch.profiles.handle.schedule",
          "path": "/apis/v1/twitch/profiles/{handle}/schedule",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        {
          "operation_id": "twitch.profiles.handle.videos",
          "path": "/apis/v1/twitch/profiles/{handle}/videos",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        }
      ],
      "document_hash": "sha256:d24ca46ca54e58a5246452ecccfa3bc73b6dbe1138c774ed4ad67bb79daf9941"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "twitch",
    "x-aisa-catalogs": {
      "twitch": {
        "title": "Twitch",
        "description": "",
        "x-aisa-document": {
          "facts_hash": "dd2df2d79846b8e8bf4197dbd5afff727bfb2f23a562f4bb9f0af04357fdfd4e",
          "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/twitch/clips": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.014 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.014 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "twitch.clips",
        "parameters": [
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Twitch clip",
        "tags": [
          "Twitch"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": false,
          "mpp_methods": [],
          "x402": false
        },
        "x-aisa-category": "social",
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "maximum_units": 1,
          "unit": "provider_credit",
          "unit_rate_usd": 0.014
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-passthrough": true,
        "x-aisa-response-upstream-origin-sha256": "f0e4ae514d1a43a38999ea43c73bb405c7b0d1bcf929f5c9c22d2f8c7ad85b6b",
        "x-aisa-response-upstream-path-sha256": "bdd9a8ef5ade76cde3cfe81e9dd96024aa1bc6b8aea919e60e456709152416b8",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "09f47bd07d95"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "twitch",
        "x-aisa-runtime-operation": {
          "operation_id": "twitch.clips",
          "method": "GET",
          "path": "/apis/v1/twitch/clips"
        },
        "x-aisa-response-pending": {
          "operation_id": "twitch.clips",
          "path": "/apis/v1/twitch/clips",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        "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/twitch/clips?url=example' \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/twitch/twitch-clips"
      }
    },
    "/apis/v1/twitch/profiles/{handle}": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.014 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.014 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "twitch.profiles.handle",
        "parameters": [
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Twitch profile",
        "tags": [
          "Twitch"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": false,
          "mpp_methods": [],
          "x402": false
        },
        "x-aisa-category": "social",
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "maximum_units": 1,
          "unit": "provider_credit",
          "unit_rate_usd": 0.014
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-passthrough": true,
        "x-aisa-response-upstream-origin-sha256": "f0e4ae514d1a43a38999ea43c73bb405c7b0d1bcf929f5c9c22d2f8c7ad85b6b",
        "x-aisa-response-upstream-path-sha256": "9eda95a9774c3d9ca83443a351397e04eee9459de52a8880576c4e4bf9df2a1c",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "831675dee66c"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "twitch",
        "x-aisa-runtime-operation": {
          "operation_id": "twitch.profiles.handle",
          "method": "GET",
          "path": "/apis/v1/twitch/profiles/{handle}"
        },
        "x-aisa-response-pending": {
          "operation_id": "twitch.profiles.handle",
          "path": "/apis/v1/twitch/profiles/{handle}",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        "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/twitch/profiles/example \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/twitch/twitch-profiles-handle"
      }
    },
    "/apis/v1/twitch/profiles/{handle}/schedule": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.014 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.014 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "twitch.profiles.handle.schedule",
        "parameters": [
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Twitch profile schedule",
        "tags": [
          "Twitch"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": false,
          "mpp_methods": [],
          "x402": false
        },
        "x-aisa-category": "social",
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "maximum_units": 1,
          "unit": "provider_credit",
          "unit_rate_usd": 0.014
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-passthrough": true,
        "x-aisa-response-upstream-origin-sha256": "f0e4ae514d1a43a38999ea43c73bb405c7b0d1bcf929f5c9c22d2f8c7ad85b6b",
        "x-aisa-response-upstream-path-sha256": "ff1c88bc4c7a67d1ee292e6aff099b6bf196f99ab8df7744e46d8b57ca18feeb",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "317c94d50029"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "twitch",
        "x-aisa-runtime-operation": {
          "operation_id": "twitch.profiles.handle.schedule",
          "method": "GET",
          "path": "/apis/v1/twitch/profiles/{handle}/schedule"
        },
        "x-aisa-response-pending": {
          "operation_id": "twitch.profiles.handle.schedule",
          "path": "/apis/v1/twitch/profiles/{handle}/schedule",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        "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/twitch/profiles/example/schedule \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/twitch/twitch-profiles-handle-schedule"
      }
    },
    "/apis/v1/twitch/profiles/{handle}/videos": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.014 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.014 USD。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "twitch.profiles.handle.videos",
        "parameters": [
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "filterBy",
            "required": false,
            "schema": {
              "enum": [
                "archive",
                "highlight",
                "upload"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "required": false,
            "schema": {
              "enum": [
                "time",
                "views"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List Twitch profile videos",
        "tags": [
          "Twitch"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "mpp": false,
          "mpp_methods": [],
          "x402": false
        },
        "x-aisa-category": "social",
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body",
          "maximum_units": 1,
          "unit": "provider_credit",
          "unit_rate_usd": 0.014
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-passthrough": true,
        "x-aisa-response-upstream-origin-sha256": "f0e4ae514d1a43a38999ea43c73bb405c7b0d1bcf929f5c9c22d2f8c7ad85b6b",
        "x-aisa-response-upstream-path-sha256": "3c066f75568f2bc6b900da59f01b334d5f488b9efd53983ec7aa05f13f8e0fed",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "4cc0d004ff86"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "twitch",
        "x-aisa-runtime-operation": {
          "operation_id": "twitch.profiles.handle.videos",
          "method": "GET",
          "path": "/apis/v1/twitch/profiles/{handle}/videos"
        },
        "x-aisa-response-pending": {
          "operation_id": "twitch.profiles.handle.videos",
          "path": "/apis/v1/twitch/profiles/{handle}/videos",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        "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/twitch/profiles/example/videos \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/twitch/twitch-profiles-handle-videos"
      }
    }
  }
}
