TimeRange is a JSON Structure definition published by Palo Alto Networks, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$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-time-range-structure.json",
"name": "TimeRange",
"description": "Time range specification for the query",
"type": "object",
"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"
]
}
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.