Hi @Thangamani, Nishanth , this document has a few samples you can test. Make sure you're putting in the right workspace ID with proper syntax.
For example:
GET https://api.loganalytics.io/v1/workspaces/63613592-b6f7-4c3d-a390-22ba13102111/query?query=Usage | take 10×pan=PT12H
If this answer helped you please mark it as "Verified" so other users may reference it. If you have any questions please let me know.
Thank you,
James