> For the complete documentation index, see [llms.txt](https://mastodon.gitbook.io/mastodon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mastodon.gitbook.io/mastodon/entities/marker.md).

# Marker

## Example

```javascript
{
  "home": {
    "last_read_id": "103194548672408537",
    "version": 462,
    "updated_at": "2019-11-24T19:39:39.337Z"
  },
  "notifications": {
    "last_read_id": "35050107",
    "version": 356,
    "updated_at": "2019-11-25T13:47:31.333Z"
  }
}
```

## Base attributes

### `home`

**Description:** Information about the user's position in the home timeline.\
**Type:** Hash\
**Version history:** Added in 3.0.0

### `notifications`

**Description:** Information about the user's position in their notifications.\
**Type:** Hash\
**Version history:** Added in 3.0.0

## Nested attributes

### `last_read_id`

**Description:** The ID of the most recently viewed entity.\
**Type:** String (cast from integer but not guaranteed to be a number)\
**Version history:** Added in 3.0.0

### `updated_at`

**Description:** The timestamp of when the marker was set.\
**Type:** String (ISO 8601 Datetime)\
**Version history:** Added in 3.0.0

### `version`

**Description:** Used for locking to prevent write conflicts.\
**Type:** Number\
**Version history:** Added in 3.0.0

## See also

{% content-ref url="/pages/-LrY1byKFfEVvbGXLU7M" %}
[markers](/mastodon/methods/timelines/markers.md)
{% endcontent-ref %}

{% embed url="<https://github.com/tootsuite/mastodon/blob/master/app/serializers/rest/marker_serializer.rb>" %}
app/serializers/rest/marker\_serializer.rb
{% endembed %}
