---
title: "GET /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}"
method: GET
path: "/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}"
---

# GET /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}

`GET /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}`

Retrieves an analysis template.

## Path parameters

- `membershipIdentifier` string, required
- `analysisTemplateIdentifier` string, required

## Response `200`

Success

- GetAnalysisTemplateOutput
  - `analysisTemplate` object, required — The analysis template.
    - `id` string, required — The identifier for the analysis template.
    - `arn` string, required — The Amazon Resource Name (ARN) of the analysis template.
    - `collaborationId` string, required — The unique ID for the associated collaboration of the analysis template.
    - `collaborationArn` string, required — The unique ARN for the analysis template’s associated collaboration.
    - `membershipId` string, required — The identifier of a member who created the analysis template.
    - `membershipArn` string, required — The Amazon Resource Name (ARN) of the member who created the analysis template.
    - `description` string — The description of the analysis template.
    - `name` string, required — The name of the analysis template.
    - `createTime` string, date-time, required — The time that the analysis template was created.
    - `updateTime` string, date-time, required — The time that the analysis template was last updated.
    - `schema` object, required — The entire schema object.
      - `referencedTables` TableAlias[] — The tables referenced in the analysis schema.
    - `format` 'SQL' | 'PYSPARK_1_0', required — The format of the analysis template.
    - `source` object, required — The source of the analysis template.
      - `text` string, password — The query text.
      - `artifacts` object — The artifacts of the analysis source.
        - `entryPoint` object, required — The entry point for the analysis template artifacts.
          - `location` object, required — The artifact location.
            - `bucket` string, required — The bucket name.
            - `key` string, required — The object key.
        - `additionalArtifacts` AnalysisTemplateArtifact[] — Additional artifacts for the analysis template.
          - `location` object, required — The artifact location.
            - `bucket` string, required — The bucket name.
            - `key` string, required — The object key.
        - `roleArn` string, required — The role ARN for the analysis template artifacts.
    - `sourceMetadata` object — The source metadata for the analysis template.
      - `artifacts` object — The artifacts of the analysis source metadata.
        - `entryPointHash` object, required — The hash of the entry point for the analysis template artifact metadata.
          - `sha256` string — The SHA-256 hash value.
        - `additionalArtifactHashes` Hash[] — Additional artifact hashes for the analysis template.
          - `sha256` string — The SHA-256 hash value.
    - `analysisParameters` AnalysisParameter[] — The parameters of the analysis template.
      - `name` string, required — The name of the parameter. The name must use only alphanumeric or underscore (_) characters.
      - `type` 'SMALLINT' | 'INTEGER' | 'BIGINT' | 'DECIMAL' | 'REAL' | 'DOUBLE_PRECISION' | 'BOOLEAN' | 'CHAR' | 'VARCHAR' | 'DATE' | 'TIMESTAMP' | 'TIMESTAMPTZ' | 'TIME' | 'TIMETZ' | 'VARBYTE' | 'BINARY' | 'BYTE' | 'CHARACTER' | 'DOUBLE' | 'FLOAT' | 'INT' | 'LONG' | 'NUMERIC' | 'SHORT' | 'STRING' | 'TIMESTAMP_LTZ' | 'TIMESTAMP_NTZ' | 'TINYINT', required — The type of parameter.
      - `defaultValue` string — Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
    - `validations` AnalysisTemplateValidationStatusDetail[] — Information about the validations performed on the analysis template.
      - `type` 'DIFFERENTIAL_PRIVACY', required — The type of validation that was performed.
      - `status` 'VALID' | 'INVALID' | 'UNABLE_TO_VALIDATE', required — The status of the validation.
      - `reasons` AnalysisTemplateValidationStatusReason[] — The reasons for the validation results.
        - `message` string, required — The validation message.
    - `errorMessageConfiguration` object — The configuration that specifies the level of detail in error messages returned by analyses using this template. When set to <code>DETAILED</code>, error messages include more information to help troubleshoot issues with PySpark jobs. Detailed error messages may expose underlying data, including sensitive information. Recommended for faster troubleshooting in development and testing environments.
      - `type` 'DETAILED', required — <p>The level of detail for error messages returned by the PySpark job. When set to DETAILED, error messages include more information to help troubleshoot issues with your PySpark job.</p> <p>Because this setting may expose sensitive data, it is recommended for development and testing environments.</p>
    - `syntheticDataParameters` object — The parameters used to generate synthetic data for this analysis template.
      - `mlSyntheticDataParameters` object — The machine learning-specific parameters for synthetic data generation.
        - `epsilon` number, double, required — The epsilon value for differential privacy when generating synthetic data. Lower values provide stronger privacy guarantees but may reduce data utility.
        - `maxMembershipInferenceAttackScore` number, double, required — The maximum acceptable score for membership inference attack vulnerability. Synthetic data generation fails if the score for the resulting data exceeds this threshold.
        - `columnClassification` object, required — Classification details for data columns that specify how each column should be treated during synthetic data generation.
          - `columnMapping` SyntheticDataColumnProperties[], required — A mapping that defines the classification of data columns for synthetic data generation and specifies how each column should be handled during the privacy-preserving data synthesis process.
            - `columnName` string, required — The name of the data column as it appears in the dataset.
            - `columnType` 'CATEGORICAL' | 'NUMERICAL', required — The data type of the column, which determines how the synthetic data generation algorithm processes and synthesizes values for this column.
            - `isPredictiveValue` boolean, required — Indicates if this column contains predictive values that should be treated as target variables in machine learning models. This affects how the synthetic data generation preserves statistical relationships.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/cleanrooms.md) · [All operations](https://skmtc.net/aws/apis/cleanrooms/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/cleanrooms/versions/17ce59ba806e/schema)
