Skip to content

Get action logs

Request

GET /v3/web-journeys/{webJourneyId}/runs/{runId}/actions/{actionSequenceId}/logs

Retrieve console logs generated during an action execution

Security
API_Key
Path
webJourneyIdinteger, (int64)required

Unique identification number for web journey item

Example:107239
runIdinteger, (int64)required

The ID of the web journey run

Example:12345
actionSequenceIdinteger, (int64)required

The sequence ID of the action

Example:1
GET
/v3/web-journeys/{webJourneyId}/runs/{runId}/actions/{actionSequenceId}/logs
curl -i -X GET \
  https://api.observepoint.com/v3/web-journeys/107239/runs/12345/actions/1/logs \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Action logs retrieved successfully

Bodyapplication/json
Array [
messagestring

The console message

countinteger, >= 1

The number of times this exact console message was encountered in the given context

levelstring

The console log level

Enum:"SEVERE""WARNING""INFO""FINE"
timestampinteger, (int64)

Timestamp when the log occurred

sourcestring

The file that triggered the console log, if it can be determined

]
Response
[ { "message": "string", "count": 1, "level": "SEVERE", "timestamp": 0, "source": "string" } ]