Skip to main content
GET
/
api
/
user
/
subscription
/
metrics
Get user billable compute metrics
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/user/subscription/metrics \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "error": "<string>",
  "metrics": {
    "computeMinutesCpu": 123,
    "computeMinutesGpu": 123,
    "computeMinutesTotal": 123,
    "computeMinutesLimit": 123,
    "computeResetDate": "2023-11-07T05:31:56Z"
  },
  "approachingComputeLimitMinutesLeft": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.nordic.edgeimpulse.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

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

metrics
object
approachingComputeLimitMinutesLeft
number

Number of compute minutes remaining before reaching the monthly compute limit. This field is only present when the user has fewer than 60 minutes left. Once the limit is reached, users can continue using compute resources by subscribing to the pay-as-you-go plan.