# 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.
View content details in Vision API
If you need to know the content's metadata, use the Vision API content details endpoint.
# Input
Endpoint
GET /orgs/:organisation/datasets/:dataset/content
Field | Type | Required | Value Description |
---|---|---|---|
organisation | 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 | Value Description |
---|---|---|
status | String | The status of the response |
content | Object | The list of content items |
content.$.id | String | The item's ID |
content.$.url | String | The item's image URL specified when the item was created |
content.$.processed | Boolean | 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"
}