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

# Google-AI-Mode-API: Antworten, Markdown und Quellen

> Stellen Sie Google AI Mode eine Frage und erhalten Sie die Antwort als Text und Markdown, mit Quellen, Produkten und Zitat-Chips.

`AIMODE` fragt Google AI Mode und liefert die Antwort, immer mit Markdown, und die Quellen dahinter.

| | |
| - | - |
| taskType | `AIMODE` |
| Aliase | `GOOGLE_AIMODE` |
| Liest | `query` (greift auf `prompt` zurück) |
| Credits | 1,25 |
| Land | Optional, Standard `US`. `CN` fragt direkt Googles chinesischen Markt ab, ohne die Ersetzung durch die USA wie bei AI Overviews. |
| Standort | Akzeptiert `payload.location`. Siehe [Regionen und Standort](https://docs.querying.ai/de/engines/capacity.md). |

## Anfrage

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "AIMODE", "payload": { "query": "best CRM for a small team", "country": "US" } }'
```

## Antwort

Anders als [Google AI Overviews](https://docs.querying.ai/de/engines/google-ai-overviews.md) liefert AI Mode eine reine Antwort, keinen Ergebnisseiten-Umschlag.

| Feld | Typ | Beschreibung |
| - | - | - |
| `text` | string | Die Antwort. Immer vorhanden. |
| `markdown` | string | Die Antwort als Markdown. Wird ohne Flag geliefert. |
| `sources` | array | `position`, `url`, `label`, `description`. |
| `shoppingCards`, `inlineProducts` | array | Produkte in der Antwort, mit denselben Feldern wie in AI Overviews. |
| `citationPills` | array | Die Quellen hinter jedem Zitat-Chip, mit denselben Feldern wie in AI Overviews. |
| `videos` | array | Videos, die die Antwort zeigt. |
| `map` | array | Orte, die die Antwort als Karten zeigt: `name`, `position`, `location`, `reviews`, `category`, `price`, `openState` (der Öffnungsstatus, wie Google ihn zeigt, etwa „Geschlossen · Öffnet um 11:00“), `image`. |
| `rawContent` | string | Das HTML der gerenderten Seite. Nur mit `include.rawResponse`. |

Produkt-, Chip- und Videofelder erscheinen nur, wenn die Antwort sie zeigt.

Zum Beispiel:

```json theme={"theme":"css-variables"}
{
  "text": "For a small team, start with HubSpot CRM or Pipedrive ...",
  "markdown": "For a small team, start with **HubSpot CRM** or **Pipedrive** ...",
  "sources": [{ "position": 1, "url": "https://www.example.com/crm-guide", "label": "CRM guide for small teams" }]
}
```

Lädt Google die Seite, liefert aber in zwei neuen Sitzungen keine Antwort, scheitert der Task mit `ENGINE_NO_RESULT`, statt zu warten.

## Include-Flags

| Flag | Wirkung |
| - | - |
| `rawResponse` | Fügt `rawContent` hinzu. |
| `html` | Fügt `html` hinzu, die Seite, die Google gezeigt hat. Siehe [HTML-Seiten](https://docs.querying.ai/de/engines/html-pages.md). |
| `analysis` | Fügt `analysis` hinzu, 1 Credit. Siehe [Antwortanalyse](https://docs.querying.ai/de/engines/answer-analysis.md). |
| `citationAnalysis` | Führt eine [Citation Analysis](https://docs.querying.ai/de/research/citation-analysis.md) der Antwort aus. |

`markdown` braucht kein Flag. `searchQueries`, `ads` und `shopping` haben keine Wirkung. Siehe [Markdown und Rohantworten](https://docs.querying.ai/de/engines/response-options.md).

## Verwandte Seiten

* [Google-AI-Mode-Produktseite](https://querying.ai/de/engines/google-ai-mode)
* [Engine-Überblick](https://docs.querying.ai/de/engines/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.