> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export documents

> `POST /documents/export`

Exports the documents matching the given filters as a single ZIP archive. The export runs in the background: this endpoint returns an export job immediately — poll `GET /exports/{id}` until it completes, then download the archive via `GET /files/{id}/content` using the returned `fileId`.

Combine any of the document filters — every one you supply must match — or apply one of your saved document views with `viewId`. An export covers at most 10000 documents; narrow the selection when it matches more. When the export cannot be produced — for example sealing was requested but a document's owner has no usable default seal provider, or no sealing capacity left for their paid seal provider — the export job reports `failed`. For a single document, `POST /documents/{id}/export` returns the archive directly instead.

**Response headers**

- `Idempotency-Replayed` — Present only on a replay: the request was recognized as a retry of an earlier one by its `Idempotency-Key`, and this is the stored response of that original request.



## OpenAPI

````yaml /api-v2/openapi.json post /documents/export
openapi: 3.0.3
info:
  title: Circularo API v2
  description: >-
    Circularo API v2 gives programmatic access to Circularo, the platform for
    intelligent document management, electronic and digital signing, and the
    signing and approval processes that move your documents forward.


    Use this API to embed Circularo directly into your own products and systems:
    automate the document lifecycle end to end, send documents out to be signed
    and approved, collect the evidence of what happened, manage users and
    access, and stay in sync through real-time events.


    ## Capabilities


    * **Documents:** Create, organize, and search documents, then seal or
    annotate them, clone them, and create a shareable view link — with a
    tamper-proof audit trail behind every one.

    * **Transactions:** Send a document to one or more recipients to be signed,
    approved, reviewed, or accepted — in parallel or in a set order, with
    identity verification for recipients who have no Circularo account — or sign
    it yourself. Track a running transaction, remind, replace or remove its
    recipients, and cancel it.

    * **Templates:** Start a transaction from a template prepared in the
    Circularo web app, with its placed fields and recipient roles already laid
    out for you.

    * **Files, folders & metadata:** Upload reusable files, describe documents
    with metadata definitions, and organize them into personal or shared
    folders.

    * **Exports:** Download a document together with its audit trail and
    certificate of fulfillment, or have a whole folder tree, a filtered set of
    documents, or your own account data archived in the background.

    * **Administration:** Provision and manage the members of your organization,
    control who belongs to which group, and review a complete audit log of
    activity.

    * **Reporting:** Read organization-wide reports and predefined analytics
    dashboards.

    * **Real-time events:** Subscribe to webhooks to react the moment a document
    is created, signed, or completed.


    ## Authentication


    Authenticate every request with a long-lived API key. Create your first key
    from the Circularo web app, then create, list, and revoke additional keys
    through this API. Read `GET /me` to see which account a key belongs to and
    what it is allowed to do.
  termsOfService: https://terms.circularo.com/
  contact:
    name: Circularo
    url: https://developers.circularo.com/
    email: support@circularo.com
  version: 26.2.0
servers:
  - url: https://sandbox.circularo.com/api/v2
security:
  - ApiKey: []
tags:
  - name: API Keys
    description: >-
      An API key is the long-lived, secret credential your integration uses to
      authenticate with Circularo. A key stays valid as long as it is in regular
      use; store it securely, and revoke any key that is no longer needed or may
      have been exposed.
  - name: Audit Logs
    description: >-
      The audit log is the record of actions taken across your organization —
      who did what, to which entity, and when. Search and page through it,
      filtering by actor, activity, target and time range, with an offset for
      shallow access or an opaque cursor for deep traversal and exports.
  - name: Dashboards
    description: >-
      Dashboards are your organization's predefined analytics — document and
      transaction metrics aggregated for reporting and visualization. List the
      dashboards your account can access, then run one to read back its labeled,
      chart-ready data series.
  - name: Documents
    description: >-
      A document combines a main file with metadata, custom fields, and optional
      attachments — the central object you create, search, and manage in
      Circularo. Act on a document directly by sealing or annotating it, clone
      it, read the text of its main file, or create a shareable view link, and
      organize it into folders. Every document carries a transaction identifier
      for tracking its signing or approval process.
  - name: Exports
    description: >-
      An export job packages your documents, folders, or account data into a
      downloadable ZIP archive in the background. Create an export from the
      respective resource, poll it here until it completes, then download the
      resulting archive by its file identifier.
  - name: Files
    description: >-
      A file is a reusable binary you upload once and then reference by its
      identifier wherever a file is needed — as a document's main file, an
      attachment, or an image placed on a page. Upload files and download them
      again; for PDFs, you can also locate signature anchors at upload time.
  - name: Folders
    description: >-
      A folder organizes your documents into a tree — your personal tree, which
      is yours alone, or your organization's shared tree. Nest folders under one
      another, move them within their tree, and search across them to build and
      navigate the structure that fits your workflow.
  - name: Groups
    description: >-
      A group bundles the permissions and access granted to its members —
      including your organization itself, which is represented as a group.
      Browse the groups in your organization and manage who belongs to them.
      Both require organization administrator permissions.
  - name: Me
    description: >-
      The account that your API key belongs to — your identity, role, granted
      permissions, locale preferences, and account status. Read it to discover
      which account a key is connected to and what it is allowed to do.
  - name: Metadata Definitions
    description: >-
      A metadata definition describes the structure of a document — the metadata
      fields it accepts — so you know which metadata to supply when creating or
      working with documents. Browse the definitions available to your account.
  - name: Ping
    description: >-
      Check that Circularo API v2 is reachable and responding. Use it from your
      monitoring or before an integration run to verify connectivity. No
      authentication is required.
  - name: Reports
    description: >-
      A report is an organization-wide view over your documents and their
      transactions — each row pairs a document with the status, timing, activity
      counts and recipients of its transaction, for auditing signing activity,
      tracking processing times, and feeding compliance and analytics tooling.
      Filter by creation time, transaction status, metadata definition,
      category, creator and owner, and page through results with an offset or an
      opaque cursor.
  - name: Templates
    description: >-
      A template is a reusable blueprint for creating transactions, prepared in
      the Circularo web app. Every template carries document defaults — a source
      file, a name and a metadata definition; a signing template additionally
      carries the placed fields and defines the recipient roles and their
      routing. Browse the templates available to your account, then create a
      transaction from one by referencing it and casting recipients into its
      roles.
  - name: Transactions
    description: >-
      A transaction gets a document signed, approved, reviewed or accepted — by
      other people, by yourself, or both. Start one on an existing document or
      create the document in the same call; send it to recipients, defining who
      takes part, what each of them is asked to do, and optional verification
      for recipients without a Circularo account — or sign it yourself, which
      completes the transaction immediately. Once it is running, track its
      progress, remind recipients, update or reassign them, and cancel it when
      it is no longer needed. Transactions have no separate search — find them
      by searching your documents, each of which carries its transaction's
      status and pending recipients.
  - name: Users
    description: >-
      A user is a member of your organization. What they may do is set through
      their role, while the organization is assigned automatically.
      Provisioning, updating, and removing members requires organization
      administrator permissions.
  - name: Webhooks
    description: >-
      A webhook subscribes your systems to document events in your organization.
      Register an HTTPS callback URL to receive real-time notifications when
      documents are created, signed or completed; each payload can optionally
      carry a signature so you can verify it originates from Circularo. Managing
      webhooks requires organization administrator permissions.
externalDocs:
  description: Guides
  url: https://developers.circularo.com/latest/guides
paths:
  /documents/export:
    post:
      tags:
        - Documents
      summary: Export documents
      description: >-
        `POST /documents/export`


        Exports the documents matching the given filters as a single ZIP
        archive. The export runs in the background: this endpoint returns an
        export job immediately — poll `GET /exports/{id}` until it completes,
        then download the archive via `GET /files/{id}/content` using the
        returned `fileId`.


        Combine any of the document filters — every one you supply must match —
        or apply one of your saved document views with `viewId`. An export
        covers at most 10000 documents; narrow the selection when it matches
        more. When the export cannot be produced — for example sealing was
        requested but a document's owner has no usable default seal provider, or
        no sealing capacity left for their paid seal provider — the export job
        reports `failed`. For a single document, `POST /documents/{id}/export`
        returns the archive directly instead.


        **Response headers**


        - `Idempotency-Replayed` — Present only on a replay: the request was
        recognized as a retry of an earlier one by its `Idempotency-Key`, and
        this is the stored response of that original request.
      operationId: exportDocuments
      parameters:
        - in: header
          name: Idempotency-Key
          description: >-
            A unique key that makes a create request safe to retry. Generate a
            fresh value for each distinct operation. If a retry with the same
            key arrives while the original is still being processed you get a
            conflict; once it has completed you get the original result back
            instead of creating a duplicate, and reusing the key with a
            different request body is rejected. Stored results are retained for
            a limited time, after which a retry executes the request again.
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 255
            example: 6b8f0f2e-9d3a-4c1e-bf7a-2f1d9c0a1b23
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/exportDocuments'
            example:
              category:
                - Contract
              includeAuditTrail: true
      responses:
        '202':
          description: The export was queued. Returns the export job to poll.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/export'
              example:
                fileId: null
                finishedAt: null
                id: f0a41d7c-92b5-4c86-9f3d-58ac21e7b604
                isEmpty: false
                queuedAt: '2026-05-11T09:30:00.000Z'
                startedAt: null
                status: queued
                type: documents
          headers:
            Idempotency-Replayed:
              description: >-
                Present only on a replay: the request was recognized as a retry
                of an earlier one by its `Idempotency-Key`, and this is the
                stored response of that original request.
              schema:
                type: string
                enum:
                  - 'true'
        '400':
          description: >-
            The filters or export options are invalid — for example both `scope`
            and `folderId` were supplied, a `viewId` was combined with other
            filters, or the selection exceeds the export limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 400
                type: VALIDATION:INPUT_INVALID
                message: Invalid input
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '401':
          description: Authentication failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 401
                type: AUTH:UNAUTHORIZED
                message: Authentication failed
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '403':
          description: Your account is not allowed to manage documents.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 403
                type: AUTH:ACCESS_DENIED
                message: Access denied
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '404':
          description: No documents matched the export selection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 404
                type: RESOURCE:NOT_FOUND
                message: Resource not found
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '409':
          description: >-
            Another request with the same `Idempotency-Key` is still in
            progress.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 409
                type: RESOURCE:STATE_CONFLICT
                message: Resource state conflict
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '422':
          description: >-
            The `Idempotency-Key` was already used with a different request
            body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 422
                type: VALIDATION:IDEMPOTENCY_KEY_REUSED
                message: Idempotency-Key reused with a different request
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '429':
          description: >-
            Rate limit exceeded; retry after the delay indicated in the
            `Retry-After` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 429
                type: SYSTEM:RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded
                requestId: 3fa85f6457174562b3fc2c963f66afa6
      security:
        - ApiKey: []
components:
  schemas:
    exportDocuments:
      type: object
      properties:
        acceptedBy:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents accepted by any of these people, each given by
            the `userId` or email address of a user, or by the email address of
            a recipient without a Circularo account.
          example:
            - jane.doe@example.com
        approvedBy:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents approved by any of these people, each given by
            the `userId` or email address of a user, or by the email address of
            a recipient without a Circularo account.
          example:
            - jane.doe@example.com
        category:
          type: array
          items:
            type: string
            nullable: true
          description: Export only documents in any of these categories.
          example:
            - Contract
        combine:
          type: boolean
          description: >-
            Merge each document's file together with its requested audit trail
            and certificate of fulfillment into a single PDF. When disabled,
            each requested part is a separate file in the archive.
          example: false
          default: false
        completedAfter:
          type: string
          format: date-time
          description: >-
            Export only documents whose transaction reached its final state —
            `completed`, `rejected`, `cancelled` or `expired` — at or after this
            moment, as their `transaction.completedAt` states. A document whose
            transaction is still running or has not started does not match.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        completedBefore:
          type: string
          format: date-time
          description: >-
            Export only documents whose transaction reached its final state —
            `completed`, `rejected`, `cancelled` or `expired` — at or before
            this moment, as their `transaction.completedAt` states. A document
            whose transaction is still running or has not started does not
            match.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        createdAfter:
          type: string
          format: date-time
          description: Export only documents created at or after this moment.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        createdBefore:
          type: string
          format: date-time
          description: Export only documents created at or before this moment.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        createdBy:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents created by any of these users, each given by
            their `userId` or email address.
          example:
            - jane.doe@example.com
        expiresAfter:
          type: string
          format: date-time
          description: >-
            Export only documents that expire at or after this moment, as their
            `expiresAt` states. A document without an expiration date does not
            match.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        expiresBefore:
          type: string
          format: date-time
          description: >-
            Export only documents that expire at or before this moment, as their
            `expiresAt` states. A document without an expiration date does not
            match.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        folderId:
          type: string
          pattern: ^[A-Za-z0-9_-]+$
          minLength: 1
          description: >-
            Export only documents placed directly in this folder; the folder
            tree is taken from it. Combine with `recursive` to also include
            documents nested deeper. At most one of `folderId` and `scope` may
            be provided.
          example: 97cfb9de-92dd-413a-b5e7-175eff7506d6
          nullable: true
        includeAttachments:
          type: boolean
          description: Include each document's attachments in the archive.
          example: false
          default: false
        includeAuditTrail:
          type: boolean
          description: Include each document's audit trail PDF in the export.
          example: false
          default: false
        includeCertificateOfFulfillment:
          type: boolean
          description: >-
            Include each document's certificate of fulfillment PDF in the export
            — the completion record of its transaction. Meaningful for documents
            whose transaction has been completed: for a document whose
            transaction has not finished, the archive contains a report of the
            document's current state in certificate framing, not a completion
            record.
          example: false
          default: false
        includeSubmittedFiles:
          type: boolean
          description: >-
            Include the files submitted by transaction recipients in the
            archive.
          example: false
          default: false
        metadataDefinition:
          type: array
          items:
            type: string
            pattern: ^[A-Za-z0-9_-]+$
            nullable: true
          description: >-
            Export only documents created with any of these metadata
            definitions.
          example:
            - d_default
        metadataFields:
          type: object
          additionalProperties:
            oneOf:
              - type: string
                nullable: true
              - type: number
              - type: boolean
          description: >-
            Export only documents whose metadata-definition fields hold these
            values, keyed by field identifier. Coded, numeric and date fields
            are matched exactly; free-text fields are matched by full text.
            Fields of the `checkbox` and `date_range` types cannot be filtered
            on.
          example:
            D_DEFAULT_DESCRIPTION: Quarterly maintenance contract
        noticeDueAfter:
          type: string
          format: date-time
          description: >-
            Export only documents whose last day for the renewal notice starts
            at or after this moment, as their `term.renewal.noticeDueAt` states
            — to include a notice due today, give the start of today or earlier.
            A document without a notice deadline does not match.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        noticeDueBefore:
          type: string
          format: date-time
          description: >-
            Export only documents whose last day for the renewal notice starts
            at or before this moment, as their `term.renewal.noticeDueAt` states
            — a moment within that day matches it as well. A document without a
            notice deadline does not match.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        owner:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents currently owned by any of these users, each
            given by their `userId` or email address.
          example:
            - jane.doe@example.com
        password:
          type: string
          minLength: 1
          maxLength: 127
          description: >-
            Protect the exported PDF files with this password. Recipients of the
            archive need the password to open them.
          example: S3cret!
        pendingPurpose:
          type: array
          items:
            type: string
            enum:
              - sign
              - approve
              - review
              - accept
            description: |-
              - `sign`: The recipient is requested to sign the document.
              - `approve`: The recipient is requested to approve the document.
              - `review`: The recipient is requested to review the document.
              - `accept`: The recipient is requested to accept the document.
          description: >-
            Export only documents whose transaction is waiting for a recipient
            asked to perform any of these actions, whether it is already their
            turn or they are queued behind an earlier round.
          example:
            - sign
        query:
          type: string
          maxLength: 255
          description: >-
            Full-text search over the document's title and content. A document
            holding any of the words matches.
          example: quarterly report
          nullable: true
        recursive:
          type: boolean
          description: >-
            When filtering by `folderId` or `scope`, also export documents
            nested at any depth, not only the direct contents.
          example: false
          default: false
        reviewedBy:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents reviewed by any of these people, each given by
            the `userId` or email address of a user, or by the email address of
            a recipient without a Circularo account.
          example:
            - jane.doe@example.com
        scope:
          type: string
          description: >-
            Restrict the export to a single folder tree. Only documents at the
            root of that tree are covered — combine with `recursive` to include
            documents nested at any depth. Omit to cover both trees. At most one
            of `folderId` and `scope` may be provided.


            - `personal`: Your personal folder tree, visible only to you.

            - `shared`: The organization-wide shared folder tree.
          enum:
            - personal
            - shared
          example: shared
        seal:
          type: boolean
          description: >-
            Seal the exported PDF files, each with the default seal provider of
            its document's owner, so their authenticity can be verified outside
            Circularo. When a document owner's default seal provider is a paid
            one, each sealed file counts against that owner's sealing capacity.
          example: false
          default: false
        sharedWith:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents currently shared with any of these people,
            each given by the `userId` or email address of a user, or by the
            email address of a recipient without a Circularo account. Everyone
            the document was shared with, delegated to or reassigned to counts
            while their share lasts — also after they acted on it, and a
            recipient who delegated their action keeps their share. A share that
            was cancelled or has expired no longer counts.
          example:
            - jane.doe@example.com
        signedAfter:
          type: string
          format: date-time
          description: >-
            Export only documents signed at or after this moment — by a
            recipient, or by an owner signing the stored document; a signature
            placed while the document was created or edited, or as a step of its
            metadata definition's workflow, does not count, nor does a seal.
            Together with `signedBy`, one of those people must have signed
            within the period.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        signedBefore:
          type: string
          format: date-time
          description: >-
            Export only documents signed at or before this moment — by a
            recipient, or by an owner signing the stored document; a signature
            placed while the document was created or edited, or as a step of its
            metadata definition's workflow, does not count, nor does a seal.
            Together with `signedBy`, one of those people must have signed
            within the period.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        signedBy:
          type: array
          items:
            type: string
            nullable: true
          description: >-
            Export only documents signed by any of these people — a recipient
            who signed, or an owner who signed the stored document; a signature
            placed while the document was created or edited, or as a step of its
            metadata definition's workflow, does not count — each given by the
            `userId` or email address of a user, or by the email address of a
            recipient without a Circularo account.
          example:
            - jane.doe@example.com
        termType:
          type: array
          items:
            type: string
            enum:
              - fixed_term
              - expiry_only
              - non_fixed_term
              - none
            description: >-
              - `fixed_term`: The document expires on a set date and its
              contract is renewed, automatically or by hand.

              - `expiry_only`: The document expires on a set date and nothing
              renews it.

              - `non_fixed_term`: The contract runs until it is terminated. The
              document expires only once a termination has started, the notice
              period after it.

              - `none`: The document has no kind of term: it has no expiration
              date and is not a contract running until it is terminated.
          description: Export only documents whose term is of any of these kinds.
          example:
            - fixed_term
        transactionStatus:
          type: array
          items:
            type: string
            enum:
              - not-started
              - in-progress
              - completed
              - rejected
              - cancelled
              - expired
            description: >-
              - `not-started`: The document has been created, but no transaction
              has started over it yet.

              - `in-progress`: A transaction is in progress: the document has
              been shared and is awaiting action from one or more recipients.

              - `completed`: The transaction completed successfully — every
              requested recipient finished their action.

              - `rejected`: The transaction ended because a recipient rejected
              the document.

              - `cancelled`: The transaction was cancelled before completion.

              - `expired`: The transaction expired before completion.
          description: Export only documents whose transaction is in any of these statuses.
          example:
            - completed
        trashed:
          type: boolean
          description: >-
            When `true`, export your trashed documents instead of the active
            ones.
          example: false
          default: false
        viewId:
          type: string
          pattern: ^[A-Za-z0-9_-]+$
          description: >-
            Apply one of your saved document views; the view's filters are
            applied exactly as in the Circularo web app. It cannot be combined
            with other search filters — the export options work as usual.
          example: '12'
          nullable: true
        waitingForRecipient:
          type: string
          description: >-
            Export only documents whose transaction is waiting for this
            recipient — the `userId` or email address of a user, or the email
            address of a recipient without a Circularo account — whether it is
            already their turn or they are queued behind an earlier round.
          example: jane.doe@example.com
          nullable: true
        waitingSince:
          type: string
          format: date-time
          description: >-
            Export only documents that have been waiting for a recipient whose
            turn it currently is since at or before this moment.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
      description: >-
        The filters selecting which documents to export and the options
        controlling what the export archive contains.
    export:
      type: object
      properties:
        fileId:
          type: string
          pattern: ^[a-z0-9]+$
          minLength: 1
          description: >-
            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.
          example: s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj
          nullable: true
        finishedAt:
          type: string
          format: date-time
          description: >-
            When the export finished. Null while it is still queued or
            processing.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        id:
          type: string
          format: uuid
          description: Stable identifier of the export. Use it to poll `GET /exports/{id}`.
          example: 0b6cba54-3d40-4d1c-8bff-41d2d0f93cf3
        isEmpty:
          type: boolean
          description: >-
            Whether the export finished without producing a file because its
            selection matched no documents.
          example: false
        queuedAt:
          type: string
          format: date-time
          description: When the export was requested.
          example: '2024-11-02T09:15:30.000Z'
        startedAt:
          type: string
          format: date-time
          description: When the export started processing. Null while it is still queued.
          example: '2024-11-02T09:15:30.000Z'
          nullable: true
        status:
          type: string
          description: >-
            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.
          enum:
            - queued
            - processing
            - completed
            - failed
          example: completed
        type:
          type: string
          description: >-
            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.
          enum:
            - documents
            - folder
            - account
          example: folder
      required:
        - fileId
        - finishedAt
        - id
        - isEmpty
        - queuedAt
        - startedAt
        - status
        - type
      description: >-
        An export job: what it covers, its current status, timing, and — once
        completed — the identifier of the resulting ZIP archive.
    error:
      type: object
      description: The error response returned for all unsuccessful (non-2xx) requests.
      properties:
        status:
          type: integer
          description: The HTTP status code of the error.
          example: 404
        type:
          type: string
          description: >-
            Machine-readable error type in `NAMESPACE:CODE` form, intended for
            programmatic handling. The set of types is not exhaustive and may
            grow over time.
          example: RESOURCE:NOT_FOUND
        message:
          type: string
          description: Human-readable description of the error.
          example: Resource not found
        requestId:
          type: string
          description: >-
            Unique identifier of the request; include it when contacting
            support.
          example: 3fa85f6457174562b3fc2c963f66afa6
        details:
          type: object
          additionalProperties: true
          description: >-
            Optional structured details about the error. Present only for errors
            that carry them; the shape depends on the error type.
      required:
        - status
        - type
        - message
        - requestId
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        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.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.