# Get trusted environments **GET /trusted-environments** Returns the list of trusted environments for the organization. If no organization is passed in, the organization attached to the user is assumed. ## Servers - https://api.elastic-cloud.com/api/v1: https://api.elastic-cloud.com/api/v1 () ## Parameters ## Responses ### 200 Trusted environments for this organization #### Body: application/json (object) - **accounts** (array[object]) The list of trust relationships with different accounts - **external** (array[object]) The list of trust relationships with external entities - **direct** (array[object]) The list of trust relationships where the certificate is bundled with the trust setting. Allows configuring trust for clusters running outside of an Elastic Cloud managed environment or in an Elastic Cloud environment without an environment level trust established. ### 404 Organization not found. (code: `organization.not_found`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request [Powered by Bump.sh](https://bump.sh)