# Models

## The GetVideo object

```json
{"openapi":"3.1.1","info":{"title":"Video API","version":"1.0"},"components":{"schemas":{"GetVideo":{"title":"GetVideo","required":["Id","Format","Expires"],"properties":{"Id":{"description":"Id of the Video from either MovieVideo, ShowVideo, SeasonVideo, EpisodeVideo object.","type":"integer","format":"int64"},"Format":{"description":"Video format.","type":"string","enum":["mp4","hls","hss","hds","dash"]},"KbRate":{"description":"Video bit-rate required for MP4 content.","type":"string","enum":["NOT_SET","mp4_80","mp4_212","mp4_450","mp4_750","mp4_1500","mp4_2500","mp4_5000","mp4_8000"]},"Expires":{"description":"UTC Time to video link should expire. ISO 8601 Format: yyyy-mm-dd hh:mm:ss.ffffff0Z","type":"string","format":"date-time"},"ReportTag":{"description":"Report tag used in video analytics.","type":"string"},"start":{"description":"Position in seconds to start video playback.","type":"integer","format":"int32"},"end":{"description":"Position in seconds to end video playback.","type":"integer","format":"int32"},"MinRate":{"description":"Adaptive Maximum rate. (Depreciated, use adaptive minimum resolution instead)","type":"string","enum":["adap_212000","adap_350000","adap_600000","adap_1200000","adap_2000000","adap_2500000","adap_3500000"]},"MaxRate":{"description":"Adaptive Minimum rate. (Depreciated, use adaptive minimum resolution instead)","type":"string","enum":["adap_212000","adap_350000","adap_600000","adap_1200000","adap_2000000","adap_2500000","adap_3500000"]},"AdaptiveMinimumResolution":{"description":"Adaptive Minimum resolution. Default is QVGA (320 wide, 212Kbps)","type":"string","enum":["RESOLUTION_QVGA","RESOLUTION_HVGA","RESOLUTION_480P","RESOLUTION_720P","RESOLUTION_1080P"]},"AdaptiveMaximumResolution":{"description":"Adaptive Maximum resolution. Default is 1080P Resolution.","type":"string","enum":["RESOLUTION_QVGA","RESOLUTION_HVGA","RESOLUTION_480P","RESOLUTION_720P","RESOLUTION_1080P"]},"AdaptiveClientManifestVersion":{"description":"Adaptive Client Manifest Version (HLS, default = 3)","type":"integer","format":"int32"},"AdaptiveStartIndex":{"description":"Adaptive Start Index. Default = 4, the 480P resolution.","type":"integer","format":"int32"},"AdaptiveMinimumFragmentLength":{"description":"Adaptive Minimum Fragment Length. Default is 10 seconds.","type":"string","enum":["Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Fifteen","Twenty","Thirty"]}},"description":"GetVideo","type":"object"}}}}
```

## The GetClosedCaption object

```json
{"openapi":"3.1.1","info":{"title":"Video API","version":"1.0"},"components":{"schemas":{"GetClosedCaption":{"title":"GetClosedCaption","properties":{"VideoId":{"type":"integer","format":"int64"}},"description":"GetClosedCaption","type":"object"}}}}
```

## The VideoResponse object

```json
{"openapi":"3.1.1","info":{"title":"Video API","version":"1.0"},"components":{"schemas":{"VideoResponse":{"title":"VideoResponse","properties":{"Url":{"type":"string"},"Expires":{"type":"string","format":"date-time"}},"description":"VideoResponse","type":"object"}}}}
```

## The ClosedCaption object

```json
{"openapi":"3.1.1","info":{"title":"Video API","version":"1.0"},"components":{"schemas":{"ClosedCaption":{"title":"ClosedCaption","properties":{"Id":{"type":"integer","format":"int64"},"VideoID":{"description":"ID of the Video associated with Closed Caption","type":"integer","format":"int32"},"CCFileData":{"type":"string"},"LanguageId":{"description":"ID of language of Closed Caption.","type":"integer","format":"int32"}},"description":"ClosedCaption","type":"object"}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.fabricdata.com/origin/apis-all/video-api-docs/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
