cURL
curl --request POST \ --url https://api.example.com/api/datasets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'dataset_name=<string>' \ --form dataset_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \ --form 'description=<string>' \ --form 'table_name=<string>' \ --form overrides=false
{ "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dataset_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "<string>" }
Create dataset/version and ingest a single multipart file synchronously.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Unified response: dataset_id always; version/job/status when ingested.
Was this page helpful?