GET/orgs/:org/datasets/:dataset/content

List dataset content

Get information about a dataset’s content. The content is returned in batches of maximum 1000 items, sorted alphabetically by the provided IDs when the content was added.

Parameters

URL

Field Type Required Value Description
org string yes

The organisation name.

dataset string yes

The dataset name.

limit string no

The number of items to return. The default value is 1000.

offset string no

The start content index.The default value is 0.

Request

curl -X GET \
     -H "Authorization: token my-org-api-token" \
     -H "Accept: application/vnd.visii.v2+json" \
     "https://api.visii.com/orgs/my-org/datasets/my-dataset/content?limit=10&offset=20"

Response

Field Type Required Value Description
status string yes

The status of the response.

content array of objects yes

The list of content items.

content[].id string yes

The item's ID.

content[].url string yes

The item's URL specified when the item was created.

content[].processed boolean yes

Indicates if the item processing is done.

HTTP/1.1 200 OK
{
  "content": [
    {
      "id": "my-id-1",
      "url": "https://example.com/my-content-1.jpg",
      "processed": true
    },
    {
      "id": "my-id-2",
      "url": "https://example.com/my-content-2.jpg",
      "processed": false
    }
  ],
  "status": "ok"
}