# Retrieve the value of \[Environment Default\] for the "schema" property of a component, using the API

**URL:** <https://matillioncommunity.discourse.group/t/retrieve-the-value-of-environment-default-for-the-schema-property-of-a-component-using-the-api/1444>\
**Category:** Matillion ETL\
**Created:** [September 8, 2021, 3:08pm UTC](https://matillioncommunity.discourse.group/t/retrieve-the-value-of-environment-default-for-the-schema-property-of-a-component-using-the-api/1444 "2021-09-08T15:08:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cdakhlia1630998640742](https://avatars.discourse-cdn.com/v4/letter/c/9de0a6/32.png) [@cdakhlia1630998640742](https://matillioncommunity.discourse.group/u/cdakhlia1630998640742)\
**Post date:** [September 9, 2021, 3:25pm UTC](https://matillioncommunity.discourse.group/t/retrieve-the-value-of-environment-default-for-the-schema-property-of-a-component-using-the-api/1444/5 "2021-09-09T15:25:44Z")

</div>

If the notion of **default environment** exists and if it has a standard meaning, I am still thinking about the fact that it might not help me completely.

Please, allow me to explain:

the **"[Environment Default]"** value from the **schema property of my component** finds its true identity in, I suppose, the **default\_schema** variable of the **selected environment** (or also in the **"schema"** field of the environment export, if I understood correctly). But the **selected environment** is not necessarily the **default**  **environment**.

&nbsp;

More over, the mere concept of a **selected environment** would be contradictory with the statelessness of the RESTful API.

Therefore, there is no concept of **selected environment** , as answered in my [previous question](https://matillioncommunity.discourse.group/t/hi-how-can-i-get-the-currently-used-environment-from-the-api/1435).

In that case, I wouldn't be able to determine which environment is referred by the **"[Environment Default]"** value of my component. Is that right?

&nbsp;

I hope what I said makes sense, and if I made a mistake in the reasoning, I would be very grateful to be told!

---

_[View the full topic](https://matillioncommunity.discourse.group/t/retrieve-the-value-of-environment-default-for-the-schema-property-of-a-component-using-the-api/1444)._
