---
title: "Check Git history export availability"
method: GET
path: "/apps/{appRef}/export/git/check"
tags: ["Export"]
---

# Check Git history export availability

`GET /apps/{appRef}/export/git/check`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/apps/{appRef}/export/git/check`
- Auth: HTTP bearer

Owner-only preflight for deploy history, repository size and daily quota. Does not consume quota, reserve concurrency or create a bundle. Success does not reserve a later download.

## Path parameters

- `appRef` string, required

## Response `200`

Git export preflight passed

- object
  - `ok` true, required
  - `estimatedBytes` number, required

## Other responses

- `401`: Authentication required
- `403`: Owner access required
- `404`: App or deploy history not found
- `413`: Repository exceeds the configured export size limit
- `429`: Daily export quota exhausted
- `503`: Repository size could not be checked

---

[API](https://skmtc.dev/percher/apis/percher-api.md) · [All operations](https://skmtc.dev/percher/apis/percher-api/llms.txt) · [OpenAPI document](https://skmtc.dev/percher/apis/percher-api/revisions/d9e7089c21e5?raw)
