The navigation field in docs.json defines the pages that go in the navigation menu
The navigation menu is the list of links on every website.You will likely update docs.json every time you add a new page. Pages do not show up automatically.
Simply put your MDX files in folders and update the paths in docs.json.For example, to have a page at https://yoursite.com/your-folder/your-page you would make a folder called your-folder containing an MDX file called your-page.mdx.
You cannot use api for the name of a folder unless you nest it inside another folder. Mintlify uses Next.js which reserves the top-level api folder for internal server calls. A folder name such as api-reference would be accepted.