---
title: "GET /upload-new/files/{path}/{file-name}/status"
method: GET
path: "/upload-new/files/{path}/{file-name}/status"
tags: ["upload-new"]
---

# GET /upload-new/files/{path}/{file-name}/status

`GET /upload-new/files/{path}/{file-name}/status`

Gets the status of a file upload

## Path parameters

- `path` string, required
- `file-name` string, required

## Response `200`

OK

- object
  - `metadata` object
    - `path` string
    - `is_publishable` boolean
    - `collection_id` string
    - `title` string
    - `size_in_bytes` integer
    - `type` string
    - `licence` string
    - `licence_url` string
    - `state` string
    - `etag` string
  - `file_content` object
    - `valid` boolean

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/office-of-national-statistics/apis/upload-service.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/upload-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/upload-service/revisions/975b70bb90c9/schema)
