Skip to main content

Export catalog items

Route/ade/dashboard/catalog

A catalog item keeps the format it was imported in. Exporting it writes a file in another format — Protobuf from a GraphQL schema, AsyncAPI from an OpenAPI document — and shows you what the conversion keeps before you download anything. An export never turns the item into a project; to edit it as OpenAPI, convert it instead.

You wantUseOpen it from
One item in one format, quicklyThe Export dialog⋯ → “Export” on the item, or “Export” on the item's page
One item, with options, a verify step and a job you can watchThe Export studio⋯ → “Export to another format…” on the item or its page
Several items in one format, in one .zipBulk exportTick the items, then “Export n…” in the bulk bar
An export in a script or a pipelineThe CLIapiome export <format>

All of them use the same targets and the same fidelity check, so a target that is lossy in the dialog is lossy in the studio and in the CLI.

Export one item: the dialog​

  1. On the Catalog, open the item's ⋯ menu and choose “Export” (or click “Export” on the item's page).
  2. Click “Choose target”, pick a format and read its fidelity badge, then click “Continue”.
  3. Read what the conversion drops, approximates or invents. Tick the acknowledgement if it asks for one.
  4. Click “Export” (“Export anyway” after an acknowledgement), then the Download button that names the file, or “Download .zip”.
The Export dialog's target step: format cards with fidelity badges, one greyed out with its reasonThe Export dialog's target step: format cards with fidelity badges, one greyed out with its reason
Route/ade/dashboard/versions

Each step is described on Export a spec. “Open in Export Studio” at the foot of the dialog carries your choices into the studio.

Export one item: the Export studio​

  1. Open the item's ⋯ menu and choose “Export to another format…”. The studio opens with the item as its source.
  2. 2. Target — pick a format; each card carries its tier for this item. Click “Continue”.
  3. 3. Options — change any option, then click “Continue”.
  4. 4. Overlays — optionally add overlay files, then click “Continue”.
  5. 5. Verify — click “Run verification”. Fidelity, validation and lint of the emitted file run in one pass. Acknowledge a lossy conversion, then click “Continue to review”.
  6. 6. Review & Generate — click “Generate”, then “Download .zip” or the file's Download button when the job completes.
Export studio on the Source step: Pet Store API, version 1.2.0, ten export targetsExport studio on the Source step: Pet Store API, version 1.2.0, ten export targets
Route/ade/dashboard/export/studio

Opened from Export studio in the rail instead, the studio starts at 1. Source: click “Catalog items”, search, and click the item. Every step is described on Export studio.

Export several items at once​

To compare this with several formats, every version and presets, see Export several at once.

  1. On the Catalog, tick the items you want, then click “Export n…” in the bulk bar.
  2. Choose a target. The list shows the targets the first ticked item can export to.
  3. Click “Generate”. One job exports every item, each at its latest version.
  4. A table lists each item with its outcome: the fidelity tier, or why it failed. An item that fails does not stop the others.
  5. Click “Download .zip”. Each item's files sit in a folder named after the item, and manifest.json lists every item, including the ones that failed and why.
Export 3 catalog items to OpenAPI 3.1: two completed with their tiers, one failed with its reasonExport 3 catalog items to OpenAPI 3.1: two completed with their tiers, one failed with its reason
Route/ade/dashboard/catalog

One export takes at most 100 items; with more ticked, the first 100 are exported and the dialog says so. The other limits — jobs running at once, run time, download size and how long a download is kept — are on Export a spec. Every member can export, whatever their role; see Who can export.

With the CLI​

apiome export <format> takes a catalog item's id — the last part of the address of the item's page — exports its latest version unless you add --version, and polls the job for you.

ITEM=0b7c2a4e-5d1f-4e8a-9c3b-2f6d8e1a7b90

# Every target and its tier for this item
apiome export targets --project "$ITEM"

# The item to TypeSpec
apiome export typespec "$ITEM" --out pets.tsp

# The item to TypeSpec and two more formats: one archive, a folder per format
apiome export typespec "$ITEM" --targets json-schema,smithy --out exports/

# Three items to JSON Schema: one archive, a folder per item (ids or slugs, @VERSION optional)
apiome export json-schema --items orders-api,pets-api@1.0.0,events-bus --out exports.zip

A lossy or types-only export exits non-zero unless you add --force. With --items, the command prints one row per item and exits 7 when the archive was written but some items failed. The flags are on Export a spec, and the REST requests behind them on Export several items in one job.

What each target keeps​

The dialog, the studio and apiome export targets badge every target with a tier worked out for your item:

TierMeans
losslessCarries the source cleanly.
lossyDrops or approximates some constructs, but keeps operations or channels.
types-onlyOnly the schemas survive; operations and channels are dropped.

The table below gives each target's tier for four typical sources, so you can see what a format keeps before you open either screen. Your item's tiers can differ — a source with no constraints loses none — so check its own badges before you rely on one. How tiers are worked out is in Understand export fidelity. A target whose tool is not installed on your server is greyed out in the app with the missing tool named, whatever its tier.

Each of the 66 targets, measured against four small sources: From a REST API is an OpenAPI 3.1 API with GET /pets/{petId} and POST /pets; From an RPC service is a Protobuf service with one GetPet call; From an event API is an AsyncAPI 3.0 API that publishes to one pets.adopted channel; From types only is a JSON Schema with the types and no operations or channels. All of them share a Pet record (a required id, a name of up to 64 characters, an optional tag and a status) and a PetStatus enum.

TargetKindFrom a REST APIFrom an RPC serviceFrom an event APIFrom types only
A2A Agent CardAgent toolslossylossynot offerednot offered
Apache Arrow / ParquetData schematypes-onlytypes-onlytypes-onlytypes-only
Apache AvroData schematypes-onlytypes-onlytypes-onlytypes-only
Apache IcebergData schematypes-onlytypes-onlytypes-onlytypes-only
Apache ThriftRPClossylossylossylossy
API BlueprintRESTlossylossylossylossy
Apigee API proxyRESTlossynot offerednot offerednot offered
ArazzoRESTlossylossynot offerednot offered
ASN.1Data schematypes-onlytypes-onlytypes-onlytypes-only
AsyncAPI 3.1Eventslossylossylosslesslossy
AWS API GatewayRESTlossynot offerednot offerednot offered
Azure API ManagementRESTlossynot offerednot offerednot offered
BrunoRESTlossynot offerednot offerednot offered
Cap'n ProtoRPClossylossylossylossy
CDDLData schematypes-onlytypes-onlytypes-onlytypes-only
CloudEventsEventslossylossylossylossy
COBOL CopybookData schematypes-onlytypes-onlytypes-onlytypes-only
Connect RPCRPClossylossylossylossy
CORBA IDLRPClossylossylossylossy
EDI X12Data schemanot offerednot offerednot offerednot offered
Envoy xDS RouteConfigurationRESTlossynot offerednot offerednot offered
FHIRRESTlossylossylossylossy
FIXData schemanot offerednot offerednot offerednot offered
FIX OrchestraData schematypes-onlytypes-onlytypes-onlytypes-only
FlatBuffersData schematypes-onlytypes-onlytypes-onlytypes-only
Gateway API HTTPRouteRESTlossynot offerednot offerednot offered
Google API DiscoveryRESTlossylossylossylossy
GraphQL SDLGraphlossylossylossylossy
HL7 v2Data schemanot offerednot offerednot offerednot offered
HL7 v2 segment guideData schematypes-onlytypes-onlytypes-onlytypes-only
HoppscotchRESTlossynot offerednot offerednot offered
HTTP Request FileRESTlossynot offerednot offerednot offered
InsomniaRESTlossynot offerednot offerednot offered
ISO 20022Data schemanot offerednot offerednot offerednot offered
ISO 8583Data schemanot offerednot offerednot offerednot offered
Istio VirtualServiceRESTlossynot offerednot offerednot offered
JSON SchemaData schematypes-onlytypes-onlytypes-onlytypes-only
JSON Type DefinitionData schematypes-onlytypes-onlytypes-onlytypes-only
Kafka Connect SchemaData schematypes-onlytypes-onlytypes-onlytypes-only
Kong Declarative ConfigRESTlossynot offerednot offerednot offered
Kubernetes CRDData schematypes-onlytypes-onlytypes-onlytypes-only
LLM Tool DefinitionsAgent toolslossylossylossylossy
MCP Tool DefinitionsAgent toolslossylossynot offerednot offered
ODataRESTlossylossylossylossy
ODCS Data ContractData schematypes-onlytypes-onlytypes-onlytypes-only
ONC RPCRPClossylossylossylossy
OpenAPI 3.1RESTlosslesslossylossylossy
OpenRPCRPClossylossylossylossy
PostmanRESTlossynot offerednot offerednot offered
Protocol Buffers (proto3)RPClossylossylossylossy
RAMLRESTlossylossylossylossy
SAP IDocData schemanot offerednot offerednot offerednot offered
SmithyRPClossylossylossylossy
SQL DDLData schematypes-onlytypes-onlytypes-onlytypes-only
Thunder ClientRESTlossynot offerednot offerednot offered
Traefik dynamic configurationRESTlossynot offerednot offerednot offered
TypeSpecRESTlossylossylossylossy
UN/EDIFACT message guideData schematypes-onlytypes-onlytypes-onlytypes-only
WADLRESTlossylossylossylossy
WIT (WebAssembly)RPClossylossylossylossy
WSDLRESTlossylossylossylossy
X12 implementation guideData schematypes-onlytypes-onlytypes-onlytypes-only
XML-RPCRPCnot offeredlossynot offerednot offered
xRegistryEventslossylossylossylossy
XSDData schematypes-onlytypes-onlytypes-onlytypes-only
z/OS ConnectRESTnot offerednot offerednot offerednot offered

Why a target is not offered for a source:

  • A2A Agent Card — A2A Agent Card export needs an agent or at least one operation that is not an event; this source has neither.
  • Apigee API proxy — Apigee API proxy export needs at least one HTTP operation (a method and a path); this source has none.
  • Arazzo — Arazzo export needs at least one operation to sequence into a workflow; this source has none (only types or events).
  • AWS API Gateway — AWS API Gateway export needs at least one HTTP operation (a method and a path); this source has none.
  • Azure API Management — Azure API Management export needs at least one HTTP operation (a method and a path); this source has none.
  • Bruno — Bruno export needs at least one HTTP operation (a method and a path); this source has none.
  • EDI X12 — Only a source imported as EDI X12 can be exported to EDI X12.
  • Envoy xDS RouteConfiguration — Envoy xDS RouteConfiguration export needs at least one HTTP operation (a method and a path); this source has none.
  • FIX — Only a source imported as FIX can be exported to FIX.
  • Gateway API HTTPRoute — Gateway API HTTPRoute export needs at least one HTTP operation (a method and a path); this source has none.
  • HL7 v2 — Only a source imported as HL7 v2 can be exported to HL7 v2.
  • Hoppscotch — Hoppscotch export needs at least one HTTP operation (a method and a path); this source has none.
  • HTTP Request File — HTTP Request File export needs at least one HTTP operation (a method and a path); this source has none.
  • Insomnia — Insomnia export needs at least one HTTP operation (a method and a path); this source has none.
  • ISO 20022 — Only a source imported as ISO 20022 can be exported to ISO 20022.
  • ISO 8583 — Only a source imported as ISO 8583 can be exported to ISO 8583.
  • Istio VirtualService — Istio VirtualService export needs at least one HTTP operation (a method and a path); this source has none.
  • Kong Declarative Config — Kong Declarative Config export needs at least one HTTP operation (a method and a path); this source has none.
  • MCP Tool Definitions — MCP Tool Definitions export needs at least one operation an agent can call (not an event, a stream, an MCP resource or a prompt); this source has none.
  • Postman — Postman export needs at least one HTTP operation (a method and a path); this source has none.
  • SAP IDoc — Only a source imported as SAP IDoc can be exported to SAP IDoc.
  • Thunder Client — Thunder Client export needs at least one HTTP operation (a method and a path); this source has none.
  • Traefik dynamic configuration — Traefik dynamic configuration export needs at least one HTTP operation (a method and a path); this source has none.
  • XML-RPC — XML-RPC export needs an RPC operation (one with no HTTP method or path); this source has none.
  • z/OS Connect — Only a source imported as z/OS Connect can be exported to z/OS Connect.

Where next​