Semantic search over events
GET
/v1/event/search/
const url = 'https://example.com/v1/event/search/?limit=10&q=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/event/search/?limit=10&q=example' \ --header 'Authorization: Bearer <token>'Embeds the q query and returns the closest matching events. status (comma-separated integers) and agent narrow the candidates with exact filters before the similarity ranking. Near-identical matches are re-ranked to prefer recent occurrences; distance stays the raw cosine distance.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”acknowledged
boolean
agent
string format: uuid
has_been_notified
boolean
limit
integer
max_distance
number format: double
q
required
string
status
string
thread_closed
boolean
Responses
Section titled “Responses”Media typeapplication/json
A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
object
account
required
string format: uuid
agent
string format: uuid
common_kpi_metrics
required
Https://www.atlassian.com/fr/incident-management/kpis/common-metrics MTTR: Mean time to recovery (Time between first and last thread events) MTTF: Mean time to failures (Time between first event of each thread) MTBF: Mean time between failures (Time between ok event and the next event)
object
key
additional properties
object
average
required
string format: duration
median
required
string format: duration
min
required
string format: duration
max
required
string format: duration
nb_timedeltas
required
integer
created_at
required
string format: date-time
created_by
required
string format: uuid
event_page
required
integer
happened_at
required
string format: date-time
has_acknowledge
required
object
created_by
required
string format: uuid
created_at
required
string format: date-time
has_been_notified
boolean
has_snapshot
required
boolean
id
required
string format: uuid
is_sandbox
required
boolean
linear_prediction
required
object
key
additional properties
string format: date
metric
string format: uuid
metric_label
required
string
modified_at
required
string format: date-time
modified_by
required
string format: uuid
number_status_change_last_hour
integer
previous_status_changed_at
string format: date-time
repeatable
boolean
same_events_daily
required
object
key
additional properties
integer
same_events_monthly
required
object
key
additional properties
integer
similar_label_events_per_agent
required
object
key
additional properties
integer
similar_label_events
required
object
key
additional properties
integer
status_changed_at
string format: date-time
status_text
required
string
status
0- OK1- Warning2- Critical3- Unknown10- Info
integer
text
string
thread_id
string format: uuid
thread_closed
required
boolean
title
required
string
Example
{ "status": 0}