Api to get list of all objects in assets

I am using Jira 9.12.8 data center version and using the endpoint rest api to fetch the objects list
https://{baseurl}/rest/assets/1.0/object/navlist/aql and passing json body { "aql": "ObjectType = 'Asset'"} and also tried “objectSchemaId”: 2154 bu i am getting "errorMessages": "Something went wrong. Contact administrator"

any suggestion will help me a lot

Hello @JaichandraSreeram

There is no such thing as Jira Service Management v9.12.8 Data Center version.

I suggest you do as the error message recommends and contact your administrator to find out what, exactly, your organisation is using and what version it is.