Skip to main content
POST
/
infer
/
description
Infer dataset description
curl --request POST \
  --url https://api.datalinks.com/api/v1/infer/description \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sample": [
    {}
  ],
  "model": "<string>",
  "provider": "<string>",
  "currentValue": {
    "description": "<string>",
    "schema": {}
  }
}
'
{
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
sample
object[]
required

Array of ontology data objects retrieved from queries.

model
string

The inference model to use.

provider
string

Provider offering the model.

currentValue
object

Response

Returns an inferred description.

Wrapper object containing the inferred description.

description
string
required

The inferred description text.