> For the complete documentation index, see [llms.txt](https://docs.january.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.january.ai/client-sdks/web-sdk/reference.md).

# Reference

The complete API surface, models, and operational details.

* [Client and resources](/client-sdks/web-sdk/reference/client-and-resources.md): `JanuaryClient` options, resources, and `forUser`.
* [Foods API](/client-sdks/web-sdk/reference/foods-api.md): food operations, requests, responses, and `FoodPortion`.
* [Restaurants and food analysis API](/client-sdks/web-sdk/reference/discovery-and-scanning-api.md): restaurant, menu, and food-analysis operations, and the photo helper.
* [Logs and glucose API](/client-sdks/web-sdk/reference/user-resources-api.md): food, water, and weight logs, and glucose prediction.
* [Models and enums](/client-sdks/web-sdk/reference/models-and-enums.md): shared types and constants.
* [Retries, refresh, and cancellation](/client-sdks/web-sdk/reference/retries-and-lifecycle.md): token refresh, the retry policy, and `AbortSignal`.
* [Error handling](/client-sdks/web-sdk/reference/error-handling.md): error categories and what to do about each.
* [Compatibility and packaging](/client-sdks/web-sdk/reference/compatibility.md): supported runtimes, browsers, and package format.
* [Testing and support](/client-sdks/web-sdk/reference/testing-and-support.md): what to test before launch and what to send support.
* [Troubleshooting](/client-sdks/web-sdk/reference/troubleshooting.md): common failures and fixes.
* [Changelog](/client-sdks/web-sdk/reference/changelog.md): changes by version.
