/pattern/{pattern_id}/matches
DevelopingGET
/pattern/{pattern_id}/matchesLast modified: 2 months ago
Returns a list of matches for the pattern identified in the URL.Pattern id is supplied in the URL, e.g.
/pattern/4813/matches
Request
Path Params
pattern_id
string
required
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1657642990,
"created_string": "Tue 12 Jul 2022 @ 16:23 (UTC)",
"duration": 0.129,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 2338,
"session_id": "103bfbd9f2cdd43fe809104eefc713f7",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"matches": [
{
"id": 52968,
"motifs_matched_id": null,
"pattern_id": "3214",
"created_timestamp": 1628629800,
"match_algorithm": "Not Implemented",
"validated": false,
"created_string": "August 10th 2021"
},
{
"id": 52960,
"motifs_matched_id": null,
"pattern_id": "3214",
"created_timestamp": 1628629200,
"match_algorithm": "Not Implemented",
"validated": false,
"created_string": "August 10th 2021"
},
{
"id": 52953,
"motifs_matched_id": null,
"pattern_id": "3214",
"created_timestamp": 1628628660,
"match_algorithm": "Not Implemented",
"validated": false,
"created_string": "August 10th 2021"
},
{
"id": 52952,
"motifs_matched_id": null,
"pattern_id": "3214",
"created_timestamp": 1628628600,
"match_algorithm": "Not Implemented",
"validated": false,
"created_string": "August 10th 2021"
},
{
"id": 52945,
"motifs_matched_id": null,
"pattern_id": "3214",
"created_timestamp": 1628628000,
"match_algorithm": "Not Implemented",
"validated": false,
"created_string": "August 10th 2021"
},
{
"id": 52939,
"motifs_matched_id": null,
"pattern_id": "3214",
"created_timestamp": 1628627400,
"match_algorithm": "Not Implemented",
"validated": false,
"created_string": "August 10th 2021"
}
]
}
}
Last modified: 2 months ago