Skip to main content
GET
/
api
/
workspaces
/
{id}
/
logs
Fetch structured logs from a workspace.
curl --request GET \
  --url https://api.rigbox.dev/api/workspaces/{id}/logs \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "lines": [
    {
      "line_number": 1,
      "message": "<string>",
      "timestamp": "<string>"
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Workspace ID

Response

200 - application/json

Workspace logs

has_more
boolean
required
lines
object[]
required
cursor
string | null