DEM

Batch get DEM journeys by test suite IDs

Return DEM journeys associated with multiple given test suite IDs.

post/api/v2/dem/journeys/suites/batch

Request

Request body

Example request

{
  "data": {
    "attributes": {
      "test_suite_ids": [
        "suite-abc123",
        "suite-def456"
      ]
    },
    "type": "batch_get_journeys_by_test_suite_ids_request"
  }
}

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "created_at": "2024-01-15T10:30:00Z",
        "created_by": {
          "email": "jane.doe@example.com",
          "handle": "jane.doe",
          "name": "Jane Doe",
          "uuid": "00000000-0000-0000-0000-000000000001"
        },
        "description": "Tracks the user checkout flow from cart to confirmation.",
        "journey_rum": {
          "filter": "env:prod",
          "rum_steps": [
            {
              "nodes": [
                {
                  "query": "action.name:'checkout'"
                }
              ],
              "type": "start"
            },
            {
              "nodes": [
                {
                  "query": "action.name:'confirmation'"
                }
              ],
              "type": "stop"
            }
          ],
          "variants": [
            {
              "name": "Mobile checkout",
              "rum_steps": [
                {
                  "nodes": [
                    {
                      "query": "action.name:'checkout'"
                    }
                  ],
                  "type": "start"
                },
                {
                  "nodes": [
                    {
                      "query": "action.name:'confirmation'"
                    }
                  ],
                  "type": "stop"
                }
              ]
            }
          ]
        },
        "name": "Checkout Flow",
        "org_id": 12345,
        "tags": [
          "team:synthetics",
          "env:prod"
        ],
        "test_suite": {
          "id": "suite-abc123",
          "name": "My Journey Suite"
        },
        "updated_at": "2024-01-16T08:00:00Z",
        "updated_by": {
          "email": "jane.doe@example.com",
          "handle": "jane.doe",
          "name": "Jane Doe",
          "uuid": "00000000-0000-0000-0000-000000000001"
        },
        "variants": [
          {
            "name": "Mobile checkout",
            "rum_steps": [
              {
                "nodes": [
                  {
                    "query": "action.name:'checkout'"
                  }
                ],
                "type": "start"
              },
              {
                "nodes": [
                  {
                    "query": "action.name:'confirmation'"
                  }
                ],
                "type": "stop"
              }
            ]
          }
        ]
      },
      "id": "journey-abc123",
      "type": "journeys"
    }
  ]
}

Changes

Changes to this operation have not been checked yet.