Hi BWhitmoyer,
Following this documentation you can have access to Azure Monitor Log Analytics API
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/api/access-api
You can submit a query request to a workspace by using the Azure Monitor Log Analytics endpoint
https://api.loganalytics.azure.com
. To access the endpoint, you must authenticate through Microsoft Entra ID.
Take on consideration that there are a prerequisites task to do it in order to query the Log Analytics API.
Let me know if this solve your question.
Luis
If the information helped address your question, please Accept the answer.