Prisma Access Insights Api Custom Query Structure
Custom query definition with flexible filters
CustomQuery is a JSON Structure definition published by Palo Alto Networks, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-access-insights-api-custom-query-structure.json",
"name": "CustomQuery",
"description": "Custom query definition with flexible filters",
"type": "object",
"properties": {
"resource": {
"type": "string",
"description": "Data resource to query"
},
"query": {
"type": "object",
"description": "Query parameters for a data resource request",
"properties": {
"query": {
"type": "object",
"description": "Query definition including filters and time range",
"properties": {
"properties": {
"type": "object",
"description": "Property filters for the query",
"properties": {
"time_range": {
"type": "object",
"description": "Time range specification for the query",
"properties": {
"type": {
"type": "string",
"description": "Type of time range (absolute or relative)",
"enum": [
"ABSOLUTE",
"RELATIVE"
]
},
"value": {
"type": "object",
"description": "Time range value (required for ABSOLUTE type)",
"properties": {
"from": {
"type": "datetime",
"description": "Start of the time range (ISO 8601)"
},
"to": {
"type": "datetime",
"description": "End of the time range (ISO 8601)"
}
}
},
"last": {
"type": "object",
"description": "Relative time range (required for RELATIVE type)",
"properties": {
"units": {
"type": "string",
"description": "Unit of time for relative range",
"enum": [
"HOURS",
"DAYS",
"WEEKS"
]
},
"value": {
"type": "int32",
"description": "Number of units for relative range"
}
}
}
},
"required": [
"type"
]
},
"filter": {
"type": "object",
"description": "Filter criteria for the data resource query",
"properties": {
"operator": {
"type": "string",
"description": "Logical operator for combining filter rules",
"enum": [
"AND",
"OR"
]
},
"rules": {
"type": "array",
"description": "List of filter rules",
"items": {
"type": "object",
"properties": {
"property": {
"type": "string",
"description": "Property name to filter on"
},
"operator": {
"type": "string",
"description": "Comparison operator",
"enum": [
"equals",
"not_equals",
"contains",
"in",
"not_in",
"greater_than",
"less_than"
]
},
"values": {
"type": "array",
"description": "Values to match against",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
},
"count": {
"type": "int32",
"description": "Maximum number of results to return",
"minimum": 1,
"maximum": 1000,
"default": 100
},
"histogram": {
"type": "object",
"description": "Histogram aggregation configuration",
"properties": {
"property": {
"type": "string",
"description": "Property to aggregate over"
},
"enabledGranularity": {
"type": "string",
"description": "Time granularity for histogram buckets",
"enum": [
"15_MIN",
"1_HOUR",
"1_DAY"
]
}
}
},
"group_by": {
"type": "array",
"description": "Properties to group results by",
"items": {
"type": "string"
}
},
"sort": {
"type": "object",
"description": "Sort configuration for results",
"properties": {
"order": {
"type": "string",
"enum": [
"asc",
"desc"
]
},
"property": {
"type": "string"
}
}
}
}
}
}
}
Work with this as data
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/prisma-access-insights-api-custom-query-structure"
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.