Upload
Upload Trace
Import a new Trace for a given Project.
Requires Memfault-Project-Key header authentication.
The request body is a JSON object describing the trace. Key fields include:
| Field | Type | Description |
|---|---|---|
| device_serial | String | Required. The device serial number. |
| hardware_version | String | Required. Hardware version of the device. |
| software_version | String | Required. Software version running on the device. |
| software_type | String | Required. Software type. |
| reason | String | Reason for the trace (e.g. Assert, HardFault). |
| captured_date | String | ISO 8601 timestamp when the trace was captured. |
| processes | Array | List of process objects (each with pid, name, threads). |
| threads | Array | List of thread objects with registers and stackframes. |
Each stackframe may include frame_type, map_build_id, map_name, relative_address, abs_address, function, file, lineno.
Return Value
Returns 202 - Accepted. The trace is processed asynchronously.
post/api/v0/upload/trace-import
Request
- Base URLhttps://api.memfault.com
- Auth
- HTTP basic
- or HTTP bearer
Headers
Memfault-Project-Keystring required
Response
Accepted
Changes
No recorded changes to this operation across all 1 revision of this API.