---
updatedAt: 2026-06-16T18:46:24.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/jamf-pro/llms.txt
---

# Finds mobile device searches by ID

Privileges required to interact with this endpoint: `Read - Advanced Mobile Device Searches`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "11.32.0",
    "title": "Classic API",
    "license": {
      "name": "Jamf API License Agreement",
      "url": "https://developer.jamf.com/developer-guide/docs/api-license-agreement"
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "swift",
      "ruby",
      "python"
    ],
    "explorer-enabled": false
  },
  "paths": {
    "/advancedmobiledevicesearches/id/{id}": {
      "get": {
        "tags": [
          "advancedmobiledevicesearches"
        ],
        "summary": "Finds mobile device searches by ID",
        "operationId": "findAdvancedMobileDeviceSearchesById",
        "parameters": [
          {
            "description": "ID value to filter by",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/advanced_mobile_device_search"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/advanced_mobile_device_search"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://yourServer.jamfcloud.com/JSSResource"
    }
  ],
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "size": {
        "type": "integer",
        "example": 1
      },
      "advanced_mobile_device_search": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "name": {
            "description": "Name of the advanced mobile device search",
            "type": "string",
            "example": "Advanced Search Name"
          },
          "view_as": {
            "type": "string",
            "example": "Standard Web Page"
          },
          "sort_1": {
            "type": "string"
          },
          "sort_2": {
            "type": "string"
          },
          "sort_3": {
            "type": "string"
          },
          "criteria": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "size": {
                  "$ref": "#/components/schemas/size"
                },
                "criterion": {
                  "$ref": "#/components/schemas/criterion"
                }
              }
            }
          },
          "display_fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "size": {
                  "$ref": "#/components/schemas/size"
                },
                "display_field": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "IP Address",
                      "description": "Name of the display field"
                    }
                  }
                }
              }
            }
          },
          "mobile_devices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "size": {
                  "$ref": "#/components/schemas/size"
                },
                "mobile_device": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 1
                    },
                    "name": {
                      "type": "string",
                      "example": "Tinas iPad",
                      "description": "Name of the mobile device"
                    },
                    "udid": {
                      "type": "string",
                      "example": "270aae10800b6e61a2ee2bbc285eb967050b5984"
                    },
                    "Display_Name": {
                      "type": "string",
                      "example": "Tinas iPad"
                    }
                  }
                }
              }
            }
          },
          "site": {
            "$ref": "#/components/schemas/site_object"
          }
        },
        "required": [
          "name"
        ]
      },
      "criterion": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Last Inventory Update",
            "description": "Name of the criteria"
          },
          "priority": {
            "type": "integer"
          },
          "and_or": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ]
          },
          "search_type": {
            "type": "string",
            "example": "more than x days ago",
            "description": "Operator"
          },
          "value": {
            "type": "string",
            "example": 7
          },
          "opening_paren": {
            "type": "boolean",
            "default": false
          },
          "closing_paren": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "site_object": {
        "type": "object",
        "xml": {
          "name": "site"
        },
        "properties": {
          "id": {
            "type": "integer",
            "default": -1
          },
          "name": {
            "type": "string",
            "example": "None",
            "description": "Name of the site"
          }
        },
        "required": [
          "name"
        ]
      }
    }
  }
}
```