I think GP was talking about a database-level API specifically
The weird thing here is your interface is still SQL. Sometimes that's fine, but I think this API-schema approach really takes off when you use something like PostgREST, PostGraphile, or Hasura to automatically turn this API schema into a web API. Lots of nice benefits to those tools, and then you have a single service that is more what users might expect.
I actually discovered this API-schema approach from the docs of one of those tool...I just can't remember which one.
Maybe from https://postgrest.org/en/v10.2/schema_structure.html