APIs
Search APIs
Search APIs
Search APIs for a specific environment.<br> The results are paginated and can be sorted.
post/environments/{envId}/apis/_search
Query parameters
pageinteger
The page number for pagination.
perPageinteger
The number of items per page for pagination.
sortBy'name' | '-name' | 'api_type' | '-api_type' | 'status' | '-status' | 'paths' | '-paths' | 'tags_asc' | '-tags_desc' | 'categories_asc' | '-categories_desc' | 'owner' | '-owner' | 'visibility' | '-visibility'
Example:name
Possibility to sort APIs results by field. Can be ascending or descending with minus '-' prefix. By default, no sort is applied.
expandsstring[]
Expansion of data to return in APIs.
manageOnlyboolean
By default only APIs that the user can manage are returned. If set to false, all APIs that the user can view are returned.
Request body
Example request
{
"query": "my api",
"ids": [
"apiId-1",
"apiId-2"
],
"definitionVersion": "V4",
"definitionVersions": [
"V4"
],
"allowedInApiProducts": true,
"hasOpenApiDocumentation": true
}Response
Page of apis