User Agent via APIs

I am using HTTP API and passing the user agent but tracker debugger shows:
Devices & platform
Unknown browser Unknown operating system

Here is an example of the user agent
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

I am passing it as a URI Encoded calue to User-Agent query paramater.

What could be wrong?

Resolved, the correct paramater is ua not User-Agent. There is a reference to User-Agent in documentation which was not clear.