{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transcribe/json-schema/amazon-transcribe-get-call-analytics-job-response-schema.json",
  "title": "GetCallAnalyticsJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transcribe-call-analytics-job-api-openapi.yml#/components/schemas/GetCallAnalyticsJobResponse",
  "type": "object",
  "properties": {
    "CallAnalyticsJob": {
      "$ref": "#/$defs/CallAnalyticsJob"
    }
  },
  "$defs": {
    "CallAnalyticsJob": {
      "type": "object",
      "properties": {
        "CallAnalyticsJobName": {
          "type": "string",
          "description": "The name of the Call Analytics job. Job names are case sensitive and must be unique within an Amazon Web Services account."
        },
        "CallAnalyticsJobStatus": {
          "type": "string",
          "enum": [
            "QUEUED",
            "IN_PROGRESS",
            "FAILED",
            "COMPLETED"
          ],
          "description": "Provides the status of the specified Call Analytics job. If the status is COMPLETED, the job is finished and you can find the results at the location specified in TranscriptFileUri (or RedactedTranscriptFileUri, if you requested transcript redaction). If the status is FAILED, FailureReason provides details on why your transcription job failed."
        },
        "CallAnalyticsJobDetails": {
          "$ref": "#/$defs/CallAnalyticsJobDetails"
        },
        "LanguageCode": {
          "type": "string",
          "enum": [
            "af-ZA",
            "ar-AE",
            "ar-SA",
            "am-ET",
            "cy-GB",
            "da-DK",
            "de-CH",
            "de-DE",
            "en-AB",
            "en-AU",
            "en-GB",
            "en-IE",
            "en-IN",
            "en-US",
            "en-WL",
            "es-ES",
            "es-MX",
            "es-US",
            "fa-AF",
            "fa-IR",
            "fr-CA",
            "fr-FR",
            "ga-IE",
            "gd-GB",
            "he-IL",
            "hi-IN",
            "ht-HT",
            "id-ID",
            "it-IT",
            "ja-JP",
            "jv-ID",
            "km-KH",
            "ko-KR",
            "my-MM",
            "ms-MY",
            "nl-NL",
            "pt-BR",
            "pt-PT",
            "ru-RU",
            "ta-IN",
            "te-IN",
            "tr-TR",
            "zh-CN",
            "zh-TW",
            "th-TH",
            "en-ZA",
            "en-NZ",
            "vi-VN",
            "sv-SE",
            "ab-GE",
            "ast-ES",
            "az-AZ",
            "ba-RU",
            "be-BY",
            "bg-BG",
            "bn-IN",
            "bs-BA",
            "ca-ES",
            "ckb-IQ",
            "ckb-IR",
            "cs-CZ",
            "cy-WL",
            "el-GR",
            "et-EE",
            "et-ET",
            "eu-ES",
            "fi-FI",
            "gl-ES",
            "gu-IN",
            "ha-NG",
            "hr-HR",
            "hu-HU",
            "hy-AM",
            "is-IS",
            "ka-GE",
            "kab-DZ",
            "kk-KZ",
            "kn-IN",
            "ky-KG",
            "lg-IN",
            "lt-LT",
            "lv-LV",
            "mhr-RU",
            "mi-NZ",
            "mk-MK",
            "ml-IN",
            "mn-MN",
            "mr-IN",
            "mt-MT",
            "no-NO",
            "ne-NP",
            "or-IN",
            "pa-IN",
            "pl-PL",
            "ps-AF",
            "ro-RO",
            "rw-RW",
            "si-LK",
            "sk-SK",
            "sl-SI",
            "so-SO",
            "sq-AL",
            "sr-RS",
            "su-ID",
            "sw-BI",
            "sw-KE",
            "sw-RW",
            "sw-TZ",
            "sw-UG",
            "tl-PH",
            "tt-RU",
            "ug-CN",
            "uk-UA",
            "uz-UZ",
            "wo-SN",
            "zh-HK",
            "zu-ZA"
          ],
          "description": "The language code used to create your Call Analytics job. For a list of supported languages and their associated language codes, refer to the Supported languages table. If you do not know the language spoken in your media file, you can omit this field and let Amazon Transcribe automatically identify the language of your media. To improve the accuracy of language identification, you can include several language codes and Amazon Transcribe chooses the closest match for your transcription."
        },
        "MediaSampleRateHertz": {
          "type": "integer",
          "description": "The sample rate, in hertz, of the audio track in your input media file."
        },
        "MediaFormat": {
          "type": "string",
          "enum": [
            "mp3",
            "mp4",
            "wav",
            "flac",
            "ogg",
            "amr",
            "webm",
            "m4a"
          ],
          "description": "The format of the input media file."
        },
        "Media": {
          "$ref": "#/$defs/Media"
        },
        "Transcript": {
          "$ref": "#/$defs/Transcript"
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the specified Call Analytics job began processing. Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started processing at 12:32 PM UTC-7 on May 4, 2022."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the specified Call Analytics job request was made. Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started processing at 12:32 PM UTC-7 on May 4, 2022."
        },
        "CompletionTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the specified Call Analytics job finished processing. Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started processing at 12:33 PM UTC-7 on May 4, 2022."
        },
        "FailureReason": {
          "type": "string",
          "description": "If CallAnalyticsJobStatus is FAILED, FailureReason contains information about why the Call Analytics job request failed. The FailureReason field contains one of the following values: Unsupported media format. The media format specified in MediaFormat isn't valid. Refer to refer to the MediaFormat parameter for a list of supported formats. The media format provided does not match the detected media format. The media format specified in MediaFormat doesn't match the format of the input file. Check the media format of your media file and correct the specified value. Invalid sample rate for audio "
        },
        "DataAccessRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) you included in your request."
        },
        "IdentifiedLanguageScore": {
          "type": "number",
          "description": "The confidence score associated with the language identified in your media file. Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the identified language correctly matches the language spoken in your media."
        },
        "Settings": {
          "$ref": "#/$defs/CallAnalyticsJobSettings"
        },
        "ChannelDefinitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ChannelDefinition"
          },
          "description": "Indicates which speaker is on which channel."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags, each in the form of a key:value pair, assigned to the specified call analytics job."
        }
      }
    },
    "CallAnalyticsJobDetails": {
      "type": "object",
      "properties": {
        "Skipped": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CallAnalyticsSkippedFeature"
          },
          "description": "Contains information about any skipped analytics features during the analysis of a call analytics job. This array lists all the analytics features that were skipped, along with their corresponding reason code and message."
        }
      }
    },
    "CallAnalyticsJobSettings": {
      "type": "object",
      "properties": {
        "VocabularyName": {
          "type": "string",
          "description": "The name of the custom vocabulary you want to include in your Call Analytics transcription request. Custom vocabulary names are case sensitive."
        },
        "VocabularyFilterName": {
          "type": "string",
          "description": "The name of the custom vocabulary filter you want to include in your Call Analytics transcription request. Custom vocabulary filter names are case sensitive. Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod."
        },
        "VocabularyFilterMethod": {
          "type": "string",
          "enum": [
            "remove",
            "mask",
            "tag"
          ],
          "description": "Specify how you want your custom vocabulary filter applied to your transcript. To replace words with ***, choose mask. To delete words, choose remove. To flag words without changing them, choose tag."
        },
        "LanguageModelName": {
          "type": "string",
          "description": "The name of the custom language model you want to use when processing your Call Analytics job. Note that custom language model names are case sensitive. The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch."
        },
        "ContentRedaction": {
          "$ref": "#/$defs/ContentRedaction"
        },
        "LanguageOptions": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "af-ZA",
              "ar-AE",
              "ar-SA",
              "am-ET",
              "cy-GB",
              "da-DK",
              "de-CH",
              "de-DE",
              "en-AB",
              "en-AU",
              "en-GB",
              "en-IE",
              "en-IN",
              "en-US",
              "en-WL",
              "es-ES",
              "es-MX",
              "es-US",
              "fa-AF",
              "fa-IR",
              "fr-CA",
              "fr-FR",
              "ga-IE",
              "gd-GB",
              "he-IL",
              "hi-IN",
              "ht-HT",
              "id-ID",
              "it-IT",
              "ja-JP",
              "jv-ID",
              "km-KH",
              "ko-KR",
              "my-MM",
              "ms-MY",
              "nl-NL",
              "pt-BR",
              "pt-PT",
              "ru-RU",
              "ta-IN",
              "te-IN",
              "tr-TR",
              "zh-CN",
              "zh-TW",
              "th-TH",
              "en-ZA",
              "en-NZ",
              "vi-VN",
              "sv-SE",
              "ab-GE",
              "ast-ES",
              "az-AZ",
              "ba-RU",
              "be-BY",
              "bg-BG",
              "bn-IN",
              "bs-BA",
              "ca-ES",
              "ckb-IQ",
              "ckb-IR",
              "cs-CZ",
              "cy-WL",
              "el-GR",
              "et-EE",
              "et-ET",
              "eu-ES",
              "fi-FI",
              "gl-ES",
              "gu-IN",
              "ha-NG",
              "hr-HR",
              "hu-HU",
              "hy-AM",
              "is-IS",
              "ka-GE",
              "kab-DZ",
              "kk-KZ",
              "kn-IN",
              "ky-KG",
              "lg-IN",
              "lt-LT",
              "lv-LV",
              "mhr-RU",
              "mi-NZ",
              "mk-MK",
              "ml-IN",
              "mn-MN",
              "mr-IN",
              "mt-MT",
              "no-NO",
              "ne-NP",
              "or-IN",
              "pa-IN",
              "pl-PL",
              "ps-AF",
              "ro-RO",
              "rw-RW",
              "si-LK",
              "sk-SK",
              "sl-SI",
              "so-SO",
              "sq-AL",
              "sr-RS",
              "su-ID",
              "sw-BI",
              "sw-KE",
              "sw-RW",
              "sw-TZ",
              "sw-UG",
              "tl-PH",
              "tt-RU",
              "ug-CN",
              "uk-UA",
              "uz-UZ",
              "wo-SN",
              "zh-HK",
              "zu-ZA"
            ]
          },
          "description": "You can specify two or more language codes that represent the languages you think may be present in your media. Including more than five is not recommended. If you're unsure what languages are present, do not include this parameter. Including language options can improve the accuracy of language identification. For a list of languages supported with Call Analytics, refer to the Supported languages table. To transcribe speech in Modern Standard Arabic (ar-SA) in Amazon Web Services GovCloud (US) (US-West, us-gov-west-1), Amazon Web Services GovCloud (US) (US-East, us-gov-east-1), Canada (Calgar"
        },
        "LanguageIdSettings": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/LanguageIdSettings"
          },
          "description": "If using automatic language identification in your request and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary filter, include LanguageIdSettings with the relevant sub-parameters (VocabularyName, LanguageModelName, and VocabularyFilterName). LanguageIdSettings supports two to five language codes. Each language code you include can have an associated custom language model, custom vocabulary, and custom vocabulary filter. The language codes that you specify must match the languages of the associated custom language models, custom vocabularies, and custom vo"
        },
        "Summarization": {
          "$ref": "#/$defs/Summarization"
        }
      }
    },
    "CallAnalyticsSkippedFeature": {
      "type": "object",
      "properties": {
        "Feature": {
          "type": "string",
          "enum": [
            "GENERATIVE_SUMMARIZATION"
          ],
          "description": "Indicates the type of analytics feature that was skipped during the analysis of a call analytics job."
        },
        "ReasonCode": {
          "type": "string",
          "enum": [
            "INSUFFICIENT_CONVERSATION_CONTENT",
            "FAILED_SAFETY_GUIDELINES"
          ],
          "description": "Provides a code indicating the reason why a specific analytics feature was skipped during the analysis of a call analytics job."
        },
        "Message": {
          "type": "string",
          "description": "Contains additional information or a message explaining why a specific analytics feature was skipped during the analysis of a call analytics job."
        }
      }
    },
    "ChannelDefinition": {
      "type": "object",
      "properties": {
        "ChannelId": {
          "type": "integer",
          "description": "Specify the audio channel you want to define."
        },
        "ParticipantRole": {
          "type": "string",
          "enum": [
            "AGENT",
            "CUSTOMER"
          ],
          "description": "Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants."
        }
      }
    },
    "ContentRedaction": {
      "type": "object",
      "properties": {
        "RedactionType": {
          "type": "string",
          "enum": [
            "PII"
          ],
          "description": "Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is redacted."
        },
        "RedactionOutput": {
          "type": "string",
          "enum": [
            "redacted",
            "redacted_and_unredacted"
          ],
          "description": "Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript. When you choose redacted Amazon Transcribe creates only a redacted transcript. When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript (as two separate files)."
        },
        "PiiEntityTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "BANK_ACCOUNT_NUMBER",
              "BANK_ROUTING",
              "CREDIT_DEBIT_NUMBER",
              "CREDIT_DEBIT_CVV",
              "CREDIT_DEBIT_EXPIRY",
              "PIN",
              "EMAIL",
              "ADDRESS",
              "NAME",
              "PHONE",
              "SSN",
              "DATE_TIME",
              "PASSPORT_NUMBER",
              "DRIVER_ID",
              "URL",
              "AGE",
              "USERNAME",
              "PASSWORD",
              "AWS_ACCESS_KEY",
              "AWS_SECRET_KEY",
              "IP_ADDRESS",
              "MAC_ADDRESS",
              "LICENSE_PLATE",
              "VEHICLE_IDENTIFICATION_NUMBER",
              "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
              "CA_HEALTH_NUMBER",
              "CA_SOCIAL_INSURANCE_NUMBER",
              "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
              "SWIFT_CODE",
              "ALL"
            ]
          },
          "description": "Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL. If you do not include PiiEntityTypes in your request, all PII is redacted."
        }
      },
      "required": [
        "RedactionType",
        "RedactionOutput"
      ]
    },
    "LanguageIdSettings": {
      "type": "object",
      "properties": {
        "VocabularyName": {
          "type": "string",
          "description": "The name of the custom vocabulary you want to use when processing your transcription job. Custom vocabulary names are case sensitive. The language of the specified custom vocabulary must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary isn't applied. There are no errors or warnings associated with a language mismatch."
        },
        "VocabularyFilterName": {
          "type": "string",
          "description": "The name of the custom vocabulary filter you want to use when processing your transcription job. Custom vocabulary filter names are case sensitive. The language of the specified custom vocabulary filter must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary filter isn't applied. There are no errors or warnings associated with a language mismatch. Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod."
        },
        "LanguageModelName": {
          "type": "string",
          "description": "The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive. The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch."
        }
      }
    },
    "Media": {
      "type": "object",
      "properties": {
        "MediaFileUri": {
          "type": "string",
          "description": "The Amazon S3 location of the media file you want to transcribe. For example: s3://DOC-EXAMPLE-BUCKET/my-media-file.flac s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request."
        },
        "RedactedMediaFileUri": {
          "type": "string",
          "description": "The Amazon S3 location of the media file you want to redact. For example: s3://DOC-EXAMPLE-BUCKET/my-media-file.flac s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request. RedactedMediaFileUri produces a redacted audio file in addition to a redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob) transcription requests."
        }
      }
    },
    "Summarization": {
      "type": "object",
      "properties": {
        "GenerateAbstractiveSummary": {
          "type": "boolean",
          "description": "Enables Generative call summarization in your Call Analytics request Generative call summarization provides a summary of the transcript including important components discussed in the conversation. For more information, see Enabling generative call summarization."
        }
      },
      "required": [
        "GenerateAbstractiveSummary"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag Department:Sales, the key is 'Department'."
        },
        "Value": {
          "type": "string",
          "description": "The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag Department:Sales, the value is 'Sales'. Note that you can set the value of a tag to an empty string, but you can't set the value of a tag to null. Omitting the tag value is the same as using an empty string."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "Transcript": {
      "type": "object",
      "properties": {
        "TranscriptFileUri": {
          "type": "string",
          "description": "The Amazon S3 location of your transcript. You can use this URI to access or download your transcript. If you included OutputBucketName in your transcription job request, this is the URI of that bucket. If you also included OutputKey in your request, your output is located in the path you specified in your request. If you didn't include OutputBucketName in your transcription job request, your transcript is stored in a service-managed bucket, and TranscriptFileUri provides you with a temporary URI you can use for secure access to your transcript. Temporary URIs for service-managed Amazon S3 buc"
        },
        "RedactedTranscriptFileUri": {
          "type": "string",
          "description": "The Amazon S3 location of your redacted transcript. You can use this URI to access or download your transcript. If you included OutputBucketName in your transcription job request, this is the URI of that bucket. If you also included OutputKey in your request, your output is located in the path you specified in your request. If you didn't include OutputBucketName in your transcription job request, your transcript is stored in a service-managed bucket, and RedactedTranscriptFileUri provides you with a temporary URI you can use for secure access to your transcript. Temporary URIs for service-mana"
        }
      }
    }
  }
}