# List speech history

`GET https://api.vidmoat.com/v1/speech/generations`

- Scope: `speech.read`
- Cost: Free

Page through your enrollment, narration draft and generation jobs, measured audio results, errors, attempts and net credit charges.

### Query parameters

- `cursor` (string, optional): nextCursor from the previous page. Pages contain up to 20 records.

## Response

Returns `200`.

### Response fields

- `data` (array): Your private resources. List responses include nextCursor; null means no more records.

## Errors

Besides the errors any request can get ([authentication](https://developer.vidmoat.com/developer/docs/authentication#when-a-request-is-refused), [rate limits](https://developer.vidmoat.com/developer/docs/rate-limits)):

| Status | Code | When |
| --- | --- | --- |
| 409 | [`conflict`](https://developer.vidmoat.com/developer/docs/errors#conflict) | The idempotency key belongs to different inputs, or the job is not in the required state. |
| 503 | [`unavailable`](https://developer.vidmoat.com/developer/docs/errors#unavailable) | Inference, private storage, configured pilot billing or the limiter is unavailable. Nothing new is charged before admission. |

## Request examples

```bash curl
curl --fail-with-body "https://api.vidmoat.com/v1/speech/generations" -H "Authorization: Bearer $VIDMOAT_KEY"
```

```js Node
const res = await fetch('https://api.vidmoat.com/v1/speech/generations', {
  headers: {
    Authorization: `Bearer ${process.env.VIDMOAT_KEY}`,
  },
});
const data = await res.json();
if (!res.ok) throw new Error(data.error?.message ?? `HTTP ${res.status}`);
console.log(data);
```

```python Python
import os
import requests

res = requests.get(
    "https://api.vidmoat.com/v1/speech/generations",
    headers={"Authorization": f"Bearer {os.environ['VIDMOAT_KEY']}"},
    timeout=60,
)
res.raise_for_status()
print(res.json())
```

---

Source: https://developer.vidmoat.com/developer/docs/api/speech/list-generations
Previous: [Delete a voice](https://developer.vidmoat.com/developer/docs/api/speech/delete-voice.md)
Next: [Generate personal speech](https://developer.vidmoat.com/developer/docs/api/speech/generate.md)
All documentation: https://developer.vidmoat.com/llms-full.txt
