---
title: "Get File"
method: GET
path: "/api/v4/{workspace-slug}/files/{file-public-id}"
---

# Get File

`GET /api/v4/{workspace-slug}/files/{file-public-id}`

## Request

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

Get File returns information about the chosen File.

## Path parameters

- `workspace-slug` string, required
- `file-public-id` integer, required

## Query parameters

- `fields` string

## Response `200`

Resource

- FileEntityWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `entity` File, required
    - `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.

## 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)
