Skip to content

tools.ozone.safelink.queryEvents

Lexicon Version: 1

Type: procedure

Query URL safety audit events

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
cursorstringCursor for pagination
limitintegerMaximum number of results to returnMin: 1
Max: 100
Default: 50
urlsArray of stringFilter by specific URLs or domains
patternTypestringFilter by pattern type
sortDirectionstringSort directionKnown Values: asc, desc
Default: desc
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
cursorstringNext cursor for pagination. Only present if there are more results.
eventsArray of tools.ozone.safelink.defs#event

{
"lexicon": 1,
"id": "tools.ozone.safelink.queryEvents",
"defs": {
"main": {
"type": "procedure",
"description": "Query URL safety audit events",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {
"cursor": {
"type": "string",
"description": "Cursor for pagination"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50,
"description": "Maximum number of results to return"
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by specific URLs or domains"
},
"patternType": {
"type": "string",
"description": "Filter by pattern type"
},
"sortDirection": {
"type": "string",
"knownValues": [
"asc",
"desc"
],
"default": "desc",
"description": "Sort direction"
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"events"
],
"properties": {
"cursor": {
"type": "string",
"description": "Next cursor for pagination. Only present if there are more results."
},
"events": {
"type": "array",
"items": {
"type": "ref",
"ref": "tools.ozone.safelink.defs#event"
}
}
}
}
}
}
}
}