---
title: "Inspect a source ZIP without creating a project or retaining the upload."
method: POST
path: "/drop/inspect"
tags: ["Projects"]
---

# Inspect a source ZIP without creating a project or retaining the upload.

`POST /drop/inspect`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/drop/inspect`
- Auth: HTTP bearer

## Request body `multipart/form-data`

- DropArchiveUpload
  - `file` string, binary, required

## Response `200`

Detected deployable project roots

- DropInspectionResponse
  - `candidates` DropPresetCandidate[], required
    - `composePath` string, nullable
    - `confidence` string, required
    - `directory` string, required
    - `dockerfilePath` string, nullable: Repository-root-relative path to the Dockerfile, when it does not live directly under `{directory}/Dockerfile` (e.g. `docker/Dockerfile` rolled up to a `directory` of `"."`). `None` for a Dockerfile located directly at `{directory}/Dockerfile` and for every non-Dockerfile preset.
    - `isStatic` boolean, required
    - `label` string, required
    - `preset` string, required
    - `reason` string, required
  - `skippedEntries` DropSkippedPath[]: What the deployment will leave out of this archive: version control, installed dependencies, environment files that may hold secrets, OS metadata. Directories are listed once. At most 50 paths; see `skipped_file_count` for the total.
    - `files` integer, required: Archive entries left out under this path.
    - `path` string, required: The file, or the directory (ending in `/`) whose files were left out.
    - `reason` 'version_control' | 'dependencies' | 'environment_file' | 'os_metadata', required: Why an entry was left out of a Drop upload.
  - `skippedFileCount` integer: Archive entries left out in total, including any not listed.
  - `suggestedName` string, required

## Other responses

- `400`: Invalid or unsupported archive

## Changes

- **2026-10-11** `1bfd419deb2f`: 2 info
  - added the optional property `skippedEntries` to the response with the `200` status
  - added the optional property `skippedFileCount` to the response with the `200` status
- **2026-09-07** `c2a1f69745e7`: 1 info
  - added the optional property `candidates/items/dockerfilePath` to the response with the `200` status
- **2026-09-07** `7a3103561bd0`: 1 warning
  - removed the optional property `candidates/items/dockerfilePath` from the response with the `200` status
- **2026-09-07** `7fcff272f099`: 1 info
  - added the optional property `candidates/items/dockerfilePath` to the response with the `200` status
- **2026-09-07** `c1fa498b6377`: 1 warning
  - removed the optional property `candidates/items/dockerfilePath` from the response with the `200` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/drop/inspect/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
