How to list all certificates

Moin,

I have to check (all automatically) which certificate will expire soon and then generate it again. But how do I get a list of the certificates including the “notAfter” information. In the documentation (https://www.vaultproject.io/api-docs/secret/pki#list-certificates) I found
curl
–header “X-Vault-Token: …”
–request LIST
http://127.0.0.1:8200/v1/pki/certs

but I don not understand the output. There are no names or so.

Any hint? Thanks!