Logs
Get a list of the last N log entries, this will ignore the header of the file. The endpoint is limited by the log level set in NINA
GET
/application/logs
curl \
--request GET 'http://localhost:1888/v2/api/application/logs?lineCount=42'
Response examples (200)
{
"Response": [
{
"Timestamp": "2025-05-04T14:57:39.5079",
"Level": "INFO",
"Source": "CameraChooserVM.cs",
"Member": "GetEquipment",
"Line": "279",
"Message": "Found 2 ASCOM Cameras"
}
],
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}