---
title: Get file information
description: GET /nd/api/file/fileinfo: Get file information interface description, including path, method, parameters and return information.
slug: api-get-nd-api-file-fileinfo
lang: en
category: File API
category_order: 8
order: 105
api_method: GET
api_path: /nd/api/file/fileinfo
api_label: Get file information
keywords:
  - API
  - Get file information
  - /nd/api/file/fileinfo
---

# Get file information

| Properties | Values |
| --- | --- |
| HTTP methods | `GET` |
| Interface path | `/nd/api/file/fileinfo` |
| Category | File API |

## Interface description

Interface path: `/nd/api/file/fileinfo`

HTTP method: `GET`


**HTTP method:** `GET`

#### URL parameters

Parameter name Comment (description)
id file id (required) string
#### Return field description

fileInfo information
Attribute name type description
file Object file information { id, name, …}

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: File API.
