Trusted Research Environments API
Learn about creating and managing Trusted Research Environments (TREs) via the DNAnexus Platform API.
A Trusted Research Environment (TRE) is a DNAnexus entity that provides a secure, controlled environment for accessing and analyzing sensitive datasets. TREs enforce data governance policies, manage data inventories, and control user access through configurable workspace restrictions.
Creating a TRE requires the requesting user to be an org ADMIN of the billing organization, have the treManagement permission enabled for that org, and use an org with the TRE license. Users with the treManagement permission can also be selected as TRE-specific admins. Each TRE is associated with a billing organization and a region, and provides data inventories, workspace policies, and role-based access controls for researchers.
TRE States
A TRE progresses through the following lifecycle states:
"draft"The initial state after creation. All TRE settings, including inventory, policies, and user management, are fully configurable."active"The TRE is operational and available for downstream use, such as data requests and project creation. Inventory cannot be changed. Policies and user management remain configurable."amending"A transitional state entered by deactivating an active TRE (appears as Maintenance in the UI). Inventory can be updated with a new pending version. Policies and user management remain configurable.
name, description
Yes
Yes
Yes
region, billTo
Yes
No
No
customizedRateCard, customizedURL
Yes
No
No
allowedProjects
Yes
Yes
Yes
TRE Roles
The following roles govern access and administration of a TRE:
TRE Admin Full administrative control over a specific TRE, including configuration, activation, and user management. TRE admins receive ADMIN access to inventory projects when the TRE is active or amending. Any user with the
treManagementpermission (displayed as Research Environment Management in the Org settings UI) can be added as a TRE admin.Reviewer Access to review Data Access Requests. Reviewers are assigned to specific review steps and can approve or reject access requests for their assigned steps. Reviewers receive VIEW access to showcase projects and can discover the TRE in the same way as authorized users.
Authorized User Visibility access to discover the TRE and view its basic details and policies. Authorized users can be individual users, orgs, or the
PUBLICplaceholder (making the TRE discoverable by all platform users). Authorized users can create Data Access Requests.
TRE Robot User
When a TRE is activated, the platform provisions and manages a TRE robot user and a TRE working project for that TRE. These resources support internal TRE operations, including dispensal processing and temporary processing artifacts.
The TRE robot user and the TRE working project are tied to the TRE billing context. Operational compute and storage for these internal workflows are billed to the same billTo organization as the TRE.
Manage these resources only through supported TRE controls. Do not manually remove or modify TRE robot user access or TRE working project permissions. Manual changes can break dispensal and support workflows.
Use supportOrg and allowSupportAccess to control troubleshooting access to the TRE working project. Keep support access disabled unless active debugging is required.
Data Access Request Review Steps
TRE admins configure data access request review steps that define the approval workflow for Data Access Requests. Each review step has a unique identifier, a name, and a description, and is assigned one or more reviewers.
When an access request is submitted, each review step must be independently resolved (approved or rejected) by a reviewer assigned to that step. The overall access request decision follows this priority:
1
Any review step is rejected
Rejected
2
No rejected steps, but any step is pending
Pending
3
All steps are approved
Approved
Review steps can only be added or removed when the TRE is in draft state. Reviewers can be added or removed in any state. A TRE must have at least one review step with at least one reviewer per step before it can be activated.
TRE Inventory
Each TRE manages one or more data inventories that define the datasets available to researchers.
A TRE inventory includes:
File inventory - Required, A file, such as a TSV, associated with a project. This inventory type is required.
Data type groups - Required, A file that defines the data collections and fields available for request selection. This inventory type is required.
Tabular data inventory - Optional, An Apollo dataset in a project associated with the hosting billTo org.
Showcase data inventory - Optional, typically a subset of the full Tabular data dataset used for exploring and selecting cohorts in the data set. The project hosting the showcase dataset must be separate from the projects containing the file and tabular data inventories.
Assays - Optional, An array of assay configurations, each linking entities, projects, datasets, and assay PID map databases. Assays are valid only when the Tabular data inventory is enabled.
The enableDataset and enableShowcase flags control whether the optional tabular data and showcase inventories are enabled. If enableShowcase is false, the TRE must have features.enforceFullCohortSelection set to true before activation.
Each inventory has a version that follows semantic versioning.
Inventories also have their own states:
"active"The inventory configuration for the current data release."inactive"A historical inventory configuration, replaced by a later version."pending"A new inventory configuration that is not yet effective. Pending inventories become active on TRE activation.
Inventory settings can only be changed when the TRE is in the draft or amending state.
TRE Policies
Policies define workspace-level restrictions that the TRE enforces on projects.
Each policy key maps to an existing project data access control. Policy values follow these rules:
trueorfalseThe setting is enforced at the TRE level and cannot be overridden by project admins.nullThe TRE does not enforce this setting. Project admins can configure it independently.
The available policy keys are:
restrictedboolean (nullable) Controls whether users can copy data out of the project. In the UI, this policy is labeled Copy Access.protectedboolean (nullable) Defines which roles can delete data from the project. In the UI, this policy is labeled Delete Access.downloadRestrictedboolean (nullable) Controls whether users can download data from the project. In the UI, this policy is labeled Download Access.externalUploadRestrictedboolean (nullable) Controls whether users can upload files and create data from outside the DNAnexus Platform. In the UI, this policy is labeled External Upload Access. Requires theexternalUploadRestrictedControlfeature switch.previewViewerRestrictedboolean (nullable) Controls whether users can preview and download file content up to 100 KB. In the UI, this policy is labeled File Preview.databaseUIViewOnlyboolean (nullable) Controls whether databases are restricted to platform UI access only. Whentrue, programmatic access via apps, HTTPS environments, and API requests is not allowed. In the UI, this policy is labeled Programmatic Database Access.containsPHIboolean (nullable) Enables enhanced security controls for projects containing PHI, in compliance with HIPAA. Once enabled, this setting cannot be disabled. In the UI, this policy is labeled PHI Data Protection. Requires thephiFeaturesEnabledfeature switch.httpsAppIsolatedBrowsingboolean (nullable) Enforces isolated browsing for all HTTPS apps, preventing data copy and download during app sessions. In the UI, this policy is labeled Isolated Browsing Enforcement.jobOutboundInternetboolean (nullable) Controls whether jobs in the project can access the public internet. In the UI, this policy is labeled Job Outbound Internet Access.displayDataProtectionNoticeboolean (nullable) Displays a configurable data protection notice that users must acknowledge before accessing the project. In the UI, this policy is labeled Data Protection Notice. Requires thedataProtectionNoticefeature switch.
Changes to policies take effect immediately on TRE projects. When a policy value changes via /tre-xxxx/setPolicies, the corresponding project-level flag is synchronized on existing TRE projects.
Non-Configurable Restrictions
Beyond the configurable policies above, the platform enforces a set of non-configurable restrictions on all TRE projects. These restrictions cannot be overridden by project admins or TRE admins.
General Restrictions
The following operations are forbidden in all TRE projects:
Creating new apps via
/app/newis not allowed.Creating new global workflows via
/globalworkflow/newis not allowed.Transferring TRE projects via
/project-xxxx/transferis not allowed.Accepting a transfer for a TRE project via
/project-xxxx/acceptTransferis not allowed.Changing the
billToof a TRE project via/project-xxxx/updateis not allowed.Updating workflows in TRE projects via
/workflow-xxxx/updatemust continue to comply with TRE execution restrictions.Inviting a user to a TRE project via
/project-xxxx/inviterequires the invitee to be a request owner or collaborator on the Data Access Request associated with the project.Removing dispensed data objects via
/class-xxxx/removeObjectsis not allowed. Objects placed into a TRE project by the platform's dispensal process are protected from deletion. Dispensed data is removed only when the entire project is destroyed. For more information, see Dispensal.
Clone Restrictions
Cloning objects between TRE projects via /class-xxxx/clone or /database-xxxx/relocate is subject to the following rules:
The source and destination projects must be associated with the same Data Access Request.
Cloning between TRE projects and non-TRE projects is not allowed. Projects in the
allowedProjectslist for this TRE are exempt from this restriction.
Execution Restrictions
The following restrictions apply to job execution in TRE projects. These affect /applet-xxxx/run, /app-xxxx[/yyyy]/run, /workflow-xxxx/run, and /globalworkflow-xxxx[/yyyy]/run:
allowSSHis not allowed.httpsAppcan expose HTTPS only for allowlisted HTTPS apps, and only on port443.singleContextis enforced astrue.allProjectswithUPLOADaccess or higher access level is not allowed.projectCreationis not allowed.
API Method Specifications
API method: /tre-xxxx/delete
Specification
Deletes a TRE and its associated inventory. The TRE can only be deleted when:
The TRE isn't associated with any data access requests or projects.
The TRE is in the
draftoramendingstate.The requesting user must be a TRE admin.
On deletion, authorized users are removed from the hosting project of the showcase dataset.
Inputs
None.
Outputs
idstring ID of the deleted TRE.
Errors
InvalidStateThe TRE has active access requests or projects associated with it.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre/new
Specification
Creates a new TRE and places it in the draft state. The requesting user must be an org ADMIN of the billing organization, must have the treManagement permission flag enabled for that org, and the org must have the TRE license. On creation, the requesting user is automatically selected as a TRE admin.
Inputs
handlestring (required) A unique identifier for the TRE. The handle must be lowercase, between 3 and 63 characters long, and follow the same constraints as org handles.namestring (required) A descriptive name for the TRE, between 1 and 256 characters long.descriptionstring (required) Detailed information about the TRE, between 1 and 5,000 characters long.summarystring (required) A short summary of the TRE, between 1 and 500 characters long.billTostring (required) The org ID of the data hosting organization.regionstring (required) One of the allowed DNAnexus regions for the billing org, for example,aws:us-east-1.customizedRateCardboolean (optional) If true, the TRE uses the rates of the hosting org rather than standard rates. Defaults tofalse.customizedURLboolean (optional) If true, the TRE uses a customized URL. Defaults tofalse.
Outputs
idstring ID of the newly created TRE (for example,tre-genomics).
Errors
InvalidInputhandlemust be lowercase and between 3 and 63 characters long.namemust not be empty and must not exceed 256 characters.descriptionmust not exceed 5,000 characters.regionis not one of the allowed regions for the billing org.
ResourceNotFoundThe org specified in
billTowas not found.
PermissionDeniedThe requesting user must be an org ADMIN of the org specified in
billTo.The requesting user must have the
treManagementpermission flag enabled for the org specified inbillTo.The org specified in
billTomust have the TRE license.The requesting user must use a full-scope token.
API method: /tre-xxxx/update
Specification
Updates basic information for a TRE. The set of modifiable fields depends on the current state of the TRE. In draft state, all the following fields can be modified. In active or amending state, only name, description, and allowSupportAccess can be modified. The requesting user must be a TRE admin.
Inputs
namestring (optional) A descriptive name for the TRE, between 1 and 256 characters long.descriptionstring (optional) Detailed information about the TRE, between 1 and 5,000 characters long.billTostring (optional) The org ID of the data hosting organization. Only modifiable indraftstate.regionstring (optional) One of the allowed DNAnexus regions. Only modifiable indraftstate.supportOrgstring (optional) Org ID used for support users when troubleshooting access is enabled. Only modifiable indraftstate.allowSupportAccessboolean (optional) Whether users fromsupportOrgcan access the TRE working project for troubleshooting.customizedRateCardboolean (optional) Whether the TRE uses the rates of the hosting org. Only modifiable indraftstate.customizedURLboolean (optional) Whether the TRE uses a customized URL. Only modifiable indraftstate.
Outputs
idstring ID of the updated TRE.
Errors
InvalidInputnamemust not exceed 256 characters.descriptionmust not exceed 5,000 characters.
InvalidStateFields other than
name,description, andallowSupportAccesscannot be modified when the TRE is inactiveoramendingstate.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/setInventory
Specification
Sets the inventory for a TRE. Each TRE has a 1:N relationship with inventory objects. In draft state, the inventory is created or updated in place. In amending state, a new pending inventory is created (or updated if one already exists). Pending inventories become active on TRE activation.
Inputs
The file, enableDataset, enableShowcase, dataTypeGroups, and version keys are required. The dataset and showcase mappings are required only when their corresponding enable flags are true. A file-only inventory sets both enableDataset and enableShowcase to false.
filemapping (required) File inventory configuration. Must not be an empty mapping{}.projectstring (required) The project ID containing the file.idstring (required) The file ID.
enableDatasetboolean (required) Whether the inventory includes a Tabular Data Inventory. Defaults tofalse.datasetmapping (optional) Tabular data inventory configuration. Required whenenableDatasetistrue. Must be omitted whenenableDatasetisfalse.projectstring (required) The project ID containing the dataset.idstring (required) The dataset record ID.
enableShowcaseboolean (required) Whether the inventory includes a Showcase Data Inventory. Defaults tofalse.showcasemapping (optional) Showcase data inventory configuration. Required whenenableShowcaseistrue. Must be omitted whenenableShowcaseisfalse. The project specified here must be different from the projects infileanddatasetbecause authorized users automatically receive access to the project containing the showcase dataset.projectstring (required) The project ID containing the showcase dataset.idstring (required) The showcase record ID.
dataTypeGroupsmapping (required) Data type group metadata file configuration.projectstring (required) The project ID containing the data type groups file.idstring (required) The file ID for data type group metadata.
assaysarray of mappings (optional) Assay configurations. Valid only whenenableDatasetistrue.entitystring (required) The assay entity name.projectstring (required) The project ID for the assay.workingProjectstring (required) The working project ID used for assay processing for this inventory entry.datasetstring (required) The dataset record ID.assayPidMapDatabasestring (required) The unique name of the assay PID map database.
versionstring (required) The inventory version in semantic versioning format (major.minor.patch). Must be greater than the previous active version.
Outputs
idstring ID of the updated TRE.
Errors
InvalidInputfilecannot be empty.datasetis required whenenableDatasetistrue.datasetcannot be specified whenenableDatasetisfalse.showcaseis required whenenableShowcaseistrue.showcasecannot be specified whenenableShowcaseisfalse.assayscannot be specified whenenableDatasetisfalse.File, dataset, showcase, or assay inventory entries must reference valid projects and objects.
dataTypeGroupsmust reference a valid project and file.The
assayPidMapDatabasemust reference an existing database.versionmust follow semantic versioning format and be greater than the previous active version.The requesting user must be an admin of the projects hosting the inventory.
All inventory projects must have the same
billToas the TRE.All inventory projects must be in the same region as the TRE.
InvalidStateInventory cannot be updated when the TRE is in
activestate.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/setPolicies
Specification
Sets the workspace policies for the TRE. Policies map to existing project-level restriction flags. When a policy value changes, the corresponding project-level flag is synchronized on existing TRE projects. Project creation for the TRE is temporarily blocked during synchronization to ensure consistency. The requesting user must be a TRE admin.
Inputs
restrictedWorkspacemapping (optional) Workspace policies for TRE projects. Each key is a policy name and each value istrue,false, ornull. See TRE Policies for the list of available policy keys.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputUnrecognized policy key in input.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/addTreAdmins
Specification
Adds users as TRE admins for the specified TRE. If the TRE is in active or amending state, newly added TRE admins are granted ADMIN access to the inventory projects. The requesting user must be a TRE admin.
Inputs
usersarray of strings (required) A list of user IDs to add as TRE admins.The total number of TRE admins must not exceed 100.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputThe
usersarray is empty or adding these users exceeds the limit of 100 TRE admins.
ResourceNotFoundThe TRE was not found.
One or more users in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/removeTreAdmins
Specification
Removes users from the TRE admin role. If the TRE is in active or amending state, removed users lose their access to the inventory projects. The requesting user must be a TRE admin.
Inputs
usersarray of strings (required) A list of user IDs to remove from the TRE admin role.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputThe
usersarray does not contain valid user IDs.
ResourceNotFoundThe TRE was not found.
One or more users in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/addAuthorizedUsers
Specification
Adds users or orgs to the authorized users list for the specified TRE. Authorized users can discover and view the TRE. The input list can contain user IDs, org IDs, or the PUBLIC placeholder. If PUBLIC is specified, any user on the platform can discover the TRE, and any existing individual user or org entries are replaced. The requesting user must be a TRE admin.
Inputs
usersarray of strings (required) A list of user IDs, org IDs, orPUBLICto add as authorized users of the TRE.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputThe
usersarray does not contain valid user IDs, org IDs, orPUBLIC.
ResourceNotFoundThe TRE was not found.
One or more users or orgs in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/removeAuthorizedUsers
Specification
Removes users or orgs from the authorized users list for the specified TRE. If PUBLIC is in the current list and the input does not include PUBLIC, removing users or orgs has no effect until PUBLIC is also removed. The requesting user must be a TRE admin.
Inputs
usersarray of strings (required) A list of user IDs, org IDs, orPUBLICto remove from the authorized users list.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputThe
usersarray does not contain valid user IDs, org IDs, orPUBLIC.
ResourceNotFoundThe TRE was not found.
One or more users or orgs in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
API method: /tre-xxxx/addApplicationReviewStep
Specification
Adds an access request review step to the TRE. Review steps define the stages in the approval workflow for Data Access Requests. Review steps can only be added when the TRE is in draft state. The requesting user must be a TRE admin.
Inputs
reviewStepIdstring (required) A unique identifier for the review step. Must be alphanumeric lowercase without spaces or reserved characters, matching the pattern^[a-z0-9]{1,256}$.namestring (required) A descriptive name for the review step, up to 256 characters.descriptionstring (required) A description of the review step, up to 1,000 characters.
Outputs
idstring ID of the modified TRE.
Errors
InvalidInputreviewStepIddoes not match the required pattern or exceeds 256 characters.nameexceeds 256 characters.descriptionexceeds 1,000 characters.A review step with the same
reviewStepIdalready exists.
InvalidStateThe TRE is not in
draftstate.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/updateApplicationReviewStep
Specification
Updates an existing access request review step on the TRE. The requesting user must be a TRE admin.
Inputs
reviewStepIdstring (required) The identifier of the review step to update.namestring (optional) The updated name for the review step, up to 256 characters.descriptionstring (optional) The updated description for the review step, up to 1,000 characters.
Outputs
idstring ID of the modified TRE.
Errors
InvalidInputreviewStepIddoes not match an existing review step.nameexceeds 256 characters.descriptionexceeds 1,000 characters.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/removeApplicationReviewStep
Specification
Removes an access request review step from the TRE. Review steps can only be removed when the TRE is in draft state. If the removed step's reviewers are not assigned to any other review steps, they are also removed from the showcase projects. The requesting user must be a TRE admin.
Inputs
reviewStepIdstring (required) The identifier of the review step to remove.
Outputs
idstring ID of the modified TRE.
Errors
InvalidInputreviewStepIddoes not match an existing review step.
InvalidStateThe TRE is not in
draftstate.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/addApplicationReviewers
Specification
Adds reviewers to a specific review step of the TRE. Reviewers are granted VIEW access to the showcase projects in the TRE inventories. The requesting user must be a TRE admin.
Inputs
reviewStepIdstring (required) The identifier of the review step.usersarray of strings (required) A list of user IDs to add as reviewers.The total number of reviewers per step must not exceed 100.
Outputs
idstring ID of the modified TRE.
Errors
InvalidInputreviewStepIdis not defined in the TRE.usersarray contains more than 100 reviewers.
ResourceNotFoundThe TRE was not found.
One or more users in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/removeApplicationReviewers
Specification
Removes reviewers from a specific review step of the TRE. If a reviewer is removed from all review steps, their VIEW access to the showcase projects is also revoked. The requesting user must be a TRE admin.
Inputs
reviewStepIdstring (required) The identifier of the review step.usersarray of strings (required) A list of user IDs to remove from the review step.
Outputs
idstring ID of the modified TRE.
Errors
InvalidInputreviewStepIdis not defined in the TRE.
ResourceNotFoundThe TRE was not found.
One or more users in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/getDataTypeGroups
Specification
Returns the contents of the file specified in the dataTypeGroups section of the inventory for the TRE.
Inputs
None.
Outputs
resultsarray of mappings The parsed data type groups.namestring Name of the data type group.descriptionstring Description of the data type group.mandatoryboolean Whether the data type group is mandatory.filesinteger Number of files represented in this data type group.fieldsarray of strings Field IDs represented by this data type group.detailsURLstring URL with more details for the data type group.
Errors
ResourceNotFoundThe TRE was not found.
The file configured in
dataTypeGroupswas not found.
PermissionDeniedThe requesting user must be a TRE admin, reviewer, or authorized user of the TRE.
The requesting user must use a full-scope token.
InvalidStatedataTypeGroupsis not configured in the TRE inventory.dataTypeGroups.projectis not configured in the TRE inventory.dataTypeGroups.idis not configured in the TRE inventory.The configured data type groups file does not contain valid JSON.
The configured data type groups file JSON does not conform to the expected output schema.
API method: /tre-xxxx/describe
Specification
Describes a TRE. The output depends on the requesting user's role. Authorized users and reviewers see a subset of basic fields, including active inventory showcase details when a showcase is enabled. TRE admins see all fields.
Inputs
fieldsmapping (optional) Specifies fields to include or exclude from the output.key — requested output field (see "Outputs" section for valid values).
value boolean — whether to include the field.
Outputs
The following fields are available to all users who have access to the TRE (authorized users, reviewers, and TRE admins):
idstring The TRE ID.namestring The descriptive name of the TRE.descriptionstring Detailed information about the TRE.summarystring A short summary of the TRE.handlestring The unique handle for the TRE.regionstring The region of the TRE.billTostring The billing org ID.statestring The current state of the TRE.Must be one of
"draft","active", or"amending".
publicboolean Whether the TRE is publicly discoverable.policiesmapping The TRE workspace policies. See TRE Policies.inventorystring The active inventory version identifier.showcaseInventorymapping The active inventory details for the showcase section only. Includes the showcase project and record IDs needed to load the showcase dataset in the Cohort Browser.Only present when the active inventory has
enableShowcaseset totrue.
allowedProjectsarray of strings Project IDs exempt from the restriction on cloning between TRE and non-TRE projects. See/tre-xxxx/addAllowedProjects.featuresmapping TRE feature flags. See/tre-xxxx/setFeaturesfor available flags.enforceFullCohortSelectionboolean Whether all data access requests must include the full participant cohort. Whentrue, the Data Showcase is not accessible to authorized users andcohortMetadataRecordscannot be set on data access requests.
The following fields are available only to TRE admins:
inventoryDetailsarray of mappings Full historical inventory records, each including the inventory configuration, version, state, and activation timestamp. See/tre-xxxx/setInventoryfor details on inventory configuration.treAdminsarray of strings The user IDs of TRE admins.authorizedUsersarray of strings The user IDs, org IDs, orPUBLICentries in the authorized users list.customizedRateCardboolean Whether the TRE uses a customized rate card.customizedURLboolean Whether the TRE uses a customized URL.supportOrgstring Org ID for the support org of the TRE that can be used for troubleshooting access.allowSupportAccessboolean Whether troubleshooting access to the TRE working project is enabled for users fromsupportOrg.applicationReviewStepsmapping The access request review step definitions and the reviewers associated with each review step. See Data Access Request Review Steps.createdtimestamp When the TRE was created.modifiedtimestamp When the TRE was last modified.
Errors
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be an authorized user, reviewer, or TRE admin of the TRE.
API method: /tre-xxxx/activate
Specification
Activates a TRE, transitioning it from draft or amending state to active state. On activation, pending inventory becomes active and the previously active inventory becomes inactive. A dispensal queue is created for the TRE. TRE admins are granted ADMIN access to the inventory projects. Authorized users are granted VIEW access to the showcase project when enableShowcase is true. The TRE robot user and the TRE working project are also provisioned or synchronized for TRE operations. The requesting user must be a TRE admin.
Inputs
None.
Outputs
idstring ID of the TRE that was activated.
Errors
InvalidStateThe TRE is not in
draftoramendingstate.The inventory or policies are not set.
The inventory has
enableShowcaseset tofalse, butenforceFullCohortSelectionis not enabled.The TRE uses a
customizedRateCardbut the billing org does not have a rate card set.The TRE inventory has
enableDatasetorenableShowcaseset totrue, but the billing org does not have an Apollo license.The TRE does not have at least one access request review step defined.
One or more review steps do not have at least one reviewer assigned.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/deactivate
Specification
Deactivates a TRE, transitioning it from active state to amending state. This allows TRE admins to modify the TRE configuration before reactivating it. The requesting user must be a TRE admin.
Inputs
None.
Outputs
idstring ID of the TRE that was deactivated.
Errors
InvalidStateThe TRE is not in
activestate.
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
API method: /tre-xxxx/setFeatures
Specification
Sets feature flags for the TRE. TRE features are optional capability flags that modify TRE behavior beyond the configurable workspace policies. The requesting user must be a TRE admin.
Inputs
enforceFullCohortSelectionboolean (optional) Whentrue, every data access request submitted to this TRE must include the full participant cohort. Authorized users cannot access the Data Showcase or apply filters to define a participant population. Must betruebefore activation when the inventory hasenableShowcaseset tofalse. Can only be set totrueindraftstate. Cannot be disabled once enabled. In the UI, this setting is labeled Enforce Full Set Selection in the Data Showcase and Selection section of TRE settings.
Outputs
idstring ID of the TRE that was modified.
Errors
ResourceNotFoundThe TRE was not found.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
InvalidStateThe TRE is in
activestate.enforceFullCohortSelectioncannot be set or changed when the TRE is inamendingstate.enforceFullCohortSelectioncannot be disabled once enabled.
API method: /tre-xxxx/addAllowedProjects
Specification
Adds projects to the allowed projects list for the TRE. Projects in this list are exempt from the clone restriction that prevents cloning between TRE projects and non-TRE projects. The requesting user must be a TRE admin and must have at least VIEW access to each project being added.
Inputs
projectsarray of strings (required) Project IDs to add to the allowed projects list.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputprojectsis empty.
ResourceNotFoundThe TRE was not found.
One or more projects in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
The requesting user must have at least VIEW access to each project being added.
API method: /tre-xxxx/removeAllowedProjects
Specification
Removes projects from the allowed projects list for the TRE. The requesting user must be a TRE admin and must have at least VIEW access to each project being removed.
Inputs
projectsarray of strings (required) Project IDs to remove from the allowed projects list.
Outputs
idstring ID of the TRE that was modified.
Errors
InvalidInputprojectsis empty.
ResourceNotFoundThe TRE was not found.
One or more projects in the list do not exist.
PermissionDeniedThe requesting user must be a TRE admin.
The requesting user must use a full-scope token.
The requesting user must have at least VIEW access to each project being removed.
Last updated
Was this helpful?