POST
/
v1
/
schemas
/
validate
curl --request POST \
  --url https://api.airfold.co/v1/schemas/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-ndjson' \
  --data '{}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

schema
string
required

Should be a valid JSON or YAML format

format
enum<string>
default:json

Format of the schema

Available options:
json,
yaml

Body

Data to validate schema against. Optional but content-type must be set.

The body is of type object.

Response

200
_mintlify/placeholder

OK