This API endpoint returns the document specified by path.
The server will return a bad request (400) response if either:
- The query requires an input document and you do not provide it
- You provide the input document but the query has already defined it.