Query Managed Objects
queryManagedObjectsQuery managed objects in PingOne Advanced Identity Cloud with CREST filter syntax to retrieve, filter, sort, and paginate user, role, group, or organization data.
Instructions
Query managed objects in PingOne AIC using CREST query filter syntax
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"objectType": "<objectType>"
},
"name": "queryManagedObjects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated field names to return. If omitted, returns all fields. Example: "FIELD1,FIELD2,_id" | |
| pageSize | No | Number of objects to return per page (default: 50) | |
| sortKeys | No | Comma-separated field names to sort by. Prefix with "-" for descending. Example: "FIELD1,-FIELD2" | |
| objectType | Yes | Managed object type (e.g., alpha_user, bravo_user, alpha_role, bravo_role, alpha_group, bravo_group, alpha_organization, bravo_organization). Use listManagedObjects to discover all available types. | |
| queryFilter | No | CREST query filter expression. IMPORTANT: Call getManagedObjectSchema first to discover available fields. Operators: eq, co, sw, gt, ge, lt, le, pr (present), ! (NOT). Boolean: and, or. Quote strings. If omitted, returns all objects up to pageSize. Examples: FIELD eq "value" | FIELD sw "prefix" | (FIELD1 eq "a") and (FIELD2 co "b") | FIELD pr Docs: https://docs.pingidentity.com/pingoneaic/latest/developer-docs/crest/query.html#crest-query-queryFilter | |
| pagedResultsCookie | No | Pagination cookie from previous response to retrieve next page |