{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-v1-application-set-query-schema.json", "title": "v1ApplicationSetQuery", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-applicationset-api-openapi.yml#/components/schemas/v1ApplicationSetQuery", "type": "object", "properties": { "accountIdentifier": { "type": "string", "description": "Account Identifier for the Entity." }, "orgIdentifier": { "type": "string", "description": "Organization Identifier for the Entity." }, "projectIdentifier": { "type": "string", "description": "Project Identifier for the Entity." }, "agentIdentifier": { "type": "string", "description": "Agent identifier for entity." }, "searchTerm": { "type": "string" }, "pageSize": { "type": "integer", "format": "int32" }, "pageIndex": { "type": "integer", "format": "int32" }, "filter": { "type": "object", "description": "Filters for ApplicationSet. Eg. \"app.status.sync.status\": \"Synced\" or \"app.status.sync.status\": { \"$in\": [\"Synced\", \"NotSynced\"]" }, "sortBy": { "$ref": "#/$defs/ApplicationSetQueryApplicationSetSortByOptions" }, "sortOrder": { "$ref": "#/$defs/v1SortOrderOptions" }, "metadataOnly": { "type": "boolean" }, "fields": { "type": "array", "items": { "type": "string" } } }, "$defs": { "ApplicationSetQueryApplicationSetSortByOptions": { "type": "string", "enum": [ "SORT_BY_NOT_SET", "NAME", "GITOPS_AGENT", "SOURCE", "DESTINATION" ], "default": "SORT_BY_NOT_SET" }, "v1SortOrderOptions": { "type": "string", "enum": [ "SORT_ORDER_NOT_SET", "ASC", "DESC" ], "default": "SORT_ORDER_NOT_SET" } } }