Skip to main content
Retrieve an export

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<uuid>
required

Identifier of the export, returned when the export was created.

Example:

"0b6cba54-3d40-4d1c-8bff-41d2d0f93cf3"

Response

Returns the export.

An export job: what it covers, its current status, timing, and — once completed — the identifier of the resulting ZIP archive.

fileId
string | null
required

Identifier of the resulting ZIP archive once the export has completed. Download it via GET /files/{id}/content. Null until the export completes, and for an empty export.

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

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

finishedAt
string<date-time> | null
required

When the export finished. Null while it is still queued or processing.

Example:

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

id
string<uuid>
required

Stable identifier of the export. Use it to poll GET /exports/{id}.

Example:

"0b6cba54-3d40-4d1c-8bff-41d2d0f93cf3"

isEmpty
boolean
required

Whether the export finished without producing a file because its selection matched no documents.

Example:

false

queuedAt
string<date-time>
required

When the export was requested.

Example:

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

startedAt
string<date-time> | null
required

When the export started processing. Null while it is still queued.

Example:

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

status
enum<string>
required

Current status of the export.

  • queued: The export is waiting to be processed.
  • processing: The export file is being generated.
  • completed: The export has finished. When it produced a file, fileId points to it.
  • failed: The export failed. Create a new export to retry.
Available options:
queued,
processing,
completed,
failed
Example:

"completed"

type
enum<string>
required

What the export covers.

  • documents: An export of documents selected by search filters.
  • folder: An export of selected folders and their subtrees, or of a whole folder tree.
  • account: An export of the data belonging to your account.
Available options:
documents,
folder,
account
Example:

"folder"