Get Ksql Table
GEThttps://a.klaviyo.com/api/ksql-tables/{id}
Fetch the full column schema for one k-sql table, given its identifier.
- Revision header
revision: 2026-07-15.prerequired- Scopes
campaigns:readcatalogs:readevents:readlists:readmetrics:readprofiles:readsegments:read- Rate limits
- Burst:
10/sSteady:150/m
Steady: 150/m
Optional Scopes:
campaigns:read
catalogs:read
events:read
lists:read
metrics:read
profiles:read
segments:read
Path parameters
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-07-15.pre
Responses
200Success
Content type: application/vnd.api+json
Show 4 fields
The k-sql table identifier, verbatim -- write it exactly as given in a FROM clause.
Show 4 fields
What the table contains. Null when a canonical manifest declares none. Never null on an inferred event table -- the service synthesizes one stating the source and that field names are inferred.
What this table represents.
The table's top-level columns, in manifest order. Nested columns are reached through
struct_fieldsandarray_elementrather than listed separately. Always present.Show 6 fields
The column's own name, not a path.
A k-sql column's type.
arrayis always the bare string -- an array's element type lives inColumnSchema.array_element, never encoded asarray<...>.structcarries its members inColumnSchema.struct_fields.What the column contains. Null when the manifest declares none. On an inferred event table the top-level CDM columns still carry descriptions; only the fields inside the satellite struct are null.
Members of a
structcolumn, each an object of this same shape. Empty for every other type. Anarrayof structs carries its members inarray_element.struct_fields, not here.Present only when
typeisarray, and null otherwise. An object of this same shape describing one element of the array: itstype, itsstruct_fieldswhen that element is a struct, and its ownarray_elementwhen the array is itself an array of arrays.Joinable relations declared against this column. Empty when there are none.
Show 4 fields
The
idof the table this column points at. Always an entity table, so never backtick-quoted.The column of
table_idthis column's value matches. This is the name to write in a join, not the underlying CDM column.The link's alias for the target entity, for example
campaign. Unique per table, and the value to pass as USING when a table has more than one link.What the link means, from the link manifest. Null when the manifest declares none.
The source event types behind this canonical event table, each with the identifier of the inferred event table carrying that source's complete field set. Canonical tables normalize across sources and drop source-specific fields; those fields remain addressable on the identifiers listed here. Always present; empty for every kind except
event.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json