# Is env.get a request to NoteCARD or NoteHUB?

**URL:** <https://discuss.blues.com/t/is-env-get-a-request-to-notecard-or-notehub/2352>\
**Category:** Uncategorized\
**Created:** [October 2, 2024, 6:07pm UTC](https://discuss.blues.com/t/is-env-get-a-request-to-notecard-or-notehub/2352 "2024-10-02T18:07:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scase](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@scase](https://discuss.blues.com/u/scase)\
**Post date:** [October 2, 2024, 6:07pm UTC](https://discuss.blues.com/t/is-env-get-a-request-to-notecard-or-notehub/2352/1 "2024-10-02T18:07:58Z")

</div>

Hi all,  
Just looking for some clarification here regarding the [env.get](https://dev.blues.io/api-reference/notecard-api/env-requests/latest/#env-get) request.

If I issue this request to the Notecard, I get back the latest env variables’ values. Does this come from the Notecard locally, as in it just gives the values it has from its most recent sync with Notehub? Or does this command cause the Notecard to connect and query Notehub? Does it use bandwidth and/or consumption credits?

Also, if my asking this question implies a fundamental misunderstanding of the system on my part, please let me know.

Thanks!  
Scott

---

<div class="post-metadata">

**Author:** ![tjvantoll](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/tjvantoll/32/231_2.png) [@tjvantoll](https://discuss.blues.com/u/tjvantoll)\
**Post date:** [October 2, 2024, 7:12pm UTC](https://discuss.blues.com/t/is-env-get-a-request-to-notecard-or-notehub/2352/2 "2024-10-02T19:12:05Z")

</div>

Hey @scase,

> Does this come from the Notecard locally, as in it just gives the values it has from its most recent sync with Notehub?

Yes

> Or does this command cause the Notecard to connect and query Notehub?

No

> Does it use bandwidth and/or consumption credits?

Because the request doesn’t cause any network connection, it also doesn’t use any data or consumption credits.

Let me know if that helps, but in general, how you configure your [synchronization mode](https://dev.blues.io/notecard/notecard-walkthrough/essential-requests/#configuring-synchronization-modes) and [inbound interval](https://dev.blues.io/notecard/notecard-walkthrough/essential-requests/#setting-sync-times-for-outbound-and-inbound-data) determines how often you receive environment variable updates from the network, and the `env.get` request just gets the most recent value that the Notecard currently knows about locally.

TJ

---

<div class="post-metadata">

**Author:** ![scase](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@scase](https://discuss.blues.com/u/scase)\
**Post date:** [October 2, 2024, 7:28pm UTC](https://discuss.blues.com/t/is-env-get-a-request-to-notecard-or-notehub/2352/3 "2024-10-02T19:28:05Z")

</div>

Thanks once again for your help, TJ! This is exactly the clarification I needed.

Scott
