Franz
04/02/2025, 5:36 PMVapi Support Bot
04/02/2025, 5:38 PM/logs
endpoint is deprecated. I can definitely help with that!
Based on the information I found, there are several ways you can query webhook logs now:
### 1. Using the New Logs Endpoint
You can use the new logs endpoint with the following query parameters:
- `assistantId`: The UUID of the assistant
- `type`: Set this to 'Webhook' to specifically query webhook logs (other options are 'API', 'Call', or 'Provider')
- `page`: For pagination (defaults to 1)
- `limit`: Number of results per page (defaults to 100, max 1000)
Make sure to include your API key in the header:
headers: {
'Authorization': `Bearer ${YOUR_API_KEY}`,
'Content-Type': 'application/json'
}
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1340460668524171316)
### 2. VAPI Dashboard
You can access webhook logs directly through the VAPI dashboard:
1. Log in to the VAPI Dashboard
2. Navigate to the "Logs" section
3. Filter logs by date/time as needed
4. Review webhook event logs for any errors or delivery issues
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334280135683084328)
### 3. Analytics API
Another alternative is to use the /analytics
endpoint to create analytics queries that might provide similar information to what you were getting from the logs endpoint.
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1331285157088333955)
### 4. GET /call/:id API
If you're looking for information about specific calls, you can use the GET /call/:id
API to retrieve call information, especially useful for missed webhooks.
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1326809606671958080)
Is there a specific aspect of webhook logging you're most interested in? I'd be happy to provide more details on any of these methods!
Sources:Vapi Support Bot
04/02/2025, 5:38 PMVapi
04/06/2025, 9:18 AM