---
title: "Read a resumable folder upload: which parts arrived and its state [read]"
method: GET
path: "/sessions/{id}/workspace/imports/{upload_id}"
---

# Read a resumable folder upload: which parts arrived and its state \[read\]

`GET /sessions/{id}/workspace/imports/{upload_id}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/sessions/{id}/workspace/imports/{upload_id}`
- Auth: HTTP bearer

`received` lists the part numbers already stored, so an interrupted upload sends only the rest.

## Path parameters

- `id` string, required
- `upload_id` string, required

## Response `200`

OK

- object
  - `id` string
  - `name` string
  - `size` integer
  - `sha256` string
  - `part_size` integer
  - `parts` integer: how many parts the upload has
  - `received` integer[]: part numbers already stored
  - `state` 'uploading' | 'verified' | 'importing' | 'imported' | 'failed'
  - `path` string: where the folder landed, once imported
  - `files` integer: files unpacked, once imported
  - `error` object
    - `code` string
    - `message` string

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/sessions/:id/workspace/imports/:upload_id/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
