{"info":{"description":"Observability API for querying logs, traces, and metrics. Requires a Bearer API key and X-Project-Id header.","title":"Monoscope API","version":"1.0"},"servers":[{"url":"/api/v1"}],"paths":{"/ingestion-key":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":"","headers":{"Cache-Control":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/events":{"get":{"parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"since","required":false,"schema":{"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}},{"in":"query","name":"source","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"with_children","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"include_attributes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"environment","required":false,"schema":{"type":"string"}},{"in":"query","name":"service","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LogResult"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/events/{event_id}/time/{timestamp}":{"get":{"parameters":[{"in":"path","name":"event_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"timestamp","required":true,"schema":{"format":"yyyy-mm-ddThh:MM:ssZ","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/metrics":{"get":{"parameters":[{"description":"KQL over the metrics source, e.g. metrics | where metric_name == \"http.server.requests\" | summarize rate(value) by bin_auto(timestamp). Use rate(value) (per second) or increase(value) (per bin) for counters, last(value) for gauges; they are computed per series and reset-aware. rateif/increaseif/lastif(value, predicate) aggregate only the matching series, for ratios.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"data_type","required":false,"schema":{"enum":["metric","json","float","text"],"type":"string"}},{"in":"query","name":"since","required":false,"schema":{"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}},{"in":"query","name":"source","required":false,"schema":{"type":"string"}},{"in":"query","name":"environment","required":false,"schema":{"type":"string"}},{"in":"query","name":"service","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MetricsData"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/metrics/catalog":{"get":{"parameters":[{"in":"query","name":"service","required":false,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"active","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MetricCatalogResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/schema":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Schema"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/facets":{"get":{"parameters":[{"in":"query","name":"since","required":false,"schema":{"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}},{"in":"query","name":"field","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/rrweb":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ReplayPost"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/QueryMonitor"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MonitorInput"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/{monitor_id}":{"get":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"put":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MonitorInput"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"delete":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"patch":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MonitorPatch"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/apply":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MonitorInput"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/{monitor_id}/yaml":{"get":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MonitorConfig"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/{monitor_id}/toggle_active":{"post":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/{monitor_id}/mute":{"post":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"duration_minutes","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/{monitor_id}/unmute":{"post":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/{monitor_id}/resolve":{"post":{"parameters":[{"in":"path","name":"monitor_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/QueryMonitor"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/monitors/bulk":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/BulkAction_UUID"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/events/query":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EventsQuery"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LogResult"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/share":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ShareLinkCreate"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ShareLinkCreated"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards":{"get":{"parameters":[{"in":"query","name":"sort","required":false,"schema":{"enum":["title","created_at","updated_at"],"type":"string"}},{"in":"query","name":"team_id","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/DashboardSummary"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}":{"get":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"put":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"delete":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"patch":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/data":{"get":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"tab","required":false,"schema":{"type":"string"}},{"in":"query","name":"widget","required":false,"schema":{"type":"string"}},{"in":"query","name":"since","required":false,"schema":{"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/apply":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/duplicate":{"post":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/star":{"post":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"delete":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/yaml":{"get":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/widgets":{"put":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/widgets/{widget_id}":{"delete":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"widget_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/{dashboard_id}/widgets/order":{"patch":{"parameters":[{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"additionalProperties":{"$ref":"#/components/schemas/WidgetPosition"},"type":"object"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/dashboards/bulk":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/BulkAction_UUID"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/api_keys":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/ApiKeySummary"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ApiKeyCreate"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/api_keys/{key_id}":{"get":{"parameters":[{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ApiKeySummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"delete":{"parameters":[{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/api_keys/{key_id}/activate":{"post":{"parameters":[{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ApiKeySummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/api_keys/{key_id}/deactivate":{"post":{"parameters":[{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ApiKeySummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/me":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MeResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/project":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ProjectFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"patch":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ProjectPatch"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ProjectFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/endpoints":{"get":{"parameters":[{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"outgoing","required":false,"schema":{"type":"boolean"}},{"description":"Page number, 0-based: 0 is the first page","in":"query","name":"page","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"per_page","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/endpoints/{endpoint_id}":{"get":{"parameters":[{"in":"path","name":"endpoint_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/log_patterns":{"get":{"parameters":[{"description":"Page number, 0-based: 0 is the first page","in":"query","name":"page","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"per_page","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/log_patterns/{pattern_id}":{"get":{"parameters":[{"in":"path","name":"pattern_id","required":true,"schema":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LogPatternFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/log_patterns/{pattern_id}/ack":{"post":{"parameters":[{"in":"path","name":"pattern_id","required":true,"schema":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LogPatternFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/log_patterns/bulk":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/BulkAction_Int64"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues":{"get":{"parameters":[{"in":"query","name":"status","required":false,"schema":{"enum":["open","acknowledged","archived","all"],"type":"string"}},{"in":"query","name":"type","required":false,"schema":{"type":"string"}},{"in":"query","name":"service","required":false,"schema":{"type":"string"}},{"description":"Page number, 0-based: 0 is the first page","in":"query","name":"page","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"per_page","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues/{issue_id}":{"get":{"parameters":[{"in":"path","name":"issue_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues/{issue_id}/ack":{"post":{"parameters":[{"in":"path","name":"issue_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"duration_minutes","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues/{issue_id}/unack":{"post":{"parameters":[{"in":"path","name":"issue_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues/{issue_id}/archive":{"post":{"parameters":[{"in":"path","name":"issue_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues/{issue_id}/unarchive":{"post":{"parameters":[{"in":"path","name":"issue_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/issues/bulk":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/BulkAction_(UUIDId_\"issue\")"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/incidents":{"get":{"parameters":[{"in":"query","name":"phase","required":false,"schema":{"enum":["active","recovered","resolved"],"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/IncidentSummary"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/incidents/{incident_id}":{"get":{"parameters":[{"in":"path","name":"incident_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/IncidentSummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/audit_events":{"get":{"parameters":[{"in":"query","name":"source","required":false,"schema":{"enum":["audit","issue","agent"],"type":"string"}},{"in":"query","name":"actor","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"format":"yyyy-mm-ddThh:MM:ssZ","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/ActivityEntry"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/teams":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/TeamSummary"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamInput"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/teams/{team_id}":{"get":{"parameters":[{"in":"path","name":"team_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"put":{"parameters":[{"in":"path","name":"team_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamInput"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"delete":{"parameters":[{"in":"path","name":"team_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"patch":{"parameters":[{"in":"path","name":"team_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamPatch"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TeamFull"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/teams/bulk":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/BulkAction_(UUIDId_\"team\")"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/members":{"get":{"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/MemberSummary"},"type":"array"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MemberAdd"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MemberSummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/members/{user_id}":{"get":{"parameters":[{"in":"path","name":"user_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MemberSummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"delete":{"parameters":[{"in":"path","name":"user_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}},"patch":{"parameters":[{"in":"path","name":"user_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MemberPatch"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MemberSummary"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}},"/mcp":{"post":{"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSONValue"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblemBody"}}},"description":"Refused; error.code says why"}}}}},"components":{"schemas":{"JSONValue":{},"ApiProblemBody":{"properties":{"error":{"$ref":"#/components/schemas/ApiProblem"}},"required":["error"],"type":"object"},"ApiProblem":{"properties":{"code":{"enum":["not_found","no_active_ingestion_key","user_not_created","unknown_bulk_action","non_positive_time_window","required","invalid_value","everyone_team_not_updatable","everyone_team_not_deletable","dashboard_read_only","reserved_handle","handle_in_use","member_identity_missing","authentication_required","project_inactive","unauthorized","invalid_request","invalid_query","unknown_field","query_failed"],"type":"string"},"details":{"type":"string"},"field":{"type":"string"},"message":{"type":"string"},"suggestion":{"type":"string"}},"required":["code","message"],"type":"object"},"LogResult":{"properties":{"colIdxMap":{"additionalProperties":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"type":"object"},"cols":{"items":{"type":"string"},"type":"array"},"count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"cursor":{"type":"string"},"error":{"type":"string"},"hasMore":{"type":"boolean"},"logsData":{"items":{"items":{"$ref":"#/components/schemas/JSONValue"},"type":"array"},"type":"array"},"nextUrl":{"type":"string"},"queryResultCount":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"recentUrl":{"type":"string"},"resetLogsUrl":{"type":"string"},"serviceColors":{"additionalProperties":{"type":"string"},"type":"object"},"traces":{"items":{"$ref":"#/components/schemas/TraceTreeEntry"},"type":"array"},"viz":{"enum":["logs","timeseries","timeseries_line","top_list","heatmap","patterns","sessions"],"type":"string"}},"required":["logsData","cols","colIdxMap","nextUrl","resetLogsUrl","recentUrl","serviceColors","queryResultCount","count","hasMore","traces"],"type":"object"},"TraceTreeEntry":{"properties":{"children":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"duration":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"root":{"type":"string"},"start_time":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"trace_id":{"type":"string"},"trace_start_time":{"type":"string"}},"required":["trace_id","start_time","duration","root","children"],"type":"object"},"MetricsData":{"properties":{"data_float":{"format":"double","type":"number"},"data_json":{"items":{"items":{"$ref":"#/components/schemas/JSONValue"},"type":"array"},"type":"array"},"data_text":{"items":{"items":{"type":"string"},"type":"array"},"type":"array"},"dataset":{"items":{"items":{"format":"double","type":"number"},"type":"array"},"type":"array"},"error":{"type":"string"},"from":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"headers":{"items":{"type":"string"},"type":"array"},"rows_count":{"format":"double","type":"number"},"rows_per_min":{"format":"double","type":"number"},"stats":{"$ref":"#/components/schemas/MetricsStats"},"to":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["dataset","data_json","data_text","headers","rows_count"],"type":"object"},"MetricsStats":{"properties":{"count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"last":{"format":"double","type":"number"},"max":{"format":"double","type":"number"},"max_group_sum":{"format":"double","type":"number"},"mean":{"format":"double","type":"number"},"min":{"format":"double","type":"number"},"mode":{"format":"double","type":"number"},"sum":{"format":"double","type":"number"}},"required":["min","max","sum","count","mean","mode","max_group_sum"],"type":"object"},"MetricCatalogResponse":{"properties":{"active":{"type":"boolean"},"activeSince":{"$ref":"#/components/schemas/UTCTime"},"hasMore":{"type":"boolean"},"metrics":{"items":{"$ref":"#/components/schemas/MetricChartListData"},"type":"array"},"search":{"type":"string"},"service":{"type":"string"},"total":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["metrics","total","active","hasMore","activeSince"],"type":"object"},"MetricChartListData":{"properties":{"lastSeen":{"$ref":"#/components/schemas/UTCTime"},"metricDescription":{"type":"string"},"metricLabels":{"items":{"type":"string"},"type":"array"},"metricName":{"type":"string"},"metricType":{"type":"string"},"metricUnit":{"type":"string"}},"required":["metricName","metricType","metricUnit","metricDescription","lastSeen","metricLabels"],"type":"object"},"UTCTime":{"example":"2016-07-22T00:00:00Z","format":"yyyy-mm-ddThh:MM:ssZ","type":"string"},"Schema":{"properties":{"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldInfo"},"type":"object"}},"required":["fields"],"type":"object"},"FieldInfo":{"properties":{"description":{"type":"string"},"examples":{"items":{"type":"string"},"type":"array"},"field_type":{"type":"string"}},"required":["field_type","description"],"type":"object"},"ReplayPost":{"properties":{"events":{"$ref":"#/components/schemas/JSONValue"},"sessionId":{"$ref":"#/components/schemas/UUID"},"timestamp":{"$ref":"#/components/schemas/UTCTime"},"userEmail":{"type":"string"},"userId":{"type":"string"},"userName":{"type":"string"}},"required":["events","sessionId","timestamp"],"type":"object"},"UUID":{"example":"00000000-0000-0000-0000-000000000000","format":"uuid","type":"string"},"QueryMonitor":{"properties":{"alert_config":{"$ref":"#/components/schemas/MonitorAlertConfig"},"alert_last_triggered":{"$ref":"#/components/schemas/UTCTime"},"alert_recovery_threshold":{"format":"double","type":"number"},"alert_threshold":{"format":"double","type":"number"},"check_interval_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"created_at":{"$ref":"#/components/schemas/UTCTime"},"current_status":{"enum":["normal","warning","alerting"],"type":"string"},"current_value":{"format":"double","type":"number"},"dashboard_id":{"$ref":"#/components/schemas/UUID"},"deactivated_at":{"$ref":"#/components/schemas/UTCTime"},"deleted_at":{"$ref":"#/components/schemas/UTCTime"},"environment":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"last_evaluated":{"$ref":"#/components/schemas/UTCTime"},"log_query":{"type":"string"},"log_query_as_sql":{"type":"string"},"muted_until":{"$ref":"#/components/schemas/UTCTime"},"notification_count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"project_id":{"$ref":"#/components/schemas/UUID"},"renotify_interval_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"service":{"type":"string"},"stop_after_count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"teams":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"threshold_sustained_for_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"time_window_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"trigger_less_than":{"type":"boolean"},"updated_at":{"$ref":"#/components/schemas/UTCTime"},"visualization_type":{"type":"string"},"warning_last_triggered":{"$ref":"#/components/schemas/UTCTime"},"warning_recovery_threshold":{"format":"double","type":"number"},"warning_threshold":{"format":"double","type":"number"},"widget_id":{"type":"string"}},"required":["id","project_id","created_at","updated_at","check_interval_mins","alert_threshold","log_query","log_query_as_sql","trigger_less_than","threshold_sustained_for_mins","alert_config","visualization_type","teams","current_status","current_value","notification_count","time_window_mins"],"type":"object"},"MonitorAlertConfig":{"properties":{"email_all":{"type":"boolean"},"emails":{"items":{"type":"string"},"type":"array"},"message":{"type":"string"},"severity":{"type":"string"},"slack_channels":{"items":{"type":"string"},"type":"array"},"subject":{"type":"string"},"title":{"type":"string"},"unit":{"type":"string"}},"required":["title","severity","subject","message","emails","email_all","slack_channels"],"type":"object"},"MonitorInput":{"oneOf":[{"properties":{"active":{"type":"boolean"},"alert_recovery_threshold":{"format":"double","type":"number"},"alert_threshold":{"format":"double","type":"number"},"check_interval_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"email_all":{"type":"boolean"},"emails":{"items":{"type":"string"},"type":"array"},"environment":{"type":"string"},"message":{"type":"string"},"notify_after_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"query":{"type":"string"},"service":{"type":"string"},"severity":{"type":"string"},"slack_channels":{"items":{"type":"string"},"type":"array"},"stop_after_count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"subject":{"type":"string"},"teams":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"threshold_sustained_for_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"time_window_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"title":{"type":"string"},"trigger_less_than":{"type":"boolean"},"unit":{"type":"string"},"visualization_type":{"type":"string"},"warning_recovery_threshold":{"format":"double","type":"number"},"warning_threshold":{"format":"double","type":"number"}},"required":["title","query","alert_threshold","trigger_less_than","check_interval_mins","time_window_mins","emails","slack_channels","teams"],"type":"object"},{"$ref":"#/components/schemas/MonitorConfig"}]},"MonitorConfig":{"properties":{"active":{"type":"boolean"},"condition":{"$ref":"#/components/schemas/MonitorCondition"},"environment":{"type":"string"},"evaluation":{"$ref":"#/components/schemas/MonitorEvaluation"},"notify":{"$ref":"#/components/schemas/MonitorNotification"},"service":{"type":"string"},"severity":{"type":"string"},"title":{"type":"string"},"visualization_type":{"type":"string"}},"required":["title","condition","evaluation"],"type":"object"},"MonitorCondition":{"properties":{"alert_recovery_threshold":{"format":"double","type":"number"},"alert_threshold":{"format":"double","type":"number"},"query":{"type":"string"},"trigger_less_than":{"type":"boolean"},"unit":{"type":"string"},"warning_recovery_threshold":{"format":"double","type":"number"},"warning_threshold":{"format":"double","type":"number"}},"required":["query","alert_threshold","trigger_less_than"],"type":"object"},"MonitorEvaluation":{"properties":{"check_interval_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"threshold_sustained_for_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"time_window_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["check_interval_mins","time_window_mins"],"type":"object"},"MonitorNotification":{"properties":{"email_all":{"type":"boolean"},"emails":{"items":{"type":"string"},"type":"array"},"message":{"type":"string"},"notify_after_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"slack_channels":{"items":{"type":"string"},"type":"array"},"stop_after_count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"subject":{"type":"string"},"teams":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}},"type":"object"},"MonitorPatch":{"properties":{"active":{"type":"boolean"},"alert_recovery_threshold":{"format":"double","type":"number"},"alert_threshold":{"format":"double","type":"number"},"check_interval_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"email_all":{"type":"boolean"},"emails":{"items":{"type":"string"},"type":"array"},"environment":{"type":"string"},"message":{"type":"string"},"notify_after_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"query":{"type":"string"},"service":{"type":"string"},"severity":{"type":"string"},"slack_channels":{"items":{"type":"string"},"type":"array"},"stop_after_count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"subject":{"type":"string"},"teams":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"threshold_sustained_for_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"time_window_mins":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"title":{"type":"string"},"trigger_less_than":{"type":"boolean"},"unit":{"type":"string"},"visualization_type":{"type":"string"},"warning_recovery_threshold":{"format":"double","type":"number"},"warning_threshold":{"format":"double","type":"number"}},"type":"object"},"BulkAction_UUID":{"properties":{"action":{"type":"string"},"duration_minutes":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"ids":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"reason":{"type":"string"}},"required":["action","ids"],"type":"object"},"EventsQuery":{"properties":{"environment":{"type":"string"},"from":{"type":"string"},"include_attributes":{"type":"boolean"},"limit":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"query":{"type":"string"},"service":{"type":"string"},"since":{"type":"string"},"source":{"type":"string"},"to":{"type":"string"},"with_children":{"type":"boolean"}},"type":"object"},"ShareLinkCreated":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"url":{"type":"string"}},"required":["id","url"],"type":"object"},"ShareLinkCreate":{"properties":{"event_created_at":{"$ref":"#/components/schemas/UTCTime"},"event_id":{"$ref":"#/components/schemas/UUID"},"event_type":{"enum":["request","log","span"],"type":"string"}},"required":["event_id","event_created_at"],"type":"object"},"DashboardSummary":{"properties":{"created_at":{"$ref":"#/components/schemas/UTCTime"},"file_path":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"starred":{"type":"boolean"},"tags":{"items":{"type":"string"},"type":"array"},"teams":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"title":{"type":"string"},"updated_at":{"$ref":"#/components/schemas/UTCTime"}},"required":["id","title","tags","teams","starred","created_at","updated_at"],"type":"object"},"WidgetPosition":{"properties":{"h":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"w":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"x":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"y":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["x","y","w","h"],"type":"object"},"ApiKeySummary":{"properties":{"active":{"type":"boolean"},"created_at":{"$ref":"#/components/schemas/UTCTime"},"id":{"$ref":"#/components/schemas/UUID"},"key_prefix":{"type":"string"},"title":{"type":"string"}},"required":["id","title","key_prefix","active","created_at"],"type":"object"},"ApiKeyCreated":{"properties":{"key":{"type":"string"},"summary":{"$ref":"#/components/schemas/ApiKeySummary"}},"required":["summary","key"],"type":"object"},"ApiKeyCreate":{"properties":{"title":{"type":"string"}},"required":["title"],"type":"object"},"MeResponse":{"properties":{"host_url":{"type":"string"},"project":{"$ref":"#/components/schemas/ProjectSummary"},"project_id":{"$ref":"#/components/schemas/UUID"}},"required":["project_id","project","host_url"],"type":"object"},"ProjectSummary":{"properties":{"created_at":{"$ref":"#/components/schemas/UTCTime"},"description":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"payment_plan":{"type":"string"},"time_zone":{"type":"string"},"title":{"type":"string"},"updated_at":{"$ref":"#/components/schemas/UTCTime"}},"required":["id","title","description","payment_plan","time_zone","created_at","updated_at"],"type":"object"},"ProjectFull":{"properties":{"daily_notif":{"type":"boolean"},"endpoint_alerts":{"type":"boolean"},"error_alerts":{"type":"boolean"},"notify_emails":{"items":{"type":"string"},"type":"array"},"summary":{"$ref":"#/components/schemas/ProjectSummary"},"weekly_notif":{"type":"boolean"}},"required":["summary","daily_notif","weekly_notif","notify_emails","endpoint_alerts","error_alerts"],"type":"object"},"ProjectPatch":{"properties":{"daily_notif":{"type":"boolean"},"description":{"type":"string"},"endpoint_alerts":{"type":"boolean"},"error_alerts":{"type":"boolean"},"time_zone":{"type":"string"},"title":{"type":"string"},"weekly_notif":{"type":"boolean"}},"type":"object"},"LogPatternFull":{"properties":{"log_pattern":{"type":"string"},"sample_message":{"type":"string"},"summary":{"$ref":"#/components/schemas/LogPatternSummary"}},"required":["summary","log_pattern"],"type":"object"},"LogPatternSummary":{"properties":{"first_seen_at":{"$ref":"#/components/schemas/UTCTime"},"id":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"is_error":{"type":"boolean"},"last_seen_at":{"$ref":"#/components/schemas/UTCTime"},"log_level":{"type":"string"},"occurrence_count":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"pattern_hash":{"type":"string"},"project_id":{"$ref":"#/components/schemas/UUID"},"service_name":{"type":"string"},"source_field":{"type":"string"},"state":{"enum":["new","acknowledged","ignored"],"type":"string"}},"required":["id","project_id","pattern_hash","source_field","state","occurrence_count","first_seen_at","last_seen_at","is_error"],"type":"object"},"BulkAction_Int64":{"properties":{"action":{"type":"string"},"duration_minutes":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"ids":{"items":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"type":"array"},"reason":{"type":"string"}},"required":["action","ids"],"type":"object"},"BulkAction_(UUIDId_\"issue\")":{"properties":{"action":{"type":"string"},"duration_minutes":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"ids":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"reason":{"type":"string"}},"required":["action","ids"],"type":"object"},"IncidentSummary":{"properties":{"closed_at":{"$ref":"#/components/schemas/UTCTime"},"id":{"$ref":"#/components/schemas/UUID"},"issue_id":{"$ref":"#/components/schemas/UUID"},"last_event_at":{"$ref":"#/components/schemas/UTCTime"},"phase":{"enum":["active","recovered","resolved"],"type":"string"},"project_id":{"$ref":"#/components/schemas/UUID"},"started_at":{"$ref":"#/components/schemas/UTCTime"}},"required":["id","project_id","phase","started_at","last_event_at"],"type":"object"},"ActivityEntry":{"properties":{"actor":{"type":"string"},"actor_kind":{"enum":["user","agent","system"],"type":"string"},"at":{"$ref":"#/components/schemas/UTCTime"},"event":{"type":"string"},"source":{"enum":["audit","issue","agent"],"type":"string"},"target_id":{"type":"string"},"target_kind":{"type":"string"},"target_title":{"type":"string"}},"required":["at","source","actor_kind","event"],"type":"object"},"TeamSummary":{"properties":{"created_at":{"$ref":"#/components/schemas/UTCTime"},"description":{"type":"string"},"handle":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"is_everyone":{"type":"boolean"},"member_count":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"name":{"type":"string"},"updated_at":{"$ref":"#/components/schemas/UTCTime"}},"required":["id","name","handle","description","is_everyone","member_count","created_at","updated_at"],"type":"object"},"TeamFull":{"properties":{"discord_channels":{"items":{"type":"string"},"type":"array"},"members":{"items":{"$ref":"#/components/schemas/UserRef"},"type":"array"},"notify_emails":{"items":{"type":"string"},"type":"array"},"pagerduty_services":{"items":{"type":"string"},"type":"array"},"phone_numbers":{"items":{"type":"string"},"type":"array"},"slack_channels":{"items":{"type":"string"},"type":"array"},"summary":{"$ref":"#/components/schemas/TeamSummary"}},"required":["summary","members","notify_emails","slack_channels","discord_channels","phone_numbers","pagerduty_services"],"type":"object"},"UserRef":{"properties":{"email":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"name":{"type":"string"}},"required":["id","email"],"type":"object"},"TeamInput":{"properties":{"description":{"type":"string"},"discord_channels":{"items":{"type":"string"},"type":"array"},"handle":{"type":"string"},"members":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"name":{"type":"string"},"notify_emails":{"items":{"type":"string"},"type":"array"},"pagerduty_services":{"items":{"type":"string"},"type":"array"},"phone_numbers":{"items":{"type":"string"},"type":"array"},"slack_channels":{"items":{"type":"string"},"type":"array"}},"required":["name","handle"],"type":"object"},"TeamPatch":{"properties":{"description":{"type":"string"},"discord_channels":{"items":{"type":"string"},"type":"array"},"handle":{"type":"string"},"members":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"name":{"type":"string"},"notify_emails":{"items":{"type":"string"},"type":"array"},"pagerduty_services":{"items":{"type":"string"},"type":"array"},"phone_numbers":{"items":{"type":"string"},"type":"array"},"slack_channels":{"items":{"type":"string"},"type":"array"}},"type":"object"},"BulkAction_(UUIDId_\"team\")":{"properties":{"action":{"type":"string"},"duration_minutes":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"ids":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"reason":{"type":"string"}},"required":["action","ids"],"type":"object"},"MemberSummary":{"properties":{"email":{"type":"string"},"first_name":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"last_name":{"type":"string"},"permission":{"enum":["view","edit","admin"],"type":"string"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["id","user_id","email","first_name","last_name","permission"],"type":"object"},"MemberAdd":{"properties":{"email":{"type":"string"},"permission":{"enum":["view","edit","admin"],"type":"string"},"user_id":{"$ref":"#/components/schemas/UUID"}},"type":"object"},"MemberPatch":{"properties":{"permission":{"enum":["view","edit","admin"],"type":"string"}},"required":["permission"],"type":"object"}},"securitySchemes":{"BearerAuth":{"in":"header","name":"Authorization","type":"apiKey"}}},"security":[{"BearerAuth":[]}],"openapi":"3.0.0"}