---
title: "List all uploaded files"
method: GET
path: "/ext/v2/uploaded-files/"
tags: ["File Uploads"]
---

# List all uploaded files

`GET /ext/v2/uploaded-files/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/uploaded-files/`
- Auth: HTTP bearer

Returns a list of all uploaded files for the organization. The files are sorted by creation date, with the most recent appearing first.

An **uploaded file** is a document or image that has been uploaded to Vetcove's file storage via the upload flow (generate URL → upload to S3 → register file).

## Query parameters

- `ids` integer[], nullable: When provided, filters to objects with these IDs.
- `ending_before` integer, nullable: A cursor used for pagination. Fetches the page of results ending immediately before the object with the given ID. Cannot be used at the same time as `starting_after`.
- `starting_after` integer, nullable: A cursor used for pagination. Fetches the page of results starting immediately after the given ID. Cannot be used at the same time as `ending_before`.
- `limit` integer: The maximum number of items to return per page.

## Response `200`

OK

- ExternalUploadedFileSchemaList
  - `data` ExternalUploadedFileSchema[], required: A single page of data contained within this list.
    - `filename` string, required: The filename of the file that was uploaded
    - `filesize` integer, required: The size of the uploaded file in bytes
    - `id` integer, required: The unique identifier of the file that was uploaded
    - `url` string, required: A pre-signed URL good for 1 hour which can be used to download this file
  - `has_more` boolean: Whether there are more pages or data in this list.
  - `next_page` string, required: A URL linking to the next page of this list.
  - `type` string: Type of this object. Always `list`.

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
