{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Telegram",
    "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/telegram/channels/{handle}",
      "/apis/v1/telegram/channels/{handle}/posts",
      "/apis/v1/telegram/channels/{handle}/posts/{postId}"
    ],
    "x-aisa-document": {
      "facts_hash": "1a2e00e8976aba04d0acc90bba052a7915146dbff817cfbcdb26526c595e60c6",
      "generator_version": "3",
      "protocol_version": "1",
      "schema_version": "1",
      "composer_version": "27",
      "response_pending": [
        {
          "operation_id": "telegram.channels.handle",
          "path": "/apis/v1/telegram/channels/{handle}",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        {
          "operation_id": "telegram.channels.handle.posts",
          "path": "/apis/v1/telegram/channels/{handle}/posts",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        },
        {
          "operation_id": "telegram.channels.handle.posts.postId",
          "path": "/apis/v1/telegram/channels/{handle}/posts/{postId}",
          "method": "GET",
          "statuses": [
            "200"
          ],
          "reason": "public success response has no authoritative payload declaration"
        }
      ],
      "document_hash": "sha256:1a0c78fae65d25cadfb5966e36fd01805096288648bfd0379ad739f2590f19a8"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "telegram",
    "x-aisa-catalogs": {
      "telegram": {
        "title": "Telegram",
        "description": "",
        "x-aisa-document": {
          "facts_hash": "1a2e00e8976aba04d0acc90bba052a7915146dbff817cfbcdb26526c595e60c6",
          "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/telegram/channels/{handle}": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.014 USD (not a fixed price). Declared unit rate: $0.014 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "telegram.channels.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": "Successful response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Telegram channel",
        "tags": [
          "Telegram"
        ],
        "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": "e0d5d100531c248dad02cf949728402dd78b23161c38e0aa3dd60bead9f2c778",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "3f49c6c229bc"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "telegram",
        "x-aisa-runtime-operation": {
          "operation_id": "telegram.channels.handle",
          "method": "GET",
          "path": "/apis/v1/telegram/channels/{handle}"
        },
        "x-aisa-response-pending": {
          "operation_id": "telegram.channels.handle",
          "path": "/apis/v1/telegram/channels/{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/telegram/channels/example \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/telegram/telegram-channels-handle"
      }
    },
    "/apis/v1/telegram/channels/{handle}/posts": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.014 USD (not a fixed price). Declared unit rate: $0.014 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "telegram.channels.handle.posts",
        "parameters": [
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List Telegram channel posts",
        "tags": [
          "Telegram"
        ],
        "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": "b288036ada250b1dd195d7bc53ffd36ae7a159488e83aa69c3d5d49eb9bdd011",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "47940502794e"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "telegram",
        "x-aisa-runtime-operation": {
          "operation_id": "telegram.channels.handle.posts",
          "method": "GET",
          "path": "/apis/v1/telegram/channels/{handle}/posts"
        },
        "x-aisa-response-pending": {
          "operation_id": "telegram.channels.handle.posts",
          "path": "/apis/v1/telegram/channels/{handle}/posts",
          "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/telegram/channels/example/posts \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/telegram/telegram-channels-handle-posts"
      }
    },
    "/apis/v1/telegram/channels/{handle}/posts/{postId}": {
      "get": {
        "description": "<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.014 USD (not a fixed price). Declared unit rate: $0.014 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->",
        "operationId": "telegram.channels.handle.posts.postId",
        "parameters": [
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "examples": {
              "default": {
                "value": "example"
              },
              "minimal": {
                "value": "example"
              }
            },
            "in": "path",
            "name": "postId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Telegram channel post",
        "tags": [
          "Telegram"
        ],
        "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": "b666e48bf86325805a477ae71f3ccd4521814bd84c17bc3ee13fe3667c47aed7",
        "x-aisa-revision": {
          "customer_pricing_ref": "b35ec6a8f68b",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "14a742a41573"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "telegram",
        "x-aisa-runtime-operation": {
          "operation_id": "telegram.channels.handle.posts.postId",
          "method": "GET",
          "path": "/apis/v1/telegram/channels/{handle}/posts/{postId}"
        },
        "x-aisa-response-pending": {
          "operation_id": "telegram.channels.handle.posts.postId",
          "path": "/apis/v1/telegram/channels/{handle}/posts/{postId}",
          "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/telegram/channels/example/posts/example \\\n  --header 'Authorization: Bearer <token>'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/telegram/telegram-channels-handle-posts-postId"
      }
    }
  }
}
