# Get ChatGPT LLM Scraper Advanced Results by id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}`

**Tags:** DataForSEO

Retrieves a queued ChatGPT scrape by `id`. Same parsed shape as the live endpoint. Wrapped in DataForSEO's envelope: data in `tasks[0].result`, outcome in `tasks[0].status_code` - a rejected request still returns HTTP 200.

### Pricing reference

- Metering: Reported response cost.
- Reference request estimate: USD 0.012.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## Related links

- [a universally unique identifier (UUID)](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [markdown markup language](<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>task identifier</em><br>a universally unique identifier (UUID)<br><strong>unique task identifier in our system</strong><br>you will be able to use it within <strong>30 days</strong> to request the results of the task at any time |

## Responses

### 200 — Successful operation

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: object | null

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

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

### 402 — The request cannot proceed because a billing requirement is not met.

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 502 — The service could not complete the request.

### 503 — The API or billing service is temporarily unavailable.

### 504 — The service timed out while processing the request.

### default — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiOptimizationChatGptLlmScraperTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_AiOptimizationChatGptLlmScraperTaskGetAdvancedResponseInfo`

```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_AiOptimizationChatGptLlmScraperTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>array of tasks</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_AiOptimizationChatGptLlmScraperTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_AiOptimizationChatGptLlmScraperTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>keyword received in a POST array<br></em><strong>the keyword is returned with decoded %## (plus symbol '+' will be decoded to a space character)</strong>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>location code in a POST array</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>language code in a POST array</em>"
    },
    "model": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>indicates the model version</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>direct URL to search engine results<br></em>you can use it to make sure that we provided exact results"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>date and time when the result was received</em><br>in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”<br>example:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>content of the element in markdown format</em><br>content of the result formatted in the markdown markup language"
    },
    "search_results": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ChatgptSearchResult"
          }
        ]
      },
      "description": "<em>array of search results</em><br>all web search outputs the model retrieved when looking up information, including duplicates and unused entries"
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_SourceInfo"
          }
        ]
      },
      "description": "<em>array of sources</em><br>the sources the model actually cited or relied on in its final answer"
    },
    "fan_out_queries": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>array of fan-out queries</em><br>contains related search queries derived from the main query to provide a more comprehensive response"
    },
    "brand_entities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ChatGptBrandEntity"
          }
        ]
      },
      "description": "<em>array of brand entities</em><br>contains information on brands mentioned in the response"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> total number of results</em>",
      "format": "int64"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>types of search results</em><br>contains types of search results (<code>items</code>) found.<br>possible item types:<br><code>chat_gpt_text</code>, <code>chat_gpt_table</code>, <code>chat_gpt_navigation_list</code>, <code>chat_gpt_images</code>, <code>chat_gpt_local_businesses</code>, <code>chat_gpt_products</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>the number of results returned in the <strong><code>items</code></strong> array</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseChatGptLlmScraperElementItem"
          }
        ]
      },
      "description": "<em>items present in the element</em>"
    }
  }
}
```

### Response36Afe1097B20_AiOptimizationChatGptLlmScraperTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_AiOptimizationChatGptLlmScraperTaskGetAdvancedTaskInfo`

```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_AiOptimizationChatGptLlmScraperTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>array of results</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BaseChatGptLlmScraperElementItem

`#/components/schemas/Response36Afe1097B20_BaseChatGptLlmScraperElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of element"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>group rank in SERP</em><br>position within a group of elements with identical <code>type</code> values<br>positions of elements with different <code>type</code> values are omitted from <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>absolute rank in SERP</em><br>absolute position among all the elements"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "chat_gpt_text": "#/components/schemas/Response36Afe1097B20_ChatGptTextElementItem",
      "chat_gpt_table": "#/components/schemas/Response36Afe1097B20_ChatGptTableElementItem",
      "chat_gpt_navigation_list": "#/components/schemas/Response36Afe1097B20_ChatGptNavigationListElementItem",
      "chat_gpt_images": "#/components/schemas/Response36Afe1097B20_ChatGptImagesElementItem",
      "chat_gpt_products": "#/components/schemas/Response36Afe1097B20_ChatGptProductsElementItem",
      "chat_gpt_local_businesses": "#/components/schemas/Response36Afe1097B20_ChatGptLocalBusinessesElementItem",
      "chat_gpt_ad": "#/components/schemas/Response36Afe1097B20_ChatGptAdElementItem"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "the current version of the API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "general status code\nyou can find the full list of the response codes here"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "general informational message\nyou can find the full list of general informational messages here"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "total execution time, seconds"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total tasks cost, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "the number of tasks in the tasks array",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "the number of tasks in the tasks array returned with an error",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "task identifier\nunique task identifier in our system in the UUID format"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "status code of the task\ngenerated by DataForSEO, can be within the following range: 10000-60000\nyou can find the full list of the response codes here"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "informational message of the task\nyou can find the full list of general informational messages here"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "execution time, seconds"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total tasks cost, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "number of elements in the result array",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL path"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "contains the same parameters that you specified in the POST request"
    }
  }
}
```

### Response36Afe1097B20_ChatGptBrandEntity

`#/components/schemas/Response36Afe1097B20_ChatGptBrandEntity`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of element"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>name of the brand</em>"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>category of the brand</em>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>brand name in markdown format</em><br>contains brand name formatted in the markdown markup language"
    },
    "urls": {
      "type": [
        "object",
        "null"
      ],
      "description": "<em> array of URLs and domains relevant to the brand</em>"
    }
  }
}
```

### Response36Afe1097B20_ChatgptSearchResult

`#/components/schemas/Response36Afe1097B20_ChatgptSearchResult`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of element"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>result URL</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>result domain</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>result title</em>"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>result description</em>"
    },
    "breadcrumb": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>breadcrumb</em>"
    }
  }
}
```

### Response36Afe1097B20_SourceInfo

`#/components/schemas/Response36Afe1097B20_SourceInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of element"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>source title</em>"
    },
    "snippet": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>source description</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>source domain in SERP</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>source URL</em>"
    },
    "thumbnail": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>source thumbnail</em>"
    },
    "source_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>source name</em>"
    },
    "publication_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>date and time when the result was published</em><br>in the format: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”<br>example:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>content of the element in markdown format</em><br>content of the result formatted in the markdown markup language"
    }
  }
}
```
