Web Methods Search API
The Search API from Web Methods — 5 operation(s) for search.
The Search API from Web Methods — 5 operation(s) for search.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/web-methods:web-methods-search-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Web Methods Search API
version: '1.0'
description: 'Operations tagged Search across 3 of this provider''s published API definitions: apigateway-Search.json, web-methods-api-gateway-search-openapi.yml, web-methods-developer-portal-search-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
- url: http://localhost:18101/portal/rest/v1
description: Development server
tags:
- name: Search
paths:
/search:
post:
description: 'The search API allows you to execute a search query in API Gateway and get back search results that match the query. You can perform search across different objects such as API, Application, Alias, Assertions, Policies, Administrator Settings, Policy Action, Packages, Plans, Subscriptions, Users, User Groups, Transactional events, Lifecycle events, Policy violation events, Monitor events, Error events, Threat protection events, Performance metrics and Audit logs. Following are the type of searches that does not require scope or fields. 1. Users - This type is used to get the list of users from IS. 2. User Groups - This type is used to get the list of user groups from IS. Following are the type of searches for which you can specify the scope and fields. 1. API - This type is used to search the APIs in API Gateway. 2. Application - This type is used to search the Applications created in API Gateway. 3. Alias - This type is used to search aliases created in API Gateway. 4. Assertions - This type is used to search custom assertions created in API Gateway. 5. Policy - This type is used to search policies in API Gateway. 6. Policy Action - This type is used to search policy actions in API Gateway. 7. Package - This type is used to search packages in API Gateway. 8. Plan - This type is used to search plans in API Gateway. 9. Administrator Setting - This type is used to search the administrator settings in API Gateway. 10. Subscription - This type is used to search subscriptions in API Gateway. 11. Transactional events - This type is used to search transactional events generated in API Gateway. 12. Lifecycle events - This type is used to search lifecycle events in API Gateway. 13. Policy violation events - This type is used to search policy violation events generated in API Gateway. 14. Monitor events - This type is used to search monitor events generated in API Gateway. 15. Error events - This type is used to search error events generated in API Gateway. 16. Threat protection events - This type is used to search threat protection events generated in API Gateway. 17. Performance metrics - This type is used to search performance metrics generated in API Gateway. 18. Audit log events - This type is used to search audit logs events generated in API Gateway. For the above eighteen types, if a scope is specified, then the scope is applicable for all types regardless whether it is applicable for that or not. Also if the required fields are specified and it is not available in any other types, then the search result corresponds to that type does not have the fields. If from and size are specified then it skips first n records specified in from for all types and it fetches the number of records specified in size. examples:
1. Fetch All APIs contains run as substring
Payload : { "types" : ["api"], "scope":[ { "attributeName" : "apiName", "keyword" : ".*run.*" }] }
The above payload will fetch all APIs contains run as substring in API name. The response will contains APIs with some fields populated with default values. 2. Fetch All APIs contains run as substring and specific set of fields in the response
Payload : { "types" : ["api"], "scope":[ { "attributeName" : "apiName", "keyword" : ".*run.*" }], "responseFields" : ["apiName", "type", "isActive", "systemVersion", "policies","publishedPortals","apiVersion","id"]}
To fetch all fields, user can use "*" in responseFields. It will fetch all the fields in the response. Payload : { "types" : ["api"], "scope":[ { "attributeName" : "apiName", "keyword" : ".*run.*" }], "responseFields" : ["*"]}
The above payload will fetch all APIs contains run as substring in API name and corresponding fields mentioned in responseFields section.'
operationId: searchByType
responses:
'200':
description: This status code indicates that the search process is successful. The result is a map of type and object. Each type has it's respective search results mapped.
content:
application/json:
schema:
type: object
additionalProperties:
type: object
example: "{\n\t\"GROUP\": [\"API-Gateway-Administrators\",\n\t\"API-Gateway-Providers\",\n\t\"Administrators\",\n\t\"Anonymous\",\n\t\"Developers\",\n\t\"Everybody\",\n\t\"Replicators\"],\n\t\"POLICY\": [{\n\t\t\"id\": \"GlobalLogInvocationPolicy\",\n\t\t\"names\": [{\n\t\t\t\"value\": \"Transaction logging\",\n\t\t\t\"locale\": \"English\"\n\t\t}],\n\t\t\"policyEnforcements\": [],\n\t\t\"policyScope\": \"GLOBAL\",\n\t\t\"global\": false,\n\t\t\"active\": false,\n\t\t\"systemPolicy\": false\n\t},\n\t{\n\t\t\"id\": \"3808db1a-8577-41e5-af6b-dcdac470524c\",\n\t\t\"names\": [{\n\t\t\t\"value\": \"Transport Policy\",\n\t\t\t\"locale\": \"English\"\n\t\t}],\n\t\t\"policyEnforcements\": [],\n\t\t\"policyScope\": \"GLOBAL\",\n\t\t\"global\": false,\n\t\t\"active\": false,\n\t\t\"systemPolicy\": false\n\t}],\n\t\"ALIAS\": [{\n\t\t\"name\": \"Myname\",\n\t\t\"value\": \"API Gateway N\"\n\t}],\n\t\"APPLICATION\": [{\n\t\t\"name\": \"Application\",\n\t\t\"owner\": \"Administrator\",\n\t\t\"identifiers\": [],\n\t\t\"siteURLs\": [],\n\t\t\"subscription\": false\n\t}],\n\t\"API\": [{\n\t\t\"apiName\": \"API Gateway\",\n\t\t\"isActive\": false,\n\t\t\"policies\": [],\n\t\t\"publishedPortals\": [],\n\t\t\"systemVersion\": 1,\n\t\t\"id\": \"1ac48246-80eb-44c8-8901-564e025dbbde\"\n\t},\n\t{\n\t\t\"apiName\": \"API Gateway Policy Management\",\n\t\t\"isActive\": false,\n\t\t\"owner\": \"Administrator\",\n\t\t\"policies\": [],\n\t\t\"publishedPortals\": [],\n\t\t\"systemVersion\": 1,\n\t\t\"id\": \"7b2166a6-cf3c-4f72-a04b-72c110c302d2\"\n\t}],\n\t\"USER\": [\"Administrator\",\n\t\"Default\",\n\t\"Developer\",\n\t\"Replicator\",\n\t\"apigateway\"]\n}"
'400':
description: This status code indicates either error occurred during the search process or user has missed some mandatory field that is required to do the search. The examples shows user missed a mandatory field "condition" in request body
content:
application/json:
example: "{\n \"errorDetails\": \" Mandatory field condition is missing in the input request body\"\n}"
'401':
description: This status code indicates that either the user did not provide any user credentials or user does not have API Gateway Administrator or API Gateway provider access rights for search.
'500':
description: This status code indicates that the search process is not successful and has failed due to some internal server error.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchContext'
description: Search Parameters to search for specific set of results on specified types
required: true
tags:
- Search
summary: Search by type
x-summary-source: derived
get:
tags:
- Search
summary: Basic keyword search
description: This API is used to search the `APIs` or `Packages` matching the given input keyword. Case-insensitve keyword search would be done based on `Name` and `Description` fields of specific object types in scope.
parameters:
- in: query
name: page
required: false
schema:
type: integer
description: Optional page number to retrieve. Defaults to zero if not specified.
- name: limit
in: query
description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
required: false
schema:
type: integer
- in: query
name: q
required: true
schema:
type: string
description: Mandatory query parameter specifies the `keyword` to be searched.
responses:
200:
$ref: '#/components/responses/SearchResponse'
operationId: getSearch
x-operation-id-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/search/_aggregations:
post:
description: 'This REST call is intent to get the aggregation results for the specified scope and types. Supported aggregations are grouping, metrics and timeseries.
Grouping aggregation is used to find the count based on grouping of certain fields.
Metrics aggregation is used to find the average, minimum, maximum and sum of a field.
Timeseries aggregation is used to find the interval based and allowed intervals are second, minute, hour, day, week, month, quarter and year. In addition to the /search payload, aggregations fields like ''name'', ''type'' and ''fields''. Except types, scope, condition and aggregations other attributes are not considered during the REST API call.'
operationId: aggregations
responses:
'200':
description: This status code indicates the count for the specified scope is success. The result will be a map of type and count for each type.
content:
application/json:
schema:
type: object
additionalProperties:
type: object
example: "{\n\t\"TRANSACTION_EVENTS\":{\"apiName\":{\"apiName\":\"petstore\",\"apiVersion\":\"v1\",\"count\":12}}}"
'400':
description: This status code indicates either error occurred during the search process or user has missed some mandatory field that is required to do the search. The examples shows user missed a mandatory field "aggregations" in request body
content:
application/json:
example: "{\n \"errorDetails\": \" Mandatory field aggregations is missing in the input request body\"\n}"
'401':
description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator or API Gateway provider access for search.
'500':
description: This status code indicates the search process is not success and failed due to some internal server error.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchContext'
description: Search Parameters to search for specific set of results on specified types
required: true
tags:
- Search
summary: Aggregations
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/search/_count:
post:
description: This REST call is intent to get the total number of records for the specified scope and types. If the scope is not specified it returns total number of assets for the specified type. Both /search and /search/_count shares the same payload. Except types,scope and condition other attributes are not considered during the REST API call.
operationId: countByType
responses:
'200':
description: This status code indicates the count for the specified scope is success. The result will be a map of type and count for each type.
content:
application/json:
schema:
type: object
additionalProperties:
type: integer
format: int32
example: "{\n\t\"group\":12,\n\t\"policy\":13,\n\t\"user\":4,\n\t\"api\":5\n}"
'400':
description: This status code indicates either error occurred during the search process or user has missed some mandatory field that is required to do the search. The examples shows user missed a mandatory field "condition" in request body
content:
application/json:
example: "{\n \"errorDetails\": \" Mandatory field condition is missing in the input request body\"\n}"
'401':
description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator or API Gateway provider access for search.
'500':
description: This status code indicates the search process is not success and failed due to some internal server error.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchContext'
description: Search Parameters to search for specific set of results on specified types
required: true
tags:
- Search
summary: Count by type
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/search/basic:
post:
tags:
- Search
description: Lets you explore specific `type` of asset matching to given search criteria. `Group` can be searched by users having `API Administrator`/`API Provider` role. `User` and `Team` can be searched only by the authenticated users.
parameters:
- in: query
name: page
schema:
type: integer
description: Optional page number to retrieve. Defaults to `zero` if not specified.
- name: limit
in: query
description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
required: false
schema:
type: integer
- in: query
name: type
required: true
schema:
type: string
default: API
description: Specific type of objects to be searched for. Defaults to `API` if none specified. Possible values are `API`, `PACKAGE`, `ENDPOINT` , `ODATA_STRUCTURE`, `ODATA_OPERATION`, `RESOURCE`, `RESTMETHOD`, `METHOD`, `COMMUNITY`, `TEAM`, `GROUP`, `USER`
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchRequest'
examples:
BasicSearchExample:
$ref: '#/components/examples/SearchRequest'
responses:
200:
$ref: '#/components/responses/SearchResponse'
summary: Create search basic
x-summary-source: derived
operationId: postSearchBasic
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/search/advanced:
get:
description: Advanced search API lets you to discover the assets by given keyword. Advanced search provides a metric which captures the number of assets matching given criteria in each asset type and also provides a detailed result on specific asset identified by `type`.
parameters:
- in: query
name: page
required: false
schema:
type: integer
description: Optional page number to retrieve. Defaults to `zero` if not specified.
- name: limit
in: query
description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
required: false
schema:
type: integer
- in: query
name: q
required: true
schema:
type: string
description: Mandatory query parameter specifies the `keyword` to be searched.
- in: query
name: type
required: false
schema:
type: string
default: API
description: Specific type of objects to be searched for. Defaults to `API` if none specified. Possible values are `API`, `PACKAGE`, `ENDPOINT` , `ODATA_STRUCTURE`, `ODATA_OPERATION`, `RESOURCE`, `RESTMETHOD`, `METHOD`, `COMMUNITY`, `TEAM`, `GROUP`, `USER`
responses:
200:
$ref: '#/components/responses/AdvancedSearchResponse'
tags:
- Search
summary: Get search advanced
x-summary-source: derived
operationId: getSearchAdvanced
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
components:
schemas:
SearchContext:
type: object
required:
- types
properties:
aggregations:
type: array
items:
$ref: '#/components/schemas/IAggregation'
condition:
type: string
description: Condition between scope specified. The value can be either 'and' or 'or'
enum:
- and
- or
deploymentFilter:
type: string
description: This filter is used for deployment types.
from:
type: integer
format: int32
description: The starting index of the record to be fetched. Default value is 0 which fetches from the start. The index is applied to each type separately. For each type the first n records are skipped as specified in from field. If the value specified is less than zero then the default value is taken for fetching records
responseFields:
type: array
description: List of fields to be fetched for the specified types.
items:
type: string
scope:
type: array
items:
$ref: '#/components/schemas/SearchField'
size:
type: integer
format: int32
description: Number of records to be fetched. Default value is -1, which fetches all the records. The size is applied to each type separately. Each type has the records less than or equal to the size specified. If the value specified is less than zero then the default value is taken for fetching records
sortByField:
type: string
description: Field name on which the sorting needs to be applied.
sortOrder:
type: string
description: Sort order for the records
enum:
- ASC
- DESC
teamFilter:
type: array
description: This filter is used to specify list teams to apply on the search results.
items:
type: string
types:
type: array
description: List of allowed types that can be searched across API Gateway.
items:
type: string
enum:
- USER
- GROUP
- USERS
- GROUPS
- ACCESSPROFILES
- LDAPGROUPS
- CDSGROUPS
- ASSERTION
- APPLICATION
- API
- REGISTERED_APPLICATION
- ALIAS
- POLICY
- POLICY_ACTION
- PLAN
- PACKAGE
- ADMINISTRATOR_SETTING
- PORTAL_GATEWAY
- CONTROL_PLANE
- OAUTH2_SCOPE_DATA
- OAUTH2_SCOPE
- SUBSCRIPTION
- API_DOCUMENT
- APPROVAL_CONFIGURATION
- OUTBOUND_PROXY
- PROXY_BYPASS
- URL_ALIAS
- KEYSTORE
- TRUSTSTORE
- KERBEROS_SETTING
- JNDI_PROVIDER_ALIAS
- JMS_CONNECTION_ALIAS
- JMS_TRIGGER
- WEB_SERVICE_ENDPOINT_ALIAS
- ACCESS_CONTROL_LIST
- RULE
- MICROGATEWAY_GROUPS
- GATEWAY_SCOPE
- OAUTH2MATERIALIZEDTOKEN
- TRANSACTION_EVENTS
- LIFECYCLE_EVENTS
- POLICYVIOLATION_EVENTS
- MONITOR_EVENTS
- ERROR_EVENTS
- THREATPROTECTION_EVENTS
- PERFORMANCE_METRICS
- QUOTA_USAGE
- DASHBOARD
- AUDIT_LOG
- REQUEST_RESPONSE_TRACE_SPANS
- APPLICATION_LOG
- MEDIATOR_TRACE_SPANS
- SERVER_LOG_TRACE_SPANS
description: This defines the request structure to search across API Gateway
SearchRange:
type: object
properties:
from:
type: object
description: from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
since:
type: string
example: 30d
description: This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]
to:
type: object
description: to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
description: "A range is request criteria for the search operation applicable for the data types like date, datetime and integers. Range can be specified either by providing the 'from' and 'to' field or the 'since' field.For example to find \n 1. Search the transactional events generated in between 2020-04-01 (April 1, 2020) and 2020-05-31 (May 31, 2020), we can use {\"attributeName\" : \"creationDate\", \"range\" : {\"from\" : \"2020-04-01\", \"to\" : \"2020-05-31\"}}. \n 2. Search the transactional events where the request data size in between 1000 and 4000 - {\"attributeName\" : \"apiName\", \"range\" : {\"from\" : 1000, \"to\" : 4000}}."
IAggregation:
type: object
discriminator:
propertyName: type
properties:
fields:
type: string
description: Input aggregation fields
name:
type: string
description: Name of the aggregation in the search aggregation response
type:
type: string
description: Type of the aggregation.
enum:
- metrics
- timeseries
- group
description: This defines the aggregation structure to search across API Gateway
SearchField:
type: object
properties:
attributeName:
type: string
description: Field name to be searched for the list of types specified
keyword:
type: string
description: "Value of the corresponding field to be matched. User can use regular expression to specify the multiple values for single attributeName. For example to find \n 1. apiDescription contains \"weather\" or equals \"country\" , we can use {\"attributeName\" : \"apiDescription\", \"keyword\" : \".*weather.*|country\"}. \n 2. apiName starts with weather - {\"attributeName\" : \"apiName\", \"keyword\" : \"weather.*\"}. \n 3. api type is REST or SOAP - {\"attributeName\" : \"type\", \"keyword\" : \"REST|SOAP\"}."
orTokenKey:
type: boolean
range:
$ref: '#/components/schemas/SearchRange'
rawFieldKey:
type: string
description: 'A scope is filtering criteria for the list of types specified in search.It is a key/value pair. key is the field name on which the search is being done and value contains the search string to be searched on the field specified.To get the field name for a type, user needs to access the corresponding API Gateway REST service to know about the fields available for a particular type. '
BasicObject:
type: object
additionalProperties: true
properties:
id:
description: Unique identifier of the object
type: string
name:
description: Name of the object
type: string
summary:
description: Short summary of the object
type: string
description:
description: Long description of the object
type: string
owner:
description: Refers to the uuid of the user who owns the object
type: string
AdvancedSearchResponse:
type: object
description: Advanced search result
properties:
response:
$ref: '#/components/schemas/SearchResponse'
metrics:
type: object
description: Count of matching results for the given keyword in each of the other object types.
additionalProperties: true
SearchRequest:
type: object
properties:
conjunction:
description: Conjunction to be used when working with multiple search criterias. Possible values `AND` , `OR`
type: string
enum:
- AND
- OR
criterias:
type: array
items:
$ref: '#/components/schemas/Criteria'
Criteria:
type: object
properties:
field:
description: Search field to be used.
type: string
operation:
description: Search operation to be used. Either `CONTAINS` or `EQUALS`
type: string
enum:
- CONTAINS
- EQUALS
values:
description: Collection of values to be searched for
type: array
items:
type: string
SearchResponse:
type: object
description: Generic paginated search result
properties:
result:
type: array
description: Result list
items:
$ref: '#/components/schemas/BasicObject'
count:
type: integer
description: Total number of results available
_links:
type: object
description: Links of current and next page
properties:
_self:
description: Link for current page
type: string
_next:
description: Optional link for the next page. Will be missing if the next page does not exist.
type: string
examples:
AdvancedSearchResponseExample:
value:
response:
result:
- id: 3631fc19-68f0-4cd3-87d4-e428031dcec9
name: Healthcare
summary: Bundle of healthcare related APIs
owner: 200ceb26-807d-3bf9-9fd6-f4f0d1ca54d4
count: 1
_links:
_self: /rest/v1/search?q=Health&page=0
metrics:
PACKAGE: 1
SearchResponseExample:
value:
count: 1
_links:
_self: /rest/v1/search?q=pet&page=0
result:
- id: 3631fc19-68f0-4cd3-87d4-e428031dcec9
name: Swagger Petstore
summary: This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io
owner: 200ceb26-807d-3bf9-9fd6-f4f0d1ca54d4
SearchRequest:
value:
conjunction: AND
criterias:
- field: name
values:
- Pet
- User
operation: CONTAINS
- field: communities
values:
- 3bdf8005-5685-3ef5-b132-de4681963fb6
operation: EQUALS
responses:
AdvancedSearchResponse:
description: Advanced search response
content:
application/json:
schema:
$ref: '#/components/schemas/AdvancedSearchResponse'
examples:
SearchResponseExample:
$ref: '#/components/examples/AdvancedSearchResponseExample'
SearchResponse:
description: Search result reponse
content:
application/json:
schema:
$ref: '#/components/schemas/SearchResponse'
examples:
SearchResponseExample:
$ref: '#/components/examples/SearchResponseExample'
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-Search.json
- web-methods-api-gateway-search-openapi.yml
- web-methods-developer-portal-search-openapi.yml