SwaggerHub

SwaggerHub

Search, import, export, govern, and automate SwaggerHub APIs, domains, projects, comments, integrations, and webhooks

60 actions
2 triggers

Actions

Name
search_specs

Search APIs, domains, and templates in SwaggerHub APIs.json format

search_apis

Search SwaggerHub APIs

search_domains

Search SwaggerHub domains

list_owner_apis

List owner apis for an owner

list_owner_domains

List owner domains for an owner

list_api_versions

List versions for a SwaggerHub api

list_domain_versions

List versions for a SwaggerHub domain

get_api_definition

Get a SwaggerHub api definition as JSON, YAML, or default format

get_domain_definition

Get a SwaggerHub domain definition as JSON, YAML, or default format

save_api_definition

Create or update a SwaggerHub api definition

save_domain_definition

Create or update a SwaggerHub domain definition

delete_api

Delete API in SwaggerHub

delete_api_version

Delete API Version in SwaggerHub

clone_api_version

Clone API Version in SwaggerHub

fork_api_version

Fork API Version in SwaggerHub

delete_domain

Delete Domain in SwaggerHub

delete_domain_version

Delete Domain Version in SwaggerHub

clone_domain_version

Clone Domain Version in SwaggerHub

fork_domain_version

Fork Domain Version in SwaggerHub

get_api_default_version

Get API Default Version for a SwaggerHub api

set_api_default_version

Set API Default Version for a SwaggerHub api

get_api_lifecycle

Get API Lifecycle for a SwaggerHub api

set_api_lifecycle

Set API Lifecycle for a SwaggerHub api

get_api_visibility

Get API Visibility for a SwaggerHub api

set_api_visibility

Set API Visibility for a SwaggerHub api

get_domain_default_version

Get Domain Default Version for a SwaggerHub domain

set_domain_default_version

Set Domain Default Version for a SwaggerHub domain

get_domain_lifecycle

Get Domain Lifecycle for a SwaggerHub domain

set_domain_lifecycle

Set Domain Lifecycle for a SwaggerHub domain

get_domain_visibility

Get Domain Visibility for a SwaggerHub domain

set_domain_visibility

Set Domain Visibility for a SwaggerHub domain

get_standardization_errors

Retrieve standardization errors for an API definition

list_api_comments

List API Comments for a SwaggerHub api

add_api_comment

Add API Comment for a SwaggerHub api

update_api_comment

Update API Comment for a SwaggerHub api

delete_api_comment

Delete API Comment for a SwaggerHub api

set_api_comment_status

Set API Comment Status for a SwaggerHub api

add_api_comment_reply

Add API Comment Reply for a SwaggerHub api

batch_update_api_comments

Batch Update API Comments for a SwaggerHub api

list_domain_comments

List Domain Comments for a SwaggerHub domain

add_domain_comment

Add Domain Comment for a SwaggerHub domain

update_domain_comment

Update Domain Comment for a SwaggerHub domain

delete_domain_comment

Delete Domain Comment for a SwaggerHub domain

set_domain_comment_status

Set Domain Comment Status for a SwaggerHub domain

add_domain_comment_reply

Add Domain Comment Reply for a SwaggerHub domain

batch_update_domain_comments

Batch Update Domain Comments for a SwaggerHub domain

list_integrations

List integrations configured for an API version

create_integration

Create Integration for a SwaggerHub API version

get_integration

Get Integration for a SwaggerHub API version

update_integration

Update Integration for a SwaggerHub API version

patch_integration

Patch Integration for a SwaggerHub API version

delete_integration

Delete Integration for a SwaggerHub API version

execute_integration

Execute Integration for a SwaggerHub API version

list_projects

List projects for an organization

create_project

Create Project in SwaggerHub

get_project

Get Project in SwaggerHub

update_project

Update Project in SwaggerHub

delete_project

Delete Project in SwaggerHub

add_spec_to_project

Add Spec To Project in SwaggerHub

custom_api_call

Call any SwaggerHub Registry API endpoint with the connected API key

Triggers

Name
spec_changed

Poll SwaggerHub APIs, domains, or specs and emit new or modified metadata after the initial baseline

webhook_event_received

Receive manually configured SwaggerHub webhook integration events

Quick Start

TypeScript
import { WeavzClient } from '@weavz/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('swaggerhub', 'search_specs', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'swaggerhub',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect SwaggerHub to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.

What actions does SwaggerHub support?

SwaggerHub supports 60 actions including Search Specs, Search APIs, Search Domains, Owner APIs, Owner Domains, and more.

Can I use SwaggerHub with AI agents?

Yes. Add SwaggerHub to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can SwaggerHub be used in stateful agent workflows?

Yes. Agents can combine SwaggerHub actions with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does SwaggerHub use?

SwaggerHub uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the SwaggerHub integration cost?

The SwaggerHub integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does SwaggerHub support?

SwaggerHub supports 2 triggers including Spec Changed, Webhook Event Received.

Connect SwaggerHub in minutes

Get 20,000 free actions every month. No credit card required.