Skip to content
MockFlow DevelopersGet an API key

POST /item-types/{type}:validate

Updated 8 Oct 20262 min read
POST/item-types/{type}:validateTry it
Basehttps://api.mockflow.com/v1

Runs the same validation a create would, and answers 422 with the field that is wrong, or 200.

Authorization

Authorizationstringheaderrequired

Bearer <key>. Any key of the workspace. Create and manage keys in the developer console, or use an OAuth app to act for other people; what each scope unlocks is on the scopes page.

Path parameters

typeenum<string>pathrequired

Body

application/json
dataItemData

Selected by the sibling type. One schema per item type, generated from the component registry.

Response

200 · application/json
validboolean
typeenum<string>

Item types, generated from the MockFlow component registry. Primitive types are drawn by the editor; frame types are rich components whose data schema is the same one the MCP render_* tool accepts.

Errors

422validation_failed

The body did not match the schema for this item type.

429rate_limited

Too many requests.

Was this page helpful?

Sign in to MockFlow

The same account you use in the app and on the API.

Forgot your password?
or
Continue with GoogleContinue with MicrosoftContinue with Apple