Microsoft Sentinel Incident Tasks API

The IncidentTasks API from Microsoft Sentinel — 2 operation(s) for incidenttasks.

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks Incident tasks list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId} Incident tasks get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId} Incident tasks create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId} Incident tasks delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-sentinel:microsoft-sentinel-incidenttasks-api"
All apis
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.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-sentinel-incidenttasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Sentinel Incident Tasks API
  version: '2025-09-01'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
  description: 'Operations tagged IncidentTasks across 2 of this provider''s published API definitions: microsoft-sentinel-securityinsights-2025-09-01.json, microsoft-sentinel-securityinsights-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: IncidentTasks
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks
  : get:
      operationId: IncidentTasks_List
      tags:
      - IncidentTasks
      description: Gets all incident tasks.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: workspaceName
        in: path
        description: The name of the monitor workspace.
        required: true
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: incidentId
        in: path
        description: Incident ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTaskList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        IncidentTasks_List:
          $ref: ./examples/incidents/tasks/IncidentTasks_List.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Incident tasks list
      x-summary-source: derived
    servers:
    - url: https://management.azure.com
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}
  : get:
      operationId: IncidentTasks_Get
      tags:
      - IncidentTasks
      description: Gets an incident task.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: workspaceName
        in: path
        description: The name of the monitor workspace.
        required: true
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: incidentId
        in: path
        description: Incident ID
        required: true
        schema:
          type: string
      - name: incidentTaskId
        in: path
        description: Incident task ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTask'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        IncidentTasks_Get:
          $ref: ./examples/incidents/tasks/IncidentTasks_Get.json
      summary: Incident tasks get
      x-summary-source: derived
    put:
      operationId: IncidentTasks_CreateOrUpdate
      tags:
      - IncidentTasks
      description: Creates or updates the incident task.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: workspaceName
        in: path
        description: The name of the monitor workspace.
        required: true
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: incidentId
        in: path
        description: Incident ID
        required: true
        schema:
          type: string
      - name: incidentTaskId
        in: path
        description: Incident task ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'IncidentTask' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTask'
        '201':
          description: Resource 'IncidentTask' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTask'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        IncidentTasks_CreateOrUpdate:
          $ref: ./examples/incidents/tasks/IncidentTasks_CreateOrUpdate.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentTask'
        description: The incident task
        required: true
      summary: Incident tasks create or update
      x-summary-source: derived
    delete:
      operationId: IncidentTasks_Delete
      tags:
      - IncidentTasks
      description: Delete the incident task.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: workspaceName
        in: path
        description: The name of the monitor workspace.
        required: true
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: incidentId
        in: path
        description: Incident ID
        required: true
        schema:
          type: string
      - name: incidentTaskId
        in: path
        description: Incident task ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        IncidentTasks_Delete:
          $ref: ./examples/incidents/tasks/IncidentTasks_Delete.json
      summary: Incident tasks delete
      x-summary-source: derived
    servers:
    - url: https://management.azure.com
components:
  schemas:
    IncidentTaskProperties:
      type: object
      description: Describes the properties of an incident task
      properties:
        title:
          type: string
          description: The title of the task
        description:
          type: string
          description: The description of the task
        status:
          $ref: '#/components/schemas/IncidentTaskStatus'
          description: The status of the task
        createdTimeUtc:
          type: string
          format: date-time
          description: The time the task was created
          readOnly: true
        lastModifiedTimeUtc:
          type: string
          format: date-time
          description: The last time the task was updated
          readOnly: true
        createdBy:
          $ref: '#/components/schemas/ClientInfo'
          description: Information on the client (user or application) that made some action
        lastModifiedBy:
          $ref: '#/components/schemas/ClientInfo'
          description: Information on the client (user or application) that made some action
      required:
      - title
      - status
    IncidentTask:
      type: object
      description: Describes incident task properties
      properties:
        properties:
          $ref: '#/components/schemas/IncidentTaskProperties'
          description: Describes the properties of an incident task
          x-ms-client-flatten: true
        etag:
          type: string
          description: Etag of the azure resource
      required:
      - properties
      allOf:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
    CloudErrorBody:
      type: object
      description: Error details.
      properties:
        code:
          type: string
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
          readOnly: true
        message:
          type: string
          description: A message describing the error, intended to be suitable for display in a user interface.
          readOnly: true
    ClientInfo:
      type: object
      description: Information on the client (user or application) that made some action
      properties:
        email:
          type: string
          description: The email of the client.
        name:
          type: string
          description: The name of the client.
        objectId:
          $ref: '#/components/schemas/Azure.Core.uuid'
          description: The object id of the client.
        userPrincipalName:
          type: string
          description: The user principal name of the client.
    CloudError:
      type: object
      description: Error response structure.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Error data
    IncidentTaskStatus:
      type: string
      description: The status of the task
      enum:
      - New
      - Completed
      x-ms-enum:
        name: IncidentTaskStatus
        modelAsString: true
        values:
        - name: New
          value: New
          description: A new task
        - name: Completed
          value: Completed
          description: A completed task
    IncidentTaskList:
      type: object
      description: List of incident tasks
      properties:
        value:
          type: array
          description: List of incident tasks.
          items:
            $ref: '#/components/schemas/IncidentTask'
        nextLink:
          type: string
          description: The link to the next page of items
    Azure.Core.uuid:
      type: string
      format: uuid
      description: Universally Unique Identifier
  securitySchemes:
    azure_auth:
      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.
x-refined-from:
- microsoft-sentinel-securityinsights-2025-09-01.json
- microsoft-sentinel-securityinsights-openapi.yml