---
title: "Get Ksql Tables"
description: "How to call Get Ksql Tables (GET /api/ksql-tables) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/get_ksql_tables_beta"
revision: "2026-07-15.pre"
latestUrl: "https://developers.klaviyo.com/en/reference"
operationId: "get_ksql_tables_beta"
method: "GET"
endpoint: "https://a.klaviyo.com/api/ksql-tables"
authentication: "privateKey"
scopes: ["campaigns:read","catalogs:read","events:read","lists:read","metrics:read","profiles:read","segments:read"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/get_ksql_tables_beta.json"
jsonApi: {"fields":{"ksql-table":["description","id","kind"]}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/beta-apis-beta/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/get_ksql_table_beta.md"]
---

# Get Ksql Tables

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/get_ksql_tables_beta

```http
GET https://a.klaviyo.com/api/ksql-tables
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-07-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


List the k-sql tables this account can query.

Unpaginated in this revision -- ``links.next``/``links.prev`` are emitted and always null so adding pagination later is not a schema change.

- Revision header: `revision: 2026-07-15.pre` (required)
- Scopes: `campaigns:read`, `catalogs:read`, `events:read`, `lists:read`, `metrics:read`, `profiles:read`, `segments:read`
- Rate limits: Burst: `10/s`, Steady: `150/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/get_ksql_tables_beta.json)

Steady: `150/m`

**Optional Scopes:**
`campaigns:read`
`catalogs:read`
`events:read`
`lists:read`
`metrics:read`
`profiles:read`
`segments:read`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/ksql-tables' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15.pre'
```

## Query parameters

- `fields[ksql-table]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `description`, `id`, `kind`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15.pre`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `type` (string, required): Allowed values: `ksql-table`
  - `id` (string, required): The k-sql table identifier, verbatim. Write it exactly as given in a FROM clause, and percent-encode it for the retrieve path (RFC 3986 -- e.g. `%20` for a space). Example: `klaviyo.events.placed_order`
  - `attributes` (object, required)
    - `description` (string, nullable): What the table contains. Never null on an inferred event table -- the service synthesizes one.
    - `kind` (string, required): What this table represents. Allowed values: `event`, `object`, `relation`, `inferred_event`, `metric`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `prev` (string<uri>)
  - `next` (string<uri>)

#### Example response body

```json
{
  "data": [
    {
      "type": "ksql-table",
      "id": "klaviyo.events.placed_order",
      "attributes": {
        "description": "string",
        "kind": "event"
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
