For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCreate a command template
        • POSTCreate an analytic template
        • POSTDelete a command template
        • POSTDelete an analytic template
        • POSTExport template
        • POSTFind the diff of two config strings
        • GETGet a command template by name
        • GETGet all analytic templates
        • GETGet all command templates
        • GETGet an analytic template by name
        • POSTGet filtered devices
        • GETGet filtered devices
        • GETGet filtered devices with detailed query results
        • POSTImport template
        • POSTMOP diff array
        • POSTMOP get boot flash
        • POSTMOP passthrough
        • POSTRetry a task automatically
        • POSTRun a command against a device
        • POSTRun a command against devices
        • POSTRun an analytics template
        • POSTRun an analytics template for devices
        • POSTRun command template
        • POSTRun single command from template
        • POSTUpdate a command template
        • POSTUpdate an analytic template
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceMop

Get filtered devices with detailed query results

GET
http://localhost:3000/mop/devices/detailed/:substring
GET
/mop/devices/detailed/:substring
$curl http://localhost:3000/mop/devices/detailed/substring \
> -u "<username>:<password>"
1{
2 "num_results": 10,
3 "results": [
4 "Cisco ASA"
5 ],
6 "total_results": 20
7}
Returns the devices with name matching the given string. Also returns the number of results found and number returned.
Was this page helpful?
Previous

Import template

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

substringstringRequired
String to filter devices

Response

Filtered devices
num_resultsinteger
resultslist of strings
total_resultsinteger

Errors

500
Internal Server Error