Files

Get a source file's metadata and the translation state of each locale. Requires project:files:read.

get/v2/projects/{projectId}/files/{fileId}/status

Request

  • Base URL
    https://api.gtx.dev
  • Auth
    HTTP bearer

Path parameters

projectIdstring required
fileIdstring required

File ID.

Query parameters

branchIdstring

Branch ID. Defaults to the project default branch.

versionIdstring

Source version ID. Defaults to the branch head.

Headers

gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1' | '2026-10-08.v1' required

API contract version. Must be 2026-10-08.v1 or later; requests without it or with an older version return 400.

Response

File status

Changes

    • warning

      added the new MESSAGE_TREE enum value to the ///// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status