---
title: "Get the details of a File"
method: GET
path: "/vaults/{vaultUuid}/items/{itemUuid}/files/{fileUuid}"
tags: ["Files"]
---

# Get the details of a File

`GET /vaults/{vaultUuid}/items/{itemUuid}/files/{fileUuid}`

## Request

- Base URL: `http://localhost:8080/v1`
- URL: `http://localhost:8080/v1/vaults/{vaultUuid}/items/{itemUuid}/files/{fileUuid}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/1password/apis/1password-connect/docs/vaults/:vaultUuid/items/:itemUuid/files/:fileUuid/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `vaultUuid` string, uuid, required
- `itemUuid` string, uuid, required
- `fileUuid` string, uuid, required

## Query parameters

- `inline_files` boolean

## Response `200`

OK

- File
  - `id` string: ID of the file
  - `name` string: Name of the file
  - `size` integer: Size in bytes of the file
  - `content_path` string: Path of the Connect API that can be used to download the contents of this file.
  - `section` object: For files that are in a section, this field describes the section.
    - `id` string
  - `content` string, byte: Base64-encoded contents of the file. Only set if size <= OP_MAX_INLINE_FILE_SIZE_KB kb and `inline_files` is set to `true`.

## Other responses

- `401`: Invalid or missing token
- `403`: Unauthorized access
- `404`: File not found
- `413`: File content too large to display

---

[API](https://skmtc.dev/1password/apis/1password-connect.md) - [All operations](https://skmtc.dev/1password/apis/1password-connect/llms.txt) - [OpenAPI document](https://skmtc.dev/1password/apis/1password-connect/revisions/819fa3a9a104?raw)
