Testing a Notion database query sounds simple until you try to do it in a real workspace. You need a workspace. You need an integration token. You need to share the right database with that integration. You need seed pages with the right properties. Then you run the query and hope you did not pollute somebody's actual team dashboard with test rows. The painful part is not POST /v1/databases/{database_id}/query . The painful part is proving the whole shape around it: does the database exist? do the properties match what your app expects? does the filter return the right rows? does the response shape match the code path you are about to ship? can you repeat the test without cleaning up a real Notion workspace?…