Skip to main content
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": "Employee dataset containing demographics and compensation.",
    "fieldDefinition": "id=unique employee identifier\nname=full employee name\nage=employee age in years\ndepartment=work department\nsalary=annual salary in USD\n"
  },
  "isPrivate": true,
  "visibility": "Private"
}'
This response does not have an example.

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
inferDefinition
object
isPrivate
boolean
deprecated

Sets the privacy status of the dataset. Set it to true for private datasets.

Example:

true

visibility
enum<string>
Available options:
Public,
Private
Example:

"Private"

Response

Dataset created successfully.

I