> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/js-sdk-deprecation-backend-sdk-versions.md).

# Is the JavaScript SDK deprecated?

**The legacy JavaScript npm package still functions but no longer receives updates and was removed from the docs.**

* Existing integrations keep running, but **build new functionality against the REST API directly**.
* For the **backend SDK**, there's no official migration guide between major versions yet. The new major release changes most function signatures (breaking), while data models stay largely similar, and it is completely safe to stay on the previous 1.x version if it works for you.
* **Mobile packages** (for example, React Native) are versioned separately and serve a different purpose: connecting mobile integrations.

See the [SDK references](https://docs.tryterra.co/reference/health-and-fitness-api/sdk-references) for current packages.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/js-sdk-deprecation-backend-sdk-versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
