Skip to content

API Options

Introduction

The Lettria API structuration endpoint provides several options that allow you to customize the behavior and output of the API based on your specific requirements. These options are included in the body.options dictionary when making requests.

Options

NameDescriptionDefaultSupported Values
rdf_exportWhen set to true, this option instructs the API to export the RDF string, changing the return structure accordingly.--
rdf_formatSpecifies the format in which the RDF string should be exported."ttl"xml, n3, turtle, nt, pretty-xml, trix, trig, nquads, json-ld, hext
saveWhen set to true, this option instructs the API to save the processed data in the Lettria project graphdb.--
return_patternsWhen set to true, this option influences the return structure to include patterns.--

Next step