Datasets API

Download a dataset as CSV file

GET /api/datasets/:dataset_id/download

Parameters

Name Description
dataset_id The id of a dataset
row_limit Number of rows to download (optional)

Request

Headers

Host: example.org
Cookie: _session_id=T29CMEJxSkoxVGhSNm9EbElUdnlDbEN1SU5ORHU2MStzekdIZDBHclVCd3ZFQVlTNzkybW9KcVMwSVFlKzQvaWlka3VtcWZUWHFybGFNSHlNbjBURitOTDJjcVJkTjZDYkVGSEpiM2x3b3hBb3hRbGJrVHY3SXpaMHRyaE9vR2kyYUk1d1BtMzNEQ3lSYWdVaU52SitTWk04ZHJqTlFKdEx0cTRaanlqRGdMeGVQanlBNm02M1JYOWxwSGEwamp0THQzWmNiaHBoRDg4TjBHWTRhSEdlYjViUTdYZnNFZlpEejdrSCs0ejE4M2JkK2Q0aHFvWDlJVHduMHdUNnRlMmxqR0tCLzVjLzR3TlIxdmVQR3lJSk1MQWlPd2J2TkpybUNDRVpkVkE4M0ZUbUpERkNkeVZmTjdrU0UrY0ZhZWorbnlPcEZudmNNNXc2RktEWS9oaC9FTDgwcmh5SndPaUZnaTNwQ2R0clBSODhmSnE4c05BMzBJM05Ob1l0aERCVFZqdTFYMURiRWRGUFFqMmdTVHNpeUMvSVNtZGlNNkhaMnNlRG85eWFITT0tLW1DYXc4a0dTcmpZZ1JOdFNuZHM4L3c9PQ%3D%3D--3e12cceacde6f54dfeac3b355273ed675fc00c2a

Route

GET /api/datasets/1000005/download?row_limit=100

Query Parameters

row_limit: 100

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Disposition: attachment; filename="default_table.csv"
Cache-Control: no-cache
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
Set-Cookie: _session_id=OUthM0U1Y2RjcUtHeEJpR2FYTEphREYxRjJTYll6ZlN5NC9BNWlGUE85b3F3dTNYU08vM2pnMU41VlJDRC9lUzZIMzRXTWtpUTZ3dmFPYU5tTk5KMTJiajR0Wnc1MU9oV0IxSGRWbWN2T0h4NDhiKy82WGF6UTRzK0FLUWJWTE5NQmJZTk5uV0Z5N1RURXhkcGhXVVVGeFVnaTVmUXpSSFR4cWo2T3Z4NFBUNE9JYk1QR1R6amJWTTI3QzVWa2VLQlQwaENTSWJ5NzR0dVpQbHZuQ3VYYy95WC9HMXRFS01rTmw1YkFya3l6Q2o5NlR6MS9XSlZRU1A3SzZXbjY0VlptMmdTTFZWaVFraHZaMTFRQVFsM0ZORVRlRXc0RGY4ekJhR0RXN1VYTzJGNzRQVlMyai9aMkJaMkVXZXR5UzNwZW5ndlhDMTRqMUJlTDE1bC9WRGtSQ3BJVjdvSGhMQVZVNzRaZ3V5bXd1MmZMR29GUXZPLzFoNVJIUzcyYWp5NUFXY0l3dEtVWi9mcjJvdVI4b2E3ZExaOTN4dVNxaFRWWWxZcUVTZStmaUNNMTkyUVRRYkc5ODdDdzZWYnFHUi0tRmYyY0FWUkN3bEo3MHgrQ2EzUEdtdz09--123aeca8d35417c8cc014a8dfbae17aff675056d; path=/; HttpOnly
X-Request-Id: bb89ca84-c79a-4153-9c2f-8f5c12d8e0db
X-Runtime: 0.068706

Status

200 OK

Body