I'm confused - it's the GPL that fails to make a distinction between the REST API and the consultant. I'd thought you were criticizing that distinction as being arbitrary.
I think I've found the confusion. I was still talking about the GPL in my second comment. I see why that was confusing given that you'd explicitly added the AGPL into the discussion, sorry.
I might have better stated it as "I agree the AGPL removes the tension, I think the AGPL is philosophically coherent. But the FSF still primarily pushes the GPL. [transclude prior comment]"
I'm criticizing the GPL as inconsistent because it draws lines haphazardously. That it is ok with the API but not with the distribution feels arbitrary and inconsistent to me.
The AGPL is elegantly precise - anything you do to the code becomes public.
The bad is elegantly precise - anything you do is fine.
GPL is complicated and inelegant - some things are fine while their near equivalent actions aren't.