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

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

listOrderStatuses

Обновлено

GET /api/v1/tools/statuses

List the tenant order-status set

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

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["statuses:read"]

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

ПолеЗначение
Параметры[]

Тело запроса

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

Ответы

ПолеЗначение
200.content.application/json.schemaOrderStatusList
200.description"All non-deleted statuses, sorted by sort then seq_num; no pagination"
200.headers.X-Bot-Username.description"Active tenant public bot username, when available"
200.headers.X-Bot-Username.schema200.headers.X-Bot-Username.schema
200.headers.X-Client-Slug.description"Active tenant public slug, when available"
200.headers.X-Client-Slug.schema200.headers.X-Client-Slug.schema
200.headers.X-RateLimit-Limit.description"Computed request budget"
200.headers.X-RateLimit-Limit.schema200.headers.X-RateLimit-Limit.schema
200.headers.X-RateLimit-Remaining.description"Remaining budget or unknown"
200.headers.X-RateLimit-Remaining.schema200.headers.X-RateLimit-Remaining.schema
200.headers.X-RateLimit-Reset.description"Budget reset Unix timestamp"
200.headers.X-RateLimit-Reset.schema200.headers.X-RateLimit-Reset.schema

Ошибки

ПолеЗначение
401.content.application/problem+json.schemaProblemDetails
401.description"Missing, invalid or mismatched API-key transports; surface-session JWT is not an alternative"
403.content.application/problem+json.schemaProblemDetails
403.description"Required statuses scope, live credential access or resource policy refused"
413.content.application/problem+json.schemaProblemDetails
413.description"Per-tool payload or item-count cap exceeded"
429.content.application/problem+json.schemaProblemDetails
429.description"Rate limit exceeded or unavailable; fail closed"
429.headers.Retry-After.description"Seconds before retry when supplied by the limiter"
429.headers.Retry-After.schema429.headers.Retry-After.schema

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

ПолеЗначение
operationId"listOrderStatuses"
summary"List the tenant order-status set"
tags["statuses"]