Input and Output Schema
The Input Schema and Output Schema sections of the Integration tab provide information on the input and output data for your document’s API. This includes the data types and descriptions of each field. You can use this information to understand how to structure your requests and responses when calling your document’s API. Input and output schemas will be a JSON object. The exact structure depends on your document, but an example can be found below:
Input Schema Example
content
, which is a string containing the text to be processed.
You can find an example call to the API in the Integration tab as well.
Output Schema Example
redactedText
, which is a string containing the text with PII redacted, and redactedEntities
, which is an array of strings listing the entities that were redacted.
You can find an example response from the API in the Integration tab as well.
The input and output schemas will differ depending on your document.
Get started with the API
Now that you understand the input and output schema, you can start using the API for your document.Learn how to get started with the API in the Using the
API section.