Skip to main content
GET
/
api
/
captain
/
logs
/
history
Get log history
curl --request GET \
  --url http://localhost:63372/api/captain/logs/history \
  --cookie captain_session=
{
  "lines": [
    "<string>"
  ]
}

Authorizations

captain_session
string
cookie
required

HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.

Query Parameters

n
integer
default:100

Number of recent log lines to return

Response

Recent log lines

lines
string[]
required