Files

Last modified date (single locale)

Changed on

This returns the date that a file was last modified in a specified locale.

get/files-api/v2/projects/{projectId}/locales/{localeId}/file/last-modified

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

localeIdstring required

Locale identifier. Either a 2-letter language code (en) or a language-region pair (en-US). The language part is always lowercase; the region part is always uppercase.

Example:fr-FR

Identifier for a locale.

Query parameters

fileUristring required

URI path of a source file within a Smartling project.

Example:/content/en/home.json

A unique identifier for a file in Smartling.

lastModifiedAfterstring YYYY-MM-DDThh:mm:ssZ

Limits the return to only those file and locale combinations that have a lastModified date after the lastModifiedAfterparameter . The items array will be empty if the file has not been modified in any of the locales since the lastModifiedAfter date specified.

Response

OK

Example response

{
  "response": {
    "data": {
      "lastModified": "2026-01-15T10:00:00Z",
      "localeId": "fr-FR"
    }
  }
}

Changes

    • breaking

      added the pattern ^[a-z0-9]{9}$ to the path request parameter projectId

    • breaking

      added the pattern ^[a-z]{2}(-[A-Z]{2})?$ to the path request parameter localeId

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the /// response's property type changed from string to no type, and format from YYYY-MM-DDThh:mm:ssZ to no format for status

    • breaking

      the /// response's property type changed from string to no type for status

    • info

      added to the /// response property allOf list for the response status

    • info

      added to the /// response property allOf list for the response status