Microsoft Azure Get Access Review Instances API

The GetAccessReviewInstances API from Microsoft Azure, for getaccessreviewinstances.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

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

GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances List instances of an access review schedule · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“What instances have run for a recurring access review?”
“Can I filter access review instances for a schedule definition?”
Tell an agent
List access review instances for schedule {schedule} in subscription {sub}.
Show instances of access review schedule {schedule} matching {filter}.

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-azure:microsoft-azure-getaccessreviewinstances-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. 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 Specification

microsoft-azure-getaccessreviewinstances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2021-11-16-preview
  title: Microsoft Azure AuthorizationManagementClient Get Access…
  description: Access reviews service provides the workflow for running access reviews on different kind of resources.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: GetAccessReviewInstances
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances
  : get:
      tags:
      - GetAccessReviewInstances
      operationId: microsoftAzureAccessreviewinstancesList
      x-ms-examples:
        GetAccessReviewInstances:
          $ref: ./examples/GetAccessReviewInstances.json
      description: Get access review instances
      parameters:
      - name: scheduleDefinitionId
        in: path
        required: true
        description: The id of the access review schedule definition.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/AccessReviewsFilterParameter'
      responses:
        '200':
          description: Describe the result of a successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessReviewInstanceListResult'
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDefinition'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft…
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The ID of the target subscription.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to be used with the HTTP request.
      schema:
        type: string
    AccessReviewsFilterParameter:
      name: $filter
      in: query
      required: false
      description: 'The filter to apply on the operation. Other than standard filters, one custom filter option is supported : ''assignedToMeToReview()''. When one specified $filter=assignedToMeToReview(), only items that are assigned to the calling user to review are returned'
      x-ms-skip-url-encoding: true
      x-ms-parameter-location: method
      schema:
        type: string
  schemas:
    AccessReviewReviewer:
      type: object
      properties:
        principalId:
          type: string
          description: The id of the reviewer(user/servicePrincipal)
        principalType:
          type: string
          readOnly: true
          description: 'The identity type : user/servicePrincipal'
          enum:
          - user
          - servicePrincipal
          x-ms-enum:
            name: AccessReviewReviewerType
            modelAsString: true
      description: Descriptor for what needs to be reviewed
    AccessReviewInstanceListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/AccessReviewInstance'
          description: Access Review Instance list.
        nextLink:
          type: string
          description: The URL to use for getting the next set of results.
      description: List of Access Review Instances.
    AccessReviewInstance:
      type: object
      x-ms-azure-resource: true
      properties:
        id:
          type: string
          readOnly: true
          description: The access review instance id.
        name:
          type: string
          readOnly: true
          description: The access review instance name.
        type:
          type: string
          readOnly: true
          description: The resource type.
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewInstanceProperties'
          description: Access Review properties.
      description: Access Review Instance.
    ErrorDefinition:
      type: object
      title: Error
      description: Error description and code explaining why an operation failed.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDefinitionProperties'
          description: Error of the list gateway status.
    ErrorDefinitionProperties:
      type: object
      title: Error
      description: Error description and code explaining why an operation failed.
      properties:
        message:
          type: string
          readOnly: true
          description: Description of the error.
        code:
          type: string
          description: Error code of list gateway.
    AccessReviewInstanceProperties:
      type: object
      properties:
        status:
          type: string
          readOnly: true
          description: This read-only field specifies the status of an access review instance.
          enum:
          - NotStarted
          - InProgress
          - Completed
          - Applied
          - Initializing
          - Applying
          - Completing
          - Scheduled
          - AutoReviewing
          - AutoReviewed
          - Starting
          x-ms-enum:
            name: AccessReviewInstanceStatus
            modelAsString: true
        startDateTime:
          type: string
          format: date-time
          description: The DateTime when the review instance is scheduled to be start.
        endDateTime:
          type: string
          format: date-time
          description: The DateTime when the review instance is scheduled to end.
        reviewers:
          type: array
          items:
            $ref: '#/components/schemas/AccessReviewReviewer'
          description: This is the collection of reviewers.
          x-ms-identifiers: []
        backupReviewers:
          type: array
          items:
            $ref: '#/components/schemas/AccessReviewReviewer'
          description: This is the collection of backup reviewers.
          x-ms-identifiers: []
        reviewersType:
          type: string
          readOnly: true
          description: This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review.
          enum:
          - Assigned
          - Self
          - Managers
          x-ms-enum:
            name: AccessReviewInstanceReviewersType
            modelAsString: true
      description: Access Review Instance properties.
  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