Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: legal / getLegalProfile Для AI-агентов: markdown этой страницы — /docs/api-op-getlegalprofile.md · индекс документации — /llms.txt
getLegalProfile Обновлено 4 октября 2026 г.
GET /api/v1/tools/legal
Read tenant legal settings
# Авторизация и праваScopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
Поле Значение security.0.hubApiKey [] security.1.hubBearer [] securitySchemes.hubApiKey.in "header" securitySchemes.hubApiKey.name "X-Api-Key" securitySchemes.hubApiKey.type "apiKey" securitySchemes.hubBearer.scheme "bearer" securitySchemes.hubBearer.type "http" x-required-scopes ["legal:read"]
# Параметры запроса# Тело запросаПоле Значение Тело запроса null
# Ответы# ОшибкиПоле Значение 401.content.application/problem+json.schema ProblemDetails 401.description "INVALID_API_KEY: missing, invalid or conflicting key headers; surface JWT is not supported" 403.content.application/problem+json.schema ProblemDetails 403.description "INSUFFICIENT_SCOPE, PUBLISHABLE_KEY_NOT_ALLOWED or NO_ACTIVE_BOT" 413.content.application/problem+json.schema ProblemDetails 413.description "PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED resource policy refusal" 429.content.application/problem+json.schema ProblemDetails 429.description "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE" 429.headers.Retry-After.description "Retry delay in seconds when supplied by resource policy" 429.headers.Retry-After.schema 429.headers.Retry-After.schema
# Дополнительные условияПоле Значение description "Owner-authorized singleton. The authenticated credential selects the tenant; no path IDs, templates or pagination. Bearer transport accepts tgf_* credentials, not a surface JWT." operationId "getLegalProfile" summary "Read tenant legal settings" tags ["legal"]