К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-op-getsession.mdиндекс документации — /llms.txt

getSession

Обновлено

GET /api/v1/sessions/{id}

getSession

Авторизация и права

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[]

Параметры запроса

ПолеЗначение
0.in"path"
0.name"id"
0.requiredtrue
0.schema0.schema

Тело запроса

ПолеЗначение
Тело запросаnull

Ответы

ПолеЗначение
200.content.application/json.schemaGetSessionResponse
200.description"Get external session"

Ошибки

ПолеЗначение
401.content.application/problem+json.schemaProblemDetails
401.description"Missing, invalid, expired or revoked authentication"
403.content.application/problem+json.schemaProblemDetails
403.description"Required scope, plan or resource policy refused the caller"

Дополнительные условия

ПолеЗначение
operationId"getSession"
tags["sessions"]
x-idempotency"none"