Skip to main content
GET
/
api
/
apps
/
{id}
/
logs
Fetch logs for an app.
curl --request GET \
  --url https://api.rigbox.dev/api/apps/{id}/logs \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "lines": [
    {
      "line_number": 1,
      "message": "<string>",
      "timestamp": "<string>"
    }
  ],
  "source": {
    "app_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "is_primary": true,
    "source_ref": "<string>",
    "source_type": "systemd_unit",
    "updated_at": "2023-11-07T05:31:56Z",
    "display_name": "<string>"
  },
  "cursor": "<string>",
  "total_lines": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

App ID

Response

200 - application/json

App logs

has_more
boolean
required
lines
object[]
required
source
object
required
cursor
string | null
total_lines
integer<int32> | null
Required range: x >= 0