Datasets API

Preview 100 rows from a dataset

POST /api/datasets/:dataset_id/previews

Parameters

Name Description
dataset_id Table / View ID
check_id A client-generated identifier which can be used to cancel this preview later

Request

Headers

Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: _session_id=dGUrR3Z0eFFBcXJJRWVNalFhS1AyMjQwOWY2R3RGNEdwTkV0K0lUWThNeEpSYU00d2tUOHc0T0E4QndNUGw3aDY5N056TFBYSXBUSnhvaDQ3YW1hc1BwN0F2S1NxWWp5VHMrSXNvempGQWtoREZtNmFJTndHNS9OZHl4a29naHhuUzkvQkFPRFdQNzY3ZFh2cjdMTmg2N3FCWmZmN1AxNFdPdWtSWWU0REZyMmdpRG8zZE1mYnowMklHeXpNZ3M3VDd1eUdDd212RDNITTM5MC95N2lFeWtjbUJPSmN5elRuZDV4NGY2bnBsK3JZaktFd1MrWTI0NXQwUHFiNVBxQlpxcm9EcWhubEVqa1lqNVpKREhxK0tXcUNlcGlKOWptdnU1Y1Z2T21tOHpuV3RDSGNTSTREZ3BIWC92VE5xRTN4Rk9tYTZrZVFFNysrN0lEaktpa0s3ejNDRjFVSVBWZWdGMXBkeDBDTWVPVkhMb0RmKys3YVRXZTA5eGg5WElaN2JVSU1RanBjanAxVStwelFTNGt6bTVNdG1lVXFNRjBKU1pDUE92SDlKST0tLU1oUktRdzlFcGdwZ2R5RVArQVlKbUE9PQ%3D%3D--1c922390774d5efa097e8f77a7e9051d73a6af89

Route

POST /api/datasets/1000005/previews

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"213e4c3afc30e85cabf6eabd67ec8f49"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=WVZTM2tZM0ZzMldOTGxadjR1YW5xSFVPZXIvVzZEei94LzJSMU5YTG85M2ltckJZSkZpZitVbEtBSkxxU1hacCthVUtmSWJFNXVkTGVLK2tqZFMyZHQ4MVF6YVRGRk5PRHpNQXNtcFhNQThPSUN3NTI0U2E3QllQMmdKTzFKNnBadlRwWEZhWUxDN1R3UHhuZzJHcC9BbHFONEFoVTJnMXVHNHdxRWMzYWpHOFRzcStFMmNldG82VEtmOVRnSkd3d3YzOWIyVklNa2lwWklVUWdEUHRzQUQ0WjdkTDltOTlpMFFrWlZobVl4RTlXRzhrejFLVTd6b2taTXBSTVBsQXR0R0RJc0R1Z1NtdHg5S1Y3bFkwWEJyUlQ0dHRNYzV4MUF6T2VqcXNLTmVzakZud3JEMWZPMFc4YXUrT051cVlMaTkwa3dHcklYbEpCaFlrQkoyU3VVSTUyRllCYmhBZVpBc2ZrRUJGWTBZRCswZzdVT21sazFqZWh5UlZCcHNNVENLdjlWY00ya1A3VXRnKzF4eXNJMkRlbFNPaUtXZlpDaStFUVRpRmt0ZGRMZkRTckpKTElpeG9yekgzUnp2cS0tMnRVZmpPcWFDcFh5d050ZmVXQkRsUT09--0ce41bdb0ddcf1885e60fb6bff6e1798c06d12cb; path=/; HttpOnly
X-Request-Id: 5c76b9c7-bce6-4da3-bab1-bebbee411a32
X-Runtime: 0.028075
Content-Length: 406

Status

201 Created

Body