> 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/npm-client-custom-baseurl-new-endpoint.md).

# How do I point the terra-api npm client at the new endpoint?

**You can route to the new direct endpoint today, without waiting for a package release**, by passing a custom `baseUrl` to the SDK client constructor (set it to the new access endpoint).

The npm client has not been updated recently, so its default base URL will not flip automatically, which makes the `baseUrl` override the practical path.

The old endpoint is not currently deprecated.
