---
title: "Get Retention executions"
method: GET
path: "/retentions/{id}/executions"
tags: ["Retention"]
---

# Get Retention executions

`GET /retentions/{id}/executions`

Get Retention executions, execution status may be delayed before job service schedule it up.

## Path parameters

- `id` integer, required

## Query parameters

- `page` integer
- `page_size` integer

## Headers

- `X-Request-Id` string

## Response `200`

Get a Retention execution successfully.

- RetentionExecution[]
  - `id` integer
  - `policy_id` integer
  - `start_time` string
  - `end_time` string
  - `status` string
  - `trigger` string
  - `dry_run` boolean

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) · [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerit/harbor-api/revisions/62d78801f8df/schema)
