---
title: "Structurally check or fixture-test an exact draft revision"
method: POST
path: "/credits/workflows/{workflowId}/validate"
tags: ["Hosted Workflows"]
---

# Structurally check or fixture-test an exact draft revision

`POST /credits/workflows/{workflowId}/validate`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/workflows/{workflowId}/validate`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

check does not evaluate user code. fixtures runs in the fixed sandbox without live gateway authority or egress.

## Path parameters

- `workflowId` string, uuid, required

## Request body

- object
  - `revision` integer, required
  - `mode` 'check' | 'fixtures', required
  - `fixture_set` string

## Response `200`

Durable validation evidence

## Other responses

- `409`: Draft revision changed

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
