---
title: "Preview a transfer export"
method: POST
path: "/apiops/projects/{projectName}/transfer-export-previews"
tags: ["Transfer (v2)"]
---

# Preview a transfer export

`POST /apiops/projects/{projectName}/transfer-export-previews`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/transfer-export-previews`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/transfer-export-previews/post.ts> (a function with typed inputs; its response is checked against the schema)

Resolves the named selection and the dependencies a withDependencies package would carry, states how the type's secrets travel, and returns the exportDigest the run must repeat. Writes nothing.

## Path parameters

- `projectName` string, required

## Request body

- ApiOpsTransferExportRequestDTO
  - `formatVersion` integer
  - `type` string
  - `names` string[]
  - `kind` string
  - `withDependencies` boolean
  - `expectedExportDigest` string

## Response `200`

successful operation!

- ApiOpsResponseTransferExportPreview
  - `formatVersion` integer
  - `type` string
  - `withDependencies` boolean
  - `objects` ApiOpsResponseTransferObject[]
    - `name` string
    - `kind` string
    - `type` string
  - `dependencies` ApiOpsResponseTransferDependency[]
    - `type` string
    - `name` string
    - `secret` boolean
    - `resolvedByName` boolean
    - `candidateNames` string[]
  - `secretHandling` string
  - `advisories` ApiOpsAdvisoryDTO[]
    - `level` string
    - `key` string
    - `params` object
  - `exportDigest` string

## Other responses

- `400`: bad request!

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
