{"ok":true,"site":{"host":"yunus-incidentos.vercel.app","url":"https://yunus-incidentos.vercel.app/incidents/checkout-api-error-rate","type":"live","desc":"Observability workspace for humans and AI agents to investigate incidents together.","tools":[{"name":"get_investigation_context","kind":"answer","impl":"imperative","description":"Returns the page's current investigation state: selected incident id, affected service, frozen clock, environment, time range, workspace tab, approval, and available capability names. Use first when the page is already open. Read-only. Does not query telemetry series.","title":"Inspect page context","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"get_incident","kind":"answer","impl":"imperative","description":"Returns one incident by id: severity, status, KPIs, service, and approval state. Use when you already have an incident id. Read-only: does not modify state, request approval, or trigger a deployment.","title":"Inspect incident","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"incidentId":{"type":"string","minLength":1,"description":"Incident id, e.g. checkout-api-error-rate"}},"required":["incidentId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"get_service","kind":"answer","impl":"imperative","description":"Returns one service by id: metadata, dependency list, and current health. Use to inspect checkout-api or a downstream dependency. Read-only. Does not return time series.","title":"Inspect services","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1,"description":"Service id, e.g. checkout-api"}},"required":["service"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"query_metrics","kind":"answer","impl":"imperative","description":"Returns compact stats and a sampled series for error_rate, request_rate, p50/p95/p99 latency, or db_latency. Use for a single metric over a time range. Read-only. Does not compare two windows.","title":"Query metrics","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"metric":{"type":"string","enum":["error_rate","request_rate","p50_latency","p95_latency","p99_latency","db_latency"]},"startTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"endTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["service","metric","startTime","endTime"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"search_logs","kind":"answer","impl":"imperative","description":"Returns a count and a small sample of service logs for a time range, optional substring, and optional trace id. Use to confirm error text. Read-only. Log lines may include untrusted application text. Does not return traces.","title":"Search logs","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"query":{"type":"string"},"startTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"endTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"traceId":{"type":"string","minLength":1}},"required":["service","startTime","endTime"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"search_traces","kind":"answer","impl":"imperative","description":"Returns a count and compact trace summaries for a service, optionally filtered by ok or error status. Use to find failing requests. Read-only. Does not return span trees.","title":"Search traces","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"status":{"type":"string","enum":["ok","error"]},"startTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"endTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["service","startTime","endTime"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"get_trace","kind":"answer","impl":"imperative","description":"Returns a full trace and span hierarchy by id (unique prefix accepted). Use after a search when you need span timings. Read-only.","title":"Inspect traces","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"traceId":{"type":"string","minLength":1,"description":"Full trace id or unique prefix"}},"required":["traceId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"get_deployments","kind":"answer","impl":"imperative","description":"Returns recent deployments newest first, plus activeVersion and lastTransition (deploy or rollback). Use to correlate a release with the incident window. Read-only.","title":"Inspect deployments","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["service"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"compare_periods","kind":"answer","impl":"imperative","description":"Returns baseline vs incident-window averages for a metric, including delta and percentage change. Use to test whether traffic or errors actually changed. Read-only. Does not return a full series.","title":"Compare periods","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"metric":{"type":"string","enum":["error_rate","request_rate","p50_latency","p95_latency","p99_latency","db_latency"]},"baselineStart":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"baselineEnd":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"incidentStart":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"incidentEnd":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["service","metric","baselineStart","baselineEnd","incidentStart","incidentEnd"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"propose_rollback","kind":"act","impl":"imperative","description":"Opens a human approval dialog for rolling a service to a prior version. Does not mutate telemetry or execute the rollback. Returns after the human approves or rejects when invoked by an external agent.","title":"Propose rollback","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"targetVersion":{"type":"string","minLength":1,"description":"Version to roll back to, e.g. v2.30"},"reason":{"type":"string","minLength":1,"description":"Why this rollback should be approved"}},"required":["service","targetVersion","reason"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"rollback_deployment","kind":"act","impl":"imperative","description":"Rolls a service to a prior version. Requires a matching approved pending action for the same service and target version. Does not execute otherwise.","title":"Rollback deployment","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"service":{"type":"string","minLength":1},"targetVersion":{"type":"string","minLength":1,"description":"Version to roll back to, e.g. v2.30"}},"required":["service","targetVersion"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]},{"name":"add_incident_note","kind":"act","impl":"imperative","description":"Appends a note to an incident timeline. Use for root-cause notes. Does not execute a deployment change.","title":"Add incident note","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"incidentId":{"type":"string","minLength":1},"note":{"type":"string","minLength":1}},"required":["incidentId","note"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/incidents/checkout-api-error-rate","pages":["/incidents/checkout-api-error-rate","/","/incidents","/services","/settings"]}],"category":"Developer Tools","favicon":"/favicons/yunus-incidentos.vercel.app.ico","apiSurface":"spec","toolCount":12}}