cURL
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" }
Preview files and directories in a default dataset for the given prefix, with support for wildcards. This is an internal API used when starting a transformation job.
Organization ID
Dataset name
OK
The response is of type object.
object