Download device logs as CSV

Downloads the device's log lines for a period as a CSV file with columns timestamp (UTC, ISO 8601) and message.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Permission: View permission on the device.

Response Content-Type: text/csv, Content-Disposition: attachment; filename="<serial>_logs_<from YYYY-MM-DD-HH-mm-ss>.csv". At most 5,000 lines per file (with sorting=desc, the newest 5,000): narrow the period to get older lines. Other 400 messages: Invalid from datetime, Missing to datetime, Invalid to datetime, Invalid sorting parameter, must be asc or desc.

Path Params
string
required

Device id

Query Params
string
required

Start of the period

string
required

End of the period

string

Only lines containing this text (case-sensitive substring match)

string
Defaults to desc

Order by timestamp Allowed: asc, desc.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json