---
title: "Re-extract selectors and update flow if necessary"
method: POST
path: "/flows/{id}/selectors"
tags: ["Flow"]
---

# Re-extract selectors and update flow if necessary

`POST /flows/{id}/selectors`

Used to fix a flow whose selectors may not have been extracted correctly on the last save

## Path parameters

- `id` string, required

## Query parameters

- `dry_run` boolean
- `branch` string

## Response `209`

Selector re-extraction was successful

- ReextractSelectorsResponse
  - `modified` boolean, required — True if the flow was modified as a result of re-extracting the flow's selectors'

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Flow 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)
