Home
Guides
API Reference
Forum
Search…
Data Ingestion
Ingestion service
New ingestion API
Data acquisition format
Importing CSV data
C SDK Usage Guide
Remote Management
Remote management protocol
Serial protocol
C++ Inference SDK Library
Inferencing SDK
Macros
Structs
Global variables
Functions
Functions to be implemented by user
Edge Impulse API
Edge Impulse API
ApplicationTesting
Auth
CDN
Classify
Classify Job Result
Classify Sample
Deployment
Devices
DSP
Export
Health
Impulse
Jobs
Learn
Login
Optimization
OrganizationBlocks
OrganizationCreateProject
OrganizationData
OrganizationJobs
OrganizationPipelines
OrganizationPortals
Organizations
Projects
Raw data
Themes
ThirdPartyAuth
UploadPortal
User
Websocket API
Powered By
GitBook
Classify Sample
Classify a complete file against the current impulse. This will move the sliding window (dependent on the sliding window length and the sliding window increase parameters in the impulse) over the comp
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/classify/{sampleId}
Classify sample
cURL
Python
Node.js
curl
--request GET
\
--url https://studio.edgeimpulse.com/v1/api/
{
projectId
}
/classify/
{
sampleId
}
\
--header
'x-jwt-token: REPLACE_KEY_VALUE'
import
http
.
client
​
conn
=
http
.
client
.
HTTPSConnection
(
"studio.edgeimpulse.com"
)
​
headers
=
{
'x-jwt-token'
:
"REPLACE_KEY_VALUE"
}
​
conn
.
request
(
"GET"
,
"/v1/api/{projectId}/classify/{sampleId}"
,
headers
=
headers
)
​
res
=
conn
.
getresponse
()
data
=
res
.
read
()
​
print
(
data
.
decode
(
"utf-8"
))
const
request
=
require
(
'request'
);
​
const
options
=
{
method
:
'GET'
,
url
:
'https://studio.edgeimpulse.com/v1/api/{projectId}/classify/{sampleId}'
,
headers
:
{
'x-jwt-token'
:
'REPLACE_KEY_VALUE'
}
};
​
request
(
options
,
function
(
error
,
response
,
body
)
{
if
(
error
)
throw
new
Error
(
error
);
​
console
.
log
(
body
);
});
Previous
Classify Job Result
Next - Edge Impulse API
Deployment
Last modified
1mo ago
Export as PDF
Copy link