Answers
JSON or text
Section titled “JSON or text”Every operation answers JSON. Add ?format=text for the text the MCP tool gives a model: the same answer, written to be read.
curl -s "https://api.pandex.io/v1/document?format=text" \ -H "content-type: application/json" \ -d '{"id": "BW 7", "element": "7:668a", "at": "2010-01-01"}'Length
Section titled “Length”An answer is cut to max_tokens: 1,500 unless you set it, from 200 to 8,000. A cut answer says how to read on:
get_documentgivesnext, to pass asfrom.searchandget_changesgive the nextoffset.
What every passage carries
Section titled “What every passage carries”Its document and element id, the title, the date, the issuer, the language, the address of the publisher’s copy, the day its wording took effect where the source says so, and how many documents cite it. The fields are listed for each operation in the API reference.