OpenAPI and Swagger schemas
Have an OpenAPI or Swagger file for a REST API? Import it under API schemas and every endpoint it describes becomes an operation your flows can call. You pick the operation by name and fill in its parameters as form fields, instead of assembling URLs and request bodies by hand.
Importing a schema
Section titled “Importing a schema”- Open APIs under Services, which opens on its OpenAPI tab, and click New API schema.
- Give it a name, and upload the spec as the Specification document: a JSON or YAML file in OpenAPI 3 or Swagger 2 format. A Swagger 2 file is upgraded to OpenAPI 3 during the import, so either works.
- Click Create.


Publicus parses the document in the background. The list shows each schema’s import status and how many paths it yielded. Once the import is done, its operations are ready to pick in a flow.
A service you set up from the connection catalog imports its schema for you, read from the address where the service publishes it. Its schema page shows where the document was fetched from and which connection read it.


Base URI
Section titled “Base URI”Each schema has a Base URI, the address its requests are sent to. It is prefilled from the first server the document declares. A node can override it, for example to point one flow at a staging environment. When neither sets an address, the call is refused rather than sent somewhere relative.


Updating a schema
Section titled “Updating a schema”To pick up changes to the API, upload the new document on the schema’s edit page and click Re-ingest. Re-ingesting reconciles the operations the document declares. Operations keep their ids, so flows already wired to them keep working, as long as the operation still exists in the new document.


Reading the API
Section titled “Reading the API”Open a schema and switch to the Reference tab. Operations are grouped by their OpenAPI tag, with a search box over the whole document, so a spec holding several thousand paths stays readable.
Selecting an operation shows what you need to call it: its path and query parameters, the request body, and every documented response. The URL carries the selection, so a link to an operation opens on that operation for whoever you send it to.


Calling the API from a flow
Section titled “Calling the API from a flow”Drop an OpenAPI Operation node onto the canvas from the node picker’s API & integrations shelf, and pick the operation from the schema. Its method and URL path come with it. Then fill in:
- Parameters: the operation’s path and query parameters, by name. Each field accepts expressions.
- Body: the request body, for operations that take one.
- Credential: a saved Connection or Secret that authenticates the request.
- Base URI: overrides the schema’s address for this node only.
OpenAPI GET and OpenAPI POST are the same node under a read- or write-shaped name. To give an agent several of the API’s endpoints as tools, use the OpenAPI Operation Pack.
Typical uses
Section titled “Typical uses”- Calling a well-documented SaaS API (Stripe, SendGrid, Twilio, …) from the OpenAPI or Swagger spec it publishes, without hand-writing URLs and header maps.
- Filling in parameters as typed form inputs: if the spec says a field is an integer, the form treats it as one.
- Pointing a flow at staging or production by changing the Base URI instead of editing every node.