Skip to main content

List Journey Logs

Endpoint

/o/journey-enginge/journey-logs/list

Enterprise Only
This API is available exclusively in Countly Enterprise.

Overview

Returns journey execution log entries. Use the endpoint path exactly as shown.

Authentication

  • Authentication methods:
    • API Key (parameter): api_key=YOUR_API_KEY
    • Auth Token (parameter): auth_token=YOUR_AUTH_TOKEN
    • Auth Token (header): countly-token: YOUR_AUTH_TOKEN

Permissions

  • Read on journey_engine feature is required.
  • Additional runtime restriction: requester must be global admin.

Request Parameters

ParameterTypeRequiredDescription
api_keyStringYes (or auth_token)API key authentication
auth_tokenStringYes (or api_key)Auth token authentication
app_idStringYesApplication identifier
journeyInstanceIdStringNoFilter by journey instance ID
journeyDefinitionIdStringNoFilter by journey definition ID
statusStringNoFilter by status
startTimeStringNoLower bound for log time filter
endTimeStringNoUpper bound for log time filter

Response

Success Response

[
{
"_id": "67164f4a1f1bd90d635443aa",
"journeyInstanceId": "67164f4a1f1bd90d635443aa",
"journeyDefinitionId": "67164f4a1f1bd90d6354430a",
"status": "completed",
"time": "2024-01-01T11:30:00.000Z"
}
]

Response Fields

FieldTypeDescription
[]ArrayJourney log entries
[].journeyInstanceIdStringJourney instance ID
[].journeyDefinitionIdStringJourney definition ID
[].statusStringLog status
[].timeStringLog timestamp

Error Responses

HTTP StatusResponse
401{ "result": "User is not authorized to access this resource" }

Behavior/Processing

  1. Validates read access.
  2. Enforces global admin access.
  3. Builds filters from optional query params.
  4. Returns logs sorted by newest first.

Database Collections

CollectionUsed forData touched by this endpoint
countly.journey_logsEndpoint data source** - Source of journey log entries

Examples

https://your-server.com/o/journey-enginge/journey-logs/list?api_key=YOUR_API_KEY&app_id=64afe321d5f9b2f77cb2c8ed&journeyDefinitionId=67164f4a1f1bd90d6354430a&status=completed


Ⓔ Enterprise

This feature is part of Countly Enterprise.

Get Access:

Already a Customer? Use support portal if you have any questions


Last Updated

2026-02-16