---
title: "Validate Selector"
method: POST
path: "/v1/journeys/validate-selector"
tags: ["journeys"]
---

# Validate Selector

`POST /v1/journeys/validate-selector`

## Request

- Base URL: `https://api.cybret.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cybret.ai/v1/journeys/validate-selector`
- Auth: HTTP bearer

## Request body

- ValidateSelectorRequest
  - `selector` string, required

## Response `200`

Successful Response

- SelectorValidationResponse
  - `selector` string, required
  - `valid` boolean, required
  - `reason` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cybret/apis/api-scanner-control-plane.md) · [All operations](https://skmtc.dev/cybret/apis/api-scanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/cybret/apis/api-scanner-control-plane/revisions/4c9b522246af?raw)
