twtapi-com · Schema
AdminPlanUpsert
Create or update a plan row. 中文:后台套餐的新增/编辑入参(同一模型服务两个动作)。 注意这里没有 ``id``:更新时由路径参数指定目标,新增时不带 id。 字段与 models.Plan 一一对应,改动需两侧同步。
TwitterXAPIDataSearchMonitoringAI
Properties
| Name | Type | Description |
|---|---|---|
| plan_type | string | |
| name | string | |
| price | number | |
| subscription_price | number | |
| currency | string | |
| monthly_limit | integer | |
| rate_limit_per_second | object | |
| rate_limit_per_hour | object | |
| features | array | |
| is_popular | boolean | |
| button_text | string | |
| button_style | string | |
| billing_mode | string | |
| trial_period | object | |
| validity_period | string | |
| overage_price_per_call | object | |
| sort_order | integer | |
| is_active | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/twtapi-com/json-schema/twtapi-com-admin-plan-upsert-schema.json",
"title": "AdminPlanUpsert",
"description": "Create or update a plan row.\n\n中文:后台套餐的新增/编辑入参(同一模型服务两个动作)。\n注意这里没有 ``id``:更新时由路径参数指定目标,新增时不带 id。\n字段与 models.Plan 一一对应,改动需两侧同步。",
"x-generated": "2026-10-31",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/twtapi-com-openapi.json#/components/schemas/AdminPlanUpsert",
"properties": {
"plan_type": {
"type": "string",
"title": "Plan Type",
"default": "api"
},
"name": {
"type": "string",
"title": "Name"
},
"price": {
"type": "number",
"title": "Price",
"default": 0
},
"subscription_price": {
"type": "number",
"title": "Subscription Price",
"default": 0
},
"currency": {
"type": "string",
"title": "Currency",
"default": "usd"
},
"monthly_limit": {
"type": "integer",
"title": "Monthly Limit",
"default": 0
},
"rate_limit_per_second": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Rate Limit Per Second"
},
"rate_limit_per_hour": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Rate Limit Per Hour"
},
"features": {
"items": {
"type": "string"
},
"type": "array",
"title": "Features",
"default": []
},
"is_popular": {
"type": "boolean",
"title": "Is Popular",
"default": false
},
"button_text": {
"type": "string",
"title": "Button Text",
"default": "立即开始"
},
"button_style": {
"type": "string",
"title": "Button Style",
"default": "blue"
},
"billing_mode": {
"type": "string",
"title": "Billing Mode",
"default": "one_time"
},
"trial_period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trial Period"
},
"validity_period": {
"type": "string",
"title": "Validity Period",
"default": "1m"
},
"overage_price_per_call": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Overage Price Per Call"
},
"sort_order": {
"type": "integer",
"title": "Sort Order",
"default": 0
},
"is_active": {
"type": "boolean",
"title": "Is Active",
"default": true
}
},
"type": "object",
"required": [
"name"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twtapi-com-admin-plan-upsert"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.