curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/apikeys \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"apiKeys": [
{
"id": 123,
"apiKey": "<string>",
"isDevelopmentKey": true,
"name": "<string>",
"created": "2023-11-07T05:31:56Z",
"role": "admin"
}
]
}
Retrieve all API keys. This does not return the full API key, but only a portion (for security purposes). The development key will be returned in full, as it’ll be set in devices and is thus not private.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/apikeys \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"apiKeys": [
{
"id": 123,
"apiKey": "<string>",
"isDevelopmentKey": true,
"name": "<string>",
"created": "2023-11-07T05:31:56Z",
"role": "admin"
}
]
}
Project ID
OK
The response is of type object
.