How can I get all recent documents from a specific custom template from prismic api

I appreciate if the answer is in python api if not answer in the way you know I can convert it again.
Thank you

Hello @asreearm1729

Thanks for reaching out to us.

have you tried doing a get-all query to see if the API responds correctly? Something like:'document.type', 'test_page')

The Python kit is very out of date. I'd recommend you use a different dependency to query the API.