Data -- Internal Tables

Get Sample CSV

Returns a downloadable sample CSV file for the specified internal table in a project.

This CSV sample contains a few rows of mock or representative data from the table's schema. It helps users understand the structure of the table and prepare matching CSV files for import.

Response

  • Content-Type: text/csv
  • Disposition: Attachment (sample.csv)
  • The first row contains column headers.
  • The following rows contain example values for each column.

Example Output

text,num19,numcol,decimalcol
"sample text",1176,1044,77.3711303273
"sample text",9354,7923,96.6658831270
"sample text",7658,8750,30.3928941706

This sample can be used as a template when preparing files to upload using the /import endpoint.

get/data/projects/{projectId}/table/{tableName}/sample

Request

  • Base URL: https://partner.peaka.studio/api/v1
  • URL: https://partner.peaka.studio/api/v1/data/projects/{projectId}/table/{tableName}/sample
  • Auth: HTTP bearer

Path parameters

projectIdstring required

ID of the Project

tableNamestring required

Name of the table

Response

Sample CSV returned successfully

Changes

No recorded changes to this operation across all 1 revision of this API.