# Regenerate the AI summary of a document.

`POST /api/plugins/docs/documents/{id}/summary/regenerate`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

Responses:

- 200: Summary regeneration queued.

## Examples

### cURL

```bash
curl -X POST 'http://localhost:3000/api/plugins/docs/documents/string/summary/regenerate'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/docs/documents/string/summary/regenerate', {
  method: 'POST',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.post('http://localhost:3000/api/plugins/docs/documents/string/summary/regenerate')
print(response.text)
```
