---
title: "Return the journey bundle information"
method: GET
path: "/entities/journey_bundles/{journeyBundleId}"
tags: ["Journeys"]
---

# Return the journey bundle information

`GET /entities/journey_bundles/{journeyBundleId}`

Return the journey bundle information which contains the list of journey versions

## Path parameters

- `journeyBundleId` integer, required

## Response `200`

Returns the list of the journeys

- PartialJourneyYamlEntitiesJourneyBundleJsonApiResponse
  - `name` string — Name of the journey bundle
  - `description` string — Description of the journey bundle
  - `latestJourneyId` unknown
  - `lastVersionNumber` integer — The version number of the most recently created journey. If no journey has been created, this will be 0.
  - `journeys` JourneyJsonApiResource[]
    - `id` string, required
    - `type` 'journey', required
    - `attributes` object, required
      - `audienceId` string, required
      - `name` string, required
      - `description` string, nullable, required
      - `state` 'draft' | 'simulation' | 'launched', required
      - `goal` JourneyCriteria, nullable, required
        - `name` string, required
        - `description` string
        - `segmentId` string, required
        - `target` JourneyJumpTarget
          - `journeyId` string, required — ID of an existing journey to jump to.
          - `journeyStageId` string, required — ID of an existing stage within the target journey to jump to.
          - `journeyBundleId` string, nullable
          - `stageOrderIndex` integer, nullable
          - `jumpReferenceId` string, nullable — The reference id of the jump target. This is used to identify the jump entity in the included field.
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `launchedAt` string, date-time, nullable, required
      - `journeyStages` JourneyStageJsonApiResource[], required
        - `id` string — Server-generated. Omit when creating a stage; supply to target an existing stage when updating.
        - `name` string, required
        - `description` string
        - `steps` JourneyStep, nullable
          - `uuid` union
            - union
              - …
            - JourneyActivationStep
              - …
            - JourneyDecisionPointStep
              - …
            - JourneyMergeStep
              - …
            - JourneyJumpStep
              - …
            - JourneyEndStep, nullable
              - …
            - JourneyAbTestStep
              - …
        - `rootStep` string
        - `entryCriteria` JourneyCriteria, nullable
          - `name` string, required
          - `description` string
          - `segmentId` string, required
          - `target` JourneyJumpTarget
            - `journeyId` string, required — ID of an existing journey to jump to.
            - `journeyStageId` string, required — ID of an existing stage within the target journey to jump to.
            - `journeyBundleId` string, nullable
            - `stageOrderIndex` integer, nullable
            - `jumpReferenceId` string, nullable — The reference id of the jump target. This is used to identify the jump entity in the included field.
        - `milestone` JourneyCriteria, nullable
          - `name` string, required
          - `description` string
          - `segmentId` string, required
          - `target` JourneyJumpTarget
            - `journeyId` string, required — ID of an existing journey to jump to.
            - `journeyStageId` string, required — ID of an existing stage within the target journey to jump to.
            - `journeyBundleId` string, nullable
            - `stageOrderIndex` integer, nullable
            - `jumpReferenceId` string, nullable — The reference id of the jump target. This is used to identify the jump entity in the included field.
        - `exitCriterias` JourneyCriteria[]
          - `name` string, required
          - `description` string
          - `segmentId` string, required
          - `target` JourneyJumpTarget
            - `journeyId` string, required — ID of an existing journey to jump to.
            - `journeyStageId` string, required — ID of an existing stage within the target journey to jump to.
            - `journeyBundleId` string, nullable
            - `stageOrderIndex` integer, nullable
            - `jumpReferenceId` string, nullable — The reference id of the jump target. This is used to identify the jump entity in the included field.
      - `paused` boolean, required
      - `pausedAt` string, date-time, nullable, required
      - `allowReentry` boolean, required
      - `reentryMode` 'no_reentry' | 'reentry_unless_goal_achieved' | 'reentry_always'
      - `journeyBundleId` string, nullable
      - `journeyBundleName` string, nullable
      - `versionNumber` integer
      - `journeyBundleDescription` string, nullable
      - `latestExecution` Execution
        - `workflowId` string, required
        - `workflowSessionId` string, required
        - `createdAt` string, date-time, required
        - `finishedAt` string, date-time, nullable, required
        - `status` 'success' | 'canceled' | 'error' | 'canceling' | 'blocked' | 'queued' | 'running', required
        - `workflowAttemptId` string, required
    - `relationships` object, required
      - `parentFolder` RelationshipsFolderJsonApiResource
        - `data` object
          - `id` string, required
          - `type` 'folder-segment', required
      - `createdBy` RelationshipsUserJsonApiResource
        - `data` object, nullable
          - `id` string, required
          - `type` 'user', required
      - `updatedBy` RelationshipsUserJsonApiResource
        - `data` object, nullable
          - `id` string, required
          - `type` 'user', required
  - `latestExecution` Execution
    - `workflowId` string, required
    - `workflowSessionId` string, required
    - `createdAt` string, date-time, required
    - `finishedAt` string, date-time, nullable, required
    - `status` 'success' | 'canceled' | 'error' | 'canceling' | 'blocked' | 'queued' | 'running', required
    - `workflowAttemptId` string, required
  - `parentSegmentLatestExecution` object — The most recent execution of the latest journey. If no executions have been created, this will be null.
    - `workflowId` string, required
    - `workflowSessionId` string, required
    - `createdAt` string, date-time, required
    - `finishedAt` string, date-time, nullable, required
    - `status` 'success' | 'canceled' | 'error' | 'canceling' | 'blocked' | 'queued' | 'running', required
    - `workflowAttemptId` string, required
    - `audienceId` string, integer
  - `included` union[]
    - union
      - UserJsonApiResource
        - `id` string, required
        - `type` 'user', required
        - `attributes` object, required
          - `tdUserId` string, required
          - `name` string, required
      - JourneyJsonApiResource
        - `id` string, required
        - `type` 'journey', required
        - `attributes` object, required
          - `audienceId` string, required
          - `name` string, required
          - `description` string, nullable, required
          - `state` 'draft' | 'simulation' | 'launched', required
          - `goal` JourneyCriteria, nullable, required
            - `name` string, required
            - `description` string
            - `segmentId` string, required
            - `target` JourneyJumpTarget
              - …
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `launchedAt` string, date-time, nullable, required
          - `journeyStages` JourneyStageJsonApiResource[], required
            - `id` string — Server-generated. Omit when creating a stage; supply to target an existing stage when updating.
            - `name` string, required
            - `description` string
            - `steps` JourneyStep, nullable
              - …
            - `rootStep` string
            - `entryCriteria` JourneyCriteria, nullable
              - …
            - `milestone` JourneyCriteria, nullable
              - …
            - `exitCriterias` JourneyCriteria[]
              - …
          - `paused` boolean, required
          - `pausedAt` string, date-time, nullable, required
          - `allowReentry` boolean, required
          - `reentryMode` 'no_reentry' | 'reentry_unless_goal_achieved' | 'reentry_always'
          - `journeyBundleId` string, nullable
          - `journeyBundleName` string, nullable
          - `versionNumber` integer
          - `journeyBundleDescription` string, nullable
          - `latestExecution` Execution
            - `workflowId` string, required
            - `workflowSessionId` string, required
            - `createdAt` string, date-time, required
            - `finishedAt` string, date-time, nullable, required
            - `status` 'success' | 'canceled' | 'error' | 'canceling' | 'blocked' | 'queued' | 'running', required
            - `workflowAttemptId` string, required
        - `relationships` object, required
          - `parentFolder` RelationshipsFolderJsonApiResource
            - `data` object
              - …
          - `createdBy` RelationshipsUserJsonApiResource
            - `data` object, nullable
              - …
          - `updatedBy` RelationshipsUserJsonApiResource
            - `data` object, nullable
              - …

---

[API](https://skmtc.net/treasure/apis/cdp-api.md) · [All operations](https://skmtc.net/treasure/apis/cdp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/cdp-api/revisions/24caa8eb809b/schema)
