Get project sample metadata

Get project sample metadata

Get metadata for all samples in a project.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/metadata
Path parameters
projectId*integer

Project ID

Query parameters
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

metadata*array of SampleMetadata (object)

Array with all available sample metadata.

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/metadata', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "metadata": [
    {}
  ]
}

Last updated