ByteChef LogoByteChef
SettingsComponents
Enterprise EditionComing soon

API Connectors

Turn a REST API into a component from its OpenAPI specification - built by hand, imported from a file, or generated by AI from a documentation URL.

Coming soon

This capability is not available in the latest released version of ByteChef.
Enterprise Edition

An API connector turns a REST API into a ByteChef component, with one action per endpoint and typed inputs and outputs, without writing or building code. You describe or import the API's endpoints, ByteChef stores the resulting OpenAPI specification, and once enabled the connector appears in the workflow editor like any built-in component.

Unlike a custom component, an API connector has no source you maintain: the component definition is derived from the stored specification, and you manage the whole thing from the UI.

Availability

API connectors are an Enterprise Edition feature, behind the ff-207 feature flag. Creating, editing, enabling, and deleting connectors requires the ADMIN authority, which the server enforces for every caller.


The specification is the source of truth

Each connector is one row plus two stored blobs: the OpenAPI document you supplied, and a component definition derived from it. Endpoints are not stored as rows - they are re-derived from the specification on every read, with each endpoint's id computed from its path:method pair. Editing the specification is therefore the only way to change a connector's endpoints.

Connector names are the runtime registry's lookup key, so uniqueness is enforced for every write path.

Where connectors live

Connectors are listed on Settings → API Connectors, headed "Turn a REST API into a component from its OpenAPI specification." With no connectors yet, the page shows the No API Connectors empty state. Each connector row shows:

ElementMeaning
Title - nameThe connector's display title and machine name. Hover the title for its description.
Endpoint countN endpoints - a collapsible toggle. Click the chevron to expand the endpoint list inline.
Enable/disable switchTurns the connector on or off.
Modified dateWhen the connector last changed.
Ellipsis menuEdit and Delete.

The API Connectors page - each connector with its endpoint count

Inspecting endpoints

Expand a row to list the connector's endpoints. Each endpoint row shows an HTTP-method badge, the endpoint name, its path, and the last execution date (or No executions).

Click an endpoint to open its detail panel - a side sheet showing the method badge and endpoint name, the endpoint path, the parent API Connector name, the endpoint description when present, and the OpenAPI Specification for that endpoint rendered read-only in a YAML editor.

An endpoint's detail panel - method, path, connector, description and the read-only spec

Each endpoint row also has its own ellipsis menu holding a single Edit item, which is disabled and titled "Edit workflow (coming soon)". Editing an endpoint today means editing the connector's specification and uploading it again with Edit on the connector row, below.

Unparseable specifications degrade, they don't break the page

If a stored specification cannot be parsed, the connector lists with zero endpoints rather than failing the whole connectors query. A connector showing no endpoints when you expect some is a signal to fix the specification file and upload it again with Edit.

Creating a connector

Every connector is created from the Create API Connector dropdown in the page header. With the API-connector feature enabled it offers three routes:

Menu itemRouteUse when
Create API ConnectorManual builderYou want to define endpoints by hand - no spec or docs to start from.
Import Open API fileOpenAPI importYou already have an OpenAPI 3.x file (.yml / .yaml).
Create from documentation URLAI-assistedYou only have a link to the API's documentation and want AI to generate the spec.

The Create API Connector dropdown - Create API Connector, Import Open API file, and Create from documentation URL

All three open a step-based wizard with Previous / Cancel on the left and Next on the right, labeled Save on the final step. A progress bar shows the current step. All three converge on the same Review step, so an imported or AI-generated connector can be edited by hand before it is saved.

Route 1 - Manual

Steps: Basic Info → Define Endpoints → Review.

  1. On Basic Info, fill in the Name (the connector's machine name, required, e.g. my-api-connector), optionally an Icon (.svg upload), and the Base URL (e.g. https://api.example.com/v1).
  2. Click Next to reach Define Endpoints.
  3. Click Add Endpoint to open the endpoint editor, which has two tabs:
    • Form - structured fields:

      FieldNotes
      MethodGET, POST, PUT, PATCH, DELETE, or HEAD.
      PathThe endpoint path, e.g. /users/{id} (required).
      Operation IDA unique identifier for the endpoint, e.g. getUserById (required).
      SummaryShort one-line label.
      DescriptionLonger description.
      ParametersQuery, path, and header parameters with type and required flag.
      Request BodyContent type, schema, required flag.
      ResponsesStatus code, description, content type, and schema per response.
    • YAML - edit the same endpoint directly as OpenAPI YAML.

  4. Click Add (or Update when editing) to save the endpoint. Repeat per endpoint. Click a row to edit it, or the trash icon to remove it.
  5. Click Next to reach Review, confirm the name, base URL, and endpoint list - you can still remove endpoints here - then click Save.

What the visual editor round-trips

Regenerating the specification from the visual model is a merge, not a rewrite: top-level sections such as components and securitySchemes, and per-operation tags, security, and x-* extensions all survive. Body and response schemas and parameter schemas ride along as opaque JSON, so $refs round-trip. Two things are lossy - HTTP methods outside DELETE, GET, HEAD, PATCH, POST, PUT, and cookie parameters, both of which drop from the visual model. The per-endpoint YAML tab is the escape hatch for either.

Route 2 - Import Open API File

Steps: Import File → Review.

  1. On Import File, fill in the Name (required), optionally an Icon, and upload the OpenAPI Specification (.yml or .yaml, required).
  2. Click Next to review the parsed endpoints and the generated specification.
  3. Click Save.

An import upserts by name: importing under a name that already exists replaces that connector's specification rather than creating a second one.

Route 3 - Create from documentation URL (AI-assisted)

Steps: Basic Info → Select Endpoints → Review. This route uses AI to read the documentation and generate an OpenAPI specification.

  1. On Basic Info, fill in:
    • Name - the connector's machine name (required).
    • Icon - optional .svg upload.
    • Documentation URL - the URL to analyze (required; must start with http:// or https://).
    • Endpoint Instructions (Optional) - free-text guidance on which endpoints you need, e.g. "Only authentication and user management endpoints".
    • Crawl linked documentation pages - a checkbox; when ticked, ByteChef follows linked pages. Enter the maximum number of pages to crawl, between 2 and 50.
  2. Click Generate. The generation job runs asynchronously behind a Generating OpenAPI specification… spinner. It typically takes under a minute and times out after 5 minutes. While it runs, the left button becomes Cancel Generation.
  3. When generation completes, the wizard advances to Select Endpoints. Discovered endpoints are grouped by resource and all start selected. Use the checkboxes, or the Select All / Deselect All buttons; the counter reads "N of M endpoints selected", and at least one must stay selected.
  4. Click Next to reach Review, then Save. Only the selected endpoints are included.

The AI route generates a specification by reading the documentation you point at. Review the generated spec and endpoint list before saving - treat it as a draft to verify, not a guaranteed-correct connector.

Editing a connector

Choose Edit from the row's ellipsis menu to open the Edit API Connector dialog. The Name is read-only. Upload a new Icon (.svg), a new Open API Specification (.yml or .yaml), or both, and click Save. A new specification replaces the stored one, and the endpoint list is rebuilt from it.

The Edit API Connector dialog with the read-only Name, the Icon upload and the Open API Specification upload

To add, change or remove an endpoint, edit the specification file and upload it with Edit.

Enabling a connector

Each row has an enable/disable switch. Only enabled connectors are registered as usable components - a disabled connector is stored but does not appear in the workflow editor.

Once enabled, the connector behaves like any built-in component: open a workflow, add the connector, and each endpoint is available as an action with typed inputs and outputs.

Deleting a connector

Choose Delete from the row's ellipsis menu and confirm in the Are you absolutely sure? dialog. Deletion is permanent and removes the connector as a usable component, so migrate any workflow that references it first.

See also

How is this guide?

Last updated on

On this page