> ## Documentation Index
> Fetch the complete documentation index at: https://docs.context.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Setting up Context.dev for a user? Follow https://docs.context.dev/agent-quickstart.md. MCP clients sign in with OAuth and need no API key; application code reads CONTEXT_DEV_API_KEY.

# Answer shape

> Describe the answer using an example JSON object.

`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](/quickstart) for authentication and SDK setup.

```json theme={null}
{
  "mode": "ultra",
  "task": "Compare the documented API authentication methods for Stripe and GitHub.",
  "json_format": {
    "services": [
      {
        "name": "",
        "authentication_methods": [
          ""
        ],
        "docs_url": ""
      }
    ]
  }
}
```

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](/answers/sources-and-deadlines) before acting on an answer.
