---
title: "List Files"
method: GET
path: "/api/v4/{workspace-slug}/files"
---

# List Files

`GET /api/v4/{workspace-slug}/files`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/{workspace-slug}/files`
- Auth: HTTP bearer

List Files returns a paginated list of all Files in the Workspace.

## Path parameters

- `workspace-slug` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `order_by` 'updated_at'
- `order_dir` 'desc' | 'asc'
- `filter` 'all'
- `fields` string

## Response `200`

Resource

- FileEntityListWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `current_items` integer, required: The number of items on the current page.
  - `current_page` integer, required: The number of the current page.
  - `entities` File[], required: The entities for this page.
    - `content_type` string: The content type of the File.
    - `created_at` string, date-time: The time/date the File was created.
    - `description` string: The description of the File.
    - `entity_type` 'file': The type of this entity.
    - `external_id` string, nullable: This field can be set to another unique ID. In the case that the File has been imported from another tool, the ID in the other tool can be indicated here.
    - `id` integer: The unique ID for the File.
    - `mentioned_members` NestedMemberSlimList: The Members who followers of the Doc.
      - `current_items` integer, required
      - `entities` MemberSlim[], required
        - `entity_type` 'member:slim', required: The type of this entity.
        - `id` string, uuid, required: The unique ID of the Member.
        - `name` string, required: The name of the Member.
        - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `list_url` string, required
      - `total_items` integer, required
    - `mentioned_teams` NestedTeamSlimList: A list of Teams that this Member belongs to.
      - `current_items` integer, required
      - `entities` TeamSlim[], required
        - `app_url` string, required: The Shortcut application url for the Team.
        - `entity_type` 'team:slim', required: The type of this entity.
        - `id` string, uuid, required: The unique ID of the Team.
        - `name` string, required: The name of the Team.
        - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `list_url` string, required
      - `total_items` integer, required
    - `name` string: The name of the File.
    - `size` integer: The size of the File in bytes.
    - `stories` NestedStorySlimList: A list of Stories associated with this Project.
      - `current_items` integer, required
      - `entities` StorySlim[], required
        - `app_url` string, required: The Shortcut application url for the Story.
        - `entity_type` 'story:slim', required: The type of this entity.
        - `id` integer, required: The unique ID of the Story.
        - `name` string, required: The name of the Story.
        - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `list_url` string, required
      - `total_items` integer, required
    - `thumbnail_url` string, nullable: The URL of the thumbnail for the File.
    - `updated_at` string, date-time: The time/date the File was last updated.
    - `uploader` MemberSlim: The Member who created the Doc.
      - `entity_type` 'member:slim', required: The type of this entity.
      - `id` string, uuid, required: The unique ID of the Member.
      - `name` string, required: The name of the Member.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
    - `uri` string: A resolvable URI for the entity that will return the full representation.
    - `url` string: The URL for the File.
  - `total_items` integer, required: The number of total items across all pages.
  - `total_pages` integer, required: The total number of pages.
  - `next_page_url` string: A URL to get the next page. Will be absent on the last page.

## Other responses

- `400`: Schema mismatch
- `404`: Resource does not exist
- `422`: Unprocessable

---

[API](https://skmtc.dev/shortcut-com/apis/shortcut-api.md) - [All operations](https://skmtc.dev/shortcut-com/apis/shortcut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shortcut-com/apis/shortcut-api/revisions/bf2d8439832f?raw)
