spectra.fm icon

spectra.fm

Interact with the spectra.fm API

Export → Create

AI-generated

Summary

Initiates a new export job for a specified spectra.fm project, optionally configuring locale/theme combinations, content variations, and snapshot versions.

Inputs

  • Project ID (required) — The ID of the project to export from.
  • Combinations — Locale/theme pairs to export; if empty, defaults are used. Can be a single object or an array of objects.
  • Content Variations — An array of key/value maps defining specific content variations for the export.
  • Version — Snapshot version number to export; defaults to "latest" if left empty.
  • Request Options — Global request settings including batching, proxy, timeout, and SSL validation.

Output shape

A single item containing the created export job details (e.g., exportId and status).

The node sends a POST request to /projects/{projectId}/exports. This operation does not download the export file; use the Download operation afterward to retrieve artifacts.

Examples

Example 1: Create a standard export using defaults

Project ID set to a specific project; Combinations, Content Variations, and Version left empty to use default settings.

Example 2: Create a custom export with specific options

Project ID set; Combinations configured with specific locale/theme pairs; Version set to a snapshot number.

Links

Discussion