> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get metadata

> Retrieve file metadata from the FlexiCapture for Invoices Cloud via the v2/file info GET method, returning a FileInfoModel with name, size, hash, and MIME type.

Returns file metadata.

## HTTP request

```http theme={null}
GET https://api-{location-id}.flexicapture.com/v2/file/{id}/{token}/info
```

Replace `{location-id}` with your [supported location](/flexi-capture/cloud/cloud-f-cfor-invoices-api#icaas-supported-countries).

## Path parameters

| Parameter | Type         | Description                                                                                      |
| --------- | ------------ | ------------------------------------------------------------------------------------------------ |
| `id`      | path, string | Required. The file ID that was returned in the response of the **file.Upload** method.           |
| `token`   | path, string | Required. The file access token that was returned in the response of the **file.Upload** method. |

## Response

If successful, the server returns a 200 OK HTTP status and an instance of `FileInfoModel`.

```json theme={null}
{
  "id": "string",
  "token": "string",
  "name": "string",
  "extension": "string",
  "hash": "string",
  "size": 0,
  "mime": "string",
  "is_recognizable": true,
  "account": "string",
  "application": "string",
  "email": "string",
  "created": "YYYY-MM-DDT00:00:00.000",
  "expiring": "YYYY-MM-DDT00:00:00.000"
}
```

### FileInfoModel

| Field             | Type                 | Description                                                    |
| ----------------- | -------------------- | -------------------------------------------------------------- |
| `id`              | string               | Required. File ID.                                             |
| `token`           | string               | Required. File access token.                                   |
| `name`            | string               | Required. File name.                                           |
| `extension`       | string               | Required. File extension.                                      |
| `hash`            | string               | Required. File SHA512 hash.                                    |
| `size`            | integer (\$int32)    | Required. File size in bytes.                                  |
| `mime`            | string               | Required. File MIME type.                                      |
| `is_recognizable` | boolean              | Required. Specifies whether the file is recognizable.          |
| `account`         | string               | Required. Account ID.                                          |
| `application`     | string               | Optional. Application ID.                                      |
| `email`           | string               | Required. The email address of the user who uploaded the file. |
| `created`         | string (\$date-time) | Required. File upload date.                                    |
| `expiring`        | string (\$date-time) | Required. File expiration date.                                |
