There are two endpoints through which you can address the Log Analytics API. We offer api.loganalytics.io as a direct URL for the API, and we offer access to the API through Azure Resource Manager (ARM). The query parameters are the same for each endpoint, but the URLs differ.
Both endpoints require authorization through Azure Active Directory (AAD).
It has the format:
For the Public API format, the components of URL are:
The format of this API is:
For the Azure API format, the components of URL are:
2017-01-01-preview, are defined here
Since most of the following content is going to focus on the parameters for a particular path, the Public API will be used in the examples.