Export of Logs
# support
j
Export call log in web and API only does up to 100 logs.
v
To export more than 100 logs via the API, use pagination with the
page
and
limit
parameters.
For example, to fetch logs in batches of 100:
Copy code
python
from vapi import Vapi
client = Vapi(token="YOUR_TOKEN")
all_logs = []
for page in range(1, N):  # Replace N with the number of pages you need
    response = client.logs.get(page=page, limit=100)
    all_logs.extend(response['results'])
Note: The
/logs
endpoint is deprecated, so consider future changes to this API.
[See API reference](https://docs.vapi.ai/api-reference/logs/get) Sources: - [Get Logs API Reference](https://docs.vapi.ai/api-reference/logs/get) - [Changelog: Deprecation Notice](https://docs.vapi.ai/changelog/2025/2/17)
a
Thanks for flagging this. We will report this to our team and get it resolved.