---
title: "List a target’s published generations"
method: GET
path: "/v1/benchmark/target/{targetKey}/history"
tags: ["Benchmark"]
---

# List a target’s published generations

`GET /v1/benchmark/target/{targetKey}/history`

## Request

- Base URL: `https://api.roark.ai`
- URL: `https://api.roark.ai/v1/benchmark/target/{targetKey}/history`
- Auth: HTTP bearer

Returns every sweep published for a target, newest first, including superseded ones. This is the trend read: it answers "did this model regress?" from Roark’s own published record. Metadata only — pass a row’s `publicationId` to GET /v1/benchmark/target/{targetKey} for that generation’s numbers.

## Path parameters

- `targetKey` string, required

## Query parameters

- `suite` string, required
- `suiteVersion` string
- `limit` integer: Maximum number of records to return (default: 20, max: 100)
- `offset` integer: Pagination offset

## Response `200`

One page of published generations

- object
  - `data` BenchmarkGeneration[], required
    - `publicationId` string, uuid, required
    - `suite` string, required
    - `suiteVersion` string, required
    - `targetKey` string, required
    - `targetName` string, required
    - `iterations` integer, required
    - `sampleCallCount` integer, required
    - `publishedAt` string, required
    - `supersededAt` string, nullable, required: When a later sweep replaced this generation. Null means it is the current one.
    - `isCurrent` boolean, required: Whether this is the generation the other endpoints return.
  - `pagination` BenchmarkPagination, required
    - `limit` integer, required
    - `offset` integer, required
    - `total` integer, required: Total matching records, ignoring this page.
    - `hasMore` boolean, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

## Changes

> 188 revisions in range; 1 not diffed.

- **2026-09-15** `38989bd64cb3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/benchmark/target/:targetKey/history/get.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) - [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/roarkhq/apis/roark-analytics-api/revisions/efc3377249d1?raw)
