---
title: "POST /integrationruntimes/{integrationRuntimeName}:enableInteractiveQuery"
method: POST
path: "/integrationruntimes/{integrationRuntimeName}:enableInteractiveQuery"
tags: ["IntegrationRuntimes"]
---

# POST /integrationruntimes/{integrationRuntimeName}:enableInteractiveQuery

`POST /integrationruntimes/{integrationRuntimeName}:enableInteractiveQuery`

Enables interactive querying.

## Path parameters

- `integrationRuntimeName` string, required

## Query parameters

- `api-version` string, required

## Request body

- EnableInteractiveQueryForIntegrationRuntimeRequest — The request of enabling interactive query for integration runtime.
  - `autoTerminationMinutes` integer — The interactive querying auto termination time in minutes.

## Response `202`

Success.

- OperationResponse — The operation response.
  - `scanResultId` string, uuid — The scan result identifier.
  - `startTime` string, date-time — The start time of the operation.
  - `endTime` string, date-time — The end time of the operation.
  - `status` 'Accepted' | 'InProgress' | 'TransientFailure' | 'Succeeded' | 'Failed' | 'Canceled' — Scan operation status.
  - `error` ErrorInfo — The error info.
    - `code` string — A unique error code that identifies the specific error.
    - `message` string — A human-readable error message that provides more details about the error.
    - `target` string — The specific component that the error is associated with.
    - `details` ErrorInfo[] — Error info detail.

## Other responses

- `default` — An error response received from the Scanning Service.

---

[API](https://skmtc.net/azure/apis/purview-scanning.md) · [All operations](https://skmtc.net/azure/apis/purview-scanning/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-scanning/versions/1dc732ab31fc/schema)
