# REST: dx

Source: <https://telegafirst.com/docs/api-dx>
Locale: ru
releaseGitSha: c9a428d902de0b479a981e43774f38b9ec077ed7
sourceContentDigest: b99f16d7a0ce5c753b621fc7d5b5465ad61abb790a810aedab659a3ae7718ae0
Version: 1

# REST: dx

Операции этой группы относятся к текущему Hub REST-контракту. В каждой записи приведены полные request/response, ошибки, auth, scopes, headers, pagination и idempotency из принятого producer. Для requiredScopes действует ALL; между auth alternatives действует OR, внутри одной альтернативы — ALL. Пустой список scopes не отменяет указанную аутентификацию. HTTP 304 остаётся отдельным ответом без тела. Не переносите чужие лимиты или заголовки: ниже перечислены только объявленные значения данной операции. Адреса объектов и курсоры описаны в [идентификаторах](https://telegafirst.com/docs/identifiers-and-pagination), авторизация — в [руководстве](https://telegafirst.com/docs/authorization), диагностика — в [ошибках](https://telegafirst.com/docs/errors).

## downloadAgentSkillArchive

`GET /api/v1/external/skills/{name}.zip` — downloadAgentSkillArchive

Контракт содержит полные разрешённые схемы, включая bodyless/binary ответы и все объявленные ошибки. Evidence указывает принятую независимую фикстуру фактической границы; это не обещание запуска в вашей сессии.

```json
{
  "contract": {
    "auth": {
      "alternatives": [],
      "schemes": {}
    },
    "errors": {
      "404": {
        "content": {
          "application/problem+json": {
            "schema": {
              "properties": {
                "blockingSlug": {
                  "maxLength": 32,
                  "minLength": 3,
                  "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "code": {
                  "enum": [
                    "INVALID_REQUEST",
                    "MALFORMED_JSON",
                    "IDEMPOTENCY_KEY_REQUIRED",
                    "MISSING_REQUIRED_FIELD",
                    "INVALID_API_VERSION",
                    "INVALID_PRICING_QUOTE",
                    "MALFORMED_IF_MATCH",
                    "UNAUTHORIZED",
                    "INVALID_API_KEY",
                    "INVALID_JWT",
                    "EXPIRED_JWT",
                    "INVALID_REFRESH_TOKEN",
                    "MFA_REQUIRED",
                    "FORBIDDEN",
                    "INSUFFICIENT_SCOPE",
                    "ACCOUNT_DISABLED",
                    "WEBHOOK_DISABLED",
                    "SUBSCRIPTION_INACTIVE",
                    "PLATFORM_OFFER_ACCEPTANCE_REQUIRED",
                    "NO_ACTIVE_BOT",
                    "PUBLISHABLE_KEY_NOT_ALLOWED",
                    "NOT_FOUND",
                    "RESOURCE_NOT_FOUND",
                    "SESSION_NOT_FOUND",
                    "ORDER_NOT_FOUND",
                    "USER_NOT_FOUND",
                    "PRODUCT_NOT_FOUND",
                    "PAYMENT_NOT_FOUND",
                    "EXPORT_NOT_FOUND",
                    "CART_NOT_FOUND",
                    "SLUG_TAKEN",
                    "SLUG_IMMUTABLE",
                    "UNPAID_BOT_LIMIT",
                    "ONBOARDING_BUSY",
                    "ONBOARDING_STEP_OUT_OF_ORDER",
                    "BOT_ALREADY_CONNECTED",
                    "BOT_RESERVED",
                    "SG_DISCOVERY_STALE",
                    "ACTIVE_SUBSCRIPTION_EXISTS",
                    "CONFLICT",
                    "IDEMPOTENCY_CONFLICT",
                    "IDEMPOTENCY_KEY_IN_FLIGHT",
                    "IDEMPOTENCY_KEY_FAILED",
                    "EXTERNAL_ORDER_REF_CONFLICT",
                    "ORDER_NOT_LINKABLE",
                    "SESSION_ALREADY_APPROVED",
                    "WEBHOOK_URL_CONFLICT",
                    "PRICE_CHANGED",
                    "ORDER_ITEM_VERSION_CONFLICT",
                    "ORDER_ALREADY_PAID",
                    "CART_INACTIVE",
                    "DRAFT_NOT_PENDING",
                    "TENANT_ARCHIVED",
                    "VARIANT_KEY_IMMUTABLE",
                    "VARIANT_KEY_REUSED",
                    "ORDER_NOT_REFRESHABLE",
                    "ORDER_ALREADY_LINKED",
                    "DUPLICATE_ORDER",
                    "SUBSCRIPTION_UPGRADE_REFUSED",
                    "ACQUISITION_REJECTED",
                    "PLATFORM_TARGET_UNRESOLVED",
                    "ORDER_LOCK_CONTENDED",
                    "SESSION_EXPIRED",
                    "APPROVAL_CODE_EXPIRED",
                    "PRECONDITION_FAILED",
                    "BOT_CONNECTION_NOT_READY",
                    "ETAG_STALE",
                    "ACTIVE_BOT_CHANGED",
                    "PREPARED_SCENARIO_TENANT_CHANGED",
                    "ITEM_COUNT_EXCEEDED",
                    "PAYLOAD_TOO_LARGE",
                    "SLUG_INVALID",
                    "INVALID_BOT_TOKEN",
                    "SG_NOT_FORUM",
                    "SA_NOT_MEMBER",
                    "SA_NOT_ADMIN",
                    "SA_RIGHTS_MISSING",
                    "SA_ANONYMOUS",
                    "PAYMENT_TAX_PROFILE_MISSING",
                    "VALIDATION_ERROR",
                    "IDEMPOTENCY_KEY_MISMATCH",
                    "ZONE_REQUIRED",
                    "SITE_PATH_OUTSIDE_PUBLISHABLE_PREFIX",
                    "INVALID_PROVIDER_CURRENCY",
                    "PROVIDER_NOT_CONFIGURED",
                    "CATALOG_FIELD_READ_ONLY",
                    "CATALOG_BOOKING_CONFIG_INVALID",
                    "CATALOG_BOOKING_RESOURCE_NOT_FOUND",
                    "TEXT_TOO_LONG",
                    "INVALID_BUTTON_CONFIG",
                    "INVALID_MEDIA",
                    "INVALID_SCOPE",
                    "INVALID_CURSOR",
                    "INVALID_FILTER",
                    "LIMIT_EXCEEDED",
                    "EXPORT_MAX_ROWS_EXCEEDED",
                    "TOKEN_PASSTHROUGH_FORBIDDEN",
                    "AUDIENCE_MISMATCH",
                    "INVALID_OAUTH_STATE",
                    "INVALID_OAUTH_REDIRECT_URI",
                    "ITEMS_REQUIRED",
                    "VARIANTS_NOT_AVAILABLE",
                    "INVALID_QUANTITY",
                    "MIXED_CURRENCY",
                    "NO_COMMON_PAYMENT_PROVIDER",
                    "SINGLETON_ORDER_REQUIRED",
                    "MIXED_PARTNER_RATES",
                    "PRODUCT_NOT_CART_ELIGIBLE",
                    "OPTION_UNAVAILABLE",
                    "QUANTITY_LIMIT",
                    "MERGE_REJECTED",
                    "BUYER_CONTACT_REQUIRED",
                    "DELIVERY_ADDRESS_REQUIRED",
                    "POSTAL_CODE_REQUIRED",
                    "PAYMENT_PROVIDERS_UNAVAILABLE",
                    "PAYMENT_LINKS_UNAVAILABLE",
                    "FISCAL_PROVIDER_BASIS_UNSUPPORTED",
                    "PRECONDITION_REQUIRED",
                    "PRICING_QUOTE_REQUIRED",
                    "ETAG_REQUIRED",
                    "CATALOG_UNAVAILABLE",
                    "CATALOG_LOCK_ORDER",
                    "UNSUPPORTED_QUOTE_CURRENCY",
                    "RATE_LIMIT_EXCEEDED",
                    "EXPORT_LIMIT_EXCEEDED",
                    "REFRESH_LIMIT_EXCEEDED",
                    "RATE_LIMIT_UNAVAILABLE",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "PRICING_UNAVAILABLE"
                  ],
                  "type": "string"
                },
                "current_etag": {
                  "anyOf": [
                    {
                      "pattern": "^W\\/\"[a-f0-9]{16}\"$",
                      "type": "string"
                    },
                    {
                      "pattern": "^\"cart-[1-9][0-9]*\"$",
                      "type": "string"
                    }
                  ]
                },
                "detail": {
                  "type": "string"
                },
                "details": {},
                "hint": {
                  "additionalProperties": false,
                  "properties": {
                    "example": {
                      "additionalProperties": {},
                      "type": "object"
                    },
                    "reason": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "recovery": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "see": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reason",
                    "recovery"
                  ],
                  "type": "object"
                },
                "instance": {
                  "type": "string"
                },
                "stage": {
                  "enum": [
                    "address",
                    "site",
                    "bot",
                    "supergroups_create",
                    "supergroups_admin",
                    "supergroups_confirm",
                    "infrastructure",
                    "infrastructure_ready",
                    "quest_1",
                    "quest_2",
                    "warmup",
                    "quest_product",
                    "quest_purchase",
                    "payments",
                    "first_payment",
                    "ai_preferences",
                    "finish",
                    "completed",
                    "tariff",
                    "paid",
                    "free"
                  ],
                  "type": "string"
                },
                "status": {
                  "type": "integer"
                },
                "title": {
                  "type": "string"
                },
                "traceId": {
                  "type": "string"
                },
                "type": {
                  "format": "uri",
                  "type": "string"
                },
                "validation_errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field",
                      "message",
                      "code"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "type",
                "title",
                "status",
                "code",
                "traceId"
              ],
              "type": "object"
            }
          }
        },
        "description": "The requested Agent Skill is not in the current package"
      },
      "500": {
        "content": {
          "application/problem+json": {
            "schema": {
              "properties": {
                "blockingSlug": {
                  "maxLength": 32,
                  "minLength": 3,
                  "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "code": {
                  "enum": [
                    "INVALID_REQUEST",
                    "MALFORMED_JSON",
                    "IDEMPOTENCY_KEY_REQUIRED",
                    "MISSING_REQUIRED_FIELD",
                    "INVALID_API_VERSION",
                    "INVALID_PRICING_QUOTE",
                    "MALFORMED_IF_MATCH",
                    "UNAUTHORIZED",
                    "INVALID_API_KEY",
                    "INVALID_JWT",
                    "EXPIRED_JWT",
                    "INVALID_REFRESH_TOKEN",
                    "MFA_REQUIRED",
                    "FORBIDDEN",
                    "INSUFFICIENT_SCOPE",
                    "ACCOUNT_DISABLED",
                    "WEBHOOK_DISABLED",
                    "SUBSCRIPTION_INACTIVE",
                    "PLATFORM_OFFER_ACCEPTANCE_REQUIRED",
                    "NO_ACTIVE_BOT",
                    "PUBLISHABLE_KEY_NOT_ALLOWED",
                    "NOT_FOUND",
                    "RESOURCE_NOT_FOUND",
                    "SESSION_NOT_FOUND",
                    "ORDER_NOT_FOUND",
                    "USER_NOT_FOUND",
                    "PRODUCT_NOT_FOUND",
                    "PAYMENT_NOT_FOUND",
                    "EXPORT_NOT_FOUND",
                    "CART_NOT_FOUND",
                    "SLUG_TAKEN",
                    "SLUG_IMMUTABLE",
                    "UNPAID_BOT_LIMIT",
                    "ONBOARDING_BUSY",
                    "ONBOARDING_STEP_OUT_OF_ORDER",
                    "BOT_ALREADY_CONNECTED",
                    "BOT_RESERVED",
                    "SG_DISCOVERY_STALE",
                    "ACTIVE_SUBSCRIPTION_EXISTS",
                    "CONFLICT",
                    "IDEMPOTENCY_CONFLICT",
                    "IDEMPOTENCY_KEY_IN_FLIGHT",
                    "IDEMPOTENCY_KEY_FAILED",
                    "EXTERNAL_ORDER_REF_CONFLICT",
                    "ORDER_NOT_LINKABLE",
                    "SESSION_ALREADY_APPROVED",
                    "WEBHOOK_URL_CONFLICT",
                    "PRICE_CHANGED",
                    "ORDER_ITEM_VERSION_CONFLICT",
                    "ORDER_ALREADY_PAID",
                    "CART_INACTIVE",
                    "DRAFT_NOT_PENDING",
                    "TENANT_ARCHIVED",
                    "VARIANT_KEY_IMMUTABLE",
                    "VARIANT_KEY_REUSED",
                    "ORDER_NOT_REFRESHABLE",
                    "ORDER_ALREADY_LINKED",
                    "DUPLICATE_ORDER",
                    "SUBSCRIPTION_UPGRADE_REFUSED",
                    "ACQUISITION_REJECTED",
                    "PLATFORM_TARGET_UNRESOLVED",
                    "ORDER_LOCK_CONTENDED",
                    "SESSION_EXPIRED",
                    "APPROVAL_CODE_EXPIRED",
                    "PRECONDITION_FAILED",
                    "BOT_CONNECTION_NOT_READY",
                    "ETAG_STALE",
                    "ACTIVE_BOT_CHANGED",
                    "PREPARED_SCENARIO_TENANT_CHANGED",
                    "ITEM_COUNT_EXCEEDED",
                    "PAYLOAD_TOO_LARGE",
                    "SLUG_INVALID",
                    "INVALID_BOT_TOKEN",
                    "SG_NOT_FORUM",
                    "SA_NOT_MEMBER",
                    "SA_NOT_ADMIN",
                    "SA_RIGHTS_MISSING",
                    "SA_ANONYMOUS",
                    "PAYMENT_TAX_PROFILE_MISSING",
                    "VALIDATION_ERROR",
                    "IDEMPOTENCY_KEY_MISMATCH",
                    "ZONE_REQUIRED",
                    "SITE_PATH_OUTSIDE_PUBLISHABLE_PREFIX",
                    "INVALID_PROVIDER_CURRENCY",
                    "PROVIDER_NOT_CONFIGURED",
                    "CATALOG_FIELD_READ_ONLY",
                    "CATALOG_BOOKING_CONFIG_INVALID",
                    "CATALOG_BOOKING_RESOURCE_NOT_FOUND",
                    "TEXT_TOO_LONG",
                    "INVALID_BUTTON_CONFIG",
                    "INVALID_MEDIA",
                    "INVALID_SCOPE",
                    "INVALID_CURSOR",
                    "INVALID_FILTER",
                    "LIMIT_EXCEEDED",
                    "EXPORT_MAX_ROWS_EXCEEDED",
                    "TOKEN_PASSTHROUGH_FORBIDDEN",
                    "AUDIENCE_MISMATCH",
                    "INVALID_OAUTH_STATE",
                    "INVALID_OAUTH_REDIRECT_URI",
                    "ITEMS_REQUIRED",
                    "VARIANTS_NOT_AVAILABLE",
                    "INVALID_QUANTITY",
                    "MIXED_CURRENCY",
                    "NO_COMMON_PAYMENT_PROVIDER",
                    "SINGLETON_ORDER_REQUIRED",
                    "MIXED_PARTNER_RATES",
                    "PRODUCT_NOT_CART_ELIGIBLE",
                    "OPTION_UNAVAILABLE",
                    "QUANTITY_LIMIT",
                    "MERGE_REJECTED",
                    "BUYER_CONTACT_REQUIRED",
                    "DELIVERY_ADDRESS_REQUIRED",
                    "POSTAL_CODE_REQUIRED",
                    "PAYMENT_PROVIDERS_UNAVAILABLE",
                    "PAYMENT_LINKS_UNAVAILABLE",
                    "FISCAL_PROVIDER_BASIS_UNSUPPORTED",
                    "PRECONDITION_REQUIRED",
                    "PRICING_QUOTE_REQUIRED",
                    "ETAG_REQUIRED",
                    "CATALOG_UNAVAILABLE",
                    "CATALOG_LOCK_ORDER",
                    "UNSUPPORTED_QUOTE_CURRENCY",
                    "RATE_LIMIT_EXCEEDED",
                    "EXPORT_LIMIT_EXCEEDED",
                    "REFRESH_LIMIT_EXCEEDED",
                    "RATE_LIMIT_UNAVAILABLE",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "PRICING_UNAVAILABLE"
                  ],
                  "type": "string"
                },
                "current_etag": {
                  "anyOf": [
                    {
                      "pattern": "^W\\/\"[a-f0-9]{16}\"$",
                      "type": "string"
                    },
                    {
                      "pattern": "^\"cart-[1-9][0-9]*\"$",
                      "type": "string"
                    }
                  ]
                },
                "detail": {
                  "type": "string"
                },
                "details": {},
                "hint": {
                  "additionalProperties": false,
                  "properties": {
                    "example": {
                      "additionalProperties": {},
                      "type": "object"
                    },
                    "reason": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "recovery": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "see": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reason",
                    "recovery"
                  ],
                  "type": "object"
                },
                "instance": {
                  "type": "string"
                },
                "stage": {
                  "enum": [
                    "address",
                    "site",
                    "bot",
                    "supergroups_create",
                    "supergroups_admin",
                    "supergroups_confirm",
                    "infrastructure",
                    "infrastructure_ready",
                    "quest_1",
                    "quest_2",
                    "warmup",
                    "quest_product",
                    "quest_purchase",
                    "payments",
                    "first_payment",
                    "ai_preferences",
                    "finish",
                    "completed",
                    "tariff",
                    "paid",
                    "free"
                  ],
                  "type": "string"
                },
                "status": {
                  "type": "integer"
                },
                "title": {
                  "type": "string"
                },
                "traceId": {
                  "type": "string"
                },
                "type": {
                  "format": "uri",
                  "type": "string"
                },
                "validation_errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field",
                      "message",
                      "code"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "type",
                "title",
                "status",
                "code",
                "traceId"
              ],
              "type": "object"
            }
          }
        },
        "description": "Unexpected failure mapped by the canonical Problem Details filter"
      }
    },
    "headers": {
      "request": [
        {
          "in": "header",
          "name": "If-None-Match",
          "required": false,
          "schema": {
            "minLength": 1,
            "type": "string"
          }
        }
      ],
      "response": {
        "200": {
          "Cache-Control": {
            "required": true,
            "schema": {
              "const": "public, max-age=300",
              "type": "string"
            }
          },
          "ETag": {
            "description": "Strong ETag equal to the current Agent Skill package SHA",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        },
        "304": {
          "Cache-Control": {
            "required": true,
            "schema": {
              "const": "public, max-age=300",
              "type": "string"
            }
          },
          "ETag": {
            "description": "Strong ETag equal to the current Agent Skill package SHA",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        },
        "404": {},
        "500": {}
      }
    },
    "idempotency": {
      "boundary": null,
      "contract": "none",
      "parameters": []
    },
    "operationId": "downloadAgentSkillArchive",
    "pagination": {
      "contract": null,
      "parameters": []
    },
    "request": {
      "body": null,
      "parameters": [
        {
          "in": "path",
          "name": "name",
          "required": true,
          "schema": {
            "maxLength": 64,
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "type": "string"
          }
        },
        {
          "in": "header",
          "name": "If-None-Match",
          "required": false,
          "schema": {
            "minLength": 1,
            "type": "string"
          }
        }
      ]
    },
    "response": {
      "200": {
        "content": {
          "application/zip": {
            "schema": {
              "format": "binary",
              "type": "string"
            }
          }
        },
        "description": "Download the public Agent Skill archive",
        "headers": {
          "Cache-Control": {
            "required": true,
            "schema": {
              "const": "public, max-age=300",
              "type": "string"
            }
          },
          "ETag": {
            "description": "Strong ETag equal to the current Agent Skill package SHA",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        }
      },
      "304": {
        "description": "The supplied ETag matches the current package SHA",
        "headers": {
          "Cache-Control": {
            "required": true,
            "schema": {
              "const": "public, max-age=300",
              "type": "string"
            }
          },
          "ETag": {
            "description": "Strong ETag equal to the current Agent Skill package SHA",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "scopes": []
  },
  "evidence": {
    "acceptanceTask": "T192",
    "fixture": "apps/external-hub/src/__tests__/fixtures/public-rest/values-dx-discovery.json",
    "implementationSha": "9456e9c121892bc2cb6664519945629c4ae8a4d4",
    "registrar": "registerDxPaths",
    "result": "accepted",
    "selection": "operations[operationId=downloadAgentSkillArchive]",
    "source": "isolated accepted leaf + canonical common; primary actual-boundary fixture is independent"
  },
  "operation": {
    "authAlternatives": [],
    "method": "get",
    "operationId": "downloadAgentSkillArchive",
    "path": "/api/v1/external/skills/{name}.zip",
    "requestSchemaRef": null,
    "requiredScopes": [],
    "responseSchemaRefs": {
      "200": null,
      "304": null,
      "404": "#/components/schemas/ProblemDetails",
      "500": "#/components/schemas/ProblemDetails"
    },
    "successStatuses": [
      200,
      304
    ],
    "title": "downloadAgentSkillArchive"
  }
}
```

## getGuide

`GET /api/v1/guide` — getGuide

Контракт содержит полные разрешённые схемы, включая bodyless/binary ответы и все объявленные ошибки. Evidence указывает принятую независимую фикстуру фактической границы; это не обещание запуска в вашей сессии.

```json
{
  "contract": {
    "auth": {
      "alternatives": [
        {
          "hubApiKey": []
        },
        {
          "hubBearer": []
        }
      ],
      "schemes": {
        "hubApiKey": {
          "in": "header",
          "name": "X-Api-Key",
          "type": "apiKey"
        },
        "hubBearer": {
          "scheme": "bearer",
          "type": "http"
        }
      }
    },
    "errors": {
      "401": {
        "content": {
          "application/problem+json": {
            "schema": {
              "properties": {
                "blockingSlug": {
                  "maxLength": 32,
                  "minLength": 3,
                  "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "code": {
                  "enum": [
                    "INVALID_REQUEST",
                    "MALFORMED_JSON",
                    "IDEMPOTENCY_KEY_REQUIRED",
                    "MISSING_REQUIRED_FIELD",
                    "INVALID_API_VERSION",
                    "INVALID_PRICING_QUOTE",
                    "MALFORMED_IF_MATCH",
                    "UNAUTHORIZED",
                    "INVALID_API_KEY",
                    "INVALID_JWT",
                    "EXPIRED_JWT",
                    "INVALID_REFRESH_TOKEN",
                    "MFA_REQUIRED",
                    "FORBIDDEN",
                    "INSUFFICIENT_SCOPE",
                    "ACCOUNT_DISABLED",
                    "WEBHOOK_DISABLED",
                    "SUBSCRIPTION_INACTIVE",
                    "PLATFORM_OFFER_ACCEPTANCE_REQUIRED",
                    "NO_ACTIVE_BOT",
                    "PUBLISHABLE_KEY_NOT_ALLOWED",
                    "NOT_FOUND",
                    "RESOURCE_NOT_FOUND",
                    "SESSION_NOT_FOUND",
                    "ORDER_NOT_FOUND",
                    "USER_NOT_FOUND",
                    "PRODUCT_NOT_FOUND",
                    "PAYMENT_NOT_FOUND",
                    "EXPORT_NOT_FOUND",
                    "CART_NOT_FOUND",
                    "SLUG_TAKEN",
                    "SLUG_IMMUTABLE",
                    "UNPAID_BOT_LIMIT",
                    "ONBOARDING_BUSY",
                    "ONBOARDING_STEP_OUT_OF_ORDER",
                    "BOT_ALREADY_CONNECTED",
                    "BOT_RESERVED",
                    "SG_DISCOVERY_STALE",
                    "ACTIVE_SUBSCRIPTION_EXISTS",
                    "CONFLICT",
                    "IDEMPOTENCY_CONFLICT",
                    "IDEMPOTENCY_KEY_IN_FLIGHT",
                    "IDEMPOTENCY_KEY_FAILED",
                    "EXTERNAL_ORDER_REF_CONFLICT",
                    "ORDER_NOT_LINKABLE",
                    "SESSION_ALREADY_APPROVED",
                    "WEBHOOK_URL_CONFLICT",
                    "PRICE_CHANGED",
                    "ORDER_ITEM_VERSION_CONFLICT",
                    "ORDER_ALREADY_PAID",
                    "CART_INACTIVE",
                    "DRAFT_NOT_PENDING",
                    "TENANT_ARCHIVED",
                    "VARIANT_KEY_IMMUTABLE",
                    "VARIANT_KEY_REUSED",
                    "ORDER_NOT_REFRESHABLE",
                    "ORDER_ALREADY_LINKED",
                    "DUPLICATE_ORDER",
                    "SUBSCRIPTION_UPGRADE_REFUSED",
                    "ACQUISITION_REJECTED",
                    "PLATFORM_TARGET_UNRESOLVED",
                    "ORDER_LOCK_CONTENDED",
                    "SESSION_EXPIRED",
                    "APPROVAL_CODE_EXPIRED",
                    "PRECONDITION_FAILED",
                    "BOT_CONNECTION_NOT_READY",
                    "ETAG_STALE",
                    "ACTIVE_BOT_CHANGED",
                    "PREPARED_SCENARIO_TENANT_CHANGED",
                    "ITEM_COUNT_EXCEEDED",
                    "PAYLOAD_TOO_LARGE",
                    "SLUG_INVALID",
                    "INVALID_BOT_TOKEN",
                    "SG_NOT_FORUM",
                    "SA_NOT_MEMBER",
                    "SA_NOT_ADMIN",
                    "SA_RIGHTS_MISSING",
                    "SA_ANONYMOUS",
                    "PAYMENT_TAX_PROFILE_MISSING",
                    "VALIDATION_ERROR",
                    "IDEMPOTENCY_KEY_MISMATCH",
                    "ZONE_REQUIRED",
                    "SITE_PATH_OUTSIDE_PUBLISHABLE_PREFIX",
                    "INVALID_PROVIDER_CURRENCY",
                    "PROVIDER_NOT_CONFIGURED",
                    "CATALOG_FIELD_READ_ONLY",
                    "CATALOG_BOOKING_CONFIG_INVALID",
                    "CATALOG_BOOKING_RESOURCE_NOT_FOUND",
                    "TEXT_TOO_LONG",
                    "INVALID_BUTTON_CONFIG",
                    "INVALID_MEDIA",
                    "INVALID_SCOPE",
                    "INVALID_CURSOR",
                    "INVALID_FILTER",
                    "LIMIT_EXCEEDED",
                    "EXPORT_MAX_ROWS_EXCEEDED",
                    "TOKEN_PASSTHROUGH_FORBIDDEN",
                    "AUDIENCE_MISMATCH",
                    "INVALID_OAUTH_STATE",
                    "INVALID_OAUTH_REDIRECT_URI",
                    "ITEMS_REQUIRED",
                    "VARIANTS_NOT_AVAILABLE",
                    "INVALID_QUANTITY",
                    "MIXED_CURRENCY",
                    "NO_COMMON_PAYMENT_PROVIDER",
                    "SINGLETON_ORDER_REQUIRED",
                    "MIXED_PARTNER_RATES",
                    "PRODUCT_NOT_CART_ELIGIBLE",
                    "OPTION_UNAVAILABLE",
                    "QUANTITY_LIMIT",
                    "MERGE_REJECTED",
                    "BUYER_CONTACT_REQUIRED",
                    "DELIVERY_ADDRESS_REQUIRED",
                    "POSTAL_CODE_REQUIRED",
                    "PAYMENT_PROVIDERS_UNAVAILABLE",
                    "PAYMENT_LINKS_UNAVAILABLE",
                    "FISCAL_PROVIDER_BASIS_UNSUPPORTED",
                    "PRECONDITION_REQUIRED",
                    "PRICING_QUOTE_REQUIRED",
                    "ETAG_REQUIRED",
                    "CATALOG_UNAVAILABLE",
                    "CATALOG_LOCK_ORDER",
                    "UNSUPPORTED_QUOTE_CURRENCY",
                    "RATE_LIMIT_EXCEEDED",
                    "EXPORT_LIMIT_EXCEEDED",
                    "REFRESH_LIMIT_EXCEEDED",
                    "RATE_LIMIT_UNAVAILABLE",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "PRICING_UNAVAILABLE"
                  ],
                  "type": "string"
                },
                "current_etag": {
                  "anyOf": [
                    {
                      "pattern": "^W\\/\"[a-f0-9]{16}\"$",
                      "type": "string"
                    },
                    {
                      "pattern": "^\"cart-[1-9][0-9]*\"$",
                      "type": "string"
                    }
                  ]
                },
                "detail": {
                  "type": "string"
                },
                "details": {},
                "hint": {
                  "additionalProperties": false,
                  "properties": {
                    "example": {
                      "additionalProperties": {},
                      "type": "object"
                    },
                    "reason": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "recovery": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "see": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reason",
                    "recovery"
                  ],
                  "type": "object"
                },
                "instance": {
                  "type": "string"
                },
                "stage": {
                  "enum": [
                    "address",
                    "site",
                    "bot",
                    "supergroups_create",
                    "supergroups_admin",
                    "supergroups_confirm",
                    "infrastructure",
                    "infrastructure_ready",
                    "quest_1",
                    "quest_2",
                    "warmup",
                    "quest_product",
                    "quest_purchase",
                    "payments",
                    "first_payment",
                    "ai_preferences",
                    "finish",
                    "completed",
                    "tariff",
                    "paid",
                    "free"
                  ],
                  "type": "string"
                },
                "status": {
                  "type": "integer"
                },
                "title": {
                  "type": "string"
                },
                "traceId": {
                  "type": "string"
                },
                "type": {
                  "format": "uri",
                  "type": "string"
                },
                "validation_errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field",
                      "message",
                      "code"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "type",
                "title",
                "status",
                "code",
                "traceId"
              ],
              "type": "object"
            }
          }
        },
        "description": "Missing, invalid, expired or revoked authentication"
      },
      "403": {
        "content": {
          "application/problem+json": {
            "schema": {
              "properties": {
                "blockingSlug": {
                  "maxLength": 32,
                  "minLength": 3,
                  "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "code": {
                  "enum": [
                    "INVALID_REQUEST",
                    "MALFORMED_JSON",
                    "IDEMPOTENCY_KEY_REQUIRED",
                    "MISSING_REQUIRED_FIELD",
                    "INVALID_API_VERSION",
                    "INVALID_PRICING_QUOTE",
                    "MALFORMED_IF_MATCH",
                    "UNAUTHORIZED",
                    "INVALID_API_KEY",
                    "INVALID_JWT",
                    "EXPIRED_JWT",
                    "INVALID_REFRESH_TOKEN",
                    "MFA_REQUIRED",
                    "FORBIDDEN",
                    "INSUFFICIENT_SCOPE",
                    "ACCOUNT_DISABLED",
                    "WEBHOOK_DISABLED",
                    "SUBSCRIPTION_INACTIVE",
                    "PLATFORM_OFFER_ACCEPTANCE_REQUIRED",
                    "NO_ACTIVE_BOT",
                    "PUBLISHABLE_KEY_NOT_ALLOWED",
                    "NOT_FOUND",
                    "RESOURCE_NOT_FOUND",
                    "SESSION_NOT_FOUND",
                    "ORDER_NOT_FOUND",
                    "USER_NOT_FOUND",
                    "PRODUCT_NOT_FOUND",
                    "PAYMENT_NOT_FOUND",
                    "EXPORT_NOT_FOUND",
                    "CART_NOT_FOUND",
                    "SLUG_TAKEN",
                    "SLUG_IMMUTABLE",
                    "UNPAID_BOT_LIMIT",
                    "ONBOARDING_BUSY",
                    "ONBOARDING_STEP_OUT_OF_ORDER",
                    "BOT_ALREADY_CONNECTED",
                    "BOT_RESERVED",
                    "SG_DISCOVERY_STALE",
                    "ACTIVE_SUBSCRIPTION_EXISTS",
                    "CONFLICT",
                    "IDEMPOTENCY_CONFLICT",
                    "IDEMPOTENCY_KEY_IN_FLIGHT",
                    "IDEMPOTENCY_KEY_FAILED",
                    "EXTERNAL_ORDER_REF_CONFLICT",
                    "ORDER_NOT_LINKABLE",
                    "SESSION_ALREADY_APPROVED",
                    "WEBHOOK_URL_CONFLICT",
                    "PRICE_CHANGED",
                    "ORDER_ITEM_VERSION_CONFLICT",
                    "ORDER_ALREADY_PAID",
                    "CART_INACTIVE",
                    "DRAFT_NOT_PENDING",
                    "TENANT_ARCHIVED",
                    "VARIANT_KEY_IMMUTABLE",
                    "VARIANT_KEY_REUSED",
                    "ORDER_NOT_REFRESHABLE",
                    "ORDER_ALREADY_LINKED",
                    "DUPLICATE_ORDER",
                    "SUBSCRIPTION_UPGRADE_REFUSED",
                    "ACQUISITION_REJECTED",
                    "PLATFORM_TARGET_UNRESOLVED",
                    "ORDER_LOCK_CONTENDED",
                    "SESSION_EXPIRED",
                    "APPROVAL_CODE_EXPIRED",
                    "PRECONDITION_FAILED",
                    "BOT_CONNECTION_NOT_READY",
                    "ETAG_STALE",
                    "ACTIVE_BOT_CHANGED",
                    "PREPARED_SCENARIO_TENANT_CHANGED",
                    "ITEM_COUNT_EXCEEDED",
                    "PAYLOAD_TOO_LARGE",
                    "SLUG_INVALID",
                    "INVALID_BOT_TOKEN",
                    "SG_NOT_FORUM",
                    "SA_NOT_MEMBER",
                    "SA_NOT_ADMIN",
                    "SA_RIGHTS_MISSING",
                    "SA_ANONYMOUS",
                    "PAYMENT_TAX_PROFILE_MISSING",
                    "VALIDATION_ERROR",
                    "IDEMPOTENCY_KEY_MISMATCH",
                    "ZONE_REQUIRED",
                    "SITE_PATH_OUTSIDE_PUBLISHABLE_PREFIX",
                    "INVALID_PROVIDER_CURRENCY",
                    "PROVIDER_NOT_CONFIGURED",
                    "CATALOG_FIELD_READ_ONLY",
                    "CATALOG_BOOKING_CONFIG_INVALID",
                    "CATALOG_BOOKING_RESOURCE_NOT_FOUND",
                    "TEXT_TOO_LONG",
                    "INVALID_BUTTON_CONFIG",
                    "INVALID_MEDIA",
                    "INVALID_SCOPE",
                    "INVALID_CURSOR",
                    "INVALID_FILTER",
                    "LIMIT_EXCEEDED",
                    "EXPORT_MAX_ROWS_EXCEEDED",
                    "TOKEN_PASSTHROUGH_FORBIDDEN",
                    "AUDIENCE_MISMATCH",
                    "INVALID_OAUTH_STATE",
                    "INVALID_OAUTH_REDIRECT_URI",
                    "ITEMS_REQUIRED",
                    "VARIANTS_NOT_AVAILABLE",
                    "INVALID_QUANTITY",
                    "MIXED_CURRENCY",
                    "NO_COMMON_PAYMENT_PROVIDER",
                    "SINGLETON_ORDER_REQUIRED",
                    "MIXED_PARTNER_RATES",
                    "PRODUCT_NOT_CART_ELIGIBLE",
                    "OPTION_UNAVAILABLE",
                    "QUANTITY_LIMIT",
                    "MERGE_REJECTED",
                    "BUYER_CONTACT_REQUIRED",
                    "DELIVERY_ADDRESS_REQUIRED",
                    "POSTAL_CODE_REQUIRED",
                    "PAYMENT_PROVIDERS_UNAVAILABLE",
                    "PAYMENT_LINKS_UNAVAILABLE",
                    "FISCAL_PROVIDER_BASIS_UNSUPPORTED",
                    "PRECONDITION_REQUIRED",
                    "PRICING_QUOTE_REQUIRED",
                    "ETAG_REQUIRED",
                    "CATALOG_UNAVAILABLE",
                    "CATALOG_LOCK_ORDER",
                    "UNSUPPORTED_QUOTE_CURRENCY",
                    "RATE_LIMIT_EXCEEDED",
                    "EXPORT_LIMIT_EXCEEDED",
                    "REFRESH_LIMIT_EXCEEDED",
                    "RATE_LIMIT_UNAVAILABLE",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "PRICING_UNAVAILABLE"
                  ],
                  "type": "string"
                },
                "current_etag": {
                  "anyOf": [
                    {
                      "pattern": "^W\\/\"[a-f0-9]{16}\"$",
                      "type": "string"
                    },
                    {
                      "pattern": "^\"cart-[1-9][0-9]*\"$",
                      "type": "string"
                    }
                  ]
                },
                "detail": {
                  "type": "string"
                },
                "details": {},
                "hint": {
                  "additionalProperties": false,
                  "properties": {
                    "example": {
                      "additionalProperties": {},
                      "type": "object"
                    },
                    "reason": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "recovery": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "see": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reason",
                    "recovery"
                  ],
                  "type": "object"
                },
                "instance": {
                  "type": "string"
                },
                "stage": {
                  "enum": [
                    "address",
                    "site",
                    "bot",
                    "supergroups_create",
                    "supergroups_admin",
                    "supergroups_confirm",
                    "infrastructure",
                    "infrastructure_ready",
                    "quest_1",
                    "quest_2",
                    "warmup",
                    "quest_product",
                    "quest_purchase",
                    "payments",
                    "first_payment",
                    "ai_preferences",
                    "finish",
                    "completed",
                    "tariff",
                    "paid",
                    "free"
                  ],
                  "type": "string"
                },
                "status": {
                  "type": "integer"
                },
                "title": {
                  "type": "string"
                },
                "traceId": {
                  "type": "string"
                },
                "type": {
                  "format": "uri",
                  "type": "string"
                },
                "validation_errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field",
                      "message",
                      "code"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "type",
                "title",
                "status",
                "code",
                "traceId"
              ],
              "type": "object"
            }
          }
        },
        "description": "Required scope, plan or resource policy refused the caller"
      }
    },
    "headers": {
      "request": [],
      "response": {
        "200": {},
        "401": {},
        "403": {}
      }
    },
    "idempotency": {
      "boundary": null,
      "contract": "none",
      "parameters": []
    },
    "operationId": "getGuide",
    "pagination": {
      "contract": null,
      "parameters": []
    },
    "request": {
      "body": null,
      "parameters": []
    },
    "response": {
      "200": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "endpoints": {
                  "items": {
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "example_request": {},
                      "example_response": {},
                      "method": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "scopes": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "path",
                      "method",
                      "scopes",
                      "description"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "events": {
                  "items": {
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "example_payload": {},
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "description"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "scopes": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "version": {
                  "type": "string"
                }
              },
              "required": [
                "version",
                "scopes",
                "endpoints",
                "events"
              ],
              "type": "object"
            }
          }
        },
        "description": "Get scope-filtered developer guide"
      }
    },
    "scopes": []
  },
  "evidence": {
    "acceptanceTask": "T192",
    "fixture": "apps/external-hub/src/__tests__/fixtures/public-rest/values-dx-discovery.json",
    "implementationSha": "9456e9c121892bc2cb6664519945629c4ae8a4d4",
    "registrar": "registerDxPaths",
    "result": "accepted",
    "selection": "operations[operationId=getGuide]",
    "source": "isolated accepted leaf + canonical common; primary actual-boundary fixture is independent"
  },
  "operation": {
    "authAlternatives": [
      {
        "hubApiKey": []
      },
      {
        "hubBearer": []
      }
    ],
    "method": "get",
    "operationId": "getGuide",
    "path": "/api/v1/guide",
    "requestSchemaRef": null,
    "requiredScopes": [],
    "responseSchemaRefs": {
      "200": "#/components/schemas/GuideResponse",
      "401": "#/components/schemas/ProblemDetails",
      "403": "#/components/schemas/ProblemDetails"
    },
    "successStatuses": [
      200
    ],
    "title": "getGuide"
  }
}
```

## getMe

`GET /api/v1/me` — getMe

Контракт содержит полные разрешённые схемы, включая bodyless/binary ответы и все объявленные ошибки. Evidence указывает принятую независимую фикстуру фактической границы; это не обещание запуска в вашей сессии.

```json
{
  "contract": {
    "auth": {
      "alternatives": [
        {
          "hubApiKey": []
        },
        {
          "hubBearer": []
        }
      ],
      "schemes": {
        "hubApiKey": {
          "in": "header",
          "name": "X-Api-Key",
          "type": "apiKey"
        },
        "hubBearer": {
          "scheme": "bearer",
          "type": "http"
        }
      }
    },
    "errors": {
      "401": {
        "content": {
          "application/problem+json": {
            "schema": {
              "properties": {
                "blockingSlug": {
                  "maxLength": 32,
                  "minLength": 3,
                  "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "code": {
                  "enum": [
                    "INVALID_REQUEST",
                    "MALFORMED_JSON",
                    "IDEMPOTENCY_KEY_REQUIRED",
                    "MISSING_REQUIRED_FIELD",
                    "INVALID_API_VERSION",
                    "INVALID_PRICING_QUOTE",
                    "MALFORMED_IF_MATCH",
                    "UNAUTHORIZED",
                    "INVALID_API_KEY",
                    "INVALID_JWT",
                    "EXPIRED_JWT",
                    "INVALID_REFRESH_TOKEN",
                    "MFA_REQUIRED",
                    "FORBIDDEN",
                    "INSUFFICIENT_SCOPE",
                    "ACCOUNT_DISABLED",
                    "WEBHOOK_DISABLED",
                    "SUBSCRIPTION_INACTIVE",
                    "PLATFORM_OFFER_ACCEPTANCE_REQUIRED",
                    "NO_ACTIVE_BOT",
                    "PUBLISHABLE_KEY_NOT_ALLOWED",
                    "NOT_FOUND",
                    "RESOURCE_NOT_FOUND",
                    "SESSION_NOT_FOUND",
                    "ORDER_NOT_FOUND",
                    "USER_NOT_FOUND",
                    "PRODUCT_NOT_FOUND",
                    "PAYMENT_NOT_FOUND",
                    "EXPORT_NOT_FOUND",
                    "CART_NOT_FOUND",
                    "SLUG_TAKEN",
                    "SLUG_IMMUTABLE",
                    "UNPAID_BOT_LIMIT",
                    "ONBOARDING_BUSY",
                    "ONBOARDING_STEP_OUT_OF_ORDER",
                    "BOT_ALREADY_CONNECTED",
                    "BOT_RESERVED",
                    "SG_DISCOVERY_STALE",
                    "ACTIVE_SUBSCRIPTION_EXISTS",
                    "CONFLICT",
                    "IDEMPOTENCY_CONFLICT",
                    "IDEMPOTENCY_KEY_IN_FLIGHT",
                    "IDEMPOTENCY_KEY_FAILED",
                    "EXTERNAL_ORDER_REF_CONFLICT",
                    "ORDER_NOT_LINKABLE",
                    "SESSION_ALREADY_APPROVED",
                    "WEBHOOK_URL_CONFLICT",
                    "PRICE_CHANGED",
                    "ORDER_ITEM_VERSION_CONFLICT",
                    "ORDER_ALREADY_PAID",
                    "CART_INACTIVE",
                    "DRAFT_NOT_PENDING",
                    "TENANT_ARCHIVED",
                    "VARIANT_KEY_IMMUTABLE",
                    "VARIANT_KEY_REUSED",
                    "ORDER_NOT_REFRESHABLE",
                    "ORDER_ALREADY_LINKED",
                    "DUPLICATE_ORDER",
                    "SUBSCRIPTION_UPGRADE_REFUSED",
                    "ACQUISITION_REJECTED",
                    "PLATFORM_TARGET_UNRESOLVED",
                    "ORDER_LOCK_CONTENDED",
                    "SESSION_EXPIRED",
                    "APPROVAL_CODE_EXPIRED",
                    "PRECONDITION_FAILED",
                    "BOT_CONNECTION_NOT_READY",
                    "ETAG_STALE",
                    "ACTIVE_BOT_CHANGED",
                    "PREPARED_SCENARIO_TENANT_CHANGED",
                    "ITEM_COUNT_EXCEEDED",
                    "PAYLOAD_TOO_LARGE",
                    "SLUG_INVALID",
                    "INVALID_BOT_TOKEN",
                    "SG_NOT_FORUM",
                    "SA_NOT_MEMBER",
                    "SA_NOT_ADMIN",
                    "SA_RIGHTS_MISSING",
                    "SA_ANONYMOUS",
                    "PAYMENT_TAX_PROFILE_MISSING",
                    "VALIDATION_ERROR",
                    "IDEMPOTENCY_KEY_MISMATCH",
                    "ZONE_REQUIRED",
                    "SITE_PATH_OUTSIDE_PUBLISHABLE_PREFIX",
                    "INVALID_PROVIDER_CURRENCY",
                    "PROVIDER_NOT_CONFIGURED",
                    "CATALOG_FIELD_READ_ONLY",
                    "CATALOG_BOOKING_CONFIG_INVALID",
                    "CATALOG_BOOKING_RESOURCE_NOT_FOUND",
                    "TEXT_TOO_LONG",
                    "INVALID_BUTTON_CONFIG",
                    "INVALID_MEDIA",
                    "INVALID_SCOPE",
                    "INVALID_CURSOR",
                    "INVALID_FILTER",
                    "LIMIT_EXCEEDED",
                    "EXPORT_MAX_ROWS_EXCEEDED",
                    "TOKEN_PASSTHROUGH_FORBIDDEN",
                    "AUDIENCE_MISMATCH",
                    "INVALID_OAUTH_STATE",
                    "INVALID_OAUTH_REDIRECT_URI",
                    "ITEMS_REQUIRED",
                    "VARIANTS_NOT_AVAILABLE",
                    "INVALID_QUANTITY",
                    "MIXED_CURRENCY",
                    "NO_COMMON_PAYMENT_PROVIDER",
                    "SINGLETON_ORDER_REQUIRED",
                    "MIXED_PARTNER_RATES",
                    "PRODUCT_NOT_CART_ELIGIBLE",
                    "OPTION_UNAVAILABLE",
                    "QUANTITY_LIMIT",
                    "MERGE_REJECTED",
                    "BUYER_CONTACT_REQUIRED",
                    "DELIVERY_ADDRESS_REQUIRED",
                    "POSTAL_CODE_REQUIRED",
                    "PAYMENT_PROVIDERS_UNAVAILABLE",
                    "PAYMENT_LINKS_UNAVAILABLE",
                    "FISCAL_PROVIDER_BASIS_UNSUPPORTED",
                    "PRECONDITION_REQUIRED",
                    "PRICING_QUOTE_REQUIRED",
                    "ETAG_REQUIRED",
                    "CATALOG_UNAVAILABLE",
                    "CATALOG_LOCK_ORDER",
                    "UNSUPPORTED_QUOTE_CURRENCY",
                    "RATE_LIMIT_EXCEEDED",
                    "EXPORT_LIMIT_EXCEEDED",
                    "REFRESH_LIMIT_EXCEEDED",
                    "RATE_LIMIT_UNAVAILABLE",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "PRICING_UNAVAILABLE"
                  ],
                  "type": "string"
                },
                "current_etag": {
                  "anyOf": [
                    {
                      "pattern": "^W\\/\"[a-f0-9]{16}\"$",
                      "type": "string"
                    },
                    {
                      "pattern": "^\"cart-[1-9][0-9]*\"$",
                      "type": "string"
                    }
                  ]
                },
                "detail": {
                  "type": "string"
                },
                "details": {},
                "hint": {
                  "additionalProperties": false,
                  "properties": {
                    "example": {
                      "additionalProperties": {},
                      "type": "object"
                    },
                    "reason": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "recovery": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "see": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reason",
                    "recovery"
                  ],
                  "type": "object"
                },
                "instance": {
                  "type": "string"
                },
                "stage": {
                  "enum": [
                    "address",
                    "site",
                    "bot",
                    "supergroups_create",
                    "supergroups_admin",
                    "supergroups_confirm",
                    "infrastructure",
                    "infrastructure_ready",
                    "quest_1",
                    "quest_2",
                    "warmup",
                    "quest_product",
                    "quest_purchase",
                    "payments",
                    "first_payment",
                    "ai_preferences",
                    "finish",
                    "completed",
                    "tariff",
                    "paid",
                    "free"
                  ],
                  "type": "string"
                },
                "status": {
                  "type": "integer"
                },
                "title": {
                  "type": "string"
                },
                "traceId": {
                  "type": "string"
                },
                "type": {
                  "format": "uri",
                  "type": "string"
                },
                "validation_errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field",
                      "message",
                      "code"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "type",
                "title",
                "status",
                "code",
                "traceId"
              ],
              "type": "object"
            }
          }
        },
        "description": "Missing, invalid, expired or revoked authentication"
      },
      "403": {
        "content": {
          "application/problem+json": {
            "schema": {
              "properties": {
                "blockingSlug": {
                  "maxLength": 32,
                  "minLength": 3,
                  "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "code": {
                  "enum": [
                    "INVALID_REQUEST",
                    "MALFORMED_JSON",
                    "IDEMPOTENCY_KEY_REQUIRED",
                    "MISSING_REQUIRED_FIELD",
                    "INVALID_API_VERSION",
                    "INVALID_PRICING_QUOTE",
                    "MALFORMED_IF_MATCH",
                    "UNAUTHORIZED",
                    "INVALID_API_KEY",
                    "INVALID_JWT",
                    "EXPIRED_JWT",
                    "INVALID_REFRESH_TOKEN",
                    "MFA_REQUIRED",
                    "FORBIDDEN",
                    "INSUFFICIENT_SCOPE",
                    "ACCOUNT_DISABLED",
                    "WEBHOOK_DISABLED",
                    "SUBSCRIPTION_INACTIVE",
                    "PLATFORM_OFFER_ACCEPTANCE_REQUIRED",
                    "NO_ACTIVE_BOT",
                    "PUBLISHABLE_KEY_NOT_ALLOWED",
                    "NOT_FOUND",
                    "RESOURCE_NOT_FOUND",
                    "SESSION_NOT_FOUND",
                    "ORDER_NOT_FOUND",
                    "USER_NOT_FOUND",
                    "PRODUCT_NOT_FOUND",
                    "PAYMENT_NOT_FOUND",
                    "EXPORT_NOT_FOUND",
                    "CART_NOT_FOUND",
                    "SLUG_TAKEN",
                    "SLUG_IMMUTABLE",
                    "UNPAID_BOT_LIMIT",
                    "ONBOARDING_BUSY",
                    "ONBOARDING_STEP_OUT_OF_ORDER",
                    "BOT_ALREADY_CONNECTED",
                    "BOT_RESERVED",
                    "SG_DISCOVERY_STALE",
                    "ACTIVE_SUBSCRIPTION_EXISTS",
                    "CONFLICT",
                    "IDEMPOTENCY_CONFLICT",
                    "IDEMPOTENCY_KEY_IN_FLIGHT",
                    "IDEMPOTENCY_KEY_FAILED",
                    "EXTERNAL_ORDER_REF_CONFLICT",
                    "ORDER_NOT_LINKABLE",
                    "SESSION_ALREADY_APPROVED",
                    "WEBHOOK_URL_CONFLICT",
                    "PRICE_CHANGED",
                    "ORDER_ITEM_VERSION_CONFLICT",
                    "ORDER_ALREADY_PAID",
                    "CART_INACTIVE",
                    "DRAFT_NOT_PENDING",
                    "TENANT_ARCHIVED",
                    "VARIANT_KEY_IMMUTABLE",
                    "VARIANT_KEY_REUSED",
                    "ORDER_NOT_REFRESHABLE",
                    "ORDER_ALREADY_LINKED",
                    "DUPLICATE_ORDER",
                    "SUBSCRIPTION_UPGRADE_REFUSED",
                    "ACQUISITION_REJECTED",
                    "PLATFORM_TARGET_UNRESOLVED",
                    "ORDER_LOCK_CONTENDED",
                    "SESSION_EXPIRED",
                    "APPROVAL_CODE_EXPIRED",
                    "PRECONDITION_FAILED",
                    "BOT_CONNECTION_NOT_READY",
                    "ETAG_STALE",
                    "ACTIVE_BOT_CHANGED",
                    "PREPARED_SCENARIO_TENANT_CHANGED",
                    "ITEM_COUNT_EXCEEDED",
                    "PAYLOAD_TOO_LARGE",
                    "SLUG_INVALID",
                    "INVALID_BOT_TOKEN",
                    "SG_NOT_FORUM",
                    "SA_NOT_MEMBER",
                    "SA_NOT_ADMIN",
                    "SA_RIGHTS_MISSING",
                    "SA_ANONYMOUS",
                    "PAYMENT_TAX_PROFILE_MISSING",
                    "VALIDATION_ERROR",
                    "IDEMPOTENCY_KEY_MISMATCH",
                    "ZONE_REQUIRED",
                    "SITE_PATH_OUTSIDE_PUBLISHABLE_PREFIX",
                    "INVALID_PROVIDER_CURRENCY",
                    "PROVIDER_NOT_CONFIGURED",
                    "CATALOG_FIELD_READ_ONLY",
                    "CATALOG_BOOKING_CONFIG_INVALID",
                    "CATALOG_BOOKING_RESOURCE_NOT_FOUND",
                    "TEXT_TOO_LONG",
                    "INVALID_BUTTON_CONFIG",
                    "INVALID_MEDIA",
                    "INVALID_SCOPE",
                    "INVALID_CURSOR",
                    "INVALID_FILTER",
                    "LIMIT_EXCEEDED",
                    "EXPORT_MAX_ROWS_EXCEEDED",
                    "TOKEN_PASSTHROUGH_FORBIDDEN",
                    "AUDIENCE_MISMATCH",
                    "INVALID_OAUTH_STATE",
                    "INVALID_OAUTH_REDIRECT_URI",
                    "ITEMS_REQUIRED",
                    "VARIANTS_NOT_AVAILABLE",
                    "INVALID_QUANTITY",
                    "MIXED_CURRENCY",
                    "NO_COMMON_PAYMENT_PROVIDER",
                    "SINGLETON_ORDER_REQUIRED",
                    "MIXED_PARTNER_RATES",
                    "PRODUCT_NOT_CART_ELIGIBLE",
                    "OPTION_UNAVAILABLE",
                    "QUANTITY_LIMIT",
                    "MERGE_REJECTED",
                    "BUYER_CONTACT_REQUIRED",
                    "DELIVERY_ADDRESS_REQUIRED",
                    "POSTAL_CODE_REQUIRED",
                    "PAYMENT_PROVIDERS_UNAVAILABLE",
                    "PAYMENT_LINKS_UNAVAILABLE",
                    "FISCAL_PROVIDER_BASIS_UNSUPPORTED",
                    "PRECONDITION_REQUIRED",
                    "PRICING_QUOTE_REQUIRED",
                    "ETAG_REQUIRED",
                    "CATALOG_UNAVAILABLE",
                    "CATALOG_LOCK_ORDER",
                    "UNSUPPORTED_QUOTE_CURRENCY",
                    "RATE_LIMIT_EXCEEDED",
                    "EXPORT_LIMIT_EXCEEDED",
                    "REFRESH_LIMIT_EXCEEDED",
                    "RATE_LIMIT_UNAVAILABLE",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "PRICING_UNAVAILABLE"
                  ],
                  "type": "string"
                },
                "current_etag": {
                  "anyOf": [
                    {
                      "pattern": "^W\\/\"[a-f0-9]{16}\"$",
                      "type": "string"
                    },
                    {
                      "pattern": "^\"cart-[1-9][0-9]*\"$",
                      "type": "string"
                    }
                  ]
                },
                "detail": {
                  "type": "string"
                },
                "details": {},
                "hint": {
                  "additionalProperties": false,
                  "properties": {
                    "example": {
                      "additionalProperties": {},
                      "type": "object"
                    },
                    "reason": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "recovery": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "see": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reason",
                    "recovery"
                  ],
                  "type": "object"
                },
                "instance": {
                  "type": "string"
                },
                "stage": {
                  "enum": [
                    "address",
                    "site",
                    "bot",
                    "supergroups_create",
                    "supergroups_admin",
                    "supergroups_confirm",
                    "infrastructure",
                    "infrastructure_ready",
                    "quest_1",
                    "quest_2",
                    "warmup",
                    "quest_product",
                    "quest_purchase",
                    "payments",
                    "first_payment",
                    "ai_preferences",
                    "finish",
                    "completed",
                    "tariff",
                    "paid",
                    "free"
                  ],
                  "type": "string"
                },
                "status": {
                  "type": "integer"
                },
                "title": {
                  "type": "string"
                },
                "traceId": {
                  "type": "string"
                },
                "type": {
                  "format": "uri",
                  "type": "string"
                },
                "validation_errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field",
                      "message",
                      "code"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "type",
                "title",
                "status",
                "code",
                "traceId"
              ],
              "type": "object"
            }
          }
        },
        "description": "Required scope, plan or resource policy refused the caller"
      }
    },
    "headers": {
      "request": [],
      "response": {
        "200": {},
        "401": {},
        "403": {}
      }
    },
    "idempotency": {
      "boundary": null,
      "contract": "none",
      "parameters": []
    },
    "operationId": "getMe",
    "pagination": {
      "contract": null,
      "parameters": []
    },
    "request": {
      "body": null,
      "parameters": []
    },
    "response": {
      "200": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "app": {
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "type"
                  ],
                  "type": "object"
                },
                "bot": {
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "username": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "username"
                  ],
                  "type": "object"
                },
                "client": {
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "slug",
                    "name"
                  ],
                  "type": "object"
                },
                "endpoints": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "events": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "missing_scopes": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "bundle": {
                        "type": "string"
                      },
                      "how_to_obtain": {
                        "type": "string"
                      },
                      "scope": {
                        "type": "string"
                      },
                      "unlocks": {
                        "additionalProperties": false,
                        "properties": {
                          "endpoints": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "tool_ids": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "tool_ids",
                          "endpoints"
                        ],
                        "type": "object"
                      }
                    },
                    "required": [
                      "scope",
                      "bundle",
                      "unlocks",
                      "how_to_obtain"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "rate_limit": {
                  "properties": {
                    "rpm": {
                      "exclusiveMinimum": 0,
                      "type": "integer"
                    },
                    "tier": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "tier",
                    "rpm"
                  ],
                  "type": "object"
                },
                "scopes": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "subscription": {
                  "properties": {
                    "current_plan": {
                      "enum": [
                        "free",
                        "starter",
                        "ai_manager",
                        "ai_coach",
                        "enterprise",
                        "topup_1m"
                      ],
                      "type": "string"
                    },
                    "locked_capabilities": {
                      "items": {
                        "properties": {
                          "capability": {
                            "type": "string"
                          },
                          "required_plan": {
                            "items": {
                              "enum": [
                                "free",
                                "starter",
                                "ai_manager",
                                "ai_coach",
                                "enterprise",
                                "topup_1m"
                              ],
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "tool_ids": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "upgrade_url": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "capability",
                          "required_plan",
                          "upgrade_url"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "current_plan",
                    "locked_capabilities"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "app",
                "scopes",
                "events",
                "endpoints",
                "rate_limit",
                "bot",
                "client",
                "missing_scopes",
                "subscription"
              ],
              "type": "object"
            }
          }
        },
        "description": "Get current external app context"
      }
    },
    "scopes": []
  },
  "evidence": {
    "acceptanceTask": "T192",
    "fixture": "apps/external-hub/src/__tests__/fixtures/public-rest/values-dx-discovery.json",
    "implementationSha": "9456e9c121892bc2cb6664519945629c4ae8a4d4",
    "registrar": "registerDxPaths",
    "result": "accepted",
    "selection": "operations[operationId=getMe]",
    "source": "isolated accepted leaf + canonical common; primary actual-boundary fixture is independent"
  },
  "operation": {
    "authAlternatives": [
      {
        "hubApiKey": []
      },
      {
        "hubBearer": []
      }
    ],
    "method": "get",
    "operationId": "getMe",
    "path": "/api/v1/me",
    "requestSchemaRef": null,
    "requiredScopes": [],
    "responseSchemaRefs": {
      "200": "#/components/schemas/MeResponse",
      "401": "#/components/schemas/ProblemDetails",
      "403": "#/components/schemas/ProblemDetails"
    },
    "successStatuses": [
      200
    ],
    "title": "getMe"
  }
}
```
