sdk-v2

Playground Shadow Query

Run authored SQL over the shadow DB and return the rows.

Backs the row previews in the data-mart and SQL-example editors: the structural checks say what shape the SQL has, this says what it does. Execution happens in an ephemeral in-memory DuckDB holding generated rows (plus the account's CSV fixtures), the same data the playground runs on. Customer data is never touched, and user SQL never reaches Annie's app DB.

post/v2/sdk/playground/shadow-query

Request

  • Base URL: https://api.pandas-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pandas-ai.com/v2/sdk/playground/shadow-query
  • Auth: none declared

Request body

sqlstring required
mart_idstring nullable
tagsstring[] nullable
dialectstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.