{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"filters": {
"type": "object",
"description": "The filters value",
"properties": {
"user.id": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of user ids. Matches Errors affecting any of these users. This refers to user ids in the context of your application. Exact match only."
},
"user.email": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of email addresses. Matches Errors that have affected users with email addresses matching any of the provided emails. Supports substring matches."
},
"user.name": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of user names. Matches Errors that have affected users with names matching any of the provided names. Supports substring matches."
},
"error.id": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of error ids. Matches errors with IDs matching any of the given error IDs. Exact match only."
},
"error.status": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of error statuses. Matches Errors that have any of the given statuses. Exact match only."
},
"error.assigned_to": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of collaborator identifiers. Matches Errors that have been assigned to any of the given collaborators. Exact match only. Values can be `me` (for errors assigned to the current user), `anyone` (for errors assigned to anyone), a collaborator ID, or an email address."
},
"error.has_issue": {
"type": "boolean",
"description": "If set to true, matches Errors that have had an issue created for them. If set to false, matches Errors that have not had an issue created for them."
},
"app.release_stage": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of release stages. Matches Errors that have occurred in any of the given release stages. Exact match only."
},
"app.context": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of application contexts. This refers to the action that was happening when the event occurred. Matches Errors that occurred in any of the given contexts. Supports substring matches."
},
"app.type": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of application types. Matches Errors that occurred in any of the given application types. Exact match only."
},
"version.introduced_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of application versions. Matches Errors that occurred for the first time in any of the given versions. Supports the `?` and `*` wildcards."
},
"version.seen_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of application versions. Matches Errors that occurred in any of the given versions. Supports the `?` and `*` wildcards."
},
"version_code.introduced_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of version codes. Matches Errors that occurred for the first time in a version of the application identified by any of the given versions codes. The value of an Error's versionCode depends on the corresponding Project's type. In Android apps this will match the versionCode setting. In iOS apps, versionCode is taken from the Build Number setting. Exact match only."
},
"version_code.seen_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of version codes. Matches Errors that occurred in a version of the application identified by any of the given versions codes. The value of an Error's versionCode depends on the corresponding Project's type. In Android apps this will match the versionCode setting. In iOS apps, versionCode is taken from the Build Number setting. Exact match only."
},
"release.introduced_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of Release `build_label`s, `app_version`s, `app_version_code`s, or `app_bundle_version`s. Matches Errors that occurred for the first time in any of the given Releases. Supports the `?` and `*` wildcards."
},
"release.seen_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of Release `build_label`s, `app_version`s, `app_version_code`s, or `app_bundle_version`s. Matches Errors that occurred in any of the given Releases. Supports the `?` and `*` wildcards."
},
"feature_flag.seen_in": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of feature flag and variant names. When type is `eq`, matches errors that have been seen with these feature flags (any variant), or the specific variant if specified. When type is `ne`, matches errors that have not been seen with these feature flags or variants. The feature flag name should be specified in the `value` field, and the variant name (optional) should be specified in the `child_value` field."
},
"feature_flag.exclusive_to": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of feature flag and variant names. When type is `eq`, matches errors that have only been seen with one of these feature flags (any variant), or one of the specific variants if specified. When type is `ne`, matches errors that have been seen with these feature flags or variants but are NOT exclusive to them (i.e., they have also been seen with other feature flags or variants). The feature flag name should be specified in the `value` field, and the variant name (optional) should be specified in the `child_value` field."
},
"event.class": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of classes. Matches Errors with any of the given classes. Supports substring matches."
},
"event.message": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of messages. Matches Errors with any of the given messages. Supports substring matches."
},
"event.file": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of file paths. Matches Errors with any of the given files in their stack traces'. Supports substring matches."
},
"event.method": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of method names. Matches Errors with any of the given methods in their stack traces'. Supports substring matches."
},
"event.severity": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of severities. Matches Errors with any of the given severities. Exact match only."
},
"event.since": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing a single timestamp. Matches Errors with events occurring after the given time. Exact match only."
},
"event.before": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing a single timestamp. Matches Errors with events occurring before the given time. Exact match only."
},
"browser.name": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing web browser names. Matches Errors with events originating from any of the given web browsers. Exact match only."
},
"browser.version": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing web browser versions. Matches Errors with events originating from any browser with the given version. Exact match only."
},
"os.name": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing operating system names. Matches Errors with events originating from devices running any of the given operating systems. Exact match only."
},
"os.version": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing operating system versions. Matches Errors with events originating from devices running any of the given operating system versions. Supports the `?` and `*` wildcards."
},
"device.hostname": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing hostnames. Matches Errors with events occurring on any hosts with one of the given hostnames. Exact match only."
},
"device.manufacturer": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing device manufacturer names. Matches Errors with events occurring on any devices made by the given manufacturers. Exact match only."
},
"device.model": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing device model names. Matches Errors with events occurring on any of the given device models. Exact match only."
},
"request.url": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of URLs. Matches Errors with events associated with requests to any of the given URLs. Supports substring matches."
},
"request.ip": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array of IP addresses. Matches Errors with events affecting any of the given IPs. Exact match only."
},
"device.jailbroken": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing a boolean. If `true`, matches Errors with events occurring on jailbroken devices."
},
"app.in_foreground": {
"type": "array",
"items": {
"type": "object"
},
"description": "An array containing a boolean. If `true`, matches Errors with events occurring when the application was in the foreground."
}
}
},
"name": {
"type": "string",
"description": "name of the saved search"
},
"project_default": {
"type": "boolean",
"description": "whether this saved search is the project default for the current user"
},
"project_id": {
"type": "string",
"description": "ID of project this saved search is for"
},
"shared": {
"type": "boolean",
"description": "whether this saved search is shared among collaborators"
},
"sort": {
"type": "string",
"description": "Sort order for results",
"enum": [
"first_seen",
"users",
"events",
"last_seen"
]
}
},
"required": [
"PCID",
"filters",
"name",
"project_default",
"project_id"
]
}