You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/ai-sre/automations.mdx
+19-9Lines changed: 19 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Each automation is a **rule**. A rule carries at least one trigger:
19
19
20
20
-**Schedule (cron)**: set the cadence with a 4-field or 5-field cron expression (for example, every Monday morning or every day at 09:15); it runs automatically when the time comes.
21
21
-**Call via API**: generate a trigger URL with a Bearer token, and trigger it on demand from an external system with a `POST`, passing the context for this run in the request body.
22
-
-**On-call incident trigger (API)**: subscribe to selected On-call integrations and severities through the Automation API, then start a diagnostic run when a matching incident appears.
22
+
-**On-call incident trigger**: select the On-call channels and severities to watch, then start a diagnostic run when a matching incident appears.
23
23
24
24
When to use it: hand recurring routine inspections (such as a daily health check) and periodic insight / post-mortem reports to AI SRE to run automatically; or wire AI SRE into your existing pipeline, change system, or On-call incident flow so an event kicks off a diagnosis.
25
25
@@ -67,7 +67,7 @@ For **Environment**, "Auto" has the backend pick the best available environment
67
67
68
68
---
69
69
70
-
A rule must have **at least one trigger** configured. The current console form exposes **Schedule** and **Call via API**in the "Triggers" section, and both can be enabled at the same time; the public API also supports an On-call incident trigger for wiring incident events directly into Automation runs.
70
+
A rule must have **at least one trigger** configured. The current console form exposes **Schedule**, **Call via API**, and **On-call incident**in the "Triggers" section, and all three can be enabled at the same time.
71
71
72
72
### Schedule (cron)
73
73
@@ -132,22 +132,32 @@ The `text` in the request body is passed to the agent as context for this run, o
132
132
A rule can enable **both** "Schedule" and "Call via API" at the same time: it runs automatically on the cadence and can also be kicked off on demand from outside. Each trigger occupies its own row and can be **removed** independently.
133
133
</Tip>
134
134
135
-
### On-call Incident Trigger (API)
135
+
### On-call Incident Trigger
136
136
137
-
Use the Automation API to configure an `oncall_incident` trigger when you want AI SRE to start automatically from On-call incidents. The trigger registers a subscription with the On-call side, and only incidents matching the selected integrations and severities start a run.
137
+
Add the **On-call incident** trigger when you want AI SRE to start automatically from On-call incidents. The trigger registers a subscription with the On-call side, and only incidents matching the selected channels and severities start a run.
138
+
139
+
<Steps>
140
+
<Steptitle="Add the trigger">
141
+
Click the **On-call incident** card in "Triggers". The form expands channel and severity conditions.
142
+
</Step>
143
+
<Steptitle="Select channels">
144
+
Select the On-call channels to watch in the **Channel** dropdown. Personal-scope rules can select visible account channels; team-scope rules narrow the channel list to the selected team.
145
+
</Step>
146
+
<Steptitle="Select severities">
147
+
Select one or more severities from `Critical`, `Warning`, and `Info`. When this trigger is enabled, at least one channel and one severity are required.
148
+
</Step>
149
+
</Steps>
150
+
151
+
If you create or update a rule through the API, use these fields:
138
152
139
153
| Field | Type | Notes |
140
154
|---|---|---|
141
155
|`oncall_incident_trigger_enabled`| boolean | Whether the On-call incident trigger is enabled. |
142
-
|`oncall_incident_channel_ids`| int64[]| On-call integration IDs to watch. Creating or enabling this trigger requires at least one valid ID. |
156
+
|`oncall_incident_channel_ids`| int64[]| On-call channel IDs to watch. Creating or enabling this trigger requires at least one valid ID. |
143
157
|`oncall_incident_severities`| string[]| Incident severities to watch. Supported values are `Critical`, `Warning`, and `Info`; creating or enabling this trigger requires at least one value. |
144
158
145
159
When a matching event arrives, the system creates a run with `trigger_kind: "oncall_incident"` and passes event context such as `incident_id`, `channel_id`, and `severity` into the session. The same trigger and the same `incident_id` reuse the same run, avoiding duplicate hidden sessions for one incident.
146
160
147
-
<Note>
148
-
The current console form does not expose a separate On-call incident trigger card. Configure it with the Automation create / update APIs in the API reference.
A Flashduty-managed temporary container that works out of the box with no install. When no BYOC Runner is online, sessions automatically fall back to the cloud Sandbox.
22
+
A Flashduty-managed temporary container that works out of the box with no install. When no usable BYOC Runner is online for the current member, sessions automatically fall back to the cloud Sandbox.
A persistent process deployed on your own machine. It connects to AI SRE over WebSocket and lets the agent execute inside your network boundary.
26
26
</Card>
27
27
</CardGroup>
28
28
29
-
The default selection logic is: **if the account has an online BYOC Runner, AI SRE uses a Runner first; otherwise it uses the cloud Sandbox.** You can also pin a session to the cloud Sandbox, or to a specific Runner, from the environment selector in the chat input.
29
+
The default selection logic is: **AI SRE uses an online BYOC Runner that the current member can use first; otherwise it uses the cloud Sandbox.** Usable Runners include account-scoped Runners and team-scoped Runners that belong to one of the current member's teams. You can also pin a session to the cloud Sandbox, or to a specific Runner, from the environment selector in the chat input.
30
30
31
31
<Note>
32
32
The console record is called an **Environment**. The process running on your machine is called a **Runner**. One BYOC Environment maps to one Runner process; cloud Sandbox instances are managed by the system per session.
@@ -321,9 +321,9 @@ The environment selector at the bottom of the chat input decides where a new ses
321
321
322
322
| Option | Meaning |
323
323
|---|---|
324
-
| **Auto** | The default for new sessions. Uses an online Runner if the account has one; otherwise falls back to the cloud Sandbox. |
324
+
| **Auto** | The default for new sessions. Uses an online Runner the current member can use; otherwise falls back to the cloud Sandbox. |
325
325
| **Cloud Sandbox · Default** | Forces the system-managed cloud Sandbox and ignores self-hosted Runners. |
326
-
| **Self-hosted Environment** | Lists visible Runners. Offline or never-connected Runners appear disabled and cannot be selected. |
326
+
| **Self-hosted Environment** | Lists Runners the current member can use. Offline, never-connected, or team-mismatched Runners cannot be selected. |
327
327
328
328
<Warning>
329
329
Environment selection is locked once per session: the Environment determined when the session sends its first message is recorded and reused for all later turns. Changing the selector afterward does not change that session. To switch environments, start a new session.
@@ -339,8 +339,8 @@ Each BYOC Environment has account-level or team-level scope:
339
339
340
340
| Scope | Visibility |
341
341
|---|---|
342
-
| Account | Visible to all members in the account. |
343
-
| Team | Visibleand editable only by members of that team. |
342
+
| Account | Visible, selectable, and usable by all members in the account. |
343
+
| Team | Visible, editable, selectable, and usable only by members of that team. |
344
344
345
345
Edit permissions follow the unified rule:
346
346
@@ -349,7 +349,7 @@ Edit permissions follow the unified rule:
349
349
3. There is no "creator extra permission"; you do not need to be the creator if the rules above allow the edit.
350
350
351
351
<Note>
352
-
Scope is an editing and ownership label, while the account is the runtime security boundary. When auto-selecting a Runner, the system chooses from online BYOC Runners in the account by matching tags. Team scope mainly controls who can see and edit the Runner in the console.
352
+
The account remains the runtime security boundary, but team scope also participates in Runner selection. When the system auto-selects a Runner, or when a session is pinned to a Runner by ID, it only uses account-scoped Runners or team-scoped Runners that belong to one of the current member's teams. This prevents a member from landing a session on a team Runner they cannot use.
Copy file name to clipboardExpand all lines: en/ai-sre/sandbox.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Sandbox
3
-
description: The cloud sandbox is a Flashduty-managed, temporary execution environment that works out of the box with no install. When no self-hosted Runner is online, AI SRE sessions run in the cloud sandbox by default; you can also pin a session to it manually.
3
+
description: The cloud sandbox is a Flashduty-managed, temporary execution environment that works out of the box with no install. When no usable self-hosted Runner is online for the current member, AI SRE sessions run in the cloud sandbox by default; you can also pin a session to it manually.
The **cloud sandbox** is a **temporary execution environment** managed by Flashduty — an isolated, ready-to-use container. The AI SRE agent's tool calls (running commands, reading and writing files, running Skills, connecting to MCP) all happen inside it, and you **don't have to install or maintain anything**.
17
17
18
-
It is AI SRE's **default fallback**: when your account has no online self-hosted Runner ([BYOC Runner](/en/ai-sre/environments#byoc-runner)), sessions automatically run in the cloud sandbox; you can also **pin a session to it manually**.
18
+
It is AI SRE's **default fallback**: when no usable self-hosted Runner ([BYOC Runner](/en/ai-sre/environments#byoc-runner)) is online for the current member, sessions automatically run in the cloud sandbox; you can also **pin a session to it manually**.
19
19
20
20
<CardGroupcols={2}>
21
21
<Cardtitle="Zero install, ready to use"icon="cloud">
@@ -48,7 +48,7 @@ The **environment selector** at the bottom of the chat box decides where the ses
48
48
49
49
| Option | Behavior |
50
50
|---|---|
51
-
|**Auto**| The default for new sessions. Prefers an online Runner if the account has one; otherwise **falls back to the cloud sandbox**. |
51
+
|**Auto**| The default for new sessions. Prefers an online Runner the current member can use; otherwise **falls back to the cloud sandbox**. |
52
52
|**Cloud sandbox · Default**| Forces the cloud sandbox, ignoring all self-hosted Runners. |
Copy file name to clipboardExpand all lines: en/developer/cli.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -376,9 +376,9 @@ Common flags:
376
376
377
377
### Full command coverage
378
378
379
-
Beyond the curated commands above, the CLI now provides **full coverage** of the Flashduty OpenAPI through a spec-driven code generator. The current OpenAPI contains **288 API operations**, and the CLI generates corresponding resource-organized commands for them. In addition to the On-call domain (incident, change, channel, field, status-page, template, and more), it also covers:
379
+
Beyond the curated commands above, the CLI now provides **full coverage** of the Flashduty OpenAPI through a spec-driven code generator. The current OpenAPI contains **291 API operations**, and the CLI generates corresponding resource-organized commands for them. In addition to the On-call domain (incident, incident-trigger-subscription, change, channel, field, status-page, template, and more), it also covers:
380
380
381
-
-**AI SRE (`safari`)**: a2a-agents, mcp-servers, sessions, skills, and more
381
+
-**AI SRE (`safari`)**: a2a-agents, automations, mcp-servers, sessions, skills, and more
Copy file name to clipboardExpand all lines: en/developer/go-sdk.mdx
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Go SDK
3
3
sidebarTitle: Go SDK
4
-
description: "go-flashduty is the official open-source Go SDK for Flashduty — a typed, strictly 1:1 wrapper over the Open API currently covering all 288 API operations across 32 services."
4
+
description: "go-flashduty is the official open-source Go SDK for Flashduty — a typed, strictly 1:1 wrapper over the Open API currently covering all 291 API operations across 32 services."
`go-flashduty` is the official open-source Go client for Flashduty, covering every REST endpoint of the Flashduty Open API. It follows the same design as [go-github](https://github.com/google/go-github) — service groups, typed requests and responses, a composable transport layer — and stays strictly 1:1 with the OpenAPI spec: each method maps to exactly one HTTP call, returns `(*T, *Response, error)`, and performs no implicit cross-endpoint aggregation or enrichment.
13
13
14
-
The SDK currently covers **288 API operations** across **32 services**, all generated from the Flashduty OpenAPI spec, covered by unit tests, and end-to-end verified against the live API.
14
+
The SDK currently covers **291 API operations** across **32 services**, all generated from the Flashduty OpenAPI spec, covered by unit tests, and end-to-end verified against the live API.
15
15
16
16
<Note>
17
17
The SDK is deliberately "thin." Consumer-side logic such as short-ID resolution and cross-endpoint orchestration belongs in the caller (CLI / MCP), not stuffed into the SDK or shoehorned into an endpoint. This keeps the SDK strictly one-to-one with the API — predictable, generatable, and verifiable.
@@ -163,10 +163,13 @@ Endpoints are grouped by service and hang off the client: the call convention is
Copy file name to clipboardExpand all lines: en/developer/overview.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ See the [Command-line tool](/en/developer/cli) guide for the full installation m
58
58
59
59
## Go SDK
60
60
61
-
go-flashduty is the official Go SDK for Flashduty. Built in the go-github style, it provides a typed wrapper over the Flashduty OpenAPI covering 288 API operations across 32 services, so you can call them directly from Go with full type safety and autocompletion.
61
+
go-flashduty is the official Go SDK for Flashduty. Built in the go-github style, it provides a typed wrapper over the Flashduty OpenAPI covering 291 API operations across 32 services, so you can call them directly from Go with full type safety and autocompletion.
62
62
63
63
The module is `github.com/flashcatcloud/go-flashduty` and requires Go 1.24+. Install with one command:
0 commit comments