---
title: "POST /linkconnections/{linkConnectionName}/querytablestatus"
method: POST
path: "/linkconnections/{linkConnectionName}/querytablestatus"
tags: ["linkConnections"]
---

# POST /linkconnections/{linkConnectionName}/querytablestatus

`POST /linkconnections/{linkConnectionName}/querytablestatus`

Query the link table status of a link connection

## Path parameters

- `linkConnectionName` string, required

## Query parameters

- `api-version` string, required

## Request body

- QueryTableStatusRequest
  - `maxSegmentCount` integer — Max segment count to query table status
  - `continuationToken` object — Continuation token to query table status

## Response `200`

OK

- LinkConnectionQueryTableStatus
  - `value` LinkTableStatus[] — Link tables' status
    - `id` string — ID provided by the client
    - `status` string — Link table status, please refer to this [articles](https://learn.microsoft.com/azure/synapse-analytics/synapse-link/sql-database-synapse-link#monitoring) for details.
    - `errorMessage` string — Link table error message
    - `startTime` object — Link table start time
    - `stopTime` object — Link table stop time
    - `linkTableId` string — Link table ID
    - `errorCode` string — Link table error code
    - `lastProcessedData` string, date-time — Link table last processed data time
    - `lastTransactionCommitTime` string, date-time — Link table last transaction commit time
  - `continuationToken` object — Continuation token to query table status

## Other responses

- `default` — An error response received from the Azure Synapse service.

---

[API](https://skmtc.net/azuresynapse/apis/artifactsclient-4.md) · [All operations](https://skmtc.net/azuresynapse/apis/artifactsclient-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azuresynapse/artifactsclient-4/versions/fc1fdc654d4b/schema)
