Skip to main content
GET
Export sample data

Authorizations

Authorization
string
header
required

Your API key's access key and access secret, colon-delimited: <access-key>:<access-secret>. The same header as the GraphQL API; see Authentication.

Query Parameters

assetId
string
required

The ID of the catalog asset to sample.

credentialId
string
required

The ID of the credential used to reach the asset's data system.

query
string
required

The SQL query to run against the asset.

Response

A CSV export with a header row, capped at 100,000 rows. The Content-Disposition header carries a generated filename built from the resource, an optional entity name, and the time range (or today's date if the request has no time bounds).

The response is of type string.