POST
/
data
/
{username}
/
{namespace}
/
{datasetName}
/
query
Query data
curl --request POST \
  --url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName}/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "",
  "useNaturalLanguageQuery": false,
  "model": "<string>",
  "provider": "<string>"
}'
[
  {}
]

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.

Body

application/json

Response

200
application/json

Successful response with the ontology data object.

The response is of type object[].