# General Translation Platform: Get file metadata URL: https://generaltranslation.com/en-US/docs/platform/openapi/reference/files/file-info.mdx --- title: "Get file metadata" description: "Get detailed metadata for specific source and translated files. API reference for Get file metadata." method: POST full: true _openapi: method: POST route: /v2/project/files/info toc: [] structuredData: headings: [] contents: - content: Get detailed metadata for specific source and translated files. --- ## `POST https://api.gtx.dev/v2/project/files/info` Get detailed metadata for specific source and translated files. Authentication: send an API key as a bearer token in the `Authorization: Bearer ` header. ### Parameters - `gt-api-version` (header, "2025-01-01.v0" | "2025-11-03.v1" | "2026-02-18.v1" | "2026-03-06.v1", optional): API version. Defaults to the earliest supported version. Latest is `2026-03-06.v1`. - `gt-project-id` (header, string, optional): Target project ID. Required when authenticating with an organization API key. ### Request body Body (`application/json`, object): - `sourceFiles` (object[]) - `fileId` (string, required) - `versionId` (string, required) - `branchId` (string, required) - `translatedFiles` (object[]) - `fileId` (string, required) - `versionId` (string, required) - `branchId` (string, required) - `locale` (string, required) ### Responses **200**: File metadata. Response body (`application/json`, object): - `sourceFiles` (object[]) - `branchId` (string) - `fileId` (string) - `versionId` (string) - `fileName` (string) - `fileFormat` (string) - `dataFormat` (string | null) - `createdAt` (string) - `updatedAt` (string) - `approvalRequiredAt` (string | null) - `publishedAt` (string | null) - `locales` (string[]) - `sourceLocale` (string) - `translatedFiles` (object[]) - `branchId` (string) - `fileId` (string) - `versionId` (string) - `fileFormat` (string) - `dataFormat` (string | null) - `createdAt` (string) - `updatedAt` (string) - `approvedAt` (string | null) - `publishedAt` (string | null) - `completedAt` (string | null) - `locale` (string) **400**: The request was invalid. Response body (`application/json`, object): - `error` (string): Human-readable error message. **401**: Missing or invalid API key. Response body (`application/json`, object): - `error` (string): Human-readable error message. **403**: The API key lacks the required permission, or the action is not allowed on the current plan. Response body (`application/json`, object): - `error` (string): Human-readable error message. The complete OpenAPI 3.1 spec is available at https://generaltranslation.com/openapi.yaml.