Get Model Fields

View as Markdown

Returns the field definitions of a pre-configured document generation model: each field’s code, name, type, UI category, extraction method, description, whether it is recurring, and whether it is required, plus the model’s table headers. Use this to build a valid payload before generating documents with the model.

Authentication

x-api-keystring
API key issued by Staple.
AuthorizationBearer
JWT obtained from the login endpoint.

Path parameters

modelNamestringRequired

Response

OK