---
title: "Status of file for each locale"
method: GET
path: "/files-api/v2/projects/{projectId}/file/status"
tags: ["Files"]
---

# Status of file for each locale

`GET /files-api/v2/projects/{projectId}/file/status`

Returns information on a specific file.

**Example:**
```bash
  curl -X GET -H "Authorization: Bearer {token}" 'https://api.smartling.com/files-api/v2/projects/{projectId}/file/status?fileUri=file.properties'
```

## Path parameters

- `projectId` string, required

## Query parameters

- `fileUri` string, required

## Response `200`

OK

- FilesAPIStatusAllLocalesSuccessResponse
  - `response` object, required
    - `code` 'SUCCESS', required — Indicates whether the response was successful or what error has occured.
    - `data` object
      - `created` string, YYYY-MM-DDThh:mm:ssZ — The time and date of the first upload
      - `fileType` 'android' | 'csv' | 'doc' | 'docx' | 'gettext' | 'html' | 'idml' | 'ios' | 'java_properties' | 'json' | 'madcap' | 'markdown' | 'plain_text' | 'ppt' | 'pptx' | 'pres' | 'qt' | 'resx' | 'srt' | 'stringsdict' | 'xls' | 'xlsx' | 'xlsxTemplate' | 'xliff' | 'xml' | 'yaml', required — A unique identifier for the file type.
      - `fileUri` string, required — A unique identifier for the uploaded file
      - `hasInstructions` boolean, required — Whether translator instructions have been captured for the file
      - `items` FilesAPIStatusAllLocalesItem[], required
        - `authorizedStringCount` integer, required — The number of strings in the uploaded file that are authorized (available for translation)
        - `authorizedWordCount` integer, required — The number of words in the uploaded file that are authorized (available for translation)
        - `completedStringCount` integer, required — The number of published strings in the uploaded file
        - `completedWordCount` integer, required — The number of published words in the uploaded file
        - `excludedStringCount` integer, required — The number of excluded strings in the uploaded file
        - `excludedWordCount` integer, required — The number of excluded words in the uploaded file
        - `localeId` string, required
      - `lastUploaded` string, YYYY-MM-DDThh:mm:ssZ, required — The time and date of the last upload
      - `parserVersion` integer, required — Records the version of Smartling's File Parser used to parse the file
      - `totalCount` integer, required — Total number of locales status is returned for
      - `totalStringCount` integer, required — The number of strings in the uploaded file, minus any excluded content
      - `totalPageCount` integer — The number of pages in the uploaded file
      - `pageCountStatus` 'NOT_AVAILABLE_UNSUPPORTED' | 'PROCESSING' | 'AVAILABLE' | 'NOT_AVAILABLE_LEGACY' | 'NOT_AVAILABLE_PROCESSING_FAILED' — Represents the current state of the page count field. Possible values: - NOT_AVAILABLE_UNSUPPORTED - The file type does not support pages. - PROCESSING - The page count is currently being calculated. - AVAILABLE - The page count has been successfully computed. - NOT_AVAILABLE_LEGACY - The file was uploaded using an older parser version that does not support page counting. - NOT_AVAILABLE_PROCESSING_FAILED - The attempt to calculate the page count has failed.
      - `totalWordCount` integer, required — The number of words in the uploaded file, minus any excluded content

## Other responses

- `400` — Provided request parameters are invalid.
- `401` — Provided credentials are not valid.
- `429` — Too many simultaneous API requests.
- `500` — Unexpected error

---

[API](https://skmtc.net/smartling/apis/smartling-rest-api-reference.md) · [All operations](https://skmtc.net/smartling/apis/smartling-rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartling/smartling-rest-api-reference/revisions/2a73d11e9b98/schema)
