---
title: "Vérifier un brouillon (sans rien écrire)"
method: POST
path: "/api/v1/flows/{flow_id}/check"
---

# Vérifier un brouillon (sans rien écrire)

`POST /api/v1/flows/{flow_id}/check`

## Request

- Base URL: `https://api.yesrelay.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yesrelay.com/api/v1/flows/{flow_id}/check`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Relay-Key`

Renvoie ce qui empêcherait la publication. Envoyez un graphe pour le tester à blanc, ou rien pour vérifier le brouillon enregistré. `can_publish` à vrai = prêt à être publié par un humain.

## Path parameters

- `flow_id` string, required

## Request body

- FlowCheckReq: Graphe à vérifier. Absent = on vérifie le brouillon enregistré.
  - `entry` string, nullable
  - `nodes` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yesrelay/apis/relay-api-publique.md) · [All operations](https://skmtc.dev/yesrelay/apis/relay-api-publique/llms.txt) · [OpenAPI document](https://skmtc.dev/yesrelay/apis/relay-api-publique/revisions/6f5eda01fd98?raw)
