POST
/
ingest
/
new
/
{namespace}
/
{datasetName}
Create new dataset
curl --request POST \
  --url https://api.datalinks.com/api/v1/ingest/new/{namespace}/{datasetName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inferDefinition": {
    "dataDescription": "<string>",
    "fieldDefinition": "<string>"
  },
  "isPrivate": true,
  "visibility": "Private"
}'
This response does not have an example.
The API endpoint allows you to create a dataset under your account. It is required to create a dataset before uploading any data to it.

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

namespace
string
required

Namespace for the dataset.

datasetName
string
required

Name of the dataset.

Body

application/json

Response

201

Dataset created successfully.