Some CE.SDK plans use usage-based pricing that meters exports. This page defines exactly which operations count as an export, when an export is recorded, and which data is collected along with it. For an overview of licensing options, see Licensing. For a broader look at data collection and privacy, see Security.
What Counts as an Export#
CE.SDK records one export event per call to an export API. This applies to:
- Exporting a block to an image format such as PNG, JPEG, WebP or TGA
- Exporting to PDF or SVG
- Exporting raw pixel data through the export API
- Exporting with a color mask
- Exporting a video
- Exporting audio
- Exporting a page as HTML with the HTML exporter
Each call produces exactly one event, regardless of the content being exported. The engine doesn’t distinguish between a “final” export and any other use of the export API. For example, if you call the export API to generate a thumbnail of a design programmatically, that call counts as an export like any other. To show a design in your app without counting an export, use a preview instead.
What Doesn’t Count#
The following operations never record an export event:
- Live rendering in the editor. The canvas preview your users see while editing isn’t an export.
- Saving scenes. Saving a scene to a string or archive—including autosaves and drafts—isn’t an export. Only the export APIs count.
- Built-in thumbnail APIs. The engine’s thumbnail generation APIs, such as video and audio thumbnail sequences and the page thumbnails shown in the editor UI, don’t go through the export pipeline and aren’t counted.
- Previews. An image from
exportPreviewisn’t an export. See Previews.
When an Export Is Counted#
An export is counted after the engine finishes it successfully. A failed or canceled export—for example due to an invalid block or an encoding error—isn’t counted. This applies to images, PDFs, videos and audio alike.
On the web, an image or PDF export that the engine returns in memory counts as soon as the engine has encoded it. If you cancel the export after that point, it still counts. A large PDF, a video or an audio file is first written to the browser’s file storage, and counts only once your code receives the file. If the browser fails to hand that file over to you, the export isn’t counted.
A PDF that you receive in chunks while it is exported counts only once the whole document has reached you. A streamed export that stops early isn’t counted, because the pages you received don’t form a PDF that opens.
An export is counted when the export API call executes—not when a file is downloaded, uploaded or attached to a business event. There is no built-in option to defer counting to a later point such as a checkout. If you want exports to align with a business event, structure your integration so the export API is only called at that point.
Previews#
exportPreview gives you a small image of a block to show in your app, for example in a design picker or a cart. It’s available as engine.block.exportPreview(block) on Web and Node.js, and as exportPreview on iOS and Android. A preview doesn’t count as an export.
A preview is limited so that it can’t replace an export:
- It’s always a still WebP image at quality 0.8. For a video, it shows one frame. To show frames across a video, use the video thumbnail sequence API, which doesn’t count either.
- It has at most 262,144 pixels, which is 512 × 512. A larger block is scaled down to fit and keeps its aspect ratio. A smaller block keeps its export size.
Use the export API for any file that you deliver. A preview sends a preview event with its width and height, so we can see how previews are used, but the event isn’t billed.
A preview can fail while a video export runs, because the engine renders one export at a time. Wait until the video export finishes, then request the preview again.
HTML Exports#
The HTML exporter renders some blocks as images, for example a block with an effect or a shape that HTML can’t express. One call to exportHtml counts as one export of the page. Each block it renders still sends an export event, marked as part of that HTML export, so it shows up in your usage but isn’t counted. With a CE.SDK version before 1.86, each rendered block counts as an image export of its own. Update CE.SDK to count one export per page.
Multi-Page Documents#
- PDF: Exporting multiple pages in a single call produces one PDF file and one export event. The event includes the number of pages exported and the dimensions of the largest page.
- Image formats: Each page requires its own export call, so exporting a multi-page document as images produces one event per page.
Multiple Formats#
Each export call is counted separately. Exporting the same design once as a PDF and once as a PNG produces two export events, one per format.
Development, Staging and Production#
CE.SDK doesn’t distinguish between environments. A license key can be used across development, staging and production, and exports are counted the same way in all of them.
Server-Side Exports and Renderer#
The same counting rules apply on every platform. Exports performed with the Node.js SDK or other server-side integrations are counted under the same definition as client-side exports.
The CE.SDK Renderer uses the same export counting and additionally sends periodic heartbeats to track the number of active instances, as described in the Security documentation.
What Data Is Collected#
An export event contains only technical metadata—never your content. Image and PDF export events include the media type, format, resolution, page count and megapixels. Video export events include the media type, format, resolution, megapixels of one frame, frame rate and duration. Audio export events include the media type, format and duration. HTML export events include the resolution, page count and megapixels of the exported page. Every export event names the package that produced it, such as the engine or the HTML exporter, and includes the size of the file in bytes where the engine knows it. An export event also carries the custom export metadata that your integration sets. Events are associated with the user ID (if provided by your integration), device ID and session ID described in the Security documentation.
A video, audio or HTML export that fails or is canceled sends a failure event with the type, format and reason. Failure events aren’t counted.
The user ID is transmitted exactly as your integration provides it and is used solely to deduplicate users when counting monthly active users. It doesn’t need to be a real identifier: if you want to keep your internal user IDs private, pass a hashed or otherwise opaque value instead—deduplication works just as well, as long as the value is unique and stable per user.
Export events are only sent when tracking is enabled for your license. Enterprise licenses with offline validation can opt out of tracking entirely; contact our sales team to explore these options.
Export Counts and Billing#
Export events are the technical metering primitive. How those counts map to your bill—which tiers apply and how usage is aggregated—is defined by your plan and contract, not by the SDK. If you have questions about how exports are billed under your agreement, contact our sales team.