# List datasets

Get a list of all datasets owned by the organisation.

# Input

Endpoint

GET /orgs/:organisation/datasets

Field Type Required Value Description
organisation String yes The organisation name

# 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"

# Response

Field Type Value Description
status String The status of the response
datasets Object The list of datasets owned by the organisation
datasets.$.name String The name of the dataset
datasets.$.status String The current status of the dataset. Possible values are pending and published.
datasets.$.dataset_url String The URL for the resource representing the dataset
HTTP/1.1 200 OK
{
  "datasets": [
    {
      "name": "my-first-dataset",
      "status": "published",
      "dataset_url": "https://api.visii.com/orgs/my-org/datasets/my-first-dataset"
    },
    {
      "name": "my-second-dataset",
      "status": "pending",
      "dataset_url": "https://api.visii.com/orgs/my-org/datasets/my-second-dataset"
    }
  ],
  "status": "ok"
}
Last Updated: 2/7/2020, 11:17:32 AM