---
title: "It is used to calculate pts in milliseconds for a given frameId. It can also be used to calculate estimated pts for a given timestamp. This endpoint is used for video files (sensors) that are streamed using nvstreamer."
method: GET
path: "/frames/pts"
tags: ["frames"]
---

# It is used to calculate pts in milliseconds for a given frameId. It can also be used to calculate estimated pts for a given timestamp. This endpoint is used for video files (sensors) that are streamed using nvstreamer.

`GET /frames/pts`

## Query parameters

- `sensorId` string, required
- `timestamp` string, date-time
- `frameId` integer

## Response `200`

Successful Operation.

- FramePts
  - `pts` integer, nullable, required

## Other responses

- `400` — Bad Request. This response will be sent if any of the required params are not present or if extra params are passed. It will also be sent if parameter dependencies (mentioned in parameter descriptions) are not satisfied.
- `404` — Resource Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/nvidia/apis/vss-video-analytics-apis.md) · [All operations](https://skmtc.net/nvidia/apis/vss-video-analytics-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nvidia/vss-video-analytics-apis/versions/0ff2b2f41244/schema)
