---
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`

## Request

- Base URL: `http://localhost:25100`
- URL: `http://localhost:25100/upload-new/files/{path}/{file-name}/status`
- Auth: none declared

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.dev/office-of-national-statistics/apis/upload-service.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/upload-service/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/upload-service/revisions/975b70bb90c9?raw)
