Справочник API публикуется на английском языке.
Consume a same-origin one-use pairing capability and approve its exact Dot agent connection
POST
/api/dot-mcp/requests/{id}/dot-pairingNo API key
Consume a same-origin one-use pairing capability and approve its exact Dot agent connection.
Авторизация
No API key is needed: the token or id in the path, or the request's own signature, authenticates the call. Как работают ключи.
Параметры пути
idstringОбязательныйThe request's id.
Тело запроса
application/json · обязательно
pairingCodestringОбязательный
pattern: ^[A-Za-z0-9_-]{32}$Ответы
200SuccessThe request worked; the body holds the result.
400Bad requestThe request is malformed or failed validation.
details names each field that failed.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.
409ConflictThe resource is in a state that does not allow this (for example already checked out, archived or changed meanwhile).
Ошибки возвращают {"error": "..."}, часто вместе с code и details. Подробнее: ошибки и ограничения.