Developer tools¶
What API Maker gives a developer besides the APIs : documentation for the people who call them, types for the code which uses them, a debugger, and a way to work from your own editor.
Swagger docs per API user¶
- Open an API user, enable Swagger docs and generate a Swagger Token. View Swagger JSON opens its URL.
- The docs list only the APIs that the API user can call, like its database, custom and system APIs.
- Share the URL with the team or partner that uses that API user.
- The URL answers only while Swagger docs are enabled for that API user. Disable them, or generate a new token, to stop an old URL from working.
TypeScript interfaces from your schemas¶
- Your table schemas become TypeScript interfaces, grouped by instance and database :
db.<instance>.<database>.I<Table>. See them inAPIs & Logic → Generated Interfaces. - Import them from
db-interfacesin your code.
In Python, PHP, C#, Go, Rust, Java and Kotlin the code editor offers the same columns on the rows a call answers, without interfaces to import : the code editor in every language.
API testing page¶
- Every API of your account in one place: pick an API, get a sample payload, set the headers and tokens, send it and read the response.
APIs & Logic → API Testing, or Test API on the DB API, Custom API, System API, Events and Schedulers pages. On a listener the body holds the event data; on a scheduler, sending runs the code now.- The request: Headers, Params, Query Params, Body (Generate Data builds a sample payload from the schema), Code (the code of a custom API, listener, scheduler or migration, with its versions), Pre Hooks and Post Hooks of the API : for an API of a table, the hooks of its instance, its database and its table are listed too, in the order they run (marked Instance, Database, Table : they are changed in their own categories). On a multi-tenant instance, Select tenant.
- The response: the answer or the errors, with the status code, the time taken and whether it came from the cache; the TypeScript interface of the answer; Logs with every
g.loggerline of the code which ran, hooks included. - Index Maker, for code (a custom API, a listener, a scheduler, a hook...): every database call of the run. What to look at first (a query reading a whole table, a query in a loop, a query asked twice, a slow or big call), a timeline of the calls, every query shape with its index use, and the indexes to create : one run from the API testing page.
- A scheduler, a listener, a migration script or a process initializer is sent with the time it runs with (the header
x-am-sandbox-timeout) : time of a run. - Show Utility Classes next to the code opens the utility classes the code uses : the ones of its language, on its runtime.
- Every Send is recorded. Save a request as a state to run it again later, star it as a favourite. States go to Git with the project.
- Copy the same request as client code from Integrations: C, C#, cURL, Dart, Go, HTTP, Java, JavaScript, Kotlin, Node.js, Objective-C, OCaml, PHP, Postman CLI, PowerShell, Python, R, Ruby, Rust, Shell and Swift, with their variants.
Debugger¶
- Enable debugging in your debug settings : the requests of the API Testing page then run in the sandbox for
debugging of their environment (one per environment and group of separate sandboxes : one sandbox, one runner),
whose runner listens for an inspector. Attach Chrome DevTools (
chrome://inspect) and stop on breakpoints or ondebugger;in your code. A request waiting at a breakpoint is not timed out for an hour. - It works for JavaScript and TypeScript on Node.js and on Bun (Bun's web inspector, or the Bun extension of VS Code), for code that runs in a sandbox. The other requests keep using the usual sandboxes.
- The port of the inspector is open on the server itself only (127.0.0.1) : reach it through an SSH tunnel. The debug
settings show the command of every sandbox for debugging of every server, for example
ssh -L 9229:localhost:41237 root@your-server, after whichchrome://inspectfinds it onlocalhost:9229.
Code finder¶
- Search a word in all your code at once: custom APIs, hooks, events, schedulers, migrations, utility classes, schemas, secrets and more, and open the result to edit it.
- Learn more Code finder.
Your own editor¶
localClient.jsin your Git repository syncs your files with API Maker both ways.- Generate a sync token in your user profile and set it in
local-client.config.js. npm installonce : the packages your code uses and the declarations of Node.js (@types/node), whichtsconfig.jsonnames for VS Code and WebStorm.npm run startkeeps the folder in sync,npm run testruns the test cases of the account from the terminal and writes their code coverage tocoverage/lcov.infofor VS Code and WebStorm. Learn more Test cases.- While it is connected, API Maker also scans the account on its own and keeps
src/api_security_report/up to date on your disk and in git, so an AI assistant working in the folder reads a fresh report. Learn more APIs Security Report & Actions. - An AI agent (Codex, Claude Code, Cursor, Copilot) working in the folder reads
AGENTS.mdat its root : every commit writes the guide of API Maker into it. Learn more AGENTS.md in your repository.