SwaggerHub
Search, import, export, govern, and automate SwaggerHub APIs, domains, projects, comments, integrations, and webhooks
Actions
| Name | Description |
|---|---|
search_specsSearch APIs, domains, and templates in SwaggerHub APIs.json format | Search APIs, domains, and templates in SwaggerHub APIs.json format |
search_apisSearch SwaggerHub APIs | Search SwaggerHub APIs |
search_domainsSearch SwaggerHub domains | Search SwaggerHub domains |
list_owner_apisList owner apis for an owner | List owner apis for an owner |
list_owner_domainsList owner domains for an owner | List owner domains for an owner |
list_api_versionsList versions for a SwaggerHub api | List versions for a SwaggerHub api |
list_domain_versionsList versions for a SwaggerHub domain | List versions for a SwaggerHub domain |
get_api_definitionGet a SwaggerHub api definition as JSON, YAML, or default format | Get a SwaggerHub api definition as JSON, YAML, or default format |
get_domain_definitionGet a SwaggerHub domain definition as JSON, YAML, or default format | Get a SwaggerHub domain definition as JSON, YAML, or default format |
save_api_definitionCreate or update a SwaggerHub api definition | Create or update a SwaggerHub api definition |
save_domain_definitionCreate or update a SwaggerHub domain definition | Create or update a SwaggerHub domain definition |
delete_apiDelete API in SwaggerHub | Delete API in SwaggerHub |
delete_api_versionDelete API Version in SwaggerHub | Delete API Version in SwaggerHub |
clone_api_versionClone API Version in SwaggerHub | Clone API Version in SwaggerHub |
fork_api_versionFork API Version in SwaggerHub | Fork API Version in SwaggerHub |
delete_domainDelete Domain in SwaggerHub | Delete Domain in SwaggerHub |
delete_domain_versionDelete Domain Version in SwaggerHub | Delete Domain Version in SwaggerHub |
clone_domain_versionClone Domain Version in SwaggerHub | Clone Domain Version in SwaggerHub |
fork_domain_versionFork Domain Version in SwaggerHub | Fork Domain Version in SwaggerHub |
get_api_default_versionGet API Default Version for a SwaggerHub api | Get API Default Version for a SwaggerHub api |
set_api_default_versionSet API Default Version for a SwaggerHub api | Set API Default Version for a SwaggerHub api |
get_api_lifecycleGet API Lifecycle for a SwaggerHub api | Get API Lifecycle for a SwaggerHub api |
set_api_lifecycleSet API Lifecycle for a SwaggerHub api | Set API Lifecycle for a SwaggerHub api |
get_api_visibilityGet API Visibility for a SwaggerHub api | Get API Visibility for a SwaggerHub api |
set_api_visibilitySet API Visibility for a SwaggerHub api | Set API Visibility for a SwaggerHub api |
get_domain_default_versionGet Domain Default Version for a SwaggerHub domain | Get Domain Default Version for a SwaggerHub domain |
set_domain_default_versionSet Domain Default Version for a SwaggerHub domain | Set Domain Default Version for a SwaggerHub domain |
get_domain_lifecycleGet Domain Lifecycle for a SwaggerHub domain | Get Domain Lifecycle for a SwaggerHub domain |
set_domain_lifecycleSet Domain Lifecycle for a SwaggerHub domain | Set Domain Lifecycle for a SwaggerHub domain |
get_domain_visibilityGet Domain Visibility for a SwaggerHub domain | Get Domain Visibility for a SwaggerHub domain |
set_domain_visibilitySet Domain Visibility for a SwaggerHub domain | Set Domain Visibility for a SwaggerHub domain |
get_standardization_errorsRetrieve standardization errors for an API definition | Retrieve standardization errors for an API definition |
list_api_commentsList API Comments for a SwaggerHub api | List API Comments for a SwaggerHub api |
add_api_commentAdd API Comment for a SwaggerHub api | Add API Comment for a SwaggerHub api |
update_api_commentUpdate API Comment for a SwaggerHub api | Update API Comment for a SwaggerHub api |
delete_api_commentDelete API Comment for a SwaggerHub api | Delete API Comment for a SwaggerHub api |
set_api_comment_statusSet API Comment Status for a SwaggerHub api | Set API Comment Status for a SwaggerHub api |
add_api_comment_replyAdd API Comment Reply for a SwaggerHub api | Add API Comment Reply for a SwaggerHub api |
batch_update_api_commentsBatch Update API Comments for a SwaggerHub api | Batch Update API Comments for a SwaggerHub api |
list_domain_commentsList Domain Comments for a SwaggerHub domain | List Domain Comments for a SwaggerHub domain |
add_domain_commentAdd Domain Comment for a SwaggerHub domain | Add Domain Comment for a SwaggerHub domain |
update_domain_commentUpdate Domain Comment for a SwaggerHub domain | Update Domain Comment for a SwaggerHub domain |
delete_domain_commentDelete Domain Comment for a SwaggerHub domain | Delete Domain Comment for a SwaggerHub domain |
set_domain_comment_statusSet Domain Comment Status for a SwaggerHub domain | Set Domain Comment Status for a SwaggerHub domain |
add_domain_comment_replyAdd Domain Comment Reply for a SwaggerHub domain | Add Domain Comment Reply for a SwaggerHub domain |
batch_update_domain_commentsBatch Update Domain Comments for a SwaggerHub domain | Batch Update Domain Comments for a SwaggerHub domain |
list_integrationsList integrations configured for an API version | List integrations configured for an API version |
create_integrationCreate Integration for a SwaggerHub API version | Create Integration for a SwaggerHub API version |
get_integrationGet Integration for a SwaggerHub API version | Get Integration for a SwaggerHub API version |
update_integrationUpdate Integration for a SwaggerHub API version | Update Integration for a SwaggerHub API version |
patch_integrationPatch Integration for a SwaggerHub API version | Patch Integration for a SwaggerHub API version |
delete_integrationDelete Integration for a SwaggerHub API version | Delete Integration for a SwaggerHub API version |
execute_integrationExecute Integration for a SwaggerHub API version | Execute Integration for a SwaggerHub API version |
list_projectsList projects for an organization | List projects for an organization |
create_projectCreate Project in SwaggerHub | Create Project in SwaggerHub |
get_projectGet Project in SwaggerHub | Get Project in SwaggerHub |
update_projectUpdate Project in SwaggerHub | Update Project in SwaggerHub |
delete_projectDelete Project in SwaggerHub | Delete Project in SwaggerHub |
add_spec_to_projectAdd Spec To Project in SwaggerHub | Add Spec To Project in SwaggerHub |
custom_api_callCall any SwaggerHub Registry API endpoint with the connected API key | Call any SwaggerHub Registry API endpoint with the connected API key |
Triggers
| Name | Description |
|---|---|
spec_changedPoll SwaggerHub APIs, domains, or specs and emit new or modified metadata after the initial baseline | Poll SwaggerHub APIs, domains, or specs and emit new or modified metadata after the initial baseline |
webhook_event_receivedReceive manually configured SwaggerHub webhook integration events | Receive manually configured SwaggerHub webhook integration events |
Quick Start
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.