---
title: "Get step ids for given flows of a tes"
method: GET
path: "/test/journey/{journey_invariant_id}/stepIdsByFlow"
tags: ["Test"]
---

# Get step ids for given flows of a tes

`GET /test/journey/{journey_invariant_id}/stepIdsByFlow`

Get step ids for given flows

## Path parameters

- `journey_invariant_id` string, required

## Query parameters

- `flow_variant_ids` string[], required

## Response `200`

The step ids for the Test's given flows

- FlowStepIds[]
  - `flowInvariantId` string — The flow invariant id
  - `flowId` string — The flow variant id
  - `flowSourceIndexInTest` integer — The index of the flow within a test if relevant
  - `flowReusable` boolean — Boolean for if the flow is reusable
  - `flowType` string — The type of flow
  - `stepIdsInFlow` string[] — The step ids for the flow (hashing info about the step with flowInvariantId)
  - `stepIdsInJourney` string[] — The step ids for the flow within a test if relevant (hashing stepIdInFlow with testInvariantId and flowSourceIndexInTest)

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Test not found
- `default` — Unknown error

---

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