Get Metadata

Get File Metadata

get

Retrieves all metadata of a specific file. This endpoint is subject to audit.

Authorizations
AuthorizationstringRequired

The File Management API uses JWT (JSON Web Tokens) for authentication.

Obtaining a Token

To retrieve a valid token, you must call the login/idm/tokens endpoint.

  • Requirements: Use a Service Account that has been assigned the Content Export Reader role.
  • Response: The JWT will be returned in the access_token field of the JSON response.
  • Reference: For detailed steps on the handshake, see the OAuth2 Authenticate documentation.
Using the Token

Once obtained, include the token in the Authorization header for all API requests: Authorization: Bearer <access_token>

Path parameters
fileIdstringRequired

The unique ID of the file.

Example: internal_file_id_1
Query parameters
typestring · enumRequired

The type of file being managed.

Possible values:
Responses
chevron-right
200

File metadata retrieved successfully.

application/json
idstringRequired

Unique file identifier.

Example: internal_file_id_1
namestringRequired

File name.

Example: s_POD_ID_SD-2025-01-01-00_ED-2025-05-12-09_GD-2025-05-12_1747050746368.zip.pgp
sizeinteger · int64Optional

File size in bytes.

Example: 1234567
uploadTimestring · date-timeOptional

Timestamp of when the file was uploaded (ISO 8601 format).

Example: 2024-05-15T10:00:00Z
contentTypestringOptional

MIME type of the file.

Example: application/pgp-encrypted
integrityHashstringOptional

A cryptographic hash of the file content.

Example: e79e8e823f2df5091d1e4e1583816c07977d3f11b676f91c9f8dcc53c26e271d
typestringRequired

The type of file.

Example: ContentExport
get
/files/v1/{fileId}/metadata

Last updated

Was this helpful?