Files

Get File

Returns metadata for a file owned by the authenticated user. The response includes a permanent ch://files/{file_id} URL, file name, content type, size, user-provided metadata, and timestamps.

If the file is not found or the user is not authorized, the response will be 401 Unauthorized.

get/files/{file_id}

Path parameters

file_idstring required

ID of the file

Response

File metadata

content_typestring required

MIME type detected or provided for the file.

created_atstring date-time required

Timestamp when the file was created.

file_idstring required

Unique identifier for the file.

file_namestring required

The original filename supplied by the client.

file_sizeinteger required

Size of the stored file in bytes.

metadataobject required

Arbitrary JSON metadata associated with the file.

urlstring required

Permanent Chunkr URL. Use directly with other chunkr API requests.

Changes