Josh
06/18/2025, 6:14 PMVapi Support Bot
06/18/2025, 6:16 PMpage
and limit
parameters. For example, to fetch logs in batches of 100:
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)Aniah
06/19/2025, 10:48 PM