I think the idea is that the stored procedures ARE an Application Programming Interface, as an alternative to a REST API.
(I agree with you that for some use cases, an API consisting of a set of stored procedures is just as good as an API layered on top of the database in another language.)