{"inputSchema":{"type":"object","required":["document"],"additionalProperties":false,"properties":{"document":{"type":"object","additionalProperties":false,"description":"The text to read. Exactly one of text, url or content_base64.","properties":{"text":{"type":"string","maxLength":200000,"description":"The text directly. Cheapest and clearest — its length is billed as counted here."},"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of a PDF, DOCX, ODT, HTML or text file. Private and local addresses are refused."},"content_base64":{"type":"string","maxLength":4000000,"description":"The file inline, base64."},"filename":{"type":"string","maxLength":260,"description":"Only consulted when the bytes carry no recognisable signature."},"format":{"type":"string","enum":["auto","pdf","docx","odt","html","markdown","rtf","text"],"default":"auto","description":"Override the detected format. \"auto\" reads it from the bytes."}}},"entity_types":{"type":"array","minItems":1,"maxItems":8,"description":"Which kinds of entity to look for. Default: person, organisation, place, product, document, event.","items":{"type":"string","enum":["person","organisation","place","product","document","event","amount","other"]}},"document_chars":{"type":"integer","minimum":1,"maximum":24000,"description":"Only needed when the text arrives by url or content_base64: its length in characters, which is what you are billed for. A longer text is refused with its real length and nothing is charged."},"max_relations":{"type":"integer","minimum":1,"maximum":120,"default":60,"description":"How many relations to return at most. What is dropped is counted, never silently cut."},"include_unverified":{"type":"boolean","default":true,"description":"Also return relations whose quote could not be located in the source, clearly marked. Off means they are only counted."},"include_isolated_entities":{"type":"boolean","default":true,"description":"Also return entities that ended up with no relation. Off means they are only counted."}}},"outputSchema":{"type":"object"},"priceModel":{"kind":"per_unit","unit":"1000 Zeichen","unit_price_usdc":"0.001","min_usdc":"0.004","max_units":24,"max_usdc":"0.024"},"requestExample":{"document":{"text":"Die Nordlicht GmbH hat am 3. Maerz 2026 einen Rahmenvertrag mit der Sued-Elektrik AG geschlossen.\n\nGeschaeftsfuehrerin der Nordlicht GmbH ist Anna Berger.\n\nDie Sued-Elektrik AG liefert die Steuergeraete aus ihrem Werk in Ulm."},"entity_types":["person","organisation","place","document"],"max_relations":20},"price_usdc":"0.004"}