Skip to Content
Docs

Get logs

GET
/logs

Authorization

jwt
headerAuthorizationBearer <JWT>

Query Parameters

includeTotal?boolean
pageSize?number
pageToken?string

Header Parameters

x-org-id*string

Response Body

application/json
  1. response
items*array<>
nextPageToken?string
totalCount?integer
Example Request
curl -X GET 'https://logs.your-tenant-id.my.contextual.io/api/v1/logs' \  -H 'x-org-id: string'
Example Response
{  "items": [    {      "id": "string",      "level": "fatal",      "type": "string",      "message": null,      "createdAt": "2026-11-15T21:30:33.147Z",      "source": "string",      "sessionId": "string",      "correlationId": "string",      "kind": "trigger",      "subKind": "string",      "typeId": "string",      "instanceId": "string",      "_metaData": {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    }  ],  "nextPageToken": "string",  "totalCount": 0}