Amazon Rekognition · Schema

GetSegmentDetectionResponse

Amazon Web ServicesCelebrity RecognitionComputer VisionContent ModerationCustom LabelsDeep LearningFace LivenessFacial RecognitionImage AnalysisMachine LearningObject DetectionText DetectionVideo Analysis

Properties

Name Type Description
JobStatus string Current status of the segment detection job.
StatusMessage string If the job fails, StatusMessage provides a descriptive error message.
VideoMetadata array Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The object contains information about the video stream in the input file that Amazon Rekognition Video chose to
AudioMetadata array An array of objects. There can be multiple audio streams. Each AudioMetadata object contains metadata for a single audio stream. Audio information in an AudioMetadata objects includes the audio codec,
NextToken string If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve
Segments array An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment t
SelectedSegmentTypes array An array containing the segment types requested in the call to StartSegmentDetection.
JobId string Job identifier for the segment detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartSegmentDetection.
Video object
JobTag string A job identifier specified in the call to StartSegmentDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
View JSON Schema on GitHub

JSON Schema

amazon-rekognition-get-segment-detection-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-get-segment-detection-response-schema.json",
  "title": "GetSegmentDetectionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-operations-api-openapi.yml#/components/schemas/GetSegmentDetectionResponse",
  "type": "object",
  "properties": {
    "JobStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "SUCCEEDED",
        "FAILED"
      ],
      "description": "Current status of the segment detection job."
    },
    "StatusMessage": {
      "type": "string",
      "description": "If the job fails, StatusMessage provides a descriptive error message."
    },
    "VideoMetadata": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VideoMetadata"
      },
      "description": "Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The object contains information about the video stream in the input file that Amazon Rekognition Video chose to analyze. The VideoMetadata object includes the video codec, video format and other information. Video metadata is returned in each page of information returned by GetSegmentDetection."
    },
    "AudioMetadata": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AudioMetadata"
      },
      "description": "An array of objects. There can be multiple audio streams. Each AudioMetadata object contains metadata for a single audio stream. Audio information in an AudioMetadata objects includes the audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio metadata is returned in each page of information returned by GetSegmentDetection."
    },
    "NextToken": {
      "type": "string",
      "description": "If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text."
    },
    "Segments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SegmentDetection"
      },
      "description": "An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment type the array is sorted by timestamp values."
    },
    "SelectedSegmentTypes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SegmentTypeInfo"
      },
      "description": "An array containing the segment types requested in the call to StartSegmentDetection."
    },
    "JobId": {
      "type": "string",
      "description": "Job identifier for the segment detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartSegmentDetection."
    },
    "Video": {
      "$ref": "#/$defs/Video"
    },
    "JobTag": {
      "type": "string",
      "description": "A job identifier specified in the call to StartSegmentDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic."
    }
  },
  "$defs": {
    "AudioMetadata": {
      "type": "object",
      "properties": {
        "Codec": {
          "type": "string",
          "description": "The audio codec used to encode or decode the audio stream."
        },
        "DurationMillis": {
          "type": "integer",
          "description": "The duration of the audio stream in milliseconds."
        },
        "SampleRate": {
          "type": "integer",
          "description": "The sample rate for the audio stream."
        },
        "NumberOfChannels": {
          "type": "integer",
          "description": "The number of audio channels in the segment."
        }
      }
    },
    "S3Object": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "Name of the S3 bucket."
        },
        "Name": {
          "type": "string",
          "description": "S3 object key name."
        },
        "Version": {
          "type": "string",
          "description": "If the bucket is versioning enabled, you can specify the object version."
        }
      }
    },
    "SegmentDetection": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "TECHNICAL_CUE",
            "SHOT"
          ],
          "description": "The type of the segment. Valid values are TECHNICAL_CUE and SHOT."
        },
        "StartTimestampMillis": {
          "type": "integer",
          "description": "The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis."
        },
        "EndTimestampMillis": {
          "type": "integer",
          "description": "The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down."
        },
        "DurationMillis": {
          "type": "integer",
          "description": "The duration of the detected segment in milliseconds."
        },
        "StartTimecodeSMPTE": {
          "type": "string",
          "description": "The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment. StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates)."
        },
        "EndTimecodeSMPTE": {
          "type": "string",
          "description": "The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment. EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates)."
        },
        "DurationSMPTE": {
          "type": "string",
          "description": "The duration of the timecode for the detected segment in SMPTE format."
        },
        "TechnicalCueSegment": {
          "$ref": "#/$defs/TechnicalCueSegment"
        },
        "ShotSegment": {
          "$ref": "#/$defs/ShotSegment"
        },
        "StartFrameNumber": {
          "type": "integer",
          "description": "The frame number of the start of a video segment, using a frame index that starts with 0."
        },
        "EndFrameNumber": {
          "type": "integer",
          "description": "The frame number at the end of a video segment, using a frame index that starts with 0."
        },
        "DurationFrames": {
          "type": "integer",
          "description": "The duration of a video segment, expressed in frames."
        }
      }
    },
    "SegmentTypeInfo": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "TECHNICAL_CUE",
            "SHOT"
          ],
          "description": "The type of a segment (technical cue or shot detection)."
        },
        "ModelVersion": {
          "type": "string",
          "description": "The version of the model used to detect segments."
        }
      }
    },
    "ShotSegment": {
      "type": "object",
      "properties": {
        "Index": {
          "type": "integer",
          "description": "An Identifier for a shot detection segment detected in a video."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence that Amazon Rekognition Video has in the accuracy of the detected segment."
        }
      }
    },
    "TechnicalCueSegment": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "ColorBars",
            "EndCredits",
            "BlackFrames",
            "OpeningCredits",
            "StudioLogo",
            "Slate",
            "Content"
          ],
          "description": "The type of the technical cue."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence that Amazon Rekognition Video has in the accuracy of the detected segment."
        }
      }
    },
    "Video": {
      "type": "object",
      "properties": {
        "S3Object": {
          "$ref": "#/$defs/S3Object"
        }
      }
    },
    "VideoMetadata": {
      "type": "object",
      "properties": {
        "Codec": {
          "type": "string",
          "description": "Type of compression used in the analyzed video."
        },
        "DurationMillis": {
          "type": "integer",
          "description": "Length of the video in milliseconds."
        },
        "Format": {
          "type": "string",
          "description": "Format of the analyzed video. Possible values are MP4, MOV and AVI."
        },
        "FrameRate": {
          "type": "number",
          "description": "Number of frames per second in the video."
        },
        "FrameHeight": {
          "type": "integer",
          "description": "Vertical pixel dimension of the video."
        },
        "FrameWidth": {
          "type": "integer",
          "description": "Horizontal pixel dimension of the video."
        },
        "ColorRange": {
          "type": "string",
          "enum": [
            "FULL",
            "LIMITED"
          ],
          "description": "A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255)."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-rekognition-get-segment-detection-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.