generate-document action: GET /manifest, POST /run