Yapper API
Api reference
GET
/models/{modelId}/schema.json

Returns the model-specific JSON Schema used by generated documentation and SDK/form generation. It includes model enums and limits, cross-field rules, and x-order-properties for deterministic presentation.

Authorization

bearerAuth models:read
AuthorizationBearer <token>

In: header

Scope: models:read

Path Parameters

modelId*string

Response Body

application/schema+json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/models/string/schema.json"
{}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}