Swaggerhub
swaggerhubAccelerating API delivery and quality through standards and collaboration, built on OpenAPI
Acciones disponibles (49)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Access Control for TeamsSWAGGERHUB_ADD_ACCESS_CONTROL_FOR_TEAMSAcciónTool to assign access control roles to teams on a SwaggerHub resource. Use when you need to grant team permissions (OWNER, DESIGNER, CONSUMER) for APIs, domains, projects, or portal products.
SWAGGERHUB_ADD_ACCESS_CONTROL_FOR_TEAMSAcciónTool to assign access control roles to teams on a SwaggerHub resource. Use when you need to grant team permissions (OWNER, DESIGNER, CONSUMER) for APIs, domains, projects, or portal products.
Parámetros de entrada
ownerstringObligatorioOrganization identifier
teamsobject[]ObligatorioList of teams with their assigned roles to add access control
resourceNamestringObligatorioName of the resource to add team access for
resourceTypestringObligatorioenumType of the resource (API, DOMAIN, PROJECT, or PORTAL_PRODUCT)
APIDOMAINPROJECTPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add Access Control for UsersSWAGGERHUB_ADD_ACCESS_CONTROL_FOR_USERSAcciónTool to assign access control roles to users on a SwaggerHub resource. Use when you need to grant user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.
SWAGGERHUB_ADD_ACCESS_CONTROL_FOR_USERSAcciónTool to assign access control roles to users on a SwaggerHub resource. Use when you need to grant user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.
Parámetros de entrada
ownerstringObligatorioOrganization identifier (owner name)
usersobject[]ObligatorioList of users with their assigned roles to add access control. Each user must have an email and role specified.
resourceNamestringObligatorioName of the organizational resource to add user access for
resourceTypestringObligatorioenumType of the organizational resource (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)
APIDOMAINPROJECTORGANIZATIONTEAMPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Table of Contents EntrySWAGGERHUB_DELETE_TABLE_OF_CONTENTS_ENTRYAcciónTool to delete a table of contents entry from SwaggerHub portal. Use when you need to remove a table of contents entry by its ID. Optionally supports recursive deletion of nested entries.
SWAGGERHUB_DELETE_TABLE_OF_CONTENTS_ENTRYAcciónTool to delete a table of contents entry from SwaggerHub portal. Use when you need to remove a table of contents entry by its ID. Optionally supports recursive deletion of nested entries.
Parámetros de entrada
recursivebooleanFlag to include all the nested tables of contents
table_of_contents_idstringObligatorioThe table of contents UUID, or identifier in the format `portal-subdomain:product-slug:section-slug:table-of-contents-slug`
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Access Control UsersSWAGGERHUB_GET_ACCESS_CONTROL_USERSAcciónTool to retrieve the list of users assigned access control on a SwaggerHub resource. Use when you need to check who has access to an API, domain, project, organization, team, or portal product.
SWAGGERHUB_GET_ACCESS_CONTROL_USERSAcciónTool to retrieve the list of users assigned access control on a SwaggerHub resource. Use when you need to check who has access to an API, domain, project, organization, team, or portal product.
Parámetros de entrada
pageinteger0-based index of the page to return for pagination.
ownerstringObligatorioOrganization identifier to query access control users for.
pageSizeintegerNumber of results per page to return, must be between 1 and 100.
resourceNamestringObligatorioName of the resource to query access control users for.
resourceTypestringObligatorioenumType of the resource to query access control users for.
APIDOMAINPROJECTORGANIZATIONTEAMPORTAL_PRODUCTstatusFilterstringenumFilter users by invitation status.
allactiveinvited
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API Default VersionSWAGGERHUB_GET_API_DEFAULT_VERSIONAcciónTool to get the default version identifier of a SwaggerHub API. Use when you need to know which version is marked as default for an API. This returns only the version identifier; to get the full API definition, use the version with GET /apis/{owner}/{api}/{version}.
SWAGGERHUB_GET_API_DEFAULT_VERSIONAcciónTool to get the default version identifier of a SwaggerHub API. Use when you need to know which version is marked as default for an API. This returns only the version identifier; to get the full API definition, use the version with GET /apis/{owner}/{api}/{version}.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive). This is the unique identifier of the API within the owner's account.
ownerstringObligatorioAPI owner (organization or user, case-sensitive). This is the account that owns the API in SwaggerHub.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API VersionsSWAGGERHUB_GET_API_VERSIONSAcciónTool to retrieve a list of API versions for a specific API in SwaggerHub. Use when you need to get all versions of an API owned by an organization or user. Returns 404 if the specified API is not found or if the authenticated user does not have access to a private API.
SWAGGERHUB_GET_API_VERSIONSAcciónTool to retrieve a list of API versions for a specific API in SwaggerHub. Use when you need to get all versions of an API owned by an organization or user. Returns 404 if the specified API is not found or if the authenticated user does not have access to a private API.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive). This is the name of the API for which to retrieve versions.
ownerstringObligatorioAPI owner (organization or user, case-sensitive). This is the SwaggerHub organization or user name that owns the API.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Consumer ProductsSWAGGERHUB_GET_CONSUMER_PRODUCTSAcciónTool to get a list of products that are visible to the consumer in a SwaggerHub portal. Use when you need to retrieve products from a portal, including both accessible and inaccessible products. This endpoint does not require authentication.
SWAGGERHUB_GET_CONSUMER_PRODUCTSAcciónTool to get a list of products that are visible to the consumer in a SwaggerHub portal. Use when you need to retrieve products from a portal, including both accessible and inaccessible products. This endpoint does not require authentication.
Parámetros de entrada
pageintegerThe 1-based index of the page to return. If not specified, the first page is returned.
sizeintegerThe number of results to return per page.
embedstring[]Embed related resources in the response.
portalIdstringObligatorioPortal UUID or subdomain.
canAccessbooleanFilter based on whether you are allowed to access this product or not. If not specified, the results include both accessible and inaccessible products.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API DefinitionSWAGGERHUB_GET_DEFINITIONAcciónTool to get the OpenAPI definition of a specified API version from SwaggerHub. Use when you need to retrieve the complete API specification including endpoints, schemas, and documentation for a specific API version.
SWAGGERHUB_GET_DEFINITIONAcciónTool to get the OpenAPI definition of a specified API version from SwaggerHub. Use when you need to retrieve the complete API specification including endpoints, schemas, and documentation for a specific API version.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive). The name of the API as it appears in SwaggerHub.
ownerstringObligatorioAPI owner (organization or user, case-sensitive). This is the SwaggerHub username or organization name that owns the API.
flattenbooleanIf set to true, it creates models from inline schemas in OpenAPI definition. AsyncAPI definitions cannot be flattened. Default is false.
versionstringObligatorioVersion identifier. The specific version of the API definition to retrieve.
resolvedbooleanSet to true to get the resolved version of the API definition. The content of all external $refs will be included in the resulting file. Default is false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Domain Default VersionSWAGGERHUB_GET_DOMAIN_DEFAULT_VERSIONAcciónTool to retrieve the default version identifier of a SwaggerHub domain. Use when you need to know which version is set as default for a domain before fetching its definition.
SWAGGERHUB_GET_DOMAIN_DEFAULT_VERSIONAcciónTool to retrieve the default version identifier of a SwaggerHub domain. Use when you need to know which version is set as default for a domain before fetching its definition.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive).
domainstringObligatorioDomain name (case-sensitive).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get domain definitionSWAGGERHUB_GET_DOMAIN_DEFINITIONAcciónTool to retrieve the OpenAPI definition of a specified domain version from SwaggerHub. Use when you need to access reusable domain components, schemas, or parameters.
SWAGGERHUB_GET_DOMAIN_DEFINITIONAcciónTool to retrieve the OpenAPI definition of a specified domain version from SwaggerHub. Use when you need to access reusable domain components, schemas, or parameters.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive).
domainstringObligatorioDomain name (case-sensitive).
versionstringObligatorioVersion identifier of the domain.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Domain JSON DefinitionSWAGGERHUB_GET_DOMAIN_JSON_DEFINITIONAcciónTool to retrieve the OpenAPI definition for a specified domain version in JSON format. Use when you need to access the domain definition document from SwaggerHub.
SWAGGERHUB_GET_DOMAIN_JSON_DEFINITIONAcciónTool to retrieve the OpenAPI definition for a specified domain version in JSON format. Use when you need to access the domain definition document from SwaggerHub.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive)
domainstringObligatorioDomain name (case-sensitive)
versionstringObligatorioVersion identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Domain Lifecycle SettingsSWAGGERHUB_GET_DOMAIN_LIFECYCLE_SETTINGSAcciónTool to get the published status for a specific domain and version in SwaggerHub. Use when you need to check if a domain version is published or unpublished.
SWAGGERHUB_GET_DOMAIN_LIFECYCLE_SETTINGSAcciónTool to get the published status for a specific domain and version in SwaggerHub. Use when you need to check if a domain version is published or unpublished.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive)
domainstringObligatorioDomain name (case-sensitive)
versionstringObligatorioVersion identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Domain Private SettingsSWAGGERHUB_GET_DOMAIN_PRIVATE_SETTINGSAcciónTool to retrieve the visibility (public or private) of a domain version in SwaggerHub. Use when you need to check whether a specific domain version is accessible publicly or restricted to private access.
SWAGGERHUB_GET_DOMAIN_PRIVATE_SETTINGSAcciónTool to retrieve the visibility (public or private) of a domain version in SwaggerHub. Use when you need to check whether a specific domain version is accessible publicly or restricted to private access.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive).
domainstringObligatorioDomain name (case-sensitive).
versionstringObligatorioVersion identifier.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Domain VersionsSWAGGERHUB_GET_DOMAIN_VERSIONSAcciónTool to get a list of domain versions from SwaggerHub. Use when you need to retrieve all versions of a domain definition and see which APIs reference it. The domain must exist and be accessible with the provided authentication. Returns domain information in APIs.json format including referencing APIs.
SWAGGERHUB_GET_DOMAIN_VERSIONSAcciónTool to get a list of domain versions from SwaggerHub. Use when you need to retrieve all versions of a domain definition and see which APIs reference it. The domain must exist and be accessible with the provided authentication. Returns domain information in APIs.json format including referencing APIs.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive). This is the account name that owns the domain in SwaggerHub.
domainstringObligatorioDomain name (case-sensitive). This is the name of the domain definition in SwaggerHub.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Domain YAML DefinitionSWAGGERHUB_GET_DOMAIN_YAML_DEFINITIONAcciónTool to retrieve the OpenAPI definition for a specified domain version in YAML format from SwaggerHub. Use when you need to fetch domain schemas or API specifications in YAML format.
SWAGGERHUB_GET_DOMAIN_YAML_DEFINITIONAcciónTool to retrieve the OpenAPI definition for a specified domain version in YAML format from SwaggerHub. Use when you need to fetch domain schemas or API specifications in YAML format.
Parámetros de entrada
ownerstringObligatorioDomain owner (organization or user, case-sensitive)
domainstringObligatorioDomain name (case-sensitive)
versionstringObligatorioVersion identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get JSON API DefinitionSWAGGERHUB_GET_JSON_API_DEFINITIONAcciónTool to download OpenAPI definition as a JSON file from SwaggerHub Portal API. Use when you need to retrieve the API specification in JSON format.
SWAGGERHUB_GET_JSON_API_DEFINITIONAcciónTool to download OpenAPI definition as a JSON file from SwaggerHub Portal API. Use when you need to retrieve the API specification in JSON format.
Parámetros de entrada
apistringObligatorioThe API name (e.g., 'swaggerhub-portal-api')
ownerstringObligatorioThe owner of the API (e.g., 'smartbear-public')
versionstringObligatorioThe API version (e.g., '0.8.0-beta')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get JSON DefinitionSWAGGERHUB_GET_JSON_DEFINITIONAcciónTool to get the OpenAPI definition for a specified API version in JSON format. Use when you need to retrieve the complete API specification from SwaggerHub. Returns the OpenAPI/Swagger definition which includes paths, operations, schemas, and other API metadata.
SWAGGERHUB_GET_JSON_DEFINITIONAcciónTool to get the OpenAPI definition for a specified API version in JSON format. Use when you need to retrieve the complete API specification from SwaggerHub. Returns the OpenAPI/Swagger definition which includes paths, operations, schemas, and other API metadata.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive). The name of the API whose definition you want to retrieve.
ownerstringObligatorioAPI owner (organization or user, case-sensitive). The owner of the API whose definition you want to retrieve.
flattenbooleanIf set to true, it creates models from inline schemas in OpenAPI definition. AsyncAPI definitions cannot be flattened.
versionstringObligatorioVersion identifier. The specific version of the API definition to retrieve.
resolvedbooleanSet to true to get the resolved version of the API definition. The content of all external $refs will be included in the resulting file.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get lifecycle settingsSWAGGERHUB_GET_LIFECYCLE_SETTINGSAcciónTool to get the published status for the specified API and version. Use when you need to check if an API version is published or unpublished.
SWAGGERHUB_GET_LIFECYCLE_SETTINGSAcciónTool to get the published status for the specified API and version. Use when you need to check if an API version is published or unpublished.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive)
ownerstringObligatorioAPI owner (organization or user, case-sensitive)
versionstringObligatorioVersion identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization MembersSWAGGERHUB_GET_ORGANIZATION_MEMBERSAcciónTool to retrieve a list of organization members and their roles from SwaggerHub. Use when you need to view member details including email addresses, roles, and last activity. The authenticating user must be the organization owner.
SWAGGERHUB_GET_ORGANIZATION_MEMBERSAcciónTool to retrieve a list of organization members and their roles from SwaggerHub. Use when you need to view member details including email addresses, roles, and last activity. The authenticating user must be the organization owner.
Parámetros de entrada
qstringSearch query to filter members by first name, last name, or email address. Use this to narrow down the member list.
pageinteger0-based index of the page to return. Use with pageSize to navigate through results.
orderstringenumSort order for results.
ASCDESCownerstringObligatorioOrganization identifier (owner name). This is the organization name in SwaggerHub.
sortBystringenumSort criteria for organization members.
NAMEEMAILSTART_TIMEpageSizeintegerNumber of results per page to return. Default is 50.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User OrganizationsSWAGGERHUB_GET_ORGANIZATIONSAcciónTool to get organizations for a user. Use when you need to retrieve all organizations that the authenticating user is a member of. Results can be filtered by name using the q parameter, sorted by name or email, and paginated using page and pageSize parameters.
SWAGGERHUB_GET_ORGANIZATIONSAcciónTool to get organizations for a user. Use when you need to retrieve all organizations that the authenticating user is a member of. Results can be filtered by name using the q parameter, sorted by name or email, and paginated using page and pageSize parameters.
Parámetros de entrada
qstringSearch organizations by partial or full name (case-insensitive). Use to filter results by organization name.
pageintegerPage number to return (zero-indexed). Use for pagination through results.
orderstringenumEnum for sort order.
ASCDESCsortBystringenumEnum for organization sorting criteria.
NAMEEMAILpageSizeintegerNumber of results per page. Must be between 0 and 100. Use for pagination through results.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization Projects V2SWAGGERHUB_GET_ORG_PROJECTS_V2AcciónTool to get all projects of an organization in SwaggerHub. Use when you need to retrieve projects belonging to a specific organization. Projects organize APIs and domains into logical groups. Returns 403 if projects are not available in the organization's plan, or 404 if the organization is not found.
SWAGGERHUB_GET_ORG_PROJECTS_V2AcciónTool to get all projects of an organization in SwaggerHub. Use when you need to retrieve projects belonging to a specific organization. Projects organize APIs and domains into logical groups. Returns 403 if projects are not available in the organization's plan, or 404 if the organization is not found.
Parámetros de entrada
pageintegerPage to return (zero-indexed). Use for pagination through results.
limitintegerNumber of results per page. Must be between 1 and 100.
orderstringenumSort order for the result set.
ASCDESCownerstringObligatorioOrganization name (case-sensitive). This is the organization identifier in SwaggerHub.
nameOnlybooleanReturn the project information excluding APIs and domains. Set to true to get only project names and descriptions.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Owner APIsSWAGGERHUB_GET_OWNER_APISAcciónTool to get a list of APIs for a specified owner in SwaggerHub. Use when you need to retrieve all APIs belonging to a specific user or organization. Results are returned in APIs.json format and can be paginated and sorted by various criteria.
SWAGGERHUB_GET_OWNER_APISAcciónTool to get a list of APIs for a specified owner in SwaggerHub. Use when you need to retrieve all APIs belonging to a specific user or organization. Results are returned in APIs.json format and can be paginated and sorted by various criteria.
Parámetros de entrada
pageintegerPage number to return (zero-indexed). Use for pagination through results.
sortstringenumSort criteria for the result set.
NAMEUPDATEDCREATEDOWNERBEST_MATCHTITLElimitintegerNumber of results per page. Must be between 1 and 100.
orderstringenumSort order for the result set.
ASCDESCownerstringObligatorioAPI owner (organization or user, case-sensitive). This is the username or organization name in SwaggerHub.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get owner domainsSWAGGERHUB_GET_OWNER_DOMAINSAcciónTool to retrieve domains owned by a specific SwaggerHub user or organization. Use when you need to list all domains associated with an owner.
SWAGGERHUB_GET_OWNER_DOMAINSAcciónTool to retrieve domains owned by a specific SwaggerHub user or organization. Use when you need to list all domains associated with an owner.
Parámetros de entrada
pageintegerPage number to return (0-indexed). Use this for pagination when the result set is large.
sortstringenumSort criteria for domain listing.
NAMEUPDATEDCREATEDOWNERBEST_MATCHTITLElimitintegerNumber of results per page. Must be between 1 and 100. Controls how many domain entries are returned in a single response.
orderstringenumSort order for domain listing.
ASCDESCownerstringObligatorioDomain owner (organization or user, case-sensitive). This is the username or organization name that owns the domains you want to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PortalSWAGGERHUB_GET_PORTALAcciónTool to retrieve information about a portal. Use when you need to fetch details about a specific SwaggerHub portal by its UUID or subdomain.
SWAGGERHUB_GET_PORTALAcciónTool to retrieve information about a portal. Use when you need to fetch details about a specific SwaggerHub portal by its UUID or subdomain.
Parámetros de entrada
embedstring[]Embed related resources in the response.
portalIdstringObligatorioPortal UUID or subdomain
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Portal Access RequestsSWAGGERHUB_GET_PORTAL_ACCESS_REQUESTSAcciónTool to retrieve access requests for a portal in SwaggerHub. Use when you need to list all users who have requested access to a portal's products, with optional filtering by status or search query. Returns paginated results with details about each request including user information, product, status, and timestamps.
SWAGGERHUB_GET_PORTAL_ACCESS_REQUESTSAcciónTool to retrieve access requests for a portal in SwaggerHub. Use when you need to list all users who have requested access to a portal's products, with optional filtering by status or search query. Returns paginated results with details about each request including user information, product, status, and timestamps.
Parámetros de entrada
qstringSearch query to filter access requests by user name, email, or other text fields.
pageintegerThe 1-based index of the page to return. If not specified, the first page is returned.
sizeintegerThe number of results to return per page. Maximum value depends on API limits.
statusstring[]Filter results by status. Returns only access requests matching one of the specified statuses.
portalIdstringObligatorioPortal UUID or subdomain. The unique identifier of the portal for which to retrieve access requests.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Portal AttachmentSWAGGERHUB_GET_PORTAL_ATTACHMENTAcciónTool to get informational attachment metadata from SwaggerHub Portal. Use when you need to retrieve details about a specific attachment by its UUID. This endpoint supports both authenticated and unauthenticated access for branding attachments or public product attachments.
SWAGGERHUB_GET_PORTAL_ATTACHMENTAcciónTool to get informational attachment metadata from SwaggerHub Portal. Use when you need to retrieve details about a specific attachment by its UUID. This endpoint supports both authenticated and unauthenticated access for branding attachments or public product attachments.
Parámetros de entrada
attachment_idstringObligatorioAttachment UUID identifier.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Portal ProductSWAGGERHUB_GET_PORTAL_PRODUCTAcciónTool to retrieve detailed information about a specific product resource. Use when you need to fetch complete details about a product using its UUID or portal-subdomain:product-slug identifier.
SWAGGERHUB_GET_PORTAL_PRODUCTAcciónTool to retrieve detailed information about a specific product resource. Use when you need to fetch complete details about a product using its UUID or portal-subdomain:product-slug identifier.
Parámetros de entrada
embedstring[]Embed related resources in the response.
productIdstringObligatorioProduct UUID, or identifier in the format `portal-subdomain:product-slug`
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Portal ProductsSWAGGERHUB_GET_PORTAL_PRODUCTSAcciónTool to get products for a specific portal that match your criteria. Use when you need to retrieve a list of products from a portal, with optional filtering by name or slug and pagination support.
SWAGGERHUB_GET_PORTAL_PRODUCTSAcciónTool to get products for a specific portal that match your criteria. Use when you need to retrieve a list of products from a portal, with optional filtering by name or slug and pagination support.
Parámetros de entrada
namestringFilter by the product's name using case-insensitive exact matching.
pageintegerThe 1-based index of the page to return. Defaults to 1 if not specified.
sizeintegerThe number of results to return per page. Defaults to 1000 if not specified.
slugstringFilter by the product's slug using case-insensitive exact matching.
embedstring[]Embed related resources in the response.
portalIdstringObligatorioPortal UUID or subdomain to identify the portal.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PortalsSWAGGERHUB_GET_PORTALSAcciónTool to search for available portals. Returns portals where you have a designer role, either at the product level or organization level.
SWAGGERHUB_GET_PORTALSAcciónTool to search for available portals. Returns portals where you have a designer role, either at the product level or organization level.
Parámetros de entrada
pageintegerThe 1-based index of the page to return. If not specified, the first page is returned.
sizeintegerThe number of results to return per page.
embedstring[]Embed related resources in the response. Specify which resources to include.
subdomainstringFilter results by a portal's subdomain. The filter applies case-insensitive exact matching.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Portal TemplatesSWAGGERHUB_GET_PORTAL_TEMPLATESAcciónTool to get templates for a specific portal that match your criteria. Use when you need to list or search for templates within a portal by name or other filters. Supports pagination for large result sets.
SWAGGERHUB_GET_PORTAL_TEMPLATESAcciónTool to get templates for a specific portal that match your criteria. Use when you need to list or search for templates within a portal by name or other filters. Supports pagination for large result sets.
Parámetros de entrada
namestringFilter by the template's name. The filter applied uses case-insensitive exact matching.
pageintegerThe 1-based index of the page to return. If not specified, the first page is returned.
sizeintegerThe number of results to return per page.
embedstring[]Embed related resources in the response.
portalIdstringObligatorioPortal UUID or subdomain identifier.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API Version Private SettingsSWAGGERHUB_GET_PRIVATE_SETTINGSAcciónTool to get the visibility (public or private) of an API version. Use when you need to check whether a specific API version is publicly accessible or private.
SWAGGERHUB_GET_PRIVATE_SETTINGSAcciónTool to get the visibility (public or private) of an API version. Use when you need to check whether a specific API version is publicly accessible or private.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive)
ownerstringObligatorioAPI owner (organization or user, case-sensitive)
versionstringObligatorioVersion identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Resource Types and RolesSWAGGERHUB_GET_RESOURCE_TYPESAcciónTool to list available resource types and assignable roles for each in a SwaggerHub organization. Use when you need to understand what roles can be assigned to different resource types like APIs, domains, projects, teams, and organizations.
SWAGGERHUB_GET_RESOURCE_TYPESAcciónTool to list available resource types and assignable roles for each in a SwaggerHub organization. Use when you need to understand what roles can be assigned to different resource types like APIs, domains, projects, teams, and organizations.
Parámetros de entrada
owner_idstringObligatorioThe organization identifier (UUID format). This is the unique identifier for the organization whose resource types you want to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TemplatesSWAGGERHUB_GET_TEMPLATESAcciónTool to retrieve a list of templates for an owner in SwaggerHub. Use when you need to get available templates for creating new API definitions or domain models.
SWAGGERHUB_GET_TEMPLATESAcciónTool to retrieve a list of templates for an owner in SwaggerHub. Use when you need to get available templates for creating new API definitions or domain models.
Parámetros de entrada
ownerstringOwner name to filter templates by (case-sensitive). If not specified, returns all available templates.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User RolesSWAGGERHUB_GET_USER_ROLESAcciónTool to retrieve all roles assigned to a user across organization resources in SwaggerHub. Use when you need to check what permissions a user has across APIs, teams, domains, and other resources in an organization.
SWAGGERHUB_GET_USER_ROLESAcciónTool to retrieve all roles assigned to a user across organization resources in SwaggerHub. Use when you need to check what permissions a user has across APIs, teams, domains, and other resources in an organization.
Parámetros de entrada
pageintegerPage number for pagination (zero-indexed).
userstringObligatorioThe user's email address to retrieve roles for.
owner_idstringObligatorioThe organization owner ID (UUID format).
pageSizeintegerNumber of results per page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get YAML API DefinitionSWAGGERHUB_GET_YAML_API_DEFINITIONAcciónTool to download OpenAPI definition as a YAML file from SwaggerHub Portal API. Use when you need to retrieve the API specification in YAML format.
SWAGGERHUB_GET_YAML_API_DEFINITIONAcciónTool to download OpenAPI definition as a YAML file from SwaggerHub Portal API. Use when you need to retrieve the API specification in YAML format.
Parámetros de entrada
apistringObligatorioThe API name (e.g., 'swaggerhub-portal-api')
ownerstringObligatorioThe owner of the API (e.g., 'smartbear-public')
versionstringObligatorioThe API version (e.g., '0.8.0-beta')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get YAML DefinitionSWAGGERHUB_GET_YAML_DEFINITIONAcciónTool to get the OpenAPI definition in YAML format for the specified API version from SwaggerHub. Use when you need to retrieve the API specification as YAML text for parsing, storage, or processing.
SWAGGERHUB_GET_YAML_DEFINITIONAcciónTool to get the OpenAPI definition in YAML format for the specified API version from SwaggerHub. Use when you need to retrieve the API specification as YAML text for parsing, storage, or processing.
Parámetros de entrada
apistringObligatorioAPI name (case-sensitive). The name of the API as it appears in SwaggerHub.
ownerstringObligatorioAPI owner (organization or user, case-sensitive). This is the SwaggerHub username or organization name that owns the API.
flattenbooleanIf set to true, it creates models from inline schemas in OpenAPI definition. AsyncAPI definitions cannot be flattened. Default is false.
versionstringObligatorioVersion identifier. The specific version of the API definition to retrieve.
resolvedbooleanSet to true to get the resolved version of the API definition. The content of all external $refs will be included in the resulting file. Default is false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AttachmentsSWAGGERHUB_LIST_ATTACHMENTSAcciónTool to retrieve all attachments for a portal or product. Use when you need to list attachments associated with either a specific portal or product. Provide either productId or portalId, not both.
SWAGGERHUB_LIST_ATTACHMENTSAcciónTool to retrieve all attachments for a portal or product. Use when you need to list attachments associated with either a specific portal or product. Provide either productId or portalId, not both.
Parámetros de entrada
portalIdstringPortal identifier (mutually exclusive with productId). Retrieve attachments for this specific portal.
productIdstringProduct identifier (mutually exclusive with portalId). Retrieve attachments for this specific product.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Access Control for TeamsSWAGGERHUB_REMOVE_ACCESS_CONTROL_FOR_TEAMSAcciónTool to remove access control for teams from a SwaggerHub resource. Use when you need to revoke team permissions from an API, domain, project, or portal product.
SWAGGERHUB_REMOVE_ACCESS_CONTROL_FOR_TEAMSAcciónTool to remove access control for teams from a SwaggerHub resource. Use when you need to revoke team permissions from an API, domain, project, or portal product.
Parámetros de entrada
ownerstringObligatorioOrganization identifier
teamsstring[]ObligatorioTeam names to remove access control for
resourceNamestringObligatorioName of organizational resource
resourceTypestringObligatorioenumOrganizational resource type (API, DOMAIN, PROJECT, or PORTAL_PRODUCT)
APIDOMAINPROJECTPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Access Control For UsersSWAGGERHUB_REMOVE_ACCESS_CONTROL_FOR_USERSAcciónTool to remove access control for users from a SwaggerHub organizational resource. Use when you need to revoke user access to APIs, domains, projects, organizations, teams, or portal products.
SWAGGERHUB_REMOVE_ACCESS_CONTROL_FOR_USERSAcciónTool to remove access control for users from a SwaggerHub organizational resource. Use when you need to revoke user access to APIs, domains, projects, organizations, teams, or portal products.
Parámetros de entrada
ownerstringObligatorioOrganization identifier
usersstring[]ObligatorioList of members' email addresses to remove access control for
resourceNamestringObligatorioName of organizational resource
resourceTypestringObligatorioenumOrganizational resource type (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)
APIDOMAINPROJECTORGANIZATIONTEAMPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Organization MembersSWAGGERHUB_REMOVE_MEMBERSAcciónTool to remove members from a SwaggerHub organization. Use when you need to revoke membership for one or more users by their email addresses.
SWAGGERHUB_REMOVE_MEMBERSAcciónTool to remove members from a SwaggerHub organization. Use when you need to revoke membership for one or more users by their email addresses.
Parámetros de entrada
userstring[]ObligatorioEmail addresses of the users to remove from the organization. Multiple emails can be provided.
ownerstringObligatorioOrganization identifier (owner name).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search APIsSWAGGERHUB_SEARCH_APISAcciónTool to search SwaggerHub APIs. Use when you need to find API definitions in SwaggerHub by name, owner, or other criteria. This is a convenience alias for GET /specs?specType=API.
SWAGGERHUB_SEARCH_APISAcciónTool to search SwaggerHub APIs. Use when you need to find API definitions in SwaggerHub by name, owner, or other criteria. This is a convenience alias for GET /specs?specType=API.
Parámetros de entrada
pageintegerPage number to return (0-indexed). Default is 0.
sortstringenumEnum for sort criteria.
NAMEUPDATEDCREATEDOWNERBEST_MATCHTITLElimitintegerNumber of results per page (1-100). Default is 10.
orderstringenumEnum for sort order.
ASCDESCquerystringFree text query to match against API names and descriptions.
statestringenumEnum for API published state filter.
ALLPUBLISHEDUNPUBLISHED
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search APIs and DomainsSWAGGERHUB_SEARCH_APIS_AND_DOMAINSAcciónTool to search SwaggerHub APIs, domains, and templates. Use when you need to retrieve a list of currently defined APIs, domains, and/or templates in APIs.json format. Supports filtering by spec type, visibility, state, owner, and free text search with pagination and sorting.
SWAGGERHUB_SEARCH_APIS_AND_DOMAINSAcciónTool to search SwaggerHub APIs, domains, and templates. Use when you need to retrieve a list of currently defined APIs, domains, and/or templates in APIs.json format. Supports filtering by spec type, visibility, state, owner, and free text search with pagination and sorting.
Parámetros de entrada
pageintegerPage number to return (0-indexed). Default is 0.
sortstringenumEnum for sort criteria.
NAMEUPDATEDCREATEDOWNERBEST_MATCHTITLElimitintegerNumber of results per page (1-100). Default is 10.
orderstringenumEnum for sort order.
ASCDESCownerstringAPI or domain owner. Can be username or organization name. Case-sensitive.
querystringFree text query to match against names and descriptions.
statestringenumEnum for published state filter.
ALLPUBLISHEDUNPUBLISHEDspecTypestringenumEnum for spec type filter.
APIDOMAINTEMPLATEANYvisibilitystringenumEnum for visibility filter.
PUBLICPRIVATEANY
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search DomainsSWAGGERHUB_SEARCH_DOMAINSAcciónTool to search SwaggerHub domains. Use when you need to find domain definitions in SwaggerHub by name, owner, or other criteria. This is a convenience alias for GET /specs?specType=DOMAIN.
SWAGGERHUB_SEARCH_DOMAINSAcciónTool to search SwaggerHub domains. Use when you need to find domain definitions in SwaggerHub by name, owner, or other criteria. This is a convenience alias for GET /specs?specType=DOMAIN.
Parámetros de entrada
pageintegerPage number to return (0-indexed). Default is 0.
sortstringenumEnum for sort criteria.
NAMEUPDATEDCREATEDOWNERBEST_MATCHTITLElimitintegerNumber of results per page (1-100). Default is 10.
orderstringenumEnum for sort order.
ASCDESCquerystringFree text query to match against domain names and descriptions.
statestringenumEnum for domain published state filter.
ALLPUBLISHEDUNPUBLISHED
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Published PortalSWAGGERHUB_SEARCH_PUBLISHED_PORTALAcciónTool to search published portal content. Use when you need to search for APIs, operations, schemas, or documents within a specific SwaggerHub portal. This endpoint does not require authentication for public content, but authentication provides access to private products within the API key's access boundary.
SWAGGERHUB_SEARCH_PUBLISHED_PORTALAcciónTool to search published portal content. Use when you need to search for APIs, operations, schemas, or documents within a specific SwaggerHub portal. This endpoint does not require authentication for public content, but authentication provides access to private products within the API key's access boundary.
Parámetros de entrada
qstringObligatorioSearch query string to match against portal content.
pageintegerThe 1-based index of the page to return. If not specified, the first page is returned.
sizeintegerThe number of results to return per page. Default is 50 if not specified.
portalIdstringObligatorioPortal UUID or subdomain to search within. A 404 indicates the portal does not exist or is configured to be offline.
resultTypestring[]Filter results by one or more result types. If not specified, all types are returned.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Access Control for TeamsSWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_TEAMSAcciónTool to update access control roles for teams on a SwaggerHub resource. Use when you need to assign or change team permissions (designer or consumer) for APIs, domains, projects, or portal products.
SWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_TEAMSAcciónTool to update access control roles for teams on a SwaggerHub resource. Use when you need to assign or change team permissions (designer or consumer) for APIs, domains, projects, or portal products.
Parámetros de entrada
orgIdstringObligatorioOrganization identifier
teamsobject[]ObligatorioList of teams with their assigned roles to update access control
resourceNamestringObligatorioName of the resource to update team access for
resourceTypestringObligatorioenumType of the resource (API, DOMAIN, PROJECT, or PORTAL_PRODUCT)
APIDOMAINPROJECTPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Access Control for UsersSWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_USERSAcciónTool to update access control roles for users on a SwaggerHub resource. Use when you need to assign or change user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.
SWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_USERSAcciónTool to update access control roles for users on a SwaggerHub resource. Use when you need to assign or change user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.
Parámetros de entrada
ownerstringObligatorioOrganization identifier
usersobject[]ObligatorioList of users with their assigned roles to update access control
resourceNamestringObligatorioName of the organizational resource to update user access for
resourceTypestringObligatorioenumType of the organizational resource (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)
APIDOMAINPROJECTORGANIZATIONTEAMPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Access Control for TeamsSWAGGERHUB_UPDATE_ACCESS_CONTROL_TEAMSAcciónTool to update access control for teams on a SwaggerHub resource. Use when you need to grant or modify team permissions for an API, domain, project, or portal product.
SWAGGERHUB_UPDATE_ACCESS_CONTROL_TEAMSAcciónTool to update access control for teams on a SwaggerHub resource. Use when you need to grant or modify team permissions for an API, domain, project, or portal product.
Parámetros de entrada
ownerstringObligatorioOrganization identifier
teamsobject[]ObligatorioList of teams with assigned access control. Each team requires a name and role
resourceNamestringObligatorioName of organizational resource
resourceTypestringObligatorioenumOrganizational resource type (API, DOMAIN, PROJECT, or PORTAL_PRODUCT)
APIDOMAINPROJECTPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Access Control UsersSWAGGERHUB_UPDATE_ACCESS_CONTROL_USERSAcciónTool to update access control roles for users on a SwaggerHub resource. Use when you need to change user permissions (CONSUMER, DESIGNER, or OWNER) for APIs, domains, projects, organizations, teams, or portal products.
SWAGGERHUB_UPDATE_ACCESS_CONTROL_USERSAcciónTool to update access control roles for users on a SwaggerHub resource. Use when you need to change user permissions (CONSUMER, DESIGNER, or OWNER) for APIs, domains, projects, organizations, teams, or portal products.
Parámetros de entrada
orgIdstringObligatorioOrganization identifier where the resource is located.
usersobject[]ObligatorioList of users with their new roles to update on the resource.
resourceNamestringObligatorioName of the resource (API, domain, project, etc.) to update user access for.
resourceTypestringObligatorioenumType of resource to update user access for: API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT.
APIDOMAINPROJECTORGANIZATIONTEAMPORTAL_PRODUCT
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update PortalSWAGGERHUB_UPDATE_PORTALAcciónTool to update specific portal information in SwaggerHub. Use when you need to modify portal settings such as name, branding, subdomain, or other configuration options.
SWAGGERHUB_UPDATE_PORTALAcciónTool to update specific portal information in SwaggerHub. Use when you need to modify portal settings such as name, branding, subdomain, or other configuration options.
Parámetros de entrada
namestringThe name for this portal
footerobjectFooter configuration for the portal.
gtmKeystringThe Google Tag Manager key for this portal. Set to null to remove.
offlinebooleanIf set to true, the portal is not visible to customers.
routingstringenumRouting strategy options.
browserproxybrandingobjectBranding configuration for the portal.
portalIdstringObligatorioPortal UUID or subdomain
subdomainstringSubdomain for this portal. Must be unique.
landingPageobjectLanding page configuration for the portal.
customDomainstringCustom domain for this portal. Must be unique. If the value is explicitly set to null, the custom domain will be removed.
openapiRendererstringenumOpenAPI renderer options.
SWAGGER_UIELEMENTSTOGGLEpageContentFormatstringenumPage content format options.
BOTHHTMLMARKDOWNcredentialsEnabledbooleanIndicates if credentials are enabled for the portal.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not