---
title: "Get a sample of latest events"
method: GET
path: "/{dataset_name}/tail"
tags: ["odf-query"]
---

# Get a sample of latest events

`GET /{dataset_name}/tail`

## Path parameters

- `account_name` string, required
- `dataset_name` string, required

## Query parameters

- `skip` integer
- `limit` integer
- `dataFormat` 'JsonAoS' | 'JsonSoA' | 'JsonAoA'
- `schemaFormat` 'ArrowJson' | 'OdfJson' | 'OdfYaml' | 'Parquet' | 'ParquetJson', required

## Response `200`

- DatasetTailResponse
  - `data` object, required — Resulting data
  - `dataFormat` 'JsonAoS' | 'JsonSoA' | 'JsonAoA', required
  - `schema` Schema
  - `schemaFormat` 'ArrowJson' | 'OdfJson' | 'OdfYaml' | 'Parquet' | 'ParquetJson'

## Changes

- **2025-08-03** `411fe35264fd` — 2 warning, 2 info
  - added the new `OdfJson` enum value to the `schemaFormat` response property for the response status `200`
  - added the new `OdfYaml` enum value to the `schemaFormat` response property for the response status `200`
  - added the new enum value `OdfJson` to the `query` request parameter `schemaFormat`
  - added the new enum value `OdfYaml` to the `query` request parameter `schemaFormat`
- **2025-07-29** `9aea0047e18e` — 2 breaking, 2 info
  - removed the enum value `OdfJson` from the `query` request parameter `schemaFormat`
  - removed the enum value `OdfYaml` from the `query` request parameter `schemaFormat`
  - removed the `OdfJson` enum value from the `schemaFormat` response property for the response status `200`
  - removed the `OdfYaml` enum value from the `schemaFormat` response property for the response status `200`

[Change history](https://skmtc.dev/kamu-data/apis/kamu-rest-api/changes/:dataset_name/tail/get.md)

---

[API](https://skmtc.dev/kamu-data/apis/kamu-rest-api.md) · [All operations](https://skmtc.dev/kamu-data/apis/kamu-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kamu-data/kamu-rest-api/revisions/623327a42b01/schema)
