It should be possible to query documents from a migration release by using its specfic ref, but that ref won’t show up in the API until the migration release is made available as a “regular release”. Like one ones you create in the UI of the page builder.
Once that’s done, I think then you can use the release’s ref in your queries