POST
/
api
/
organizations
/
{organizationId}
/
dataset
/
{dataset}
/
files
/
preview
Preview files in a default dataset
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dataset/{dataset}/files/preview \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "prefix": "<string>",
  "itemsToList": "files"
}'
{
  "success": true,
  "error": "<string>",
  "files": [
    {
      "name": "<string>",
      "addedDate": "2019-07-21T17:32:28Z",
      "size": 123,
      "ETag": "<string>",
      "path": "<string>",
      "type": "folder"
    }
  ],
  "isTruncated": true,
  "truncationReason": "too-many-results"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

dataset
string
required

Dataset name

Body

application/json

Response

200 - application/json

OK

The response is of type object.