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
Name | Description | Default | Supported Values |
---|---|---|---|
rdf_export | When set to true , this option instructs the API to export the RDF string, changing the return structure accordingly. | - | - |
rdf_format | Specifies the format in which the RDF string should be exported. | "ttl" | xml , n3 , turtle , nt , pretty-xml , trix , trig , nquads , json-ld , hext |
save | When set to true , this option instructs the API to save the processed data in the Lettria project graphdb. | - | - |
return_patterns | When set to true , this option influences the return structure to include patterns. | - | - |