Data preview
Returns up to 1000 rows from a table in CSV (RFC) or JSON format. Rows can be filtered by the same filters as the asynchronous export (changedSince, changedUntil, columns, whereFilters, orderBy, fulltextSearch). For a full table download use the asynchronous export.
The isTruncated flag is true if the value is >16k chars and the response type is JSON.
HTTP Compression
To enable compression of the API response traffic, include the HTTP header Accept-encoding: gzip with the request.
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Table string identifier (e.g. in.c-main.my-table).
Query parameters
Limit the number of returned rows. Maximum allowed value is 1000.
Filtering by import date - the import timestamp is stored within each row. Accepts a unix timestamp or any date accepted by strtotime.
Filtering by import date - the import timestamp is stored within each row. Accepts a unix timestamp or any date accepted by strtotime.
Comma separated list of columns to export; by default all columns are exported.
Deprecated (use whereFilters instead). Column for exporting only matching rows.
Deprecated (use whereFilters instead). Values for exporting only matching rows.
[ "26" ]
Deprecated (use whereFilters instead). Operator for value comparison: eq (can be used with multiple values) or ne.
Output format of the preview: rfc returns CSV, json returns JSON.
Fulltext search over all data in the table. Cannot be combined with whereFilters. Snowflake/BigQuery only.
A JSON preview requested without any other parameter is served from a cache that is refreshed whenever the table changes. Set to 0 to always read the data from the backend.
Response
Table data in the requested format (CSV or JSON).
Changes
No recorded changes to this operation across all 1 revision of this API.