---
title: "Find orphaned files"
method: POST
path: "/v2/project/files/orphaned"
tags: ["Files"]
---

# Find orphaned files

`POST /v2/project/files/orphaned`

Return files on a branch that are not present in the provided file ID list.

## Headers

- `gt-api-version` '2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'
- `gt-project-id` string

## Request body

- object
  - `branchId` string, required
  - `fileIds` string[]

## Response `200`

Orphaned files.

- object
  - `orphanedFiles` object[]
    - `fileId` string
    - `versionId` string
    - `fileName` string

## Other responses

- `400` — The request was invalid.
- `401` — Missing or invalid API key.
- `403` — The API key lacks the required permission, or the action is not allowed on the current plan.
- `404` — The requested resource was not found.

---

[API](https://skmtc.net/generaltranslation/apis/general-translation-api.md) · [All operations](https://skmtc.net/generaltranslation/apis/general-translation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/generaltranslation/general-translation-api/revisions/7e9372f17040/schema)
