# Ambil Hasil SERP Google AI Mode Lanjutan berdasarkan id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/google/ai_mode/task_get/advanced/{id}`

**Tags:** DataForSEO

Mengambil hasil Google AI Mode yang antre berdasarkan `id`. Mengembalikan `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count`, dan `items`. Dibungkus dalam envelope DataForSEO: data di `tasks[0].result`, hasil di `tasks[0].status_code` - permintaan yang ditolak tetap mengembalikan HTTP 200.

### Referensi harga

- Metering: Biaya respons yang dilaporkan.
- Estimasi referensi per permintaan: USD 0.02.
- Pengali pelanggan referensi: 1.0. Jangan terapkan lagi pada jumlah pelanggan yang telah diselesaikan.

Hanya metadata referensi, bukan penawaran akun, harga yang dijamin, atau batas pengeluaran. Kredit sumber daya bukanlah kredit Felo. Biaya akhir mengikuti catatan tagihan Felo.

## Related links

- [pengenal unik universal (UUID)](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [XPath](<https://en.wikipedia.org/wiki/XPath>)
- [bahasa markup markdown](<https://en.wikipedia.org/wiki/Markdown>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>pengenal tugas</em><br>pengenal unik universal (UUID)<br><strong>pengenal tugas unik di sistem kami</strong><br>Anda dapat menggunakannya dalam <strong>30 hari</strong> untuk meminta hasil tugas kapan saja |

## Responses

### 200 — Operasi berhasil

Headers:
- `X-Request-Id` (string) — Pengenal permintaan yang harus disertakan saat menghubungi dukungan Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — Permintaan tidak dapat diproses. Periksa parameter permintaan.

### 401 — Kunci API Felo yang valid diperlukan.

### 402 — Permintaan tidak dapat dilanjutkan karena persyaratan penagihan belum terpenuhi.

### 403 — Akun tidak diizinkan melakukan operasi ini.

### 429 — Batas permintaan atau batas pengeluaran telah tercapai.

### 502 — Layanan tidak dapat menyelesaikan permintaan.

### 503 — API atau layanan penagihan untuk sementara tidak tersedia.

### 504 — Layanan kehabisan waktu saat memproses permintaan.

### default — Respons error; respons passthrough upstream dapat menggunakan format penyedia

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiModeAiOverviewInfo

`#/components/schemas/Response36Afe1097B20_AiModeAiOverviewInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>peringkat grup di SERP</em><br>posisi dalam grup elemen dengan nilai <code>type</code> yang sama<br>posisi elemen dengan nilai <code>type</code> berbeda dihilangkan dari <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>peringkat absolut di SERP</em><br>posisi absolut di antara semua elemen di SERP"
    },
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>halaman SERP</em><br>halaman SERP tempat elemen diperingkat"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>perataan elemen dalam SERP</em><br>dapat mengambil nilai berikut:<br><code>left</code>, <code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>XPath elemen</em>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>konten elemen dalam format markdown</em><br>teks <code>ai_overview</code> yang diformat dalam bahasa markup markdown"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem"
          }
        ]
      },
      "description": "<em>item yang ada di elemen</em>"
    },
    "references": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AiModeAiOverviewReferenceInfo"
          }
        ]
      },
      "description": "<em>referensi tambahan yang relevan dengan item</em><br>mencakup referensi ke halaman web yang mungkin digunakan untuk menghasilkan <code>ai_overview</code>"
    },
    "rectangle": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo"
        }
      ],
      "description": "<em>parameter persegi panjang</em><br>berisi koordinat kartesius dan dimensi piksel cuplikan hasil di SERP<br>sama dengan <code>null</code> jika <code>calculate_rectangles</code> dalam permintaan POST tidak disetel ke <code>true</code>"
    }
  }
}
```

### Response36Afe1097B20_AiModeAiOverviewReferenceInfo

`#/components/schemas/Response36Afe1097B20_AiModeAiOverviewReferenceInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>perataan elemen dalam SERP</em><br>dapat mengambil nilai berikut:<br><code>left</code>, <code>right</code>"
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama atau judul sumber referensi</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama domain referensi</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL tautan</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>teks anchor tautan</em>"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>teks komponen</em>"
    }
  }
}
```

### Response36Afe1097B20_AiModeRectangleInfo

`#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo`

```json
{
  "type": "object",
  "properties": {
    "x": {
      "type": [
        "number",
        "null"
      ],
      "description": "koordinat sumbu x\nkoordinat sumbu x sudut kiri atas cuplikan hasil, dengan sudut kiri atas layar sebagai titik asal",
      "format": "double"
    },
    "y": {
      "type": [
        "number",
        "null"
      ],
      "description": "koordinat sumbu y\nkoordinat sumbu y sudut kiri atas cuplikan hasil, dengan sudut kiri atas layar sebagai titik asal",
      "format": "double"
    },
    "width": {
      "type": [
        "number",
        "null"
      ],
      "description": "lebar elemen dalam piksel",
      "format": "double"
    },
    "height": {
      "type": [
        "number",
        "null"
      ],
      "description": "tinggi elemen dalam piksel",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "judul elemen"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL penelusuran dengan parameter penyempurnaan"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "domain di SERP"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "versi API saat ini"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kode status umum; Anda dapat menemukan daftar lengkap kode respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "pesan informasi umum; Anda dapat menemukan daftar lengkap pesan informasi umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "total waktu eksekusi, detik"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total biaya tugas, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "jumlah tugas dalam array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "jumlah tugas dalam array tasks yang dikembalikan dengan error",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "pengenal tugas; pengenal tugas unik di sistem kami dalam format UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kode status tugas yang dihasilkan oleh DataForSEO; dapat berada dalam rentang berikut: 10000-60000; Anda dapat menemukan daftar lengkap kode respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "pesan informasi tugas; Anda dapat menemukan daftar lengkap pesan informasi umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "waktu eksekusi, detik"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total biaya tugas, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "jumlah elemen dalam array hasil",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Jalur URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "berisi parameter yang sama dengan yang Anda tentukan dalam permintaan POST"
    }
  }
}
```

### Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>perataan elemen dalam SERP</em><br>dapat mengambil nilai berikut:<br><code>left</code>, <code>right</code>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "ai_overview_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewElementItem",
      "ai_overview_expanded_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewExpandedElementItem",
      "ai_overview_video_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewVideoElementItem",
      "ai_overview_table_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewTableElementItem",
      "ai_overview_shopping": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewShoppingItem",
      "ai_overview_paid": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewPaidItem"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "judul elemen"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL penelusuran dengan parameter penyempurnaan"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "domain di SERP"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "opsi penyempurnaan pencarian lebih lanjut"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "XPath elemen"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "item elemen"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>array tugas</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kata kunci yang diterima dalam array POST<br></em><strong>kata kunci dikembalikan dengan %## yang didekode (simbol plus '+' akan didekode menjadi karakter spasi)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>domain mesin pencari dalam array POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kode lokasi dalam array POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kode bahasa dalam array POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL langsung ke hasil mesin pencari<br></em>Anda dapat menggunakannya untuk memastikan kami memberikan hasil yang tepat"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>tanggal dan waktu saat hasil diterima</em><br>dalam format UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>misalnya:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>koreksi otomatis mesin pencari</em><br>jika mesin pencari memberikan hasil untuk kata kunci yang telah dikoreksi, kami akan menentukan kata kunci yang dikoreksi oleh mesin pencari dan jenis koreksi otomatisnya;<br>dalam kasus ini, nilainya akan menjadi <code>null</code>"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>chip penyempurnaan pencarian</em><br>dalam kasus ini, nilainya akan menjadi <code>null</code>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>jenis hasil pencarian di SERP</em><br>berisi jenis hasil pencarian (<code>items</code>) yang ditemukan di SERP.<br>jenis item yang mungkin:<br><code>ai_overview</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> jumlah total hasil di SERP</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>jumlah hasil yang dikembalikan dalam array <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AiModeAiOverviewInfo"
          }
        ]
      },
      "description": "<em>item yang ada di elemen</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>array hasil</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "kata kunci yang diperoleh sebagai hasil koreksi otomatis mesin penelusuran\n hasil akan diberikan untuk kata kunci yang dikoreksi"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis koreksi otomatis\n nilai yang mungkin:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n catatan: Yahoo dan Yandex hanya mendukung jenis koreksi otomatis berikut:\n including_results_for"
    }
  }
}
```
