Skip to main content

Get an export out

Every export ends the same way: a checked result you can take away. Whether you run it from the Export dialog, the Export studio, the CLI or the API, the export job packages what the emitter wrote. You can then download it, deliver it somewhere or register it on a schema registry. This page shows what you get and where each way out is described.

When you need it​

  • You want the file. Download one document as itself, or several files as one .zip with a manifest.
  • Your pipeline wants the file. Fetch the download over the API, with its size known up front so a client can show progress.
  • The file belongs somewhere else. Deliver it to git, a webhook or a bucket, or register its schemas on a schema registry.

At a glance​

You get…WhenDetails
One file, with its own file name and content typeThe target writes one document (OpenAPI, GraphQL SDL, an AsyncAPI document…)Export a spec
A .zip with a manifest.json listing every fileThe target writes several files (Protocol Buffers packages, WSDL with its XSDs, Smithy namespaces, Avro subjects), or one job exports several formats or itemsHow an export runs › The pipeline, Export several at once
The file tree of a bundle, to read before you downloadExport studio's 6. Review & GenerateBundles: the file tree and tabs
A download that is kept for 24 hours, then answers 410 GoneEvery completed job; run the export again after thatLimits
Safe file names, kept inside the folder you unpack intoEvery downloadFile names in a download
The result in git, a webhook or a bucketYou tick a delivery profile, or deliver a finished jobDeliver an export
Schemas registered on a schema registryAn Avro, JSON Schema or Protobuf export, through a Schema registry connectorPush to a schema registry

How the pieces fit​

  • Checked before it leaves. A file is validated before it is packaged, and one that fails is never offered for download or delivered. See How an export is checked.
  • One file stays one file. A single document is downloaded as itself. Anything with more than one file comes as one .zip, and its manifest.json names every file, including any item or format that failed, and why.
  • Large downloads stream. The download is sent in pieces, with its full size announced first, so a browser or client shows progress. A download over 32 MiB fails the job instead (an administrator can change the limit).
  • Downloads are temporary; jobs are not. The download is deleted after 24 hours. The job stays in the job list for 7 days (30 days if it failed), and in the workspace's export history for 90 days.
  • Delivery reuses the same result. Delivering a finished job sends the files it already wrote, so nothing is exported again. A registry push exports the same source, format and options itself.
  • Registries: any Confluent-compatible schema registry. The Buf Schema Registry is not supported; run buf push on a downloaded Protocol Buffers export.

With the API​

WhatEndpoint
Start a job, and follow it to completedPOST /v1/export/{tenant}/jobs, GET …/jobs/{job_id}
Download the file or the .zipGET /v1/export/{tenant}/jobs/{job_id}/download
Deliver a finished job with a delivery profilePOST /v1/export/{tenant}/jobs/{job_id}/deliveries
Register the schemas on a schema registryPOST /v1/export/{tenant}/schema-registry/push

Where next​