---
title: "Lists all uploads for all sources"
method: GET
path: "/sources/uploads"
tags: ["Source", "Upload"]
---

# Lists all uploads for all sources

`GET /sources/uploads`

## Request

- Base URL: `http://localhost:3001/api`
- URL: `http://localhost:3001/api/sources/uploads`
- Auth: none declared

## Query parameters

- `page` integer
- `limit` integer
- `changes_only` boolean

## Response `200`

OK

- UploadsArray
  - `uploads` object[]
    - `sourceName` string: Name of the source of the upload
    - `sourceUrl` string
    - `upload` Upload: An instance of case data being written to the server.
      - `status` 'IN_PROGRESS' | 'SUCCESS' | 'ERROR'
      - `summary` object
        - `numCreated` integer
        - `numUpdated` integer
        - `error` 'INTERNAL_ERROR' | 'SOURCE_CONFIGURATION_ERROR' | 'SOURCE_CONFIGURATION_NOT_FOUND' | 'SOURCE_CONTENT_NOT_FOUND' | 'SOURCE_CONTENT_DOWNLOAD_ERROR' | 'PARSING_ERROR' | 'VALIDATION_ERROR' | 'DATA_UPLOAD_ERROR' | 'TIMEOUT'
      - `created` union
        - string
        - object
        - number

## Other responses

- `400`: Malformed request
- `403`: Forbidden
- `500`: Internal server error

## Changes

- **2022-04-19** `7b73390be316`: 1 info
  - added the media type `application/json` for the response with the status `403`
- **2021-03-05** `3c824ebb2004`: 1 warning
  - added the new `TIMEOUT` enum value to the `uploads/items/upload/summary/error` response property for the response status `200`

[Operation history](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/changes/sources/uploads/get.md)

---

[API](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api.md) - [All operations](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/revisions/5b1151265235?raw)
