Skip to main content
POST
/
datasets
/
{dataset_id}
/
request-sample
Request Dataset Sample
curl --request POST \
  --url https://api-dev.narrative.io/datasets/{dataset_id}/request-sample \
  --header 'Authorization: Bearer <token>'
{
  "job_id": "a81e1460-fbdc-4204-bd76-a9e496bf760d"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
integer
required

Unique identifier for a dataset.

Response

200 - application/json

OK

job_id
string<uuid>
required

The id of the job that has been enqueued.