---
title: "LoadConnectorData"
method: POST
path: "/v1/sandbox/query"
tags: ["textql.rpc.platform.SandboxService"]
---

# LoadConnectorData

`POST /v1/sandbox/query`

Execute a SQL query against a connector and load the results into the sandbox as a pandas DataFrame

## Headers

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

## Request body

- TextqlRpcPlatformLoadConnectorDataRequest
  - `sandboxId` string, required
  - `connectorId` integer, required
  - `query` string, required — SQL query to execute against the connector
  - `dataframeName` string, nullable — Optional name for the resulting DataFrame. Auto-generated if not provided.

## Response `200`

Success

- TextqlRpcPlatformLoadConnectorDataResponse
  - `dataframeName` string
  - `numRows` integer
  - `numCols` integer
  - `preview` string — Text preview of the loaded data

## Other responses

- `default` — Error

---

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