Filter calls by workflow ID
# support
v
the same way that calls are filterable by assistantId in the https://api.vapi.ai/call endpoint, calls are supposed to be filterable by workflowId as well but the API return "property workflowId should not exist" error. What is the correct way of retrieving call list for a workflow?
c
Copy code
curl https://api.vapi.ai/workflow \
     -H "Authorization: Bearer <token>"
Use GET on the /workflow endpoint
v
This endpoint returns workflow settings only, it does not provide call history
How can I retrieve call history for a workflow?
c
Oh I'm sorry I misread your question earlier. Currently filtering by workflowId is not possible through our /call endpoint but if you would like to see that feature on our platform, feel free to add it to the feature request list here -->