Skip to main content
POST
Validate the head source

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Body

application/json
websiteId
string
required
Minimum string length: 1

Response

The quality-gate outcome for the checked head version.

version
integer
required

Source version that was checked.

ok
boolean
required

Whether the source passed validation and compiled.

message
string

Failure summary. Present only when ok is false.

details
object

Framework diagnostics such as per-page errors. Present only for failures that carry details.

renderFailures
object[]

Pages that compiled but threw while server-rendering. Present only when rendering is what failed.