diff --git a/app/client/apiconsole.ts b/app/client/apiconsole.ts
new file mode 100644
index 00000000..50cfbb4d
--- /dev/null
+++ b/app/client/apiconsole.ts
@@ -0,0 +1,323 @@
+import {loadCssFile, loadScript} from 'app/client/lib/loadScript';
+import type {AppModel} from 'app/client/models/AppModel';
+import {urlState} from 'app/client/models/gristUrlState';
+import {reportError} from 'app/client/models/errors';
+import {setUpPage} from 'app/client/ui/setUpPage';
+import {DocAPIImpl} from 'app/common/UserAPI';
+import type {RecordWithStringId} from 'app/plugin/DocApiTypes';
+import {dom, styled} from 'grainjs';
+import type SwaggerUI from 'swagger-ui';
+
+/**
+ * This loads the swagger resources as if included as separate
-
+
+