{"openapi":"3.1.0","info":{"title":"JetVPS Agent API","description":"JetVPS Agent API — what an AI agent (or a script) can do with a personal API key.\n\n* Auth: `Authorization: Bearer jv_live_…` (create the key in the cabinet: Settings → API keys). Scopes: `read`,\n  `servers`, `billing`, `tickets`. Operations outside this document answer `403 api_key.not_allowed`.\n* Envelope: `{\"data\": …, \"meta\": …, \"error\": null}`; errors — HTTP status + `{\"data\": null, \"error\": {\"code\",\n  \"message\", \"details\"}}`. Rely on `error.code`.\n* Money — decimal strings (`\"1590.00\"`, RUB). Time — ISO 8601 UTC. Orders are paid **from the balance only**;\n  topping up is done by a human in the cabinet.\n* Send `Idempotency-Key` on orders, payments and actions.\n* Rate limits per API key per minute: 120 reads (GET) and 30 changes (POST, PATCH, PUT, DELETE); all keys of one account together — at most 240 reads and 60 changes. Showing a server's root password: 10 per hour per server, 120 per hour for all servers together. Wrong or revoked keys answer `401`; after 20 of them in 10 minutes from one IP — `429` (a valid key always works).\n* Requests counted to a key (those that need it; for MCP — the `/v1/mcp` response) carry `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (seconds until a request is freed) of the budget they were counted in; public catalog reads are limited per IP. On `429 rate_limited` wait `Retry-After` seconds (also `error.details.retry_after_s`).\n* MCP (`/v1/mcp`): a valid key is required for every method; one tool call = one request of the key (read or change, as the tool's API call), `initialize` / `ping` / `tools/list` — one read each; at most 20 messages in a batch. A spent limit: the tool answers `isError: true` with `rate_limited` and `retry_after_s`.\n","version":"1.0.0"},"servers":[{"url":"/api","description":"same origin"}],"paths":{"/v1/meta":{"get":{"tags":["Сервис"],"summary":"Brand, enabled sign-in methods, flags","operationId":"meta_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/status":{"get":{"tags":["Сервис"],"summary":"Public status of locations","operationId":"status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/llms.txt":{"get":{"tags":["Сервис"],"summary":"Short pointer for LLMs","operationId":"llms_txt","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"Bad request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/locations":{"get":{"tags":["Каталог"],"summary":"City locations with data centres (plan counts). Tree: GET /v1/catalog/locations/tree","operationId":"catalog_locations","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/hardware":{"get":{"tags":["Каталог"],"summary":"Hardware families on sale (on_sale) and coming soon (announced): CPU, memory, disk, locations, price from","operationId":"catalog_hardware","parameters":[{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"}},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},{"name":"datacenter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datacenter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HardwareFamilyOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/locations/tree":{"get":{"tags":["Каталог"],"summary":"Country → city → data centre with plan counts (storefront filters)","operationId":"catalog_locations_tree","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/tiers":{"get":{"tags":["Каталог"],"summary":"Classes: budget / standard / hi-load…","operationId":"catalog_tiers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/use-cases":{"get":{"tags":["Каталог"],"summary":"Tasks: VPN, AI agents, Next.js, backend… with recommended plan","operationId":"catalog_use_cases","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UseCaseOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/os":{"get":{"tags":["Каталог"],"summary":"Catalog Os","operationId":"catalog_os","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OsOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/software":{"get":{"tags":["Каталог"],"summary":"Optional software presets","operationId":"catalog_software","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoftwareOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/plans":{"get":{"tags":["Каталог"],"summary":"Plans with filters","operationId":"catalog_plans","parameters":[{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Location code, e.g. de-fra","title":"Location"},"description":"Location code, e.g. de-fra"},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Tier code: budget | standard | hiload | dedicated","title":"Tier"},"description":"Tier code: budget | standard | hiload | dedicated"},{"name":"use_case","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Use-case code, e.g. ai-agents","title":"Use Case"},"description":"Use-case code, e.g. ai-agents"},{"name":"cpu_class","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/CpuClass"},{"type":"null"}],"title":"Cpu Class"}},{"name":"vcpu_min","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vcpu Min"}},{"name":"vcpu_max","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vcpu Max"}},{"name":"ram_min","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ram Min"}},{"name":"ram_max","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ram Max"}},{"name":"disk_min","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Disk Min"}},{"name":"price_max","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Max price per month, RUB","title":"Price Max"},"description":"Max price per month, RUB"},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"sort","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PlanSort","default":"price_asc"}},{"name":"available_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Available Only"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"line","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Builds of one line (GET /v1/catalog/config-lines)","title":"Line"},"description":"Builds of one line (GET /v1/catalog/config-lines)"},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Country ISO code, e.g. DE","title":"Country"},"description":"Country ISO code, e.g. DE"},{"name":"city","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"City location code (= `location`), e.g. de-cgn","title":"City"},"description":"City location code (= `location`), e.g. de-cgn"},{"name":"datacenter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Data centre code, e.g. fra-dc1","title":"Datacenter"},"description":"Data centre code, e.g. fra-dc1"},{"name":"hardware","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Hardware family code(s), e.g. ryzen-7950x3d (repeat or comma-separated)","title":"Hardware"},"description":"Hardware family code(s), e.g. ryzen-7950x3d (repeat or comma-separated)"},{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"vps | dedicated","title":"Product Type"},"description":"vps | dedicated"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/config-lines":{"get":{"tags":["Каталог"],"summary":"Lines of builds: configurator rates and limits (price check: POST /v1/catalog/quote)","operationId":"catalog_config_lines","parameters":[{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"}},{"name":"datacenter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datacenter"}},{"name":"hardware","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Hardware"}},{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigLineOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/lines":{"get":{"tags":["Каталог"],"summary":"Lines with their ready builds, prices by period and availability","operationId":"catalog_lines","parameters":[{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"}},{"name":"datacenter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datacenter"}},{"name":"hardware","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Hardware"}},{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogLineOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/plans/{code}":{"get":{"tags":["Каталог"],"summary":"Catalog Plan Get","operationId":"catalog_plan_get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanDetailOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/catalog/quote":{"post":{"tags":["Каталог"],"summary":"Price for plan (or line + config) + period + OS + promo — the only source of truth for prices","operationId":"catalog_quote","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"security":[{"ApiKey":[]}]}},"/v1/wiki/categories":{"get":{"tags":["База знаний"],"summary":"Wiki Categories","operationId":"wiki_categories","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WikiCategoryOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/wiki/articles":{"get":{"tags":["База знаний"],"summary":"Published articles; `q` = full-text search","operationId":"wiki_articles","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WikiArticleListItemListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/wiki/articles/{slug}":{"get":{"tags":["База знаний"],"summary":"Wiki Article Get","operationId":"wiki_article_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WikiArticleOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/me":{"get":{"tags":["Аккаунт"],"summary":"Current user (email + email_verified for the banner)","operationId":"me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/me/balance":{"get":{"tags":["Аккаунт"],"summary":"Billing Balance","operationId":"billing_balance","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/me/ledger":{"get":{"tags":["Аккаунт"],"summary":"Balance history (credits/debits of the client balance)","operationId":"billing_ledger","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerItemOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/me/invoices":{"get":{"tags":["Заказы"],"summary":"Billing Invoices","operationId":"billing_invoices","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/me/invoices/{invoice_id}":{"get":{"tags":["Заказы"],"summary":"Billing Invoice Get","operationId":"billing_invoice_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/promo/validate":{"post":{"tags":["Каталог"],"summary":"Validate promo code → full price breakdown (promo.valid / promo.error_code)","operationId":"promo_validate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoValidateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"security":[{"ApiKey":[]}]}},"/v1/orders":{"get":{"tags":["Заказы"],"summary":"Orders List","operationId":"orders_list","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OrderStatus"},{"type":"null"}],"title":"Status"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]},"post":{"tags":["Заказы"],"summary":"Create order (price fixed). Re-checks availability. Send `Idempotency-Key`","operationId":"orders_create","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"security":[{"ApiKey":[]}]}},"/v1/orders/{order_id}":{"get":{"tags":["Заказы"],"summary":"Orders Get","operationId":"orders_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/orders/{order_id}/pay":{"post":{"tags":["Заказы"],"summary":"Pay: card/sbp → payment_url; balance → paid at once. Email REQUIRED","operationId":"orders_pay","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderPayIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/orders/{order_id}/cancel":{"post":{"tags":["Заказы"],"summary":"Orders Cancel","operationId":"orders_cancel","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services":{"get":{"tags":["Серверы"],"summary":"My servers","operationId":"services_list","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ServiceStatus"},{"type":"null"}],"title":"Status"}},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"include_deleted","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Deleted"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}":{"get":{"tags":["Серверы"],"summary":"Services Get","operationId":"services_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceDetailOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]},"patch":{"tags":["Серверы"],"summary":"Rename, toggle auto-renew","operationId":"services_update","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceDetailOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]},"delete":{"tags":["Серверы"],"summary":"Delete server (irreversible). Body: confirm = public id","operationId":"services_delete","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceDeleteIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/actions":{"post":{"tags":["Серверы"],"summary":"Async power/reinstall/password action; progress via GET …/actions or SSE","operationId":"services_action","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]},"get":{"tags":["Серверы"],"summary":"Action history","operationId":"services_actions_list","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/actions/{action_id}":{"get":{"tags":["Серверы"],"summary":"Services Action Get","operationId":"services_action_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Action Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/stats":{"get":{"tags":["Серверы"],"summary":"CPU/RAM/disk/net points","operationId":"services_stats","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/StatsPeriod","default":"24h"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/hardware":{"get":{"tags":["Серверы"],"summary":"Real hardware snapshot","operationId":"services_hardware","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HardwareOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/credentials/reveal":{"post":{"tags":["Серверы"],"summary":"Show root password (audited in service_credentials_views)","operationId":"services_credentials_reveal","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialsOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/software/retry":{"post":{"tags":["Серверы"],"summary":"Install the chosen software again (after status=failed)","operationId":"services_software_retry","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceDetailOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/renew":{"post":{"tags":["Серверы"],"summary":"Create renewal order → then POST /orders/{id}/pay","operationId":"services_renew","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenewIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/upgrade/quote":{"post":{"tags":["Серверы"],"summary":"Upgrade price (capability `upgrade`): new period price and the surcharge for the rest of the period","operationId":"services_upgrade_quote","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeQuoteOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/services/{service_id}/upgrade":{"post":{"tags":["Серверы"],"summary":"Create upgrade order (kind=upgrade) → POST /orders/{id}/pay; disk and IPv4 only up (422 otherwise)","operationId":"services_upgrade","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/tickets/categories":{"get":{"tags":["Тикеты"],"summary":"Tickets Categories","operationId":"tickets_categories","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketCategoryOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/tickets":{"get":{"tags":["Тикеты"],"summary":"My tickets (unread counter per ticket)","operationId":"tickets_list","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TicketStatus"},{"type":"null"}],"title":"Status"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketOutListEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]},"post":{"tags":["Тикеты"],"summary":"Tickets Create","operationId":"tickets_create","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketDetailOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"security":[{"ApiKey":[]}]}},"/v1/tickets/{ticket_id}":{"get":{"tags":["Тикеты"],"summary":"Ticket with messages (marks read)","operationId":"tickets_get","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketDetailOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/tickets/{ticket_id}/messages":{"post":{"tags":["Тикеты"],"summary":"Tickets Reply","operationId":"tickets_reply","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketMessageIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketMessageOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/tickets/{ticket_id}/close":{"post":{"tags":["Тикеты"],"summary":"Tickets Close","operationId":"tickets_close","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/tickets/{ticket_id}/reopen":{"post":{"tags":["Тикеты"],"summary":"Tickets Reopen","operationId":"tickets_reopen","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/uploads":{"post":{"tags":["Тикеты"],"summary":"Upload attachment (multipart `file`, ≤10 MB, images/pdf/txt/zip/log)","operationId":"uploads_create","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_uploads_create"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadOutEnvelope"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"security":[{"ApiKey":[]}]}},"/v1/uploads/{upload_id}":{"get":{"tags":["Тикеты"],"summary":"Download an attachment of your ticket","operationId":"uploads_get","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/octet-stream":{}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Not authenticated (`auth.required`, `auth.session_expired`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden (`auth.forbidden`, `account.blocked`, `auth.csrf_failed`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Conflict / invalid state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Validation error (`validation.failed`, details.fields)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"ApiKey":[]}]}},"/v1/mcp":{"post":{"tags":["Сервис"],"summary":"MCP server (Streamable HTTP, JSON-RPC): tools for orders, servers, balance and tickets with your API key","operationId":"mcp_endpoint","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Same key + same body within 24 h returns the stored result","schema":{"type":"string","maxLength":128}}],"security":[{"ApiKey":[]}]}}},"components":{"schemas":{"AccessMode":{"type":"string","enum":["generate_password","password"],"title":"AccessMode"},"ActionStatus":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"ActionStatus"},"AddonsIn":{"properties":{"ipv4":{"type":"integer","maximum":16.0,"minimum":0.0,"title":"Ipv4","description":"EXTRA IPv4 addresses (1 is included)","default":0},"backup":{"type":"boolean","title":"Backup","default":false},"snapshot":{"type":"boolean","title":"Snapshot","default":false}},"type":"object","title":"AddonsIn"},"AuthMethods":{"properties":{"email":{"type":"boolean","title":"Email","default":true},"telegram":{"type":"boolean","title":"Telegram","description":"Sign-in via Telegram bot (one-time token + deep link)","default":false},"yandex":{"type":"boolean","title":"Yandex","default":false},"google":{"type":"boolean","title":"Google","description":"Google OAuth (skeleton, off)","default":false},"email_link":{"type":"boolean","title":"Email Link","description":"Sign-in by a link/code from the email (POST /v1/auth/email-link)","default":true}},"type":"object","title":"AuthMethods"},"AuthorKind":{"type":"string","enum":["client","support","system"],"title":"AuthorKind"},"BalanceOut":{"properties":{"amount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"currency":{"type":"string","title":"Currency","default":"RUB"},"referral_available_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Referral Available Rub","description":"Referral funds available to withdraw","examples":["1590.00"]},"upcoming_charges_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Upcoming Charges Rub","description":"Renewals due in next 30 days","examples":["1590.00"]},"next_charge_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Charge At"}},"type":"object","required":["amount_rub","referral_available_rub","upcoming_charges_rub","next_charge_at"],"title":"BalanceOut"},"Body_uploads_create":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_uploads_create"},"Brand":{"properties":{"name":{"type":"string","title":"Name","examples":["JetVPS"]},"support_email":{"type":"string","title":"Support Email"},"abuse_email":{"type":"string","title":"Abuse Email"},"public_base_url":{"type":"string","title":"Public Base Url","examples":["https://digitalworkers.pro/jetvps"]},"api_base_url":{"type":"string","title":"Api Base Url","examples":["https://digitalworkers.pro/jetvps/api"]},"base_path":{"type":"string","title":"Base Path","examples":["/jetvps"]},"telegram_channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telegram Channel","description":"Our Telegram channel (sidebar, footer); setting","examples":["https://t.me/jetvpscloud"]},"support_telegram":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Support Telegram","description":"Support in Telegram: «Сейчас серверов нет — напишите в поддержку» and the support page","examples":["https://t.me/jetvpsbot"]}},"type":"object","required":["name","support_email","abuse_email","public_base_url","api_base_url","base_path"],"title":"Brand"},"CatalogLineOut":{"properties":{"code":{"type":"string","title":"Code","examples":["xeon-cgn"]},"name":{"type":"string","title":"Name","examples":["Эконом"]},"description":{"type":"string","title":"Description","default":""},"location_code":{"type":"string","title":"Location Code","examples":["de-cgn"]},"location_name":{"type":"string","title":"Location Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"flag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flag"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","examples":["DE"]},"datacenter":{"anyOf":[{"$ref":"#/components/schemas/DatacenterRef"},{"type":"null"}]},"hardware_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Code"},"hardware_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Label","examples":["AMD Ryzen 9 7950X3D · DDR5 · NVMe"]},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated","default":"vps"},"tier_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier Code","examples":["budget"]},"cpu_class":{"$ref":"#/components/schemas/CpuClass"},"cpu_label":{"type":"string","title":"Cpu Label","examples":["Intel Xeon · общие ядра"]},"disk_type":{"$ref":"#/components/schemas/DiskType"},"has_configurator":{"type":"boolean","title":"Has Configurator","description":"«Собрать свой» available (rates and limits below)"},"rates":{"anyOf":[{"$ref":"#/components/schemas/ConfigRatesOut"},{"type":"null"}]},"limits":{"anyOf":[{"$ref":"#/components/schemas/ConfigLimitsOut"},{"type":"null"}]},"ram_per_core_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ram Per Core Max","description":"RAM per core limit, GB"},"own_password":{"type":"boolean","title":"Own Password","description":"An own root password can be set on this line","default":false},"compatible_software":{"items":{"type":"string"},"type":"array","title":"Compatible Software","description":"Software codes a server of this line can get; empty when software cannot be installed here"},"rounding":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rounding","description":"Price rounding: up to …90 ₽","examples":["ceil_90"]},"plans_count":{"type":"integer","title":"Plans Count"},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub","description":"Min of public builds and the smallest allowed configurator build "},"price_from_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price From Source","description":"build | configurator","examples":["configurator"]},"available":{"type":"boolean","title":"Available"},"plans":{"items":{"$ref":"#/components/schemas/PlanOut"},"type":"array","title":"Plans","description":"Ready builds of the line"}},"type":"object","required":["code","name","location_code","location_name","city","flag","cpu_class","cpu_label","disk_type","has_configurator","rates","limits","plans_count","available","plans"],"title":"CatalogLineOut"},"CityStatus":{"properties":{"code":{"type":"string","title":"Code","examples":["de-fra"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","examples":["Франкфурт"]},"status":{"type":"string","title":"Status"},"datacenters":{"items":{"$ref":"#/components/schemas/DatacenterStatus"},"type":"array","title":"Datacenters"}},"type":"object","required":["code","status","datacenters"],"title":"CityStatus"},"ClientActionKind":{"type":"string","enum":["start","stop","force_stop","reboot","reinstall","reset_password","set_password"],"title":"ClientActionKind","description":"Actions a client (or agent) may request via POST /services/{id}/actions."},"ConfigIn":{"properties":{"cores":{"type":"integer","minimum":1.0,"title":"Cores","examples":[2]},"ram_gb":{"type":"integer","minimum":1.0,"title":"Ram Gb","examples":[8]},"disk_gb":{"type":"integer","minimum":1.0,"title":"Disk Gb","examples":[60]},"ipv4":{"type":"integer","minimum":1.0,"title":"Ipv4","default":1,"examples":[1]}},"type":"object","required":["cores","ram_gb","disk_gb"],"title":"ConfigIn","description":"Resources of a custom build (configurator). `cores` = vCPU."},"ConfigLimitsOut":{"properties":{"cores":{"$ref":"#/components/schemas/RangeOut"},"ram_gb":{"$ref":"#/components/schemas/RangeOut"},"disk_gb":{"$ref":"#/components/schemas/RangeOut"},"ipv4":{"$ref":"#/components/schemas/RangeOut"}},"type":"object","required":["cores","ram_gb","disk_gb","ipv4"],"title":"ConfigLimitsOut"},"ConfigLineOut":{"properties":{"code":{"type":"string","title":"Code","examples":["xeon-cgn"]},"name":{"type":"string","title":"Name","examples":["Эконом"]},"description":{"type":"string","title":"Description","default":""},"location_code":{"type":"string","title":"Location Code","examples":["de-cgn"]},"location_name":{"type":"string","title":"Location Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"flag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flag"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","examples":["DE"]},"datacenter":{"anyOf":[{"$ref":"#/components/schemas/DatacenterRef"},{"type":"null"}]},"hardware_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Code"},"hardware_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Label","examples":["AMD Ryzen 9 7950X3D · DDR5 · NVMe"]},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated","default":"vps"},"tier_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier Code","examples":["budget"]},"cpu_class":{"$ref":"#/components/schemas/CpuClass"},"cpu_label":{"type":"string","title":"Cpu Label","examples":["Intel Xeon · общие ядра"]},"disk_type":{"$ref":"#/components/schemas/DiskType"},"has_configurator":{"type":"boolean","title":"Has Configurator","description":"«Собрать свой» available (rates and limits below)"},"rates":{"anyOf":[{"$ref":"#/components/schemas/ConfigRatesOut"},{"type":"null"}]},"limits":{"anyOf":[{"$ref":"#/components/schemas/ConfigLimitsOut"},{"type":"null"}]},"ram_per_core_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ram Per Core Max","description":"RAM per core limit, GB"},"own_password":{"type":"boolean","title":"Own Password","description":"An own root password can be set on this line","default":false},"compatible_software":{"items":{"type":"string"},"type":"array","title":"Compatible Software","description":"Software codes a server of this line can get; empty when software cannot be installed here"},"rounding":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rounding","description":"Price rounding: up to …90 ₽","examples":["ceil_90"]},"plans_count":{"type":"integer","title":"Plans Count"},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub","description":"Min of public builds and the smallest allowed configurator build "},"price_from_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price From Source","description":"build | configurator","examples":["configurator"]},"available":{"type":"boolean","title":"Available"}},"type":"object","required":["code","name","location_code","location_name","city","flag","cpu_class","cpu_label","disk_type","has_configurator","rates","limits","plans_count","available"],"title":"ConfigLineOut"},"ConfigOut":{"properties":{"cores":{"type":"integer","title":"Cores","examples":[2]},"ram_gb":{"type":"integer","title":"Ram Gb","examples":[8]},"disk_gb":{"type":"integer","title":"Disk Gb","examples":[60]},"ipv4":{"type":"integer","title":"Ipv4","examples":[1]}},"type":"object","required":["cores","ram_gb","disk_gb","ipv4"],"title":"ConfigOut"},"ConfigRatesOut":{"properties":{"base":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Base","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"core":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Core","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"ram_gb":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Ram Gb","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"disk_gb":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Disk Gb","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"ipv4":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Ipv4","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]}},"type":"object","required":["base","core","ram_gb","disk_gb","ipv4"],"title":"ConfigRatesOut","description":"Configurator prices, ₽ per month per unit: price = rounding(Σ unit × rate)."},"CountryOut":{"properties":{"country_code":{"type":"string","title":"Country Code","examples":["DE"]},"name":{"type":"string","title":"Name","examples":["Германия"]},"flag":{"type":"string","title":"Flag"},"plans_count":{"type":"integer","title":"Plans Count"},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub"},"on_sale":{"type":"boolean","title":"On Sale","default":true},"cities":{"items":{"$ref":"#/components/schemas/LocationOut"},"type":"array","title":"Cities","description":"City locations with their data centres"}},"type":"object","required":["country_code","name","flag","plans_count","price_from_rub","cities"],"title":"CountryOut"},"CountryStatus":{"properties":{"country_code":{"type":"string","title":"Country Code"},"name":{"type":"string","title":"Name"},"flag":{"type":"string","title":"Flag"},"status":{"type":"string","title":"Status"},"cities":{"items":{"$ref":"#/components/schemas/CityStatus"},"type":"array","title":"Cities"}},"type":"object","required":["country_code","name","flag","status","cities"],"title":"CountryStatus"},"CpuClass":{"type":"string","enum":["shared","dedicated"],"title":"CpuClass"},"CredentialsOut":{"properties":{"username":{"type":"string","title":"Username"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"Root password (generated at delivery)"},"ipv4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ipv4"},"ssh_command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ssh Command","examples":["ssh root@203.0.113.10"]}},"type":"object","required":["username","ipv4"],"title":"CredentialsOut"},"DatacenterOut":{"properties":{"code":{"type":"string","title":"Code","examples":["fra-dc1"]},"name":{"type":"string","title":"Name","description":"Short name within the city","examples":["DC1"]},"label":{"type":"string","title":"Label","description":"City · DC — show as is (no operator, round 11)","examples":["Франкфурт · DC1"]},"hardware_labels":{"items":{"type":"string"},"type":"array","title":"Hardware Labels","examples":[["AMD Ryzen 9 7950X3D"]]},"plans_count":{"type":"integer","title":"Plans Count","default":0},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub"},"on_sale":{"type":"boolean","title":"On Sale","description":"Plans on sale here","default":true},"announced":{"type":"boolean","title":"Announced","description":"Coming soon: a line is ready but not published yet («скоро»)","default":false}},"type":"object","required":["code","name","label"],"title":"DatacenterOut"},"DatacenterRef":{"properties":{"code":{"type":"string","title":"Code","examples":["fra-dc1"]},"name":{"type":"string","title":"Name","description":"Short name within the city","examples":["DC1"]},"label":{"type":"string","title":"Label","description":"City · DC — show as is (no operator, round 11)","examples":["Франкфурт · DC1"]}},"type":"object","required":["code","name","label"],"title":"DatacenterRef"},"DatacenterStatus":{"properties":{"code":{"type":"string","title":"Code","examples":["fra-dc1"]},"name":{"type":"string","title":"Name","description":"Short name within the city","examples":["DC1"]},"label":{"type":"string","title":"Label","description":"City · DC — show as is (no operator, round 11)","examples":["Франкфурт · DC1"]},"status":{"type":"string","title":"Status","description":"operational | degraded | outage | announced","examples":["operational"]}},"type":"object","required":["code","name","label","status"],"title":"DatacenterStatus"},"DiskType":{"type":"string","enum":["nvme","ssd","hdd","ceph"],"title":"DiskType"},"BalanceOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/BalanceOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"BalanceOutEnvelope"},"CredentialsOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/CredentialsOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"CredentialsOutEnvelope"},"HardwareOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/HardwareOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"HardwareOutEnvelope"},"InvoiceOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/InvoiceOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"InvoiceOutEnvelope"},"MeOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/MeOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"MeOutEnvelope"},"MetaOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/MetaOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"MetaOutEnvelope"},"OrderOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/OrderOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"OrderOutEnvelope"},"PaymentOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/PaymentOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"PaymentOutEnvelope"},"PlanDetailOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/PlanDetailOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"PlanDetailOutEnvelope"},"QuoteOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/QuoteOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"QuoteOutEnvelope"},"ServiceActionOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/ServiceActionOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"ServiceActionOutEnvelope"},"ServiceDetailOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/ServiceDetailOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"ServiceDetailOutEnvelope"},"StatsOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/StatsOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"StatsOutEnvelope"},"StatusOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/StatusOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"StatusOutEnvelope"},"TicketDetailOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/TicketDetailOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"TicketDetailOutEnvelope"},"TicketMessageOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/TicketMessageOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"TicketMessageOutEnvelope"},"TicketOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/TicketOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"TicketOutEnvelope"},"UpgradeQuoteOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/UpgradeQuoteOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"UpgradeQuoteOutEnvelope"},"UploadOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/UploadOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"UploadOutEnvelope"},"WikiArticleOutEnvelope":{"properties":{"data":{"$ref":"#/components/schemas/WikiArticleOut"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"WikiArticleOutEnvelope"},"CatalogLineOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CatalogLineOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"CatalogLineOutListEnvelope"},"ConfigLineOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ConfigLineOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"ConfigLineOutListEnvelope"},"CountryOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CountryOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"CountryOutListEnvelope"},"HardwareFamilyOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/HardwareFamilyOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"HardwareFamilyOutListEnvelope"},"InvoiceOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/InvoiceOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"InvoiceOutListEnvelope"},"LedgerItemOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/LedgerItemOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"LedgerItemOutListEnvelope"},"LocationOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/LocationOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"LocationOutListEnvelope"},"OrderOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/OrderOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"OrderOutListEnvelope"},"OsOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/OsOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"OsOutListEnvelope"},"PlanOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PlanOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"PlanOutListEnvelope"},"ServiceActionOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ServiceActionOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"ServiceActionOutListEnvelope"},"ServiceOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ServiceOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"ServiceOutListEnvelope"},"SoftwareOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SoftwareOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"SoftwareOutListEnvelope"},"TicketCategoryOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TicketCategoryOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"TicketCategoryOutListEnvelope"},"TicketOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TicketOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"TicketOutListEnvelope"},"TierOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TierOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"TierOutListEnvelope"},"UseCaseOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/UseCaseOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"UseCaseOutListEnvelope"},"WikiArticleListItemListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WikiArticleListItem"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"WikiArticleListItemListEnvelope"},"WikiCategoryOutListEnvelope":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WikiCategoryOut"},"type":"array","title":"Data"},"meta":{"anyOf":[{"$ref":"#/components/schemas/Meta"},{"type":"null"}]},"error":{"type":"null","title":"Error"}},"type":"object","required":["data"],"title":"WikiCategoryOutListEnvelope"},"ErrorBody":{"properties":{"code":{"type":"string","title":"Code","description":"Stable machine-readable code","examples":["auth.invalid_credentials"]},"message":{"type":"string","title":"Message","description":"Human readable fallback text in the request language"},"details":{"additionalProperties":true,"type":"object","title":"Details"}},"type":"object","required":["code","message"],"title":"ErrorBody"},"ErrorEnvelope":{"properties":{"data":{"type":"null","title":"Data"},"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorEnvelope"},"Features":{"properties":{"referrals":{"type":"boolean","title":"Referrals","default":true},"promo_codes":{"type":"boolean","title":"Promo Codes","default":true},"tickets":{"type":"boolean","title":"Tickets","default":true},"wiki":{"type":"boolean","title":"Wiki","default":true},"api_keys":{"type":"boolean","title":"Api Keys","default":true},"dev_payments":{"type":"boolean","title":"Dev Payments","description":"Dev payment gateway (POST /v1/dev/payments/{id}/succeed)","default":false},"console":{"type":"boolean","title":"Console","default":true},"autopay":{"type":"boolean","title":"Autopay","description":"Card autopay can be switched on (GET /v1/me/autopay)","default":false},"generated_password_only":{"type":"boolean","title":"Generated Password Only","description":"Root access by a generated password: orders accept access.mode=generate_password; an own password only where the line allows it","default":true}},"type":"object","title":"Features"},"FrequencyOut":{"properties":{"base_ghz":{"type":"string","title":"Base Ghz","examples":["4.2"]},"boost_ghz":{"type":"string","title":"Boost Ghz","examples":["5.7"]},"source":{"type":"string","title":"Source","examples":["AMD product specifications (amd.com)"]}},"type":"object","required":["base_ghz","boost_ghz","source"],"title":"FrequencyOut"},"HardwareDatacenterOut":{"properties":{"code":{"type":"string","title":"Code","examples":["fra-dc1"]},"name":{"type":"string","title":"Name","description":"Short name within the city","examples":["DC1"]},"label":{"type":"string","title":"Label","description":"City · DC — show as is (no operator, round 11)","examples":["Франкфурт · DC1"]},"on_sale":{"type":"boolean","title":"On Sale"}},"type":"object","required":["code","name","label","on_sale"],"title":"HardwareDatacenterOut"},"HardwareFamilyOut":{"properties":{"code":{"type":"string","title":"Code","examples":["ryzen-7950x3d"]},"name":{"type":"string","title":"Name","examples":["AMD Ryzen 9 7950X3D"]},"vendor":{"type":"string","title":"Vendor","examples":["AMD"]},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Exact CPU model when confirmed"},"cpu_class":{"$ref":"#/components/schemas/CpuClass"},"generation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generation","examples":["Zen 4, 3D V-Cache"]},"memory":{"type":"string","title":"Memory","examples":["DDR5"]},"disk":{"type":"string","title":"Disk","examples":["NVMe"]},"frequency":{"anyOf":[{"$ref":"#/components/schemas/FrequencyOut"},{"type":"null"}],"description":"Only from the CPU vendor's specifications"},"hardware_label":{"type":"string","title":"Hardware Label","examples":["AMD Ryzen 9 7950X3D · DDR5 · NVMe"]},"locations":{"items":{"$ref":"#/components/schemas/HardwareLocationOut"},"type":"array","title":"Locations"},"tiers":{"items":{"type":"string"},"type":"array","title":"Tiers","examples":[["hiload"]]},"plans_count":{"type":"integer","title":"Plans Count"},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub","description":"null while announced (prices not published)"},"on_sale":{"type":"boolean","title":"On Sale","description":"Public plans exist"},"announced":{"type":"boolean","title":"Announced","description":"Coming soon: the line is ready but not published yet"},"has_configurator":{"type":"boolean","title":"Has Configurator","description":"«Своя сборка» available for this CPU (here)","default":false}},"type":"object","required":["code","name","vendor","cpu_class","memory","disk","hardware_label","locations","tiers","plans_count","on_sale","announced"],"title":"HardwareFamilyOut"},"HardwareLocationOut":{"properties":{"code":{"type":"string","title":"Code","examples":["de-cgn"]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country_code":{"type":"string","title":"Country Code"},"flag":{"type":"string","title":"Flag"},"on_sale":{"type":"boolean","title":"On Sale"},"datacenters":{"items":{"$ref":"#/components/schemas/HardwareDatacenterOut"},"type":"array","title":"Datacenters"}},"type":"object","required":["code","city","country_code","flag","on_sale","datacenters"],"title":"HardwareLocationOut"},"HardwareOut":{"properties":{"cpu_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cpu Model"},"cpu_mhz":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cpu Mhz"},"vcpu_visible":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vcpu Visible"},"ram_total_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ram Total Mb"},"disk_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disk Model"},"disk_rotational":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disk Rotational"},"disk_write_mbps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Disk Write Mbps"},"cpu_bench_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cpu Bench Ms"},"steal_pct":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Steal Pct"},"collected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Collected At"}},"type":"object","required":["cpu_model","cpu_mhz","vcpu_visible","ram_total_mb","disk_model","disk_rotational","disk_write_mbps","cpu_bench_ms","steal_pct","collected_at"],"title":"HardwareOut"},"InvoiceOut":{"properties":{"id":{"type":"string","title":"Id"},"number":{"type":"string","title":"Number","examples":["JV-2026-000123"]},"kind":{"type":"string","title":"Kind"},"amount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"status":{"$ref":"#/components/schemas/InvoiceStatus"},"description":{"type":"string","title":"Description"},"receipt_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Email"},"receipt_status":{"type":"string","title":"Receipt Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Id"},"receipt_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Url","description":"Fiscal receipt (54-FZ) link when issued"}},"type":"object","required":["id","number","kind","amount_rub","status","description","receipt_email","receipt_status","created_at","paid_at","order_id"],"title":"InvoiceOut"},"InvoiceStatus":{"type":"string","enum":["open","paid","void","refunded","partially_refunded"],"title":"InvoiceStatus"},"LedgerItemOut":{"properties":{"id":{"type":"string","title":"Id"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"kind":{"type":"string","title":"Kind","examples":["topup","charge","refund","adjustment","referral_withdraw"]},"amount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount Rub","description":"+ credited to balance, − debited","examples":["1590.00"]},"balance_after_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Balance After Rub"},"memo":{"type":"string","title":"Memo"},"ref_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Type"},"ref_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Id"}},"type":"object","required":["id","occurred_at","kind","amount_rub","memo","ref_type","ref_id"],"title":"LedgerItemOut"},"Limits":{"properties":{"topup_min_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Topup Min Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"topup_max_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Topup Max Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"upload_max_bytes":{"type":"integer","title":"Upload Max Bytes"},"order_ttl_minutes":{"type":"integer","title":"Order Ttl Minutes"}},"type":"object","required":["topup_min_rub","topup_max_rub","upload_max_bytes","order_ttl_minutes"],"title":"Limits"},"Locale":{"type":"string","enum":["ru","en"],"title":"Locale"},"LocationOut":{"properties":{"code":{"type":"string","title":"Code","examples":["de-fra"]},"name":{"type":"string","title":"Name","examples":["Германия"]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","examples":["Франкфурт"]},"country_code":{"type":"string","title":"Country Code","examples":["DE"]},"flag":{"type":"string","title":"Flag","description":"Emoji flag","examples":["🇩🇪"]},"is_virtual":{"type":"boolean","title":"Is Virtual","description":"IP of the country, server physically elsewhere","default":false},"physical_location_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Physical Location Code"},"plans_count":{"type":"integer","title":"Plans Count","default":0},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub"},"country_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Name","examples":["Германия"]},"datacenters":{"items":{"$ref":"#/components/schemas/DatacenterOut"},"type":"array","title":"Datacenters","description":"Data centres of the city"},"on_sale":{"type":"boolean","title":"On Sale","default":true},"announced":{"type":"boolean","title":"Announced","description":"Coming soon («скоро»): no plans on sale yet","default":false}},"type":"object","required":["code","name","country_code","flag"],"title":"LocationOut"},"LocationStatus":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name","description":"Country name (kept for compatibility); city in `city`"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"flag":{"type":"string","title":"Flag"},"status":{"type":"string","title":"Status","description":"operational | degraded | outage | announced","examples":["operational"]},"datacenters":{"items":{"$ref":"#/components/schemas/DatacenterStatus"},"type":"array","title":"Datacenters"},"on_sale":{"type":"boolean","title":"On Sale","default":true},"announced":{"type":"boolean","title":"Announced","default":false}},"type":"object","required":["code","name","flag","status"],"title":"LocationStatus"},"MatchingPlanOut":{"properties":{"code":{"type":"string","title":"Code","examples":["eco-8"]},"name":{"type":"string","title":"Name"},"price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price Rub","description":"Month price of the ready build","examples":["1590.00"]}},"type":"object","required":["code","name","price_rub"],"title":"MatchingPlanOut"},"MeOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","examples":["JV-48213"]},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"locale":{"$ref":"#/components/schemas/Locale"},"timezone":{"type":"string","title":"Timezone"},"status":{"$ref":"#/components/schemas/UserStatus"},"has_password":{"type":"boolean","title":"Has Password"},"email_missing":{"type":"boolean","title":"Email Missing","description":"Informational: no email yet. Nothing is blocked — show a dismissible banner «Добавьте email для чеков и восстановления доступа»; email is asked only at the card/SBP payment step","default":false},"login_methods":{"items":{"type":"string"},"type":"array","title":"Login Methods","description":"password|telegram|yandex|email_link","examples":[["password","telegram","email_link"]]},"reauth_channels":{"items":{"type":"string"},"type":"array","title":"Reauth Channels","description":"Where a re-auth code can go: telegram | email (verified)"},"totp_enabled":{"type":"boolean","title":"Totp Enabled"},"telegram":{"anyOf":[{"$ref":"#/components/schemas/TelegramBrief"},{"type":"null"}]},"ref_code":{"type":"string","title":"Ref Code"},"balance_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Balance Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","public_id","email","email_verified","display_name","locale","timezone","status","has_password","totp_enabled","telegram","ref_code","balance_rub","created_at"],"title":"MeOut"},"Meta":{"properties":{"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as ?cursor= to get the next page; null = last page"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total","description":"Total items when cheap to compute"},"unread":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unread","description":"Notifications list: unread count"}},"type":"object","title":"Meta"},"MetaOut":{"properties":{"brand":{"$ref":"#/components/schemas/Brand"},"auth_methods":{"$ref":"#/components/schemas/AuthMethods"},"telegram_bot_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telegram Bot Username","description":"Bot username without @, null if disabled"},"locales":{"items":{"type":"string"},"type":"array","title":"Locales","default":["ru","en"]},"default_locale":{"type":"string","title":"Default Locale","default":"ru"},"currency":{"type":"string","title":"Currency","default":"RUB"},"payment_methods":{"items":{"$ref":"#/components/schemas/PaymentMethod"},"type":"array","title":"Payment Methods"},"features":{"$ref":"#/components/schemas/Features"},"limits":{"$ref":"#/components/schemas/Limits"},"environment":{"type":"string","title":"Environment","examples":["dev"]}},"type":"object","required":["brand","auth_methods","payment_methods","features","limits","environment"],"title":"MetaOut"},"OrderCreateIn":{"properties":{"plan_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Code","examples":["eco-8"]},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code","examples":["xeon-cgn"]},"config":{"anyOf":[{"$ref":"#/components/schemas/ConfigIn"},{"type":"null"}]},"location_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Code","description":"Required with plan_code","examples":["de-cgn"]},"os_code":{"type":"string","title":"Os Code","examples":["ubuntu-24.04"]},"period_months":{"type":"integer","title":"Period Months","default":1,"examples":[1]},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes","examples":[["docker"]]},"server_name":{"anyOf":[{"type":"string","maxLength":63,"pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{0,62}$"},{"type":"null"}],"title":"Server Name","examples":["my-agent-box"]},"access":{"$ref":"#/components/schemas/ServerAccessIn"},"promo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promo Code"},"accept_terms":{"type":"boolean","title":"Accept Terms","description":"Offer accepted","default":true},"quantity":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Quantity","description":"Batch: N identical servers in one order and one payment","default":1},"addons":{"anyOf":[{"$ref":"#/components/schemas/AddonsIn"},{"type":"null"}],"description":"Extra IPv4 / backups / snapshot (GET /v1/catalog/addons)"}},"type":"object","required":["os_code"],"title":"OrderCreateIn","description":"`plan_code` (ready build / plan) **or** `line_code` + `config` (configurator)."},"OrderKind":{"type":"string","enum":["new","renew","upgrade","addon","topup"],"title":"OrderKind"},"OrderOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","examples":["482073159"]},"kind":{"$ref":"#/components/schemas/OrderKind"},"status":{"$ref":"#/components/schemas/OrderStatus"},"plan_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Code"},"plan_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Name"},"location_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Code"},"os_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Os Code"},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes"},"period_months":{"type":"integer","title":"Period Months"},"server_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Server Name"},"promo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promo Code"},"amount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"currency":{"type":"string","title":"Currency","default":"RUB"},"lines":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Lines","description":"Quote lines snapshot"},"receipt_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Email"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"latest_payment":{"anyOf":[{"$ref":"#/components/schemas/PaymentOut"},{"type":"null"}]},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code"},"config":{"anyOf":[{"$ref":"#/components/schemas/ConfigOut"},{"type":"null"}],"description":"Custom build resources / upgrade target"},"quantity":{"type":"integer","title":"Quantity","description":"Servers in this order (batch)","default":1},"addons":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Addons","description":"Add-ons of the order"},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated","default":"vps"},"service_ids":{"items":{"type":"string"},"type":"array","title":"Service Ids","description":"All servers of the order (batch)"}},"type":"object","required":["id","public_id","kind","status","plan_code","plan_name","location_code","os_code","software_codes","period_months","server_name","promo_code","amount_rub","receipt_email","expires_at","paid_at","created_at","service_id","failure_code"],"title":"OrderOut"},"OrderPayIn":{"properties":{"method":{"type":"string","enum":["balance"],"title":"Method","description":"Agents pay from the balance only"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email","description":"Receipt email (54-FZ), fixed in the invoice. Prefill with the primary email. Omitted → the primary email; none → 409 account.email_required. API keys always use the primary email"},"make_primary":{"type":"boolean","title":"Make Primary","description":"Make this email the primary one (confirmation code is sent)","default":false}},"type":"object","required":["method"],"title":"OrderPayIn"},"OrderStatus":{"type":"string","enum":["draft","awaiting_payment","paid","fulfilling","completed","cancelled","failed","refunded"],"title":"OrderStatus"},"OsFamily":{"type":"string","enum":["linux","windows"],"title":"OsFamily"},"OsOut":{"properties":{"code":{"type":"string","title":"Code","examples":["ubuntu-24.04"]},"name":{"type":"string","title":"Name","examples":["Ubuntu 24.04 LTS"]},"family":{"$ref":"#/components/schemas/OsFamily"},"distro":{"type":"string","title":"Distro","examples":["ubuntu"]},"version":{"type":"string","title":"Version"},"min_ram_gb":{"type":"integer","title":"Min Ram Gb"},"extra_price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Extra Price Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"is_default":{"type":"boolean","title":"Is Default"}},"type":"object","required":["code","name","family","distro","version","min_ram_gb","extra_price_rub","is_default"],"title":"OsOut"},"PaymentMethod":{"type":"string","enum":["card","sbp","balance"],"title":"PaymentMethod"},"PaymentOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","examples":["4820731596"]},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Id"},"purpose":{"type":"string","title":"Purpose","examples":["order","topup"]},"method":{"$ref":"#/components/schemas/PaymentMethod"},"status":{"$ref":"#/components/schemas/PaymentStatus"},"amount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount Rub","description":"Charged through the gateway","examples":["1590.00"]},"amount_from_balance_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount From Balance Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"total_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Total Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"payment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Url","description":"Redirect the user here (gateway page)"},"qr_payload":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qr Payload","description":"SBP QR payload"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"succeeded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Succeeded At"},"receipt_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Url"}},"type":"object","required":["id","public_id","order_id","purpose","method","status","amount_rub","amount_from_balance_rub","total_rub","expires_at","created_at","succeeded_at"],"title":"PaymentOut"},"PaymentStatus":{"type":"string","enum":["created","pending","succeeded","failed","expired","refunded","partially_refunded"],"title":"PaymentStatus"},"PlanDetailOut":{"properties":{"id":{"type":"string","title":"Id"},"code":{"type":"string","title":"Code","examples":["de-fra-std-2-4"]},"name":{"type":"string","title":"Name","examples":["Standard 2"]},"tier":{"anyOf":[{"$ref":"#/components/schemas/TierRef"},{"type":"null"}]},"vcpu":{"type":"integer","title":"Vcpu"},"ram_gb":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Ram Gb","examples":["12.5"]},"disk_gb":{"type":"integer","title":"Disk Gb"},"disk_type":{"$ref":"#/components/schemas/DiskType"},"port_mbps":{"type":"integer","title":"Port Mbps"},"traffic_tb":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Traffic Tb","description":"null = unmetered"},"cpu_class":{"$ref":"#/components/schemas/CpuClass"},"cpu_label":{"type":"string","title":"Cpu Label","description":"CPU class, not model","examples":["AMD EPYC последнего поколения"]},"ipv4":{"type":"integer","title":"Ipv4","description":"Dedicated IPv4 addresses included"},"ipv6":{"type":"boolean","title":"Ipv6","description":"IPv6 available"},"ddos_protection":{"type":"boolean","title":"Ddos Protection"},"backups_included":{"type":"integer","title":"Backups Included","description":"Backup slots included (0 = none)"},"virtualization":{"type":"string","title":"Virtualization","default":"KVM","examples":["KVM"]},"locations":{"items":{"$ref":"#/components/schemas/PlanLocationOut"},"type":"array","title":"Locations"},"prices":{"items":{"$ref":"#/components/schemas/PlanPriceOut"},"type":"array","title":"Prices"},"price_from_month_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price From Month Rub","description":"Cheapest per-month equivalent","examples":["1590.00"]},"month_price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Month Price Rub","description":"Price for 1 month","examples":["1590.00"]},"use_cases":{"items":{"$ref":"#/components/schemas/PlanUseCaseOut"},"type":"array","title":"Use Cases"},"is_available":{"type":"boolean","title":"Is Available"},"provisioning":{"type":"string","title":"Provisioning","description":"auto | manual","examples":["auto"]},"periods":{"items":{"type":"integer"},"type":"array","title":"Periods","description":"Billing periods (months) this plan can be bought for. Usually [1]; 3/6/12 only where longer periods are sold. One period → hide the period picker","examples":[[1]]},"description":{"type":"string","title":"Description","default":""},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code","description":"Line of builds (GET /v1/catalog/config-lines); null = classic plan","examples":["xeon-cgn"]},"hardware_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Code","description":"GET /v1/catalog/hardware","examples":["ryzen-7950x3d"]},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated (a whole physical server)","default":"vps","examples":["vps"]},"config_label":{"type":"string","title":"Config Label","description":"Show this, not `name`","default":"","examples":["2 ядра · 4 ГБ RAM · 40 ГБ NVMe"]},"short_label":{"type":"string","title":"Short Label","default":"","examples":["AMD Ryzen 9 7950X3D · 2/4/40"]},"hardware_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Label","description":"For cards","examples":["AMD Ryzen 9 7950X3D · DDR5 · NVMe"]},"offer":{"anyOf":[{"$ref":"#/components/schemas/PlanOfferOut"},{"type":"null"}],"description":"A permanent special price: limited per account, no promo codes, month by month"},"compatible_os":{"items":{"type":"string"},"type":"array","title":"Compatible Os"},"compatible_software":{"items":{"type":"string"},"type":"array","title":"Compatible Software"},"own_password":{"type":"boolean","title":"Own Password","description":"An own root password can be set (else we generate it)","default":false}},"type":"object","required":["id","code","name","tier","vcpu","ram_gb","disk_gb","disk_type","port_mbps","cpu_class","cpu_label","ipv4","ipv6","ddos_protection","backups_included","locations","prices","price_from_month_rub","month_price_rub","use_cases","is_available","provisioning","periods","compatible_os","compatible_software"],"title":"PlanDetailOut"},"PlanLocationOut":{"properties":{"code":{"type":"string","title":"Code","examples":["de-fra"]},"name":{"type":"string","title":"Name","description":"Country name","examples":["Германия"]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","examples":["Франкфурт"]},"country_code":{"type":"string","title":"Country Code","examples":["DE"]},"flag":{"type":"string","title":"Flag","description":"Emoji flag","examples":["🇩🇪"]},"available":{"type":"boolean","title":"Available","description":"Can be ordered right now (refreshed every few minutes)"},"manual":{"type":"boolean","title":"Manual","description":"Created manually by operator (SLA up to 2 hours)","default":false},"datacenters":{"items":{"$ref":"#/components/schemas/DatacenterRef"},"type":"array","title":"Datacenters","description":"Data centre(s) of this plan here"}},"type":"object","required":["code","name","country_code","flag","available"],"title":"PlanLocationOut"},"PlanOfferOut":{"properties":{"limit_per_account":{"type":"integer","title":"Limit Per Account","description":"How many offers one account may take (over its whole life)","default":1},"regular_price_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Regular Price Rub","description":"The usual price of this plan (strike-through)"}},"type":"object","title":"PlanOfferOut"},"PlanOut":{"properties":{"id":{"type":"string","title":"Id"},"code":{"type":"string","title":"Code","examples":["de-fra-std-2-4"]},"name":{"type":"string","title":"Name","examples":["Standard 2"]},"tier":{"anyOf":[{"$ref":"#/components/schemas/TierRef"},{"type":"null"}]},"vcpu":{"type":"integer","title":"Vcpu"},"ram_gb":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Ram Gb","examples":["12.5"]},"disk_gb":{"type":"integer","title":"Disk Gb"},"disk_type":{"$ref":"#/components/schemas/DiskType"},"port_mbps":{"type":"integer","title":"Port Mbps"},"traffic_tb":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Traffic Tb","description":"null = unmetered"},"cpu_class":{"$ref":"#/components/schemas/CpuClass"},"cpu_label":{"type":"string","title":"Cpu Label","description":"CPU class, not model","examples":["AMD EPYC последнего поколения"]},"ipv4":{"type":"integer","title":"Ipv4","description":"Dedicated IPv4 addresses included"},"ipv6":{"type":"boolean","title":"Ipv6","description":"IPv6 available"},"ddos_protection":{"type":"boolean","title":"Ddos Protection"},"backups_included":{"type":"integer","title":"Backups Included","description":"Backup slots included (0 = none)"},"virtualization":{"type":"string","title":"Virtualization","default":"KVM","examples":["KVM"]},"locations":{"items":{"$ref":"#/components/schemas/PlanLocationOut"},"type":"array","title":"Locations"},"prices":{"items":{"$ref":"#/components/schemas/PlanPriceOut"},"type":"array","title":"Prices"},"price_from_month_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price From Month Rub","description":"Cheapest per-month equivalent","examples":["1590.00"]},"month_price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Month Price Rub","description":"Price for 1 month","examples":["1590.00"]},"use_cases":{"items":{"$ref":"#/components/schemas/PlanUseCaseOut"},"type":"array","title":"Use Cases"},"is_available":{"type":"boolean","title":"Is Available"},"provisioning":{"type":"string","title":"Provisioning","description":"auto | manual","examples":["auto"]},"periods":{"items":{"type":"integer"},"type":"array","title":"Periods","description":"Billing periods (months) this plan can be bought for. Usually [1]; 3/6/12 only where longer periods are sold. One period → hide the period picker","examples":[[1]]},"description":{"type":"string","title":"Description","default":""},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code","description":"Line of builds (GET /v1/catalog/config-lines); null = classic plan","examples":["xeon-cgn"]},"hardware_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Code","description":"GET /v1/catalog/hardware","examples":["ryzen-7950x3d"]},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated (a whole physical server)","default":"vps","examples":["vps"]},"config_label":{"type":"string","title":"Config Label","description":"Show this, not `name`","default":"","examples":["2 ядра · 4 ГБ RAM · 40 ГБ NVMe"]},"short_label":{"type":"string","title":"Short Label","default":"","examples":["AMD Ryzen 9 7950X3D · 2/4/40"]},"hardware_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Label","description":"For cards","examples":["AMD Ryzen 9 7950X3D · DDR5 · NVMe"]},"offer":{"anyOf":[{"$ref":"#/components/schemas/PlanOfferOut"},{"type":"null"}],"description":"A permanent special price: limited per account, no promo codes, month by month"}},"type":"object","required":["id","code","name","tier","vcpu","ram_gb","disk_gb","disk_type","port_mbps","cpu_class","cpu_label","ipv4","ipv6","ddos_protection","backups_included","locations","prices","price_from_month_rub","month_price_rub","use_cases","is_available","provisioning","periods"],"title":"PlanOut"},"PlanPriceOut":{"properties":{"period_months":{"type":"integer","title":"Period Months"},"price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price Rub","description":"Total for the period","examples":["1590.00"]},"monthly_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Monthly Rub","description":"Per-month equivalent","examples":["1590.00"]},"discount_percent":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Discount Percent","examples":["12.5"]},"compare_price_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Compare Price Rub","description":"Struck-through price (no period discount)"},"currency":{"type":"string","title":"Currency","default":"RUB"}},"type":"object","required":["period_months","price_rub","monthly_rub","discount_percent"],"title":"PlanPriceOut"},"PlanSort":{"type":"string","enum":["price_asc","price_desc","vcpu_desc","ram_desc","popular"],"title":"PlanSort"},"PlanUseCaseOut":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"reason":{"type":"string","title":"Reason","description":"Short 'why it fits' text"},"pinned":{"type":"boolean","title":"Pinned","default":false}},"type":"object","required":["code","name","reason"],"title":"PlanUseCaseOut"},"PowerState":{"type":"string","enum":["running","stopped","starting","stopping","rebooting","reinstalling","unknown"],"title":"PowerState"},"PromoResult":{"properties":{"code":{"type":"string","title":"Code"},"valid":{"type":"boolean","title":"Valid"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"discount_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Discount Rub"}},"type":"object","required":["code","valid"],"title":"PromoResult"},"PromoValidateIn":{"properties":{"code":{"type":"string","title":"Code","examples":["WELCOME10"]},"plan_code":{"type":"string","title":"Plan Code"},"location_code":{"type":"string","title":"Location Code"},"period_months":{"type":"integer","title":"Period Months","default":1},"os_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Os Code"},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes","default":[]}},"type":"object","required":["code","plan_code","location_code"],"title":"PromoValidateIn"},"QuoteIn":{"properties":{"plan_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Code","description":"Ready build / plan, or …","examples":["eco-8"]},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code","description":"… a line + `config` (configurator)","examples":["xeon-cgn"]},"config":{"anyOf":[{"$ref":"#/components/schemas/ConfigIn"},{"type":"null"}]},"location_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Code","description":"Required for plans; a line has one","examples":["de-cgn"]},"period_months":{"type":"integer","title":"Period Months","default":1,"examples":[1]},"os_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Os Code"},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes","default":[]},"promo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promo Code"},"addons":{"anyOf":[{"$ref":"#/components/schemas/AddonsIn"},{"type":"null"}]}},"type":"object","title":"QuoteIn"},"QuoteLine":{"properties":{"kind":{"type":"string","title":"Kind","description":"plan | os | software | period_discount | promo","examples":["plan"]},"label":{"type":"string","title":"Label"},"amount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Amount Rub","description":"Negative for discounts","examples":["1590.00"]}},"type":"object","required":["kind","label","amount_rub"],"title":"QuoteLine"},"QuoteOut":{"properties":{"plan_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Code","description":"null for a custom build"},"location_code":{"type":"string","title":"Location Code"},"period_months":{"type":"integer","title":"Period Months"},"lines":{"items":{"$ref":"#/components/schemas/QuoteLine"},"type":"array","title":"Lines"},"subtotal_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Subtotal Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"period_discount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Period Discount Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"promo_discount_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Promo Discount Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"total_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Total Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"monthly_equivalent_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Monthly Equivalent Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"savings_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Savings Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"currency":{"type":"string","title":"Currency","default":"RUB"},"promo":{"anyOf":[{"$ref":"#/components/schemas/PromoResult"},{"type":"null"}]},"available":{"type":"boolean","title":"Available"},"allowed_periods":{"items":{"type":"integer"},"type":"array","title":"Allowed Periods","description":"Same as PlanOut.periods","examples":[[1]]},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code"},"config":{"anyOf":[{"$ref":"#/components/schemas/ConfigOut"},{"type":"null"}],"description":"Normalized resources of a custom build"},"is_custom":{"type":"boolean","title":"Is Custom","description":"Configurator (custom build) price","default":false},"addons":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Addons","description":"Chosen add-ons"},"addons_monthly_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Addons Monthly Rub","description":"Add-ons per month","default":"0.00","examples":["1590.00"]},"matches_plan":{"anyOf":[{"$ref":"#/components/schemas/MatchingPlanOut"},{"type":"null"}],"description":"A ready build with exactly these resources exists — suggest it (cheaper)"}},"type":"object","required":["plan_code","location_code","period_months","lines","subtotal_rub","period_discount_rub","promo_discount_rub","total_rub","monthly_equivalent_rub","savings_rub","available","allowed_periods"],"title":"QuoteOut"},"RangeOut":{"properties":{"min":{"type":"integer","title":"Min"},"max":{"type":"integer","title":"Max"},"step":{"type":"integer","title":"Step"}},"type":"object","required":["min","max","step"],"title":"RangeOut"},"RenewIn":{"properties":{"period_months":{"type":"integer","title":"Period Months","default":1,"examples":[1]}},"type":"object","title":"RenewIn"},"Role":{"type":"string","enum":["client","support","admin"],"title":"Role"},"ServerAccessIn":{"properties":{"mode":{"$ref":"#/components/schemas/AccessMode","default":"generate_password"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"Own root password when mode=password (min 12, mixed)"}},"type":"object","title":"ServerAccessIn"},"ServiceActionIn":{"properties":{"action":{"$ref":"#/components/schemas/ClientActionKind"},"os_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Os Code","description":"reinstall: new OS (default: current)"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"set_password / reinstall: own password (min 12)"},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes","description":"reinstall: presets"},"confirm":{"type":"boolean","title":"Confirm","description":"Must be true for reinstall and force_stop","default":false}},"type":"object","required":["action"],"title":"ServiceActionIn"},"ServiceActionKind":{"type":"string","enum":["start","stop","force_stop","reboot","reinstall","reset_password","set_password","delete","console","rename","suspend","resume"],"title":"ServiceActionKind"},"ServiceActionOut":{"properties":{"id":{"type":"string","title":"Id"},"action":{"$ref":"#/components/schemas/ServiceActionKind"},"status":{"$ref":"#/components/schemas/ActionStatus"},"actor":{"type":"string","title":"Actor","examples":["user","admin","system"]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","action","status","actor","error_code","error","created_at","finished_at"],"title":"ServiceActionOut"},"ServiceDeleteIn":{"properties":{"confirm":{"type":"string","title":"Confirm","description":"Type the server public id (e.g. 48207315) to confirm"}},"type":"object","required":["confirm"],"title":"ServiceDeleteIn"},"ServiceDetailOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","description":"Server ID: random digits, quote it to support","examples":["48207315"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"Client-given name"},"hostname":{"type":"string","title":"Hostname","examples":["srv-10234.jetvps.cloud"]},"status":{"$ref":"#/components/schemas/ServiceStatus"},"power_state":{"$ref":"#/components/schemas/PowerState"},"suspended_reason":{"anyOf":[{"$ref":"#/components/schemas/SuspendReason"},{"type":"null"}]},"plan":{"$ref":"#/components/schemas/ServicePlanBrief"},"location":{"$ref":"#/components/schemas/ServiceLocationBrief"},"os":{"$ref":"#/components/schemas/ServiceOsBrief"},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes"},"ipv4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ipv4"},"ipv6":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ipv6"},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code","description":"Line of builds the server belongs to"},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated","default":"vps"},"addons":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Addons","description":"Add-ons of the server"},"config":{"anyOf":[{"$ref":"#/components/schemas/ConfigOut"},{"type":"null"}],"description":"Actual resources (custom build / after an upgrade)"},"is_custom":{"type":"boolean","title":"Is Custom","description":"Bought in the configurator","default":false},"locked":{"type":"boolean","title":"Locked","description":"Blocked by us (unpaid/abuse): actions are not available","default":false},"period_months":{"type":"integer","title":"Period Months"},"price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price Rub","description":"Renewal price for the period","examples":["1590.00"]},"paid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid Until"},"auto_renew":{"type":"boolean","title":"Auto Renew"},"delete_after":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delete After"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"activated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Activated At"},"capabilities":{"items":{"$ref":"#/components/schemas/ServerCapability"},"type":"array","title":"Capabilities","description":"Hide buttons that are not listed"},"pending_action":{"anyOf":[{"$ref":"#/components/schemas/ServiceActionOut"},{"type":"null"}]},"usage":{"anyOf":[{"$ref":"#/components/schemas/ServiceUsage"},{"type":"null"}]},"cpu_usage_pct":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Cpu Usage Pct","description":"Current CPU load, % (last stats point, cached ≤60 s); null if unknown","examples":["37.5"]},"provisioning_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provisioning Note","description":"e.g. manual SLA text"},"root_username":{"type":"string","title":"Root Username"},"has_password":{"type":"boolean","title":"Has Password"},"software":{"anyOf":[{"$ref":"#/components/schemas/SoftwareStateOut"},{"type":"null"}],"description":"Installation of the chosen software after creation; null when there is nothing to install"}},"type":"object","required":["id","public_id","hostname","status","power_state","suspended_reason","plan","location","os","software_codes","ipv4","ipv6","period_months","price_rub","paid_until","auto_renew","delete_after","created_at","activated_at","capabilities","root_username","has_password"],"title":"ServiceDetailOut"},"ServiceLocationBrief":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"flag":{"type":"string","title":"Flag"},"datacenter":{"anyOf":[{"$ref":"#/components/schemas/DatacenterRef"},{"type":"null"}],"description":"Data centre of the server (DC1/DC2 + operator)"}},"type":"object","required":["code","name","flag"],"title":"ServiceLocationBrief"},"ServiceOsBrief":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"family":{"type":"string","title":"Family"}},"type":"object","required":["code","name","family"],"title":"ServiceOsBrief"},"ServiceOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","description":"Server ID: random digits, quote it to support","examples":["48207315"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"Client-given name"},"hostname":{"type":"string","title":"Hostname","examples":["srv-10234.jetvps.cloud"]},"status":{"$ref":"#/components/schemas/ServiceStatus"},"power_state":{"$ref":"#/components/schemas/PowerState"},"suspended_reason":{"anyOf":[{"$ref":"#/components/schemas/SuspendReason"},{"type":"null"}]},"plan":{"$ref":"#/components/schemas/ServicePlanBrief"},"location":{"$ref":"#/components/schemas/ServiceLocationBrief"},"os":{"$ref":"#/components/schemas/ServiceOsBrief"},"software_codes":{"items":{"type":"string"},"type":"array","title":"Software Codes"},"ipv4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ipv4"},"ipv6":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ipv6"},"line_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Code","description":"Line of builds the server belongs to"},"product_type":{"type":"string","title":"Product Type","description":"vps | dedicated","default":"vps"},"addons":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Addons","description":"Add-ons of the server"},"config":{"anyOf":[{"$ref":"#/components/schemas/ConfigOut"},{"type":"null"}],"description":"Actual resources (custom build / after an upgrade)"},"is_custom":{"type":"boolean","title":"Is Custom","description":"Bought in the configurator","default":false},"locked":{"type":"boolean","title":"Locked","description":"Blocked by us (unpaid/abuse): actions are not available","default":false},"period_months":{"type":"integer","title":"Period Months"},"price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price Rub","description":"Renewal price for the period","examples":["1590.00"]},"paid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid Until"},"auto_renew":{"type":"boolean","title":"Auto Renew"},"delete_after":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delete After"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"activated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Activated At"},"capabilities":{"items":{"$ref":"#/components/schemas/ServerCapability"},"type":"array","title":"Capabilities","description":"Hide buttons that are not listed"},"pending_action":{"anyOf":[{"$ref":"#/components/schemas/ServiceActionOut"},{"type":"null"}]},"usage":{"anyOf":[{"$ref":"#/components/schemas/ServiceUsage"},{"type":"null"}]},"cpu_usage_pct":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Cpu Usage Pct","description":"Current CPU load, % (last stats point, cached ≤60 s); null if unknown","examples":["37.5"]},"provisioning_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provisioning Note","description":"e.g. manual SLA text"}},"type":"object","required":["id","public_id","hostname","status","power_state","suspended_reason","plan","location","os","software_codes","ipv4","ipv6","period_months","price_rub","paid_until","auto_renew","delete_after","created_at","activated_at","capabilities"],"title":"ServiceOut"},"ServicePatch":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Label"},"auto_renew":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Renew"}},"type":"object","title":"ServicePatch"},"ServicePlanBrief":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"vcpu":{"type":"integer","title":"Vcpu"},"ram_gb":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Ram Gb","examples":["12.5"]},"disk_gb":{"type":"integer","title":"Disk Gb"},"disk_type":{"type":"string","title":"Disk Type"},"cpu_class":{"$ref":"#/components/schemas/CpuClass"},"cpu_label":{"type":"string","title":"Cpu Label"},"port_mbps":{"type":"integer","title":"Port Mbps"},"traffic_tb":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Traffic Tb"}},"type":"object","required":["code","name","vcpu","ram_gb","disk_gb","disk_type","cpu_class","cpu_label","port_mbps","traffic_tb"],"title":"ServicePlanBrief"},"ServiceStatus":{"type":"string","enum":["provisioning","provisioning_delayed","active","suspended","deleting","deleted","failed"],"title":"ServiceStatus"},"ServiceUsage":{"properties":{"cpu_pct":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Cpu Pct","description":"Last known CPU %","examples":["12.5"]},"ram_pct":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Ram Pct","examples":["12.5"]},"disk_pct":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Disk Pct","examples":["12.5"]},"traffic_used_gb":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Traffic Used Gb","examples":["12.5"]},"traffic_limit_gb":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Traffic Limit Gb"}},"type":"object","required":["cpu_pct","ram_pct","disk_pct","traffic_used_gb","traffic_limit_gb"],"title":"ServiceUsage"},"SoftwareOut":{"properties":{"code":{"type":"string","title":"Code","examples":["docker"]},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"icon":{"type":"string","title":"Icon"},"compatible_os_families":{"items":{"$ref":"#/components/schemas/OsFamily"},"type":"array","title":"Compatible Os Families"},"min_ram_gb":{"type":"integer","title":"Min Ram Gb"},"price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Price Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]}},"type":"object","required":["code","name","description","icon","compatible_os_families","min_ram_gb","price_rub"],"title":"SoftwareOut"},"SoftwareStateOut":{"properties":{"status":{"type":"string","title":"Status","description":"pending | running | done | failed"},"codes":{"items":{"type":"string"},"type":"array","title":"Codes","description":"What is being installed"},"failed_codes":{"items":{"type":"string"},"type":"array","title":"Failed Codes","description":"What did not install (status=failed)"},"attempt":{"type":"integer","title":"Attempt","default":1},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["status"],"title":"SoftwareStateOut"},"StatPointOut":{"properties":{"ts":{"type":"string","format":"date-time","title":"Ts"},"cpu_pct":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Cpu Pct","examples":["12.5"]},"ram_pct":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Ram Pct","examples":["12.5"]},"disk_read_kbps":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Disk Read Kbps","examples":["12.5"]},"disk_write_kbps":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Disk Write Kbps","examples":["12.5"]},"net_in_kbps":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Net In Kbps","examples":["12.5"]},"net_out_kbps":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","title":"Net Out Kbps","examples":["12.5"]},"steal_pct":{"anyOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","examples":["12.5"]},{"type":"null"}],"title":"Steal Pct"}},"type":"object","required":["ts","cpu_pct","ram_pct","disk_read_kbps","disk_write_kbps","net_in_kbps","net_out_kbps"],"title":"StatPointOut"},"StatsOut":{"properties":{"period":{"$ref":"#/components/schemas/StatsPeriod"},"step_seconds":{"type":"integer","title":"Step Seconds"},"points":{"items":{"$ref":"#/components/schemas/StatPointOut"},"type":"array","title":"Points"}},"type":"object","required":["period","step_seconds","points"],"title":"StatsOut"},"StatsPeriod":{"type":"string","enum":["24h","7d","30d"],"title":"StatsPeriod"},"StatusOut":{"properties":{"status":{"type":"string","title":"Status","examples":["operational"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"components":{"additionalProperties":{"type":"string"},"type":"object","title":"Components"},"locations":{"items":{"$ref":"#/components/schemas/LocationStatus"},"type":"array","title":"Locations","description":"Only locations with plans on sale (flat list)"},"countries":{"items":{"$ref":"#/components/schemas/CountryStatus"},"type":"array","title":"Countries","description":"Same as a tree: country → city → data centre"}},"type":"object","required":["status","updated_at","components","locations","countries"],"title":"StatusOut"},"SuspendReason":{"type":"string","enum":["unpaid","abuse","admin","client","account_blocked"],"title":"SuspendReason"},"TelegramBrief":{"properties":{"telegram_user_id":{"type":"integer","title":"Telegram User Id"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"}},"type":"object","required":["telegram_user_id","username","first_name"],"title":"TelegramBrief"},"TicketCategoryOut":{"properties":{"code":{"type":"string","title":"Code","examples":["technical"]},"name":{"type":"string","title":"Name"}},"type":"object","required":["code","name"],"title":"TicketCategoryOut"},"TicketCreateIn":{"properties":{"subject":{"type":"string","maxLength":200,"minLength":3,"title":"Subject"},"category_code":{"type":"string","title":"Category Code","default":"general","examples":["technical"]},"priority":{"$ref":"#/components/schemas/TicketPriority","default":"normal"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"},"attachment_ids":{"items":{"type":"string"},"type":"array","title":"Attachment Ids","default":[]}},"type":"object","required":["subject","body"],"title":"TicketCreateIn"},"TicketDetailOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","examples":["482731"]},"subject":{"type":"string","title":"Subject"},"category_code":{"type":"string","title":"Category Code"},"status":{"$ref":"#/components/schemas/TicketStatus"},"priority":{"$ref":"#/components/schemas/TicketPriority"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"service_public_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Public Id"},"unread":{"type":"integer","title":"Unread","description":"Unread messages for the viewer"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"messages":{"items":{"$ref":"#/components/schemas/TicketMessageOut"},"type":"array","title":"Messages"}},"type":"object","required":["id","public_id","subject","category_code","status","priority","service_id","service_public_id","unread","last_message_at","created_at","closed_at","messages"],"title":"TicketDetailOut"},"TicketMessageIn":{"properties":{"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"},"attachment_ids":{"items":{"type":"string"},"type":"array","title":"Attachment Ids","default":[]}},"type":"object","required":["body"],"title":"TicketMessageIn"},"TicketMessageOut":{"properties":{"id":{"type":"string","title":"Id"},"author_kind":{"$ref":"#/components/schemas/AuthorKind"},"author_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Name"},"body":{"type":"string","title":"Body"},"attachments":{"items":{"$ref":"#/components/schemas/UploadOut"},"type":"array","title":"Attachments"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","author_kind","author_name","body","attachments","created_at"],"title":"TicketMessageOut"},"TicketOut":{"properties":{"id":{"type":"string","title":"Id"},"public_id":{"type":"string","title":"Public Id","examples":["482731"]},"subject":{"type":"string","title":"Subject"},"category_code":{"type":"string","title":"Category Code"},"status":{"$ref":"#/components/schemas/TicketStatus"},"priority":{"$ref":"#/components/schemas/TicketPriority"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"service_public_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Public Id"},"unread":{"type":"integer","title":"Unread","description":"Unread messages for the viewer"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"}},"type":"object","required":["id","public_id","subject","category_code","status","priority","service_id","service_public_id","unread","last_message_at","created_at","closed_at"],"title":"TicketOut"},"TicketPriority":{"type":"string","enum":["low","normal","high","urgent"],"title":"TicketPriority"},"TicketStatus":{"type":"string","enum":["open","waiting_client","waiting_support","closed"],"title":"TicketStatus"},"TierOut":{"properties":{"code":{"type":"string","title":"Code","examples":["budget"]},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"plans_count":{"type":"integer","title":"Plans Count","default":0},"in_stock":{"type":"boolean","title":"In Stock","description":"Has plans on sale — hide the tier when false","default":false},"price_from_rub":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},{"type":"null"}],"title":"Price From Rub"}},"type":"object","required":["code","name","description"],"title":"TierOut"},"TierRef":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"}},"type":"object","required":["code","name"],"title":"TierRef"},"UpgradeIn":{"properties":{"config":{"$ref":"#/components/schemas/ConfigIn","description":"Target resources; disk and IPv4 only up"}},"type":"object","required":["config"],"title":"UpgradeIn"},"UpgradeQuoteOut":{"properties":{"config":{"$ref":"#/components/schemas/ConfigOut"},"current_config":{"$ref":"#/components/schemas/ConfigOut"},"old_price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Old Price Rub","description":"Current price for the period","examples":["1590.00"]},"new_price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"New Price Rub","description":"Price for the period after the upgrade (renewals)","examples":["1590.00"]},"new_month_price_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"New Month Price Rub","description":"Decimal amount as string, 2 fraction digits","examples":["1590.00"]},"surcharge_rub":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Surcharge Rub","description":"To pay now: difference for the rest of the paid period","examples":["1590.00"]},"period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period End"},"matches_plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matches Plan","description":"Ready build with these resources (its price is used)"}},"type":"object","required":["config","current_config","old_price_rub","new_price_rub","new_month_price_rub","surcharge_rub","period_end"],"title":"UpgradeQuoteOut"},"UploadOut":{"properties":{"id":{"type":"string","title":"Id"},"filename":{"type":"string","title":"Filename"},"content_type":{"type":"string","title":"Content Type"},"size":{"type":"integer","title":"Size"},"url":{"type":"string","title":"Url","description":"Download URL (requires auth)"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","filename","content_type","size","url","created_at"],"title":"UploadOut"},"UseCaseOut":{"properties":{"code":{"type":"string","title":"Code","examples":["ai-agents"]},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"icon":{"type":"string","title":"Icon","description":"lucide icon name","examples":["bot"]},"is_featured":{"type":"boolean","title":"Is Featured"},"plans_count":{"type":"integer","title":"Plans Count","default":0},"recommended_plan_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recommended Plan Code","description":"Best plan for this use case"},"min_requirements":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Requirements","examples":["от 2 vCPU и 4 ГБ RAM"]}},"type":"object","required":["code","name","description","icon","is_featured"],"title":"UseCaseOut"},"UserStatus":{"type":"string","enum":["active","blocked","deleted"],"title":"UserStatus"},"WikiArticleListItem":{"properties":{"slug":{"type":"string","title":"Slug"},"category_slug":{"type":"string","title":"Category Slug"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"locale":{"type":"string","title":"Locale","description":"Locale of returned text (falls back to ru)"}},"type":"object","required":["slug","category_slug","title","summary","tags","updated_at","locale"],"title":"WikiArticleListItem"},"WikiArticleOut":{"properties":{"slug":{"type":"string","title":"Slug"},"category_slug":{"type":"string","title":"Category Slug"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"locale":{"type":"string","title":"Locale","description":"Locale of returned text (falls back to ru)"},"body_md":{"type":"string","title":"Body Md"},"related":{"items":{"$ref":"#/components/schemas/WikiArticleListItem"},"type":"array","title":"Related"}},"type":"object","required":["slug","category_slug","title","summary","tags","updated_at","locale","body_md","related"],"title":"WikiArticleOut"},"WikiCategoryOut":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"icon":{"type":"string","title":"Icon"},"articles_count":{"type":"integer","title":"Articles Count"}},"type":"object","required":["id","slug","name","description","icon","articles_count"],"title":"WikiCategoryOut"},"ServerCapability":{"type":"string","enum":["power","reinstall","reset_password","set_password","console","stats","renew","ptr","snapshot","balance","availability","user_data","upgrade","lock"],"title":"ServerCapability"}},"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"jv_live_…","description":"Personal API key (Settings → API keys). Scopes: read, servers, billing, tickets"}}},"tags":[{"name":"Каталог","description":"Локации, классы, задачи, ОС, доп. ПО, тарифы, расчёт цены, промокоды"},{"name":"Аккаунт","description":"Профиль, баланс и история операций (чтение)"},{"name":"Заказы","description":"Заказ сервера и оплата **с баланса**; счета"},{"name":"Серверы","description":"Управление серверами: действия, доступ, статистика, продление"},{"name":"Тикеты","description":"Обращения в поддержку"},{"name":"База знаний","description":"Статьи wiki и поиск"},{"name":"Сервис","description":"Параметры сервиса, статус, MCP-сервер для агентов"}],"security":[{"ApiKey":[]}]}