Skip to main content

Import wizard

Apiome has two import wizards, and which one you get depends on where you start:

WizardOpens fromSourcesCreates
Import specificationImport on Projects or Versions, Import a spec on Home (I)File Upload, URL Import, Clipboard Paste, Git Repository, SwaggerHub, Design with AIA new project
Import to catalogImport to catalog on the CatalogFile, URL, clipboard, Git repository, Compass exportA catalog item, in its original format (a Compass export becomes an import report)

MCP servers are not imported with either wizard. Add MCP server on MCP servers opens a dialog of its own — see Add an MCP server.

The sample files below are in the Apiome repository under apiome-ui/examples/. Avoid the negative/ and adversarial/ folders — those files are broken on purpose.

Import specification​

Steps: Source → Analyze → Preview → Import → Done — with a Changes step between Preview and Import when the spec is a new version of a project you already have (below).

The Import specification wizard on its Source step: the source cards, then the three most recent imports with their stateThe Import specification wizard on its Source step: the source cards, then the three most recent imports with their state
Route/ade/dashboard/catalogWith every source the wizard knows. From Projects it offers File Upload, URL Import, Clipboard Paste, Git Repository and SwaggerHub.
  1. Source — choose a card, or press its number: 1 – 5 choose the first five (each card shows its key). Then fill in its intake (below). The forward button is “Analyze →” (“Continue” for a URL). When you have imported before, the three most recent imports are listed under the cards with their state; “All import jobs” opens the full list.
  2. Analyze — Apiome detects the format and checks the document. A banner says Ready to import, or what blocks the import (a D/F quality grade, errors, or a format this importer does not take). Click “Continue”.
  3. Preview — review the schemas in a List View, Relationship Diagram or Tree View, pick them with their checkboxes, Select All / Select None and the filters, and set the Project Name, Slug and Version under Import Options. Click “Import →”. The button reads Checking for changes… for a moment while Apiome looks for a project with that Slug.
  4. Import — the job runs. When it has written everything, it stops and waits for you: click “Accept & commit” to save the import, or “Reject & rollback” to discard it. Nothing shows in Projects until you accept, and closing the dialog discards the import (While an import waits for your decision).
  5. Done — Import Complete! “Undo import” reverses it; “Download error report” explains anything that was skipped.
An import in progress: progress bar, live progress per schema and the import logAn import in progress: progress bar, live progress per schema and the import log
Route/ade/dashboard/catalog

Schemas that other schemas use​

A schema that points to another schema (a $ref) can only be imported together with it. On the Preview step:

  • Ticking a schema also ticks every schema it uses, and the schemas those use. The line next to Select None says what was added, for example Also selected Customer and Address: Order references them.
  • A schema a ticked schema uses can't be unticked. Its checkbox is greyed out and the row says Required by Order. Untick Order first, and Customer can be unticked too.
  • Select None still clears everything, and Select All ticks everything. Two schemas that point to each other keep each other ticked; use Select None to clear both.

If the import fails, nothing is saved; the failures are listed with “Retry import”.

A failed import: the failure, the stopped progress bar, Retry import and the import logA failed import: the failure, the stopped progress bar, Retry import and the import log
Route/ade/dashboard/catalog

Recent import jobs in the wizard's header lists earlier jobs.

Properties defined differently​

When the schemas you tick use the same property name with different definitions, the Preview step warns before you import. For example, status is an enum of active and inactive in Customer but pending and completed in Transaction. The warning lists each property, every definition it has and the schemas that use each one.

The import still runs. Each definition becomes its own property in the project's property library (status, then status_1), and every schema keeps its own definition. To end up with one shared property instead, make the definitions match in the spec and import again. The warning follows your selection: unticking the schemas on one side clears it.

References that won't resolve​

The import keeps every reference ($ref) as written. When a schema you tick holds a reference that won't resolve in the project afterwards, the Preview step warns, schema by schema:

  • Not defined in this document — a reference such as #/components/schemas/Customer when the spec defines no Customer. After import, it points at a schema the project doesn't have.
  • Not fetched — a reference to a URL (https://…). Apiome doesn't download it.

The import still runs. To fix the references, add the missing schemas to the spec, or replace a URL with a schema defined in it, and import again. A reference to a schema you didn't tick can't happen: ticking a schema ticks every schema it uses.

Change property descriptions​

To fix or fill in a property's description as you import, rather than editing it in the project afterwards, use Property descriptions on the Preview step:

  1. Click “Property descriptions” to open it. It lists every property of each schema you ticked, by Schema and Property.
  2. Type a description in the Description box. The box shows the spec's own description as a hint (As in spec: …), or (no description in spec) when it has none.
  3. Leave a box empty to keep the spec's description as it is.

The descriptions you type replace the spec's for those properties in the imported project; the spec file itself is not changed. Untick a schema and its rows leave the list.

Import a new version of an existing project​

When the Slug on Preview matches a project you already have, the import adds a new version to that project instead of creating one. Before it does, the wizard stops at Changes so you can see what the new version changes compared with the project's latest version. The step is skipped for a first-time import and for anything that lands in the Catalog.

The Changes step: Changes vs. Payments API v2.4.0 (latest), counts of 1 added, 2 changed, 1 removed and 2 breaking, a breaking-changes warning, and the change list with the removed DELETE /refunds/{id} operation firstThe Changes step: Changes vs. Payments API v2.4.0 (latest), counts of 1 added, 2 changed, 1 removed and 2 breaking, a breaking-changes warning, and the change list with the removed DELETE /refunds/{id} operation first
Route/ade/dashboard/projectsThe Changes step for a new version of Payments API. Breaking changes come first.
  1. Read the summary bar — added, changed and removed count every changed path, operation, schema and property; breaking counts the breaking findings. These are the same rules as Compare on Versions and the compatibility gate.
  2. If anything is breaking, a warning says so. It is a warning, not a block — the compatibility gate decides whether the version can merge or publish.
  3. On the Summary tab, the list puts breaking changes first. Each row shows Added, Changed or Removed, what changed (for example schema Refund.amount minimum 0 → 0.01) and its grade (breaking, unknown or safe). A change no compatibility rule grades has no badge. Narrow the list with Show (All, Breaking, Added, Changed, Removed) or Filter changes; “Show more” loads the next 50.
  4. Click “Side-by-side spec” to compare the two documents: the latest version on the left, the incoming spec on the right, with unchanged regions folded.
  5. Click “Continue to import”. “← Back” returns to Preview, where you can change the Slug to import into a different project.

When the version number is taken. If the project already has the Version you set on Preview, the import doesn't fail: it adds the version as a new sub-version instead. The Changes step says which one, for example Payments API already has version 2.5.0, so this import is added as 2.5.0b. Sub-versions take the next free letter: 2.5.0b, then 2.5.0c and so on. Importing 2.5.0b again gives the next free one too. Nothing existing changes. To use a different number instead, click “← Back” and change Version on Preview. When an import was added as a sub-version, the Done step lists it under Version with the number that was taken.

Merge strategy. Under the summary bar, Merge strategy decides what the new version holds:

  • Replace with this import (the default) — the new version holds only what the spec defines. Anything listed as Removed is not in it.
  • Additive merge — the new version keeps everything in the latest version and adds what the spec newly defines. Nothing is removed and nothing existing is overwritten:
    • A schema both have keeps its properties and their definitions; properties only the spec has are added, nested ones too.
    • A path both have keeps its operations; methods only the spec has (a new POST, say) are added.
    • Schemas, paths and security schemes only the latest version has are kept as they are, and the spec's new ones are added.
  • Override merge — like Additive merge, nothing is removed and the spec's new items are added, but wherever both define the same thing, the spec's definition wins:
    • A property both have takes the spec's definition as a whole (for example maxLength: 100 replaces a stored maxLength: 50). Properties only the latest version has are kept.
    • A schema both have takes the spec's description.
    • An operation both have (same path and method) takes the spec's definition. The path's other operations are kept.
    • A security scheme both have takes the spec's definition.

Pick Additive merge when the project holds edits you want to keep, and Override merge when the spec is the source of truth for what it defines but doesn't define everything.

Arrays. With either merge selected, Arrays decides what happens to a list that both the latest version and the spec define on the same property or schema: enum values, a schema's required list, examples, nested lists such as items.enum. The merge decides whose list comes first (the latest version's under Additive merge, the spec's under Override merge):

ArraysStored [active, inactive], spec [active, archived], with Additive merge
Replace (the default)[active, inactive]: only the list that comes first
Append[active, inactive, active, archived]: both lists, repeats kept
Deduplicate[active, inactive, archived]: both lists, without repeats

A list only one side defines is left as the merge has it. Lists on operations (tags, parameters) are not combined. Done says how many lists were appended or deduplicated.

The Changes step with Merge strategy set to Additive merge, the Arrays choice under it set to Replace, and a note that the item listed as Removed stays in the new versionThe Changes step with Merge strategy set to Additive merge, the Arrays choice under it set to Replace, and a note that the item listed as Removed stays in the new version
Route/ade/dashboard/projectsWith Additive merge, the item listed as Removed stays in the new version, and Arrays appears.

With either merge selected, a note says that the items listed as Removed stay in the new version. Done adds a Merge row, for example Additive — 2 schemas merged (3 properties added); 4 schemas and 5 paths kept from the latest version, or for an override Override — 2 schemas merged (1 property added, 2 updated), 1 operation updated; …. A Dry run (preview only) shows the same row without saving anything.

If nothing changed, the step says No changes from v2.4.0 (with your version); importing still records a new version. If the comparison cannot be computed, “Try again” asks again, and “Continue to import” still works. The step appears for a Dry run (preview only) import too.

To try it, import apiome-ui/examples/openapi/30-openapi-3.0-petstore.yaml, then edit a copy (remove an operation, add a path) and import it again with the same Slug and a new Version. Import the copy once with each Merge strategy to compare: with Additive merge or Override merge, the removed operation is still in the new version, and with Override merge a changed property takes the copy's definition.

File Upload​

File Upload intake: a drop zone with Browse files and the supported extensionsFile Upload intake: a drop zone with Browse files and the supported extensions
Route/ade/dashboard/catalog
  1. Click “File Upload”, then drop a file on Drop files here or click “Browse files”. Supports lists the extensions Apiome reads.
  2. Try apiome-ui/examples/openapi/30-openapi-3.0-petstore.yaml, then click “Analyze →”.

URL Import​

  1. Click “URL Import” and enter the Specification URL — for example https://raw.githubusercontent.com/apiome/apiome/main/apiome-ui/examples/openapi/30-openapi-3.0-petstore.yaml.
  2. For a protected URL, choose Authentication: Bearer Token, API Key (with its Header Name, such as X-API-Key) or Basic Auth.
  3. Click “Test URL”; when it says URL tested ✓, click “Continue”.

Only http and https URLs work. The fetch runs in your browser, so the server must allow it (CORS) — if it does not, download the file and use File Upload.

Keep a URL import up to date​

A project imported from a URL keeps following that URL. Every five minutes by default, Apiome asks the URL whether the document changed, and adds a version when it did:

  • Nothing changed — the server answers not modified to the ETag and Last-Modified it sent at import time, or sends the same document again. Nothing happens.
  • The document changed — Apiome imports it into the same project with the options you chose on the Preview step (selected schemas, naming, prefixes and the rest). The new version is labelled with the date and time, for example 2026-10-30T14:03Z.
  • The document is older — a Last-Modified earlier than the imported one never replaces it.
  • You edited the version in Apiome — the refresh is held so your edits are not overwritten. To follow the URL again, import it again.

Some URL imports are never refreshed:

  • Protected URLs. A URL imported with Bearer Token, API Key or Basic Auth is not refreshed, because Apiome never stores those credentials.
  • Dry runs. A dry run saves nothing, so there is nothing to refresh.

Apiome checks from its server, not your browser, so the URL must be reachable from there. Addresses on a private network are refused, as for every URL Apiome fetches. A check that fails is retried later, waiting longer after each failure.

To turn refresh off for one URL, or to change how often it is checked, use the REST API (PATCH …/url-imports/{id}). An operator can stop every refresh — URL imports and repositories — with APIOME_REFRESH_ENABLED=false, and change the default cadence with APIOME_REFRESH_DEFAULT_INTERVAL (seconds).

Clipboard Paste​

  1. Click “Clipboard Paste”, then “Paste from Clipboard” — or paste into Specification Content.
  2. Try the contents of apiome-ui/examples/swagger/01-swagger-2-petstore.yaml, then click “Analyze →”.

Git Repository​

You need a linked GitHub or GitLab account first — “Go to Linked accounts” takes you there.

  1. Click “Git Repository” and enter the Repository URL (https://github.com/org/repo or org/repo), then click “Load repository”.
  2. Choose a Branch or Tag and the Spec path — for example specs/openapi.yaml.
  3. Click “Open file”, then “Analyze →”.

To import many files from one repository, register it under Repositories instead.

SwaggerHub​

  1. Click “SwaggerHub” and enter the Owner / Organization and API Name as they appear in the SwaggerHub URL — for app.swaggerhub.com/apis/myorg/petstore, myorg and petstore.
  2. Keep Use latest version, or pick Specific Version. A private API needs an API Key.
  3. Click “Test & Fetch”, then continue.

Design with AI​

Design with AI drafts a specification from a description; “Import This Spec” loads the draft into the wizard as if you had pasted it. It is also on New project → Design with AI.

GraphQL schemas​

A GraphQL schema (.graphql or .gql SDL) can be imported as a project: the wizard converts it to OpenAPI first, and each type becomes a class. Try apiome-ui/examples/graphql/11-github-style-api.graphql.

In the schemaIn the project
type and inputA class, with one property per field; a non-null field is required
interfaceA class marked x-graphql-interface; a type that implements it extends it
enumA class whose values are the enum values
unionA class that is one of its member types
scalarA class of the matching type (DateTime is a date-time string); a custom scalar is a string
Query, Mutation, SubscriptionLeft out: they are operations, not data

Directives are kept. Every directive applied to a type, a field or an enum value — @deprecated, @key(fields: "id") or your own — is kept with its arguments, so nothing the schema says is lost. A type's or a field's directives are stored as x-graphql-directive on its class or property, for example [{ "name": "key", "arguments": { "fields": "id" } }]. An enum value's are listed under x-graphql-enum-value-directives on the enum's class.

To keep the schema in its own GraphQL form instead — queries, mutations and all — import it to the catalog (below).

Protocol Buffers and Avro schemas​

A .proto file (proto2 or proto3) or an Avro schema (.avsc) can be imported as a project too: each message, record and enum becomes a class. Try apiome-ui/examples/protobuf/04-telemetry-stress.proto or apiome-ui/examples/avro/02-order-record.avsc. Services and RPCs are not imported.

In the schemaIn the project
A Protobuf message, an Avro recordA class, with one property per field
An enumA class whose values are the enum's values
repeated (Protobuf), array (Avro)A list property
map<K, V> (Protobuf), map (Avro)An object property whose values are of the map's type
A Protobuf oneofOne optional property per member, each marked x-proto-oneof with the group's name; the class lists its groups under x-proto-oneofs — at most one member is set
An Avro unionnull and one type becomes an optional property; several types become a property that is one of them
An Avro logical typeThe type it stands for, marked x-avro-logical-type

Avro logical types become: date → a date, time-millis / time-micros → a time, timestamp-* and local-timestamp-* → a date and time, uuid → a UUID, duration → a duration, and decimal → a number that keeps its x-avro-precision and x-avro-scale. A logical type Apiome does not know keeps its underlying type (a long stays a 64-bit integer) and its name.

Postman Collection​

Import a Postman collection with Import to catalog — see Postman. To turn one into a project, convert it to OpenAPI 3.1 over the REST API and import the result.

Import to catalog​

Click “Import to catalog” on the Catalog. Steps: Source → Detect & route → Options → Quality → Import.

  1. Source — File Upload (drop a source file), URL Import (Document URL, then “Fetch and detect”), Clipboard Paste (Source content, then “Detect pasted source”) or Git Repository (Repository URL, Branch, tag, or commit, Path or glob, then “Fetch and detect”). Compass export takes a different path; see Compass export below. Try apiome-ui/examples/graphql/01-simple-user.graphql or apiome-ui/examples/asyncapi/01-user-events-2.6.yaml. Not sure your format is supported? Click “Which formats can I import?” to open How the catalog works over the wizard. A format that can be brought in another way, such as reading a schema from a live endpoint, gets its own card here once Apiome can import it that way. No format has one yet: import a GraphQL schema or a .proto file through File Upload, URL Import or Clipboard Paste.
  2. Detect & route — Apiome names the format it detected (Auto-detected: GraphQL) and where it goes. Choose Import as format if the detection is ambiguous. OpenAPI and Swagger are routed to Projects: see An OpenAPI source in Import to catalog below.
  3. Options — for JSON Schema, choose to keep it in the catalog for later conversion or to use it as types. Skip the quality step for clean imports saves a step. Click “Dry run” to see what Import would do without saving anything — see Dry run a catalog import.
  4. Quality — a pre-flight lint. Finding #1 is selected and shown first. Each finding names its line in the source beside the list; select a finding to jump the source to it. “Import” when it is clean, or “Import anyway”.
  5. Import — the item is stored in its original format. Click “Open the catalog item” to go to its page, where Convert to OpenAPI waits when you are ready, or click “Done” to close the wizard.

An OpenAPI source in Import to catalog​

Import to catalog stores catalog items only, so it does not import OpenAPI or Swagger itself. When the source you pasted, uploaded or fetched from a URL is OpenAPI or Swagger, the Routing decision → Projects card says so and the footer button reads “Continue in Projects”:

  1. Click “Continue in Projects”. The catalog dialog closes and the Projects importer opens on its Analyze step with the same source already loaded — you do not paste or upload it again.
  2. Click “Continue” to Preview, choose the schemas, then click “Import →”. The import creates the project, the same as an import started from the Projects page.

Back from Analyze opens the intake the source came in through — Clipboard, File Upload or URL Import — with the source still in hand. A source fetched from a URL keeps its auto-refresh, as if you had fetched it in the Projects importer.

A Git Repository selection or an archive has no single document to hand over. For those, Continue stays disabled and the routing card offers “Open Projects” instead; use Import there.

Import to catalog's Detect and route step for an OpenAPI file: Routing decision → Projects, the note that Continue in Projects opens the Projects importer with this source loaded, and the Continue in Projects buttonImport to catalog's Detect and route step for an OpenAPI file: Routing decision → Projects, the note that Continue in Projects opens the Projects importer with this source loaded, and the Continue in Projects button
Route/ade/dashboard/catalog

Keep a URL catalog item up to date​

A catalog item imported with URL Import keeps following its Document URL. The workspace's Catalog URLs connector checks every such item on the connector cadence — every five minutes by default — and adds a revision when the document changed:

  • Nothing changed — the server answers not modified to the ETag and Last-Modified it sent last time, or sends the same document again. The run counts the item as unchanged and adds nothing.
  • The document changed — Apiome imports it as a new revision of the same catalog item, labelled with the date and time, and writes a change report against the revision before it.
  • The check failed — the URL answered an error, could not be reached, or sent more than 25 MB. The run reports the item as failed and changes nothing; the next run tries again.

The first check of an item only records what the URL serves then; it adds no revision. A catalog item you import from a URL later is picked up on the connector's next run. Only http and https URLs are checked, from Apiome's server, and addresses on a private network are refused, as for every URL Apiome fetches.

Each check is a run of the connector, so it shows with every other refresh run. List them with apiome connectors runs <connector-id> (apiome connectors list gives the id), or check at once with apiome connectors sync <connector-id> — see the CLI reference.

Dry run a catalog import​

A dry run runs the same importer as Import, then stops before anything is written. It creates no catalog item, version or import job.

  1. On Options, click “Dry run” beside Continue.

  2. Read the result under Dry run complete. Nothing was saved.:

    RowWhat it tells you
    FormatThe format the importer recognized, and its paradigm.
    DestinationWhere Import would put it: a Catalog item, a Project or Types. A warning says so when it would not be the catalog.
    WhyThe importer's reason for that destination.
    Catalog itemThe name and slug Import would use. An existing item with that slug gets a new revision.
    ContentsThe services, operations, types and channels it would hold.
    QualityThe lint score and grade.
    FingerprintThe revision fingerprint Import would record. Hover for the full value.

    If the source could not be imported, Import would fail gives the reason and how to fix it.

  3. Click “Continue” to go on to Quality and Import as usual, or “← Back” to change the source.

The Options step after a dry run: Dry run complete. Nothing was saved., then Format GraphQL, Destination Catalog item, the catalog item's name and slug, its contents, quality and fingerprint, with Dry run and Continue in the footerThe Options step after a dry run: Dry run complete. Nothing was saved., then Format GraphQL, Destination Catalog item, the catalog item's name and slug, its contents, quality and fingerprint, with Dry run and Continue in the footer
Route/ade/dashboard/catalog

The dry run is the import pre-flight. From the CLI, apiome import preflight gives the same answer.

Compass export​

Moving off Atlassian Compass? Upload its export, and its components and owners arrive as suggestions to review. See Migrate from Backstage or Compass for how each field maps.

  1. Click “Import to catalog”, then click “Compass export”.
  2. Click “Choose the Compass export (.json)” and pick the JSON file (up to 5 MB).
  3. Click “Import export”. The wizard jumps to Import and shows the import report: Teams, Components and Unmapped fields.
  4. Click “Create team”, “Register component” or “Apply to …” on each suggestion you want, or “Dismiss”. You can also come back later: Import reports on the Catalog lists the report.
Import to catalog on its Import step after a Compass upload: the report's counts, a team and components waiting, and the unmapped fieldsImport to catalog on its Import step after a Compass upload: the report's counts, a team and components waiting, and the unmapped fields
Route/ade/dashboard/catalog

With the CLI or the API​

  • CLI: apiome import auto ./30-openapi-3.0-petstore.yaml, apiome import graphql ./01-simple-user.graphql, apiome import preflight — see the CLI quick-start.
  • REST: POST /v1/tenants/{tenant}/imports (and …/imports/upload), GET …/imports/{job}, POST …/imports/{job}/commit|rollback, POST /v1/import/detect, and POST /v1/tenants/{tenant}/import/project-delta (the Changes step's comparison) — see Import a specification and the API reference.
  • URL imports: GET /v1/tenants/{tenant}/url-imports lists them with when each was last checked and refreshed, PATCH …/url-imports/{id} turns refresh on or off ({"autoRefreshEnabled": false}) or sets its cadence ({"refreshIntervalSeconds": 3600}), and POST …/url-imports is what the wizard calls after a URL import — see URL imports.

Where next​