---
title: "Get a DEM journey"
method: GET
path: "/api/v2/dem/journeys/{journey_id}"
tags: ["DEM"]
---

# Get a DEM journey

`GET /api/v2/dem/journeys/{journey_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/dem/journeys/{journey_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/dem/journeys/:journey_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a single DEM journey by its ID.

## Path parameters

- `journey_id` string, required

## Response `200`

OK

- DemJourneyResponse: Response body for a single DEM journey.
  - `data` DemJourneyResponseData, required: Data object in a DEM journey response.
    - `attributes` DemJourneyResponseAttributes, required: Attributes returned in a DEM journey response.
      - `created_at` string, date-time, required: The timestamp when the journey was created.
      - `created_by` DemUser, required: A Datadog user associated with a DEM operation.
        - `email` string, required: The email address of the user.
        - `handle` string, required: The handle of the user.
        - `name` string, required: The display name of the user.
        - `uuid` string, required: The UUID of the user.
      - `description` string, nullable, required: An optional human-readable description of the journey.
      - `journey_rum` DemJourneyRum, required: The RUM definition for a DEM journey.
        - `filter` string: An optional RUM query filter applied to the entire journey.
        - `rum_steps` DemRumStep[], required: List of RUM journey steps.
          - `nodes` DemRumNode[], required: List of RUM nodes within a journey step.
            - `app_id` string: The application ID associated with this node.
            - `id` string: The ID of the RUM node element.
            - `query` string, required: The RUM query for matching this node.
          - `type` 'start' | 'stop' | 'step', required: The type of a RUM journey step.
        - `variants` DemVariant[]: List of variants associated with a DEM journey.
          - `filter` string: An optional RUM query filter to scope this variant.
          - `id` string: The unique identifier of the variant.
          - `name` string, required: The name of the variant.
          - `rum_steps` DemRumStep[], required: List of RUM journey steps.
            - `nodes` DemRumNode[], required: List of RUM nodes within a journey step.
              - …
            - `type` 'start' | 'stop' | 'step', required: The type of a RUM journey step.
      - `name` string, required: The name of the DEM journey.
      - `org_id` integer, required: The organization ID that owns this journey.
      - `tags` string[], required: List of tags associated with a DEM resource.
      - `test_suite` DemTestSuiteNested, required: A test suite associated with a DEM resource.
        - `id` string, required: The ID of the test suite.
        - `name` string, required: The name of the test suite.
      - `updated_at` string, date-time, nullable, required: The timestamp when the journey was last updated.
      - `updated_by` DemUser, required: A Datadog user associated with a DEM operation.
        - `email` string, required: The email address of the user.
        - `handle` string, required: The handle of the user.
        - `name` string, required: The display name of the user.
        - `uuid` string, required: The UUID of the user.
      - `variants` DemVariant[], required: List of variants associated with a DEM journey.
        - `filter` string: An optional RUM query filter to scope this variant.
        - `id` string: The unique identifier of the variant.
        - `name` string, required: The name of the variant.
        - `rum_steps` DemRumStep[], required: List of RUM journey steps.
          - `nodes` DemRumNode[], required: List of RUM nodes within a journey step.
            - `app_id` string: The application ID associated with this node.
            - `id` string: The ID of the RUM node element.
            - `query` string, required: The RUM query for matching this node.
          - `type` 'start' | 'stop' | 'step', required: The type of a RUM journey step.
    - `id` string, required: The unique identifier of the DEM journey.
    - `type` 'journeys', required: The type identifier for DEM journeys.

## Other responses

- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
