{
  "url": "https://telipot.com/catalog/tasks/exa.web.answer",
  "id": "exa.web.answer",
  "name": "Sourced answer to a question, with citations",
  "provider": {
    "slug": "exa",
    "name": "Exa"
  },
  "capability": "web.answer",
  "platform": "web",
  "kind": "data",
  "tier": "core",
  "identity": "key",
  "identityLabel": "Your plan",
  "price": {
    "type": "per_call",
    "confidence": "documented",
    "source": "docs",
    "sourceUrl": "https://exa.ai/docs/admin/pricing",
    "checked": "2026-10-05",
    "note": "The pricing page lists one rate for /answer and does not say whether model changes it.",
    "settles": "The charge Exa reports in costDollars.total",
    "state": "paid",
    "label": "$0.005 / request",
    "amount": "$0.005",
    "unit": "request",
    "usdPerUnit": {
      "floor": 0.005,
      "ceiling": 0.005
    },
    "native": {
      "text": "$5 per 1,000 requests",
      "figure": "$5",
      "per": "1,000 requests",
      "currency": "USDs"
    },
    "detail": "Exa docs · 2026-10-05"
  },
  "providers": 1,
  "retention": "standard",
  "runsOn": "byoc",
  "live": true,
  "summary": "Performs a search based on the query and generates either a direct answer or a detailed summary with citations, depending on the query type.",
  "method": "POST",
  "path": "/answer",
  "host": "https://api.exa.ai",
  "docsUrl": "https://exa.ai/docs/reference/answer",
  "auth": {
    "scheme": "api_key",
    "label": "api_key · in header as x-api-key",
    "short": "api_key · x-api-key"
  },
  "scope": "any_account",
  "principal": "organization",
  "requiredScopes": [],
  "verification": {
    "state": "verified",
    "label": "Verified on 2026-10-05",
    "detail": "We ran a real request and checked the answer. This is a spot check, not a success rate."
  },
  "input": [
    {
      "name": "query",
      "location": "body",
      "type": "string",
      "required": true,
      "constraints": [
        "at least 1"
      ],
      "note": "Natural-language question or instructions for the request."
    },
    {
      "name": "text",
      "location": "body",
      "type": "boolean",
      "required": false,
      "constraints": [
        "default false"
      ],
      "note": "If true, returns full page text with default settings. If false, disables text return. Each citation has a text field."
    },
    {
      "name": "model",
      "location": "body",
      "type": "string",
      "required": false,
      "constraints": [
        "one of \"exa\", \"exa-pro\", \"exa-research\", \"exa-fast\"",
        "default \"exa\""
      ],
      "note": "The model used to generate the answer."
    },
    {
      "name": "systemPrompt",
      "location": "body",
      "type": "string",
      "required": false,
      "constraints": [],
      "note": "Additional instructions that guide generated output, such as source preferences, novelty constraints or duplication constraints."
    },
    {
      "name": "outputSchema",
      "location": "body",
      "type": "object",
      "required": false,
      "constraints": [],
      "note": "A JSON Schema Draft 7 specification for the desired answer structure. When given, the answer is returned as a structured object matching the schema instead of a plain string."
    },
    {
      "name": "userLocation",
      "location": "body",
      "type": "string",
      "required": false,
      "constraints": [],
      "note": "The two-letter ISO country code of the user."
    }
  ],
  "sampleInput": {
    "query": "What is the capital of France?"
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "query": {
        "type": "string",
        "description": "Natural-language question or instructions for the request.",
        "examples": [
          "What is the capital of France?"
        ],
        "minLength": 1
      },
      "text": {
        "type": "boolean",
        "description": "If true, returns full page text with default settings. If false, disables text return. Each citation has a text field.",
        "default": false
      },
      "model": {
        "type": "string",
        "description": "The model used to generate the answer.",
        "enum": [
          "exa",
          "exa-pro",
          "exa-research",
          "exa-fast"
        ],
        "default": "exa"
      },
      "systemPrompt": {
        "type": "string",
        "description": "Additional instructions that guide generated output, such as source preferences, novelty constraints or duplication constraints."
      },
      "outputSchema": {
        "type": "object",
        "description": "A JSON Schema Draft 7 specification for the desired answer structure. When given, the answer is returned as a structured object matching the schema instead of a plain string."
      },
      "userLocation": {
        "type": "string",
        "description": "The two-letter ISO country code of the user.",
        "examples": [
          "US"
        ]
      }
    },
    "required": [
      "query"
    ],
    "additionalProperties": false
  },
  "output": [
    {
      "name": "requestId",
      "type": "string"
    },
    {
      "name": "answer",
      "type": "string | object",
      "description": "A string by default, or an object matching outputSchema when one was given"
    },
    {
      "name": "citations",
      "type": "object[]",
      "description": "Search results used to generate the answer"
    },
    {
      "name": "costDollars",
      "type": "object",
      "description": "Estimated dollar cost of the completed request; billing is computed from usage counters, not from this object."
    }
  ],
  "outputSchema": {
    "type": "object",
    "required": [
      "answer"
    ],
    "properties": {
      "requestId": {
        "type": "string"
      },
      "answer": {
        "type": [
          "string",
          "object"
        ],
        "description": "A string by default, or an object matching outputSchema when one was given"
      },
      "citations": {
        "type": "array",
        "description": "Search results used to generate the answer",
        "items": {
          "type": "object",
          "required": [
            "title",
            "url"
          ],
          "properties": {
            "title": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "publishedDate": {
              "type": "string"
            },
            "author": {
              "type": [
                "string",
                "null"
              ]
            },
            "image": {
              "type": "string"
            },
            "favicon": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          }
        }
      },
      "costDollars": {
        "type": "object",
        "description": "Estimated dollar cost of the completed request; billing is computed from usage counters, not from this object.",
        "properties": {
          "total": {
            "type": "number"
          },
          "search": {
            "type": "object",
            "properties": {
              "neural": {
                "type": "number"
              },
              "keyword": {
                "type": "number"
              }
            }
          },
          "summary": {
            "type": "number"
          },
          "contents": {
            "type": "object",
            "properties": {
              "text": {
                "type": "number"
              },
              "highlights": {
                "type": "number"
              },
              "summary": {
                "type": "number"
              }
            }
          }
        }
      }
    }
  },
  "example": {
    "file": "examples/exa.web.answer.json",
    "json": {
      "requestId": "c178943a8165d7ce25595eca437939ce",
      "answer": "Paris is the capital of France [1].",
      "citations": [
        {
          "id": "https://www.britannica.com/place/Paris",
          "title": "Paris | Definition, Map, Population, Facts, & History | Britannica",
          "url": "https://www.britannica.com/place/Paris",
          "publishedDate": "1998-07-20T00:00:00.000Z",
          "image": "https://cdn.britannica.com/36/135436-050-ED1D0FCE/skyline-Eiffel-Tower-France-Paris.jpg"
        },
        {
          "id": "https://en.wikipedia.org/wiki/Paris",
          "title": "",
          "url": "https://en.wikipedia.org/wiki/Paris",
          "author": "user"
        }
      ],
      "costDollars": {
        "total": 0.005
      }
    }
  },
  "commands": {
    "mode": "run",
    "cli": "telipot run exa.web.answer \\\n  --input-json '{\"query\":\"What is the capital of France?\"}'",
    "http": "curl https://api.telipot.com/v1/tasks/exa.web.answer/run \\\n  -H \"Authorization: Bearer $TELIPOT_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"query\":\"What is the capital of France?\"}'",
    "quote": "telipot run exa.web.answer \\\n  --input-json '{\"query\":\"What is the capital of France?\"}' \\\n  --quote"
  },
  "siblings": []
}
