# AI summary of a fetched SERP by task id and prompt

Provider: DataForSEO
Final price: $0.01/call
Success rate: n/a

The purpose of the Live SERP API AI Summary endpoint is to provide a summary of the content found on any SERP and generate a response based on the user’s specified prompt.

## Parameters

- prompt (string, optional)
- task_id (string, optional)
- fetch_content (boolean, optional)
- include_links (boolean, optional)
- support_extra (boolean, optional)

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/dataforseo.x.serp-ai-summary' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '[{"prompt":"explain what DataForSEO is","task_id":"07031739-1535-0139-0000-9d1e639a5b7d","fetch_content":true,"include_links":true}]'
```

[View on Toolswitch](https://toolswitch.dev/pt/tools/dataforseo.x.serp-ai-summary)
