---
title: "Search inferred DEM journeys"
method: GET
path: "/api/v2/dem/journeys/inferred/search"
tags: ["DEM"]
---

# Search inferred DEM journeys

`GET /api/v2/dem/journeys/inferred/search`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/dem/journeys/inferred/search`
- 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/inferred/search/get.ts> (a function with typed inputs; its response is checked against the schema)

Search for inferred DEM journeys by status. Returns candidates (status=candidate, the default) or ignored journeys (status=ignored). Supports optional fuzzy name filtering and app ID filtering.

## Query parameters

- `status` 'candidate' | 'ignored': The status of an inferred DEM journey.
- `q` string
- `app_id` string

## Response `200`

OK

- DemSearchInferredJourneysResponse: Response body for searching inferred journeys. Contains either candidate or ignored items depending on the `status` query parameter.
  - `data` DemInferredJourneyItem[], required: List of inferred journey items matching the search criteria.
    - union: A single inferred journey item, either a candidate or an ignored journey.
      - DemInferredJourneyCandidateData: Data object for an inferred journey candidate.
        - `attributes` DemInferredJourneyCandidateAttributes, required: Attributes of an inferred journey candidate.
          - `created_at` string, date-time, required: Timestamp when the inferred journey was first observed.
          - `description` string, nullable: An optional description of the inferred 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.
              - …
            - `variants` DemVariant[]: List of variants associated with a DEM journey.
              - …
          - `name` string, required: The name of the inferred journey.
          - `org_id` integer, required: The organization ID that owns this inferred journey.
          - `rank` integer, nullable: Ranking score of the inferred journey candidate.
          - `tags` string[], required: List of tags associated with a DEM resource.
          - `test_suite` DemTestSuiteNested: 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.
          - `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.
              - …
        - `id` string, required: The unique identifier of the inferred journey.
        - `type` 'journeys', required: The type identifier for DEM journeys.
      - DemInferredJourneyIgnoredData: Data object for an ignored inferred journey.
        - `attributes` DemInferredJourneyIgnoredAttributes, required: Attributes of an ignored inferred journey.
          - `created_at` string, date-time, required: Timestamp when the inferred journey was first observed.
          - `description` string, nullable: An optional description of the inferred journey.
          - `ignored_at` string, date-time, required: Timestamp when the inferred journey was ignored.
          - `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.
              - …
            - `variants` DemVariant[]: List of variants associated with a DEM journey.
              - …
          - `name` string, required: The name of the inferred journey.
          - `org_id` integer, required: The organization ID that owns this inferred journey.
          - `tags` string[], required: List of tags associated with a DEM resource.
          - `test_suite` DemTestSuiteNested: 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.
          - `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.
              - …
        - `id` string, required: The unique identifier of the ignored inferred journey.
        - `type` 'journeys', required: The type identifier for DEM journeys.

## Other responses

- `400`: Bad Request
- `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)
