/host-store/api/v1/hosts/searchAsk AIpost https://example.com/host-store/api/v1/hosts/searchSearch for hostsQuery ParamsOffsetintegerDefaults to 0Offset from which to start fetching objectslimitintegerDefaults to 50Maximum number of objects to returnsortkeystringDefaults to idSort by specific object propertysortdirstringenumDefaults to ASCSort direction, asc or descASCDESCAllowed:ASCDESCfilterstringFilter hosts - possible values: accessible (filter hosts based on whether the current user has access to them)Body Paramsignore_disabled_sourcesbooleanIgnores the disabled hosts - when enabled, host search searches for disabled hosts as welltruefalsekeywordsstringComma or space-separated strings to search across all host attributes. The leading and trailing wildcards for the keywords are implicit.distinguished_namearray of stringsA comma separated list of strings to search fordistinguished_nameADD stringexternal_idstringThe external id of the hostinstance_idstringThe instance id from the cloud servicesource_idstringThe source of the hostcommon_namearray of stringsAn array of strings to search forcommon_nameADD stringorganizationarray of stringsAn array of strings to search fororganizationADD stringorganizational_unitarray of stringsAn array of strings to search fororganizational_unitADD stringaddressarray of stringsAn array of strings to search foraddressADD stringaccess_group_idsarray of uuidsAn array of access group IDs to search foraccess_group_idsADD uuidservicearray of stringsAn array of service types to search for (SSH, RDP, WEB)serviceADD stringportarray of integersAn array of integers to search forportADD integerzonearray of stringsAn array of strings to search forzoneADD stringhost_typearray of stringsAn array of strings to search forhost_typeADD stringhost_classificationarray of stringsAn array of strings to search forhost_classificationADD stringrolearray of stringsAn array of strings to search for (role id's)roleADD stringscopearray of stringsAn array of strings to search forscopeADD stringtagsarray of stringsAn array of host tags to search fortagsADD stringcloud_providersarray of stringsAn array of cloud provider names to search (AWS,GOOGLECLOUD,AZURE,OPENSTACK)cloud_providersADD stringcloud_provider_regionsarray of stringsAn array of cloud provider regions to search for. Valid values depend on cloud provider.cloud_provider_regionsADD stringdeployablebooleanA host deployable flag status to search for.truefalsestatusesarray of stringsAn array of host status strings to search for.statusesADD stringHeadersAuthorizationstringrequiredDefaults to Bearer a-proper-token-goes-hereOAuth2 tokenResponses 200Search successful, return matching hosts 400Bad request 401Unauthorized request, OAuth2 authorization missing or invalid 403Unauthorized request, OAuth2 authorization OK but scope insufficient 404Resource not found 500Internal server errorUpdated over 4 years ago