Skip to main content
POST
/
v1
/
check
Check spec
curl --request POST \
  --url https://api.vidjutsu.ai/v1/check \
  --header 'Content-Type: application/json' \
  --data '
{
  "spec": {},
  "rules": [
    "<string>"
  ]
}
'
{
  "passed": true,
  "results": [
    {
      "rule": "<string>",
      "passed": true,
      "message": "<string>",
      "severity": "<string>",
      "location": "<string>"
    }
  ]
}

Body

application/json
spec
object
required

VidLang spec JSON to validate

rules
string[]

Optional custom rules as plain text strings. Evaluated by AI

Response

200 - application/json

The request has succeeded.

passed
boolean
required
results
object[]
required