Microsoft Azure Batch API
The Batch API from Microsoft Azure, for batch.
Operations 1
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
The Batch API from Microsoft Azure, for batch.
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-batch-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: 2021-05-19_Preview
title: Microsoft Azure Azure Log Analytics $Batch API
description: This API exposes Azure Log Analytics query capabilities
termsOfService: https://dev.loganalytics.io/tos
contact:
name: AIAPI Team
url: https://dev.loganalytics.io/support
email: aiapi@microsoft.com
license:
name: Microsoft
url: https://dev.loganalytics.io/license
servers:
- url: https://api.loganalytics.io/v1
security:
- oauth2:
- user_impersonation
tags:
- name: Batch
paths:
/$batch:
post:
operationId: microsoftAzureQueryBatch
summary: Microsoft Azure Execute A Batch Of Analytics Queries
description: Executes a batch of Analytics queries for data. Here is an example for using POST with an Analytics query.
x-ms-examples:
metadataPost:
$ref: examples/batch-query-example.json
responses:
'200':
description: OK. The API call succeeded and the Analytics query result is in the response payload
content:
application/json:
schema:
$ref: '#/components/schemas/batchResponse'
default:
description: An error response object.
content:
application/json:
schema:
$ref: '#/components/schemas/errorResponse'
tags:
- Batch
requestBody:
content:
application/json:
schema:
type: object
$ref: '#/components/schemas/batchRequest'
description: The batch request body
required: true
components:
schemas:
workspacesParam:
description: Workspace names to include in cross-workspace queries.
type: array
items:
type: string
timespanParam:
description: Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.
type: string
batchQueryResponse:
type: object
properties:
id:
type: string
status:
type: integer
body:
type: object
$ref: '#/components/schemas/batchQueryResults'
headers:
type: object
additionalProperties:
type: string
batchQueryResults:
title: A query response for a single query in a batch.
description: Contains the tables, columns & rows resulting from a query.
type: object
properties:
tables:
description: The list of tables, columns and rows.
type: array
items:
$ref: '#/components/schemas/table'
statistics:
type: object
description: Statistics represented in JSON format.
properties: {}
render:
type: object
description: Visualization data in JSON format.
properties: {}
error:
$ref: '#/components/schemas/errorInfo'
errorResponse:
title: Error details.
description: Contains details when the response code indicates an error.
type: object
properties:
error:
description: The error details.
$ref: '#/components/schemas/errorInfo'
required:
- error
batchRequest:
type: object
description: An array of requests.
properties:
requests:
type: array
description: An single request in a batch.
items:
$ref: '#/components/schemas/batchQueryRequest'
required:
- requests
logsColumnType:
type: string
description: The data type of this column.
enum:
- bool
- datetime
- dynamic
- int
- long
- real
- string
- guid
- decimal
- timespan
x-ms-enum:
name: logsColumnType
modelAsString: true
queryParam:
description: The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)
type: string
errorInfo:
title: The code and message for an error.
type: object
properties:
code:
description: A machine readable error code.
type: string
message:
description: A human readable error message.
type: string
details:
description: error details.
type: array
items:
$ref: '#/components/schemas/errorDetail'
innererror:
description: Inner error details if they exist.
$ref: '#/components/schemas/errorInfo'
additionalProperties:
description: Additional properties that can be provided on the error info object
type: object
required:
- code
- message
queryBody:
description: The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)
type: object
properties:
query:
description: The query to execute.
$ref: '#/components/schemas/queryParam'
timespan:
description: Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.
$ref: '#/components/schemas/timespanParam'
workspaces:
description: A list of workspaces that are included in the query.
$ref: '#/components/schemas/workspacesParam'
required:
- query
errorDetail:
title: Error details.
type: object
properties:
code:
description: The error's code.
type: string
message:
description: A human readable error message.
type: string
target:
description: Indicates which property in the request is responsible for the error.
type: string
value:
description: Indicates which value in 'target' is responsible for the error.
type: string
resources:
description: Indicates resources which were responsible for the error.
type: array
items:
type: string
additionalProperties:
description: Additional properties that can be provided on the error details object
type: object
required:
- code
- message
batchResponse:
type: object
description: Response to a batch query.
properties:
responses:
type: array
description: An array of responses corresponding to each individual request in a batch.
items:
$ref: '#/components/schemas/batchQueryResponse'
column:
title: A table column.
description: A column in a table.
type: object
properties:
name:
description: The name of this column.
type: string
type:
description: The data type of this column.
$ref: '#/components/schemas/logsColumnType'
batchQueryRequest:
type: object
description: An single request in a batch.
properties:
id:
description: The error details.
type: string
headers:
type: object
additionalProperties:
type: string
body:
$ref: '#/components/schemas/queryBody'
path:
type: string
enum:
- /query
method:
type: string
enum:
- POST
workspace:
description: Workspace Id to be included in the query
type: string
required:
- workspace
- body
- id
table:
title: A query response table.
description: Contains the columns and rows for one table in a query response.
type: object
properties:
name:
description: The name of the table.
type: string
columns:
description: The list of columns in this table.
type: array
items:
$ref: '#/components/schemas/column'
rows:
description: The resulting rows from this query.
type: array
items:
type: array
items:
type: object
required:
- name
- columns
- rows
securitySchemes:
oauth2:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow