It’s not a difficult task, but when discussing viability with the APIs team, the general consensus was that you don’t want your API coupled to your data. Most of the time, you don’t want to expose everything.
Of course, you can start describing what to omit, but now you’re just writing an API design by omission.
Building good APIs is hard, so you want to build the right abstraction - which is not always the easiest one.