# Cursor

- [JSON representation](https://docs.cloud.google.com/pubsub/lite/docs/reference/rest/v1/Cursor#SCHEMA_REPRESENTATION)

A cursor that describes the position of a message within a topic partition.

| JSON representation |
|---|
| ``` { "offset": string } ``` |

| Fields ||
|---|---|
| `offset` | `string (https://developers.google.com/discovery/v1/type-format format)` The offset of a message within a topic partition. Must be greater than or equal 0. |