Skip to main content
json_format is an example object with placeholder values. It is not JSON Schema. Answers preserves its keys and value types; facts that cannot be established can be null.

Describe a comparison

Send this body to POST /web/answers. See the Quickstart for authentication and SDK setup.
Use strings for text, numbers for numeric facts, booleans for yes/no questions, and an example item to shape an array. An empty array accepts arbitrary JSON items. Without json_format, the default is {"result":""}.

Limits

The example can contain up to eight nesting levels, 500 values, and 16,000 serialized characters. The task is limited to 2,000 characters. Keep related facts together and ask for source URLs when you need to attribute individual fields. Validate the response in your application, including nullable facts. A valid shape does not guarantee every value was found. Review the sources before acting on an answer.