Skip to main content
GET
/
data
/
{username}
/
{namespace}
/
{datasetName}
Get dataset information
curl --request GET \
  --url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName} \
  --header 'Authorization: Bearer <token>'
{
  "dataset": {
    "name": "<string>",
    "namespace": "<string>",
    "nameWithNamespace": "<string>",
    "owner": "<string>",
    "user": "<string>",
    "visibility": "Public"
  },
  "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"
  },
  "metadata": {
    "columnNames": [
      "id",
      "name",
      "age",
      "department",
      "salary"
    ],
    "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"
    },
    "rowCount": 1250
  }
}

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.

username
string
required

The username associated with the request.

Response

Successful return dataset information

dataset
object
required
metadata
object
required
inferDefinition
object

This field is deprecated and will be removed in a future version. Please use metadata.inferDefinition instead.

I