---
title: "ListConnectorTables"
method: POST
path: "/textql.rpc.public.connector.ConnectorService/ListConnectorTables"
tags: ["ConnectorService"]
---

# ListConnectorTables

`POST /textql.rpc.public.connector.ConnectorService/ListConnectorTables`

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicConnectorListConnectorTablesRequest
  - `connectorId` integer

## Response `200`

Success

- TextqlRpcPublicConnectorListConnectorTablesResponse
  - `tables` TextqlRpcPublicConnectorConnectorTable[]
    - `tableDatabase` string
    - `tableSchema` string
    - `tableName` string
    - `preview` TextqlRpcPublicConnectorQueryResult
      - `arrowData` string, byte — Apache Arrow IPC format binary data
      - `totalRows` union — Total number of rows (for pagination/UI purposes)
        - integer
        - string, int64
    - `primaryKeys` TextqlRpcPublicConnectorPrimaryKeyMetadata[]
      - `columns` string[]
      - `descriptions` string[]
    - `tableType` string
  - `error` string

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.dev/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/revisions/31ce2b0c4427/schema)
