Files

Get file metadata

Get detailed metadata for specific source and translated files.

post/v2/project/files/info

Headers

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

API contract version. Defaults to the oldest supported version.

API contract version. Defaults to the oldest supported version.

gt-project-idstring

Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).

Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).

Request body

Response

File information

Changes

Changed in 1 of the 3 revisions of this API.72934

  • 367cd605d09072934See the full diff
    • the sourceFiles/items/branchId request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the sourceFiles/items/fileId request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the sourceFiles/items/versionId request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the translatedFiles/items/branchId request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the translatedFiles/items/fileId request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the translatedFiles/items/locale request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the translatedFiles/items/versionId request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • removed the optional property sourceFiles/items/approvalRequiredAt from the response with the 200 status

      response-optional-property-removed

    • added the new GTJSON enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new GTJSON enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new HTML enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new HTML enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new JS enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new JS enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new JSON enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new JSON enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new LOTTIE enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new LOTTIE enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new MD enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new MD enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new MDX enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new MDX enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new PO enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new PO enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new POT enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new POT enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new SVG enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new SVG enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new TS enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new TS enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new TWILIO_CONTENT_JSON enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new TWILIO_CONTENT_JSON enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new TXT enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new TXT enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new YAML enum value to the sourceFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • added the new YAML enum value to the translatedFiles/items/fileFormat response property for the response status 200

      response-property-enum-value-added

    • the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • added the media type text/html for the response with the status 400

      response-media-type-added

    • added the media type text/html for the response with the status 401

      response-media-type-added

    • added the media type text/html for the response with the status 403

      response-media-type-added

    • added the non-success response with the status 413

      response-non-success-status-added

    • added the non-success response with the status 429

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • the response property error became required for the status 400

      response-property-became-required

    • the response property error became required for the status 401

      response-property-became-required

    • the response property error became required for the status 403

      response-property-became-required

    • the response property sourceFiles became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/branchId became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/createdAt became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/dataFormat became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/fileFormat became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/fileId became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/fileName became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/locales became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/publishedAt became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/sourceLocale became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/updatedAt became required for the status 200

      response-property-became-required

    • the response property sourceFiles/items/versionId became required for the status 200

      response-property-became-required

    • the response property translatedFiles became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/approvedAt became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/branchId became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/completedAt became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/createdAt became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/dataFormat became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/fileFormat became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/fileId became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/locale became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/publishedAt became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/updatedAt became required for the status 200

      response-property-became-required

    • the response property translatedFiles/items/versionId became required for the status 200

      response-property-became-required

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog