curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/socket-token \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"token": {
"socketToken": "<string>",
"expires": "2023-11-07T05:31:56Z"
}
}
Get a token to authenticate with the web socket interface.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/socket-token \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"token": {
"socketToken": "<string>",
"expires": "2023-11-07T05:31:56Z"
}
}
Project ID
OK
The response is of type object
.