Справочник API публикуется на английском языке.

Get pending action request and quarantined catalog entry counts for one connection

GET/api/tool-connections/{connectionId}/review-counts
Personal API keyAgent API keyConsole session
Veyra Docs TeamОбновлено Версия 3 · История

Get pending action request and quarantined catalog entry counts for one connection.

Catalog entries with status quarantined are new actions that a catalog refresh found and holds for a person's review. No agent can call a quarantined action, through this connection or any other transport, until a person who manages the connection allows it on the app's Permissions page, Permissions, with this conversation's organization prefix and the connection's id. Allowing it is that person's decision, not an agent's. When asked to use a quarantined action, say it is waiting for review, link that page and reply; do not search for another route.

Авторизация

Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Как работают ключи.

Параметры пути

connectionIdstringОбязательныйThe connection's id.

Ответы

200SuccessThe request worked; the body holds the result.
400Bad requestThe request is malformed or failed validation. details names each field that failed.
401UnauthorizedNo key, or the key is unknown, revoked or expired.
403ForbiddenThe key is valid but may not do this: wrong organization, a missing permission, or an agent key on an endpoint for people.
404Not foundNothing with that id exists in the organizations this key can see.

Ошибки возвращают {"error": "..."}, часто вместе с code и details. Подробнее: ошибки и ограничения.

Connectors