Vanilla - trade id doubts

Hello,
I’m doing an integration with Binance Vanilla’s market data and I’m facing some difficulties in understanding the trade id that is sent in the trades.

About the endpoint: GET /vapi/v1/historicalTrades:

What this ID means? How can I compare the ID recieved in this endpoint with the IDs received from the WebSocket on the endpoint @Trade?

The IDS don’t seem to make sense.

The id from the /vapi/v1/historicalTrades represents a uniqueId attributed to the trade, while the id from the /vapi/v1/trades endpoint and @trade websocket represents the trade Id.

Thank you for pointing this out, the documentation will be updated accordingly.

Is there any way to link them? Or you add the tradeId in addition to the uniqueId in / historicalTrades…