Skip to main content
Retrieve file metadata

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Path Parameters

id
string
required

Identifier of the file to retrieve.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

Response

Returns the file's metadata.

A stored file: its identifier and metadata.

checksum
string | null
required

SHA-512 hash (hex) of the file's contents. Compute it over your local file to verify the upload was not corrupted, or to recognize a file you have already uploaded.

Example:

"f898ee89406adbb65fffcf08bc19e3b70d27ae189510077c394d382c578ee074a26a3ca24a35f3bd8898ac0951ae63e5e0e3654184b956d86707c925d697f730"

createdAt
string<date-time> | null
required

When the file was uploaded.

Example:

"2024-11-02T09:15:30.000Z"

createdBy
object | null
required

The person who uploaded the file. Null when it was not uploaded by a person.

fileName
string | null
required

Name of the file.

Example:

"Client agreement"

hasPassword
boolean | null
required

Whether the file is a password-protected PDF. Null when this could not be determined.

Example:

false

id
string
required

Unique identifier of the file.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

mimeType
string | null
required

Media type of the file.

Example:

"application/pdf"

pageCount
integer | null
required

Number of pages, when the file is a PDF. Null for a file that has no pages.

Example:

12

size
integer | null
required

Size of the file in bytes.

Example:

248173