Skip to main content
GET
/
device
/
debug
/
info
Retrieve Debug Information
curl --request GET \
  --url https://api.getmelody.io/device/debug/info \
  --header 'Authorization: Bearer <token>'
{
  "free_heap_size": 100000,
  "external_flash_size": 100000,
  "debug_logging_enabled": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.getmelody.io/llms.txt

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

Authorizations

Authorization
string
header
required

Device Token for SDK operations. Obtain via: GET /api/haptics/device/device_token Format: {device_id}-{1|2}-{random} Note: ApiToken (from POST /device/otp/confirm) can also be used for most SDK endpoints.

Response

200 - application/json

OK

The debug information of the device.

free_heap_size
number

The free heap size of the device in bytes.

Example:

100000

external_flash_size
number

The external flash size of the device in bytes.

Example:

100000

debug_logging_enabled
boolean

Whether debug logging is currently enabled on the device. When true, the device emits DEBUG_LOG frames (frame type 21) over the WebSocket containing a DebugLogMessage { message: string } protobuf payload.

Example:

false