@ai-matrx/api 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/LICENSE +21 -0
- package/README.md +18 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-AY5N6EA4.js +43 -0
- package/dist/chunk-BMQI7UET.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-UONBYRE4.js +1012 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/chunk-YUDQWDCM.cjs +1047 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +1934 -0
- package/dist/index.d.cts +2006 -0
- package/dist/index.d.ts +2006 -0
- package/dist/index.js +1668 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +418 -4
|
@@ -0,0 +1,4701 @@
|
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-wC2vtb70.cjs';
|
|
2
|
+
import { JsonValue, ComputeNextDueResponse, SandboxBindingRequest, RunNowResponse, ValidateCronRequest, ValidateCronResponse, DirectiveItemApplied, DirectiveItemFailed } from './schemas.cjs';
|
|
3
|
+
import './credentials.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
+
* CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** Authoritative list of every route the orchestrator serves. */
|
|
11
|
+
type APISurfaceResponse = {
|
|
12
|
+
service: string;
|
|
13
|
+
version: string;
|
|
14
|
+
source_sha: string;
|
|
15
|
+
tier?: ("ec2" | "hosted") | null;
|
|
16
|
+
contracts: {
|
|
17
|
+
[key: string]: number;
|
|
18
|
+
};
|
|
19
|
+
routes: RouteInfo[];
|
|
20
|
+
};
|
|
21
|
+
/** AcceptAdapter */
|
|
22
|
+
type AcceptAdapter = {
|
|
23
|
+
id: string;
|
|
24
|
+
/** True when Mark OK can accept this check's findings */
|
|
25
|
+
accept: boolean;
|
|
26
|
+
/** The allowlist files an accept writes */
|
|
27
|
+
files?: string[];
|
|
28
|
+
/** Why this check has no accept, in the registry's words */
|
|
29
|
+
no_accept?: string | null;
|
|
30
|
+
};
|
|
31
|
+
/** AcceptAdaptersResponse */
|
|
32
|
+
type AcceptAdaptersResponse = {
|
|
33
|
+
repo?: "aidream";
|
|
34
|
+
checks: AcceptAdapter[];
|
|
35
|
+
};
|
|
36
|
+
/** AcceptFindingRequest */
|
|
37
|
+
type AcceptFindingRequest = {
|
|
38
|
+
/** ops.check_item id of the finding to mark OK */
|
|
39
|
+
item_id: string;
|
|
40
|
+
/** Why this finding is fine (kept in the allowlist and the commit) */
|
|
41
|
+
reason: string;
|
|
42
|
+
};
|
|
43
|
+
/** AcceptFindingResponse */
|
|
44
|
+
type AcceptFindingResponse = {
|
|
45
|
+
status: "landed" | "already_accepted" | "already_landed" | "in_flight" | "already_on_main";
|
|
46
|
+
message: string;
|
|
47
|
+
commit_sha?: string | null;
|
|
48
|
+
commit_url?: string | null;
|
|
49
|
+
files?: string[];
|
|
50
|
+
};
|
|
51
|
+
/** AccessResponse */
|
|
52
|
+
type AccessResponse = {
|
|
53
|
+
/** PEM-encoded Ed25519 private key (temporary, per-request) */
|
|
54
|
+
private_key: string;
|
|
55
|
+
/** SSH username */
|
|
56
|
+
username?: string;
|
|
57
|
+
/** SSH host to connect to */
|
|
58
|
+
host: string;
|
|
59
|
+
/** SSH port to connect to */
|
|
60
|
+
port: number;
|
|
61
|
+
/** Ready-to-use SSH command */
|
|
62
|
+
ssh_command: string;
|
|
63
|
+
};
|
|
64
|
+
/** AccessTokenRequest */
|
|
65
|
+
type AccessTokenRequest = {
|
|
66
|
+
/** Subset of: ai, exec.run, exec.stream, pty, fs.read, fs.write, fs.watch, git, ports.read. Each scope gates a category of operation on /sandboxes/{id}/proxy/*. The 'ai' scope is the broadest; reach for */
|
|
67
|
+
scopes: string[];
|
|
68
|
+
/** Token lifetime in seconds. Default 300 (5 min); hard cap 900 (15 min). Browsers should refresh lazily before expiry. */
|
|
69
|
+
ttl_seconds?: number | null;
|
|
70
|
+
/** Caller identity (e.g. {user_id, email}). Echoed in audit logs; Next.js fills this from the verified Supabase session before calling the orchestrator. */
|
|
71
|
+
actor?: {
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
} | null;
|
|
74
|
+
/** If true, the token's jti is invalidated on first successful use. Recommended for WebSocket upgrades where replay would otherwise be possible. False for SSE/HTTP where retry/reconnect is normal. */
|
|
75
|
+
single_use?: boolean;
|
|
76
|
+
};
|
|
77
|
+
/** AccessTokenResponse */
|
|
78
|
+
type AccessTokenResponse = {
|
|
79
|
+
/** HS256 JWT — present as Authorization: Bearer <token> on direct calls. */
|
|
80
|
+
token: string;
|
|
81
|
+
expires_at: string;
|
|
82
|
+
/** HTTPS base URL the browser uses for SSE / large HTTP. */
|
|
83
|
+
direct_url: string;
|
|
84
|
+
/** WSS base URL the browser uses for PTY / file watcher. */
|
|
85
|
+
ws_base: string;
|
|
86
|
+
/** ec2 | hosted — echoed for client-side sanity checking. */
|
|
87
|
+
tier: string;
|
|
88
|
+
sandbox_id: string;
|
|
89
|
+
/** Internal SessionStart hook report; null for ordinary user sandboxes. */
|
|
90
|
+
connection_hooks?: {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
} | null;
|
|
93
|
+
};
|
|
94
|
+
/** ActionResult */
|
|
95
|
+
type ActionResult = {
|
|
96
|
+
ok: boolean;
|
|
97
|
+
execution_id: string;
|
|
98
|
+
action: string;
|
|
99
|
+
detail: string;
|
|
100
|
+
changed?: boolean;
|
|
101
|
+
};
|
|
102
|
+
/** AdminStatsResponse */
|
|
103
|
+
type AdminStatsResponse = {
|
|
104
|
+
table_count: number;
|
|
105
|
+
user_count: number;
|
|
106
|
+
agent_count: number;
|
|
107
|
+
conversation_count_24h: number;
|
|
108
|
+
request_count_24h: number;
|
|
109
|
+
recent_activity?: JsonValue[];
|
|
110
|
+
top_endpoints?: JsonValue[];
|
|
111
|
+
};
|
|
112
|
+
/** Optional overrides for POST /sandboxes/{id}/agent-binding. Both optional; */
|
|
113
|
+
type AgentBindingRequest = {
|
|
114
|
+
scopes?: string[] | null;
|
|
115
|
+
ttl_seconds?: number | null;
|
|
116
|
+
};
|
|
117
|
+
/** Child sch_agent_task row payload (used for kind=agent/tool). */
|
|
118
|
+
type AgentTaskCreate = {
|
|
119
|
+
agent_id?: string | null;
|
|
120
|
+
mandate_key?: string | null;
|
|
121
|
+
prompt?: string;
|
|
122
|
+
variables?: {
|
|
123
|
+
[key: string]: unknown;
|
|
124
|
+
};
|
|
125
|
+
persistent_conversation_id?: string | null;
|
|
126
|
+
auth_mode?: "ask" | "auto";
|
|
127
|
+
max_runtime_seconds?: number;
|
|
128
|
+
max_concurrent?: number;
|
|
129
|
+
};
|
|
130
|
+
/** AgentTaskResponse */
|
|
131
|
+
type AgentTaskResponse = {
|
|
132
|
+
id: string;
|
|
133
|
+
agent_id?: string | null;
|
|
134
|
+
mandate_key?: string | null;
|
|
135
|
+
prompt: string;
|
|
136
|
+
variables?: {
|
|
137
|
+
[key: string]: unknown;
|
|
138
|
+
};
|
|
139
|
+
persistent_conversation_id?: string | null;
|
|
140
|
+
auth_mode?: "ask" | "auto";
|
|
141
|
+
max_runtime_seconds: number;
|
|
142
|
+
max_concurrent: number;
|
|
143
|
+
};
|
|
144
|
+
/** Typed success wire returned by Anthropic's count-tokens endpoint. */
|
|
145
|
+
type AnthropicCountTokensResponse = {
|
|
146
|
+
input_tokens: number;
|
|
147
|
+
[key: string]: unknown;
|
|
148
|
+
};
|
|
149
|
+
/** One row from public.app_log (the durable general-log store). */
|
|
150
|
+
type AppLogEntry = {
|
|
151
|
+
id: string;
|
|
152
|
+
ts: string;
|
|
153
|
+
level: string;
|
|
154
|
+
level_no: number;
|
|
155
|
+
logger_name: string;
|
|
156
|
+
feature: string;
|
|
157
|
+
route?: string | null;
|
|
158
|
+
message: string;
|
|
159
|
+
exc_type?: string | null;
|
|
160
|
+
traceback?: string | null;
|
|
161
|
+
request_id?: string | null;
|
|
162
|
+
user_id?: string | null;
|
|
163
|
+
conversation_id?: string | null;
|
|
164
|
+
process_pid?: number | null;
|
|
165
|
+
host_role?: string | null;
|
|
166
|
+
stage?: string | null;
|
|
167
|
+
classified?: boolean;
|
|
168
|
+
metadata?: JsonValue | null;
|
|
169
|
+
occurrences?: number | null;
|
|
170
|
+
first_seen?: string | null;
|
|
171
|
+
last_seen?: string | null;
|
|
172
|
+
};
|
|
173
|
+
/** AppLogListResponse */
|
|
174
|
+
type AppLogListResponse = {
|
|
175
|
+
entries: AppLogEntry[];
|
|
176
|
+
count: number;
|
|
177
|
+
total: number;
|
|
178
|
+
limit: number;
|
|
179
|
+
offset: number;
|
|
180
|
+
scanned_count: number;
|
|
181
|
+
filter_summary: string;
|
|
182
|
+
};
|
|
183
|
+
/** Facet counts for the dashboard filter bar, within the active window. */
|
|
184
|
+
type AppLogStatsResponse = {
|
|
185
|
+
total: number;
|
|
186
|
+
by_level: {
|
|
187
|
+
[key: string]: number;
|
|
188
|
+
};
|
|
189
|
+
by_feature: {
|
|
190
|
+
[key: string]: number;
|
|
191
|
+
};
|
|
192
|
+
by_route: {
|
|
193
|
+
[key: string]: number;
|
|
194
|
+
};
|
|
195
|
+
unclassified: number;
|
|
196
|
+
filter_summary: string;
|
|
197
|
+
};
|
|
198
|
+
/** The one envelope for every brokered credential, regardless of mode. */
|
|
199
|
+
type BrokeredCredential = {
|
|
200
|
+
credential_mode: "native_ephemeral" | "proxied";
|
|
201
|
+
audience: string;
|
|
202
|
+
token: string;
|
|
203
|
+
expires_at: number;
|
|
204
|
+
endpoint: string;
|
|
205
|
+
protocol: string;
|
|
206
|
+
model?: string | null;
|
|
207
|
+
grant: BrokeredGrant;
|
|
208
|
+
session?: {
|
|
209
|
+
[key: string]: unknown;
|
|
210
|
+
} | null;
|
|
211
|
+
};
|
|
212
|
+
/** What was granted — embedded in every credential for client display */
|
|
213
|
+
type BrokeredGrant = {
|
|
214
|
+
user_id: string;
|
|
215
|
+
audience: string;
|
|
216
|
+
tier_policy: "none" | "guest" | "mid";
|
|
217
|
+
scopes?: string[];
|
|
218
|
+
expires_at: number;
|
|
219
|
+
};
|
|
220
|
+
/** Full forensic dump for one ``call_id`` — trace events + cx_tool_call row. */
|
|
221
|
+
type CallTimelineResponse = {
|
|
222
|
+
call_id: string;
|
|
223
|
+
events: TraceEventRecord[];
|
|
224
|
+
tool_call?: CallToolDetail | null;
|
|
225
|
+
};
|
|
226
|
+
/** One row from cx_tool_call — the per-call record. Only present when the */
|
|
227
|
+
type CallToolDetail = {
|
|
228
|
+
id: string;
|
|
229
|
+
tool_name: string;
|
|
230
|
+
call_id: string;
|
|
231
|
+
status?: string | null;
|
|
232
|
+
success?: boolean | null;
|
|
233
|
+
is_error?: boolean | null;
|
|
234
|
+
error_type?: string | null;
|
|
235
|
+
error_message?: string | null;
|
|
236
|
+
arguments?: JsonValue | null;
|
|
237
|
+
output?: string | null;
|
|
238
|
+
output_chars?: number | null;
|
|
239
|
+
duration_ms?: number | null;
|
|
240
|
+
started_at?: string | null;
|
|
241
|
+
completed_at?: string | null;
|
|
242
|
+
iteration?: number | null;
|
|
243
|
+
conversation_id?: string | null;
|
|
244
|
+
user_id?: string | null;
|
|
245
|
+
[key: string]: unknown;
|
|
246
|
+
};
|
|
247
|
+
/** Capture-failure counter over the alarm window. */
|
|
248
|
+
type CaptureHealth = {
|
|
249
|
+
ok?: boolean;
|
|
250
|
+
lookback_hours?: number;
|
|
251
|
+
failures?: number;
|
|
252
|
+
threshold?: number;
|
|
253
|
+
breached?: boolean;
|
|
254
|
+
assist_written?: boolean;
|
|
255
|
+
addressee_user_id?: string | null;
|
|
256
|
+
last_failure_at?: string | null;
|
|
257
|
+
error?: string | null;
|
|
258
|
+
};
|
|
259
|
+
/** CompletionRequest */
|
|
260
|
+
type CompletionRequest = {
|
|
261
|
+
/** Optional result data */
|
|
262
|
+
result?: {
|
|
263
|
+
[key: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
/** CompletionResponse */
|
|
267
|
+
type CompletionResponse = {
|
|
268
|
+
status: string;
|
|
269
|
+
sandbox_id: string;
|
|
270
|
+
};
|
|
271
|
+
/** One bindable compute target, in the shape every client renders. */
|
|
272
|
+
type ComputeTarget = {
|
|
273
|
+
id: string;
|
|
274
|
+
kind: "ec2" | "hosted" | "local-pc";
|
|
275
|
+
name: string;
|
|
276
|
+
status: "ready" | "running" | "starting" | "creating" | "shutting_down" | "stopped" | "failed" | "expired" | "online" | "offline";
|
|
277
|
+
is_online: boolean;
|
|
278
|
+
is_this_device?: boolean;
|
|
279
|
+
sandbox_id?: string | null;
|
|
280
|
+
tier?: ("ec2" | "hosted") | null;
|
|
281
|
+
template?: string | null;
|
|
282
|
+
expires_at?: string | null;
|
|
283
|
+
instance_id?: string | null;
|
|
284
|
+
tunnel_url?: string | null;
|
|
285
|
+
platform?: string | null;
|
|
286
|
+
last_seen?: string | null;
|
|
287
|
+
};
|
|
288
|
+
/** Unified list returned by ``GET /api/compute-targets``. */
|
|
289
|
+
type ComputeTargetListResponse = {
|
|
290
|
+
targets: ComputeTarget[];
|
|
291
|
+
max_sandboxes: number;
|
|
292
|
+
sandbox_count: number;
|
|
293
|
+
};
|
|
294
|
+
/** Compact reference posted by clients when they bind a target to a */
|
|
295
|
+
type ComputeTargetRef = {
|
|
296
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
297
|
+
organization_id?: string | null;
|
|
298
|
+
/** Optional associated project selected by the caller. */
|
|
299
|
+
project_id?: string | null;
|
|
300
|
+
/** Optional associated task selected by the caller. */
|
|
301
|
+
task_id?: string | null;
|
|
302
|
+
/** Stable application slug that initiated the request. */
|
|
303
|
+
source_app?: string | null;
|
|
304
|
+
/** Stable feature slug within the source application. */
|
|
305
|
+
source_feature?: string | null;
|
|
306
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
307
|
+
initiation?: ("user" | "auto") | null;
|
|
308
|
+
kind: "ec2" | "hosted" | "local-pc";
|
|
309
|
+
id: string;
|
|
310
|
+
};
|
|
311
|
+
/** ConversationExecutionsResponse */
|
|
312
|
+
type ConversationExecutionsResponse = {
|
|
313
|
+
conversation_id: string;
|
|
314
|
+
execution_count: number;
|
|
315
|
+
trees: ExecutionTree[];
|
|
316
|
+
};
|
|
317
|
+
/** CreateSandboxRequest */
|
|
318
|
+
type CreateSandboxRequest = {
|
|
319
|
+
/** Supabase auth user UUID */
|
|
320
|
+
user_id: string;
|
|
321
|
+
/** Organization carried by the initiating sandbox request */
|
|
322
|
+
organization_id: string;
|
|
323
|
+
/** Optional user-visible sandbox name; sandbox_id remains the routing identity. */
|
|
324
|
+
name?: string | null;
|
|
325
|
+
/** Optional sandbox config overrides */
|
|
326
|
+
config?: {
|
|
327
|
+
[key: string]: unknown;
|
|
328
|
+
};
|
|
329
|
+
/** Template id (e.g. 'bare', 'node-22', 'python-3.13') */
|
|
330
|
+
template?: string | null;
|
|
331
|
+
/** Optional template version pin */
|
|
332
|
+
template_version?: string | null;
|
|
333
|
+
/** Advisory tier ('ec2' or 'hosted'). Each orchestrator only spawns its own tier; this field is recorded so frontends can route follow-up calls to the right orchestrator. */
|
|
334
|
+
tier?: ("ec2" | "hosted") | null;
|
|
335
|
+
/** Optional resource overrides (hosted tier only) */
|
|
336
|
+
resources?: ResourcesSpec | null;
|
|
337
|
+
/** Free-form tags persisted with the sandbox */
|
|
338
|
+
labels?: {
|
|
339
|
+
[key: string]: string;
|
|
340
|
+
} | null;
|
|
341
|
+
/** Override default TTL. With heartbeat_extends_ttl on (the default) this is an IDLE ceiling that each heartbeat rolls forward; with it off it is a hard wall clock from the moment the box went live. */
|
|
342
|
+
ttl_seconds?: number | null;
|
|
343
|
+
};
|
|
344
|
+
/** Which Supabase project this process is wired to — identities only, never a secret. */
|
|
345
|
+
type DatabaseIdentity = {
|
|
346
|
+
database_project_ref: string | null;
|
|
347
|
+
database_ref_source: string;
|
|
348
|
+
auth_project_ref: string | null;
|
|
349
|
+
auth_url_host: string | null;
|
|
350
|
+
paired: boolean;
|
|
351
|
+
};
|
|
352
|
+
/** Names and ids only — this crosses a server boundary into a user's box. */
|
|
353
|
+
type DefaultBrowserProfileResponse = {
|
|
354
|
+
/** True when this person has a browser here. */
|
|
355
|
+
present: boolean;
|
|
356
|
+
profile_id?: string | null;
|
|
357
|
+
label?: string | null;
|
|
358
|
+
execution_target?: string | null;
|
|
359
|
+
/** Plain sentence for a person when there is no browser to name. */
|
|
360
|
+
reason?: string | null;
|
|
361
|
+
};
|
|
362
|
+
/** DeleteExampleResponse */
|
|
363
|
+
type DeleteExampleResponse = {
|
|
364
|
+
message: string;
|
|
365
|
+
id: number;
|
|
366
|
+
};
|
|
367
|
+
/** DetailedHealthResponse */
|
|
368
|
+
type DetailedHealthResponse = {
|
|
369
|
+
status: string;
|
|
370
|
+
service: string;
|
|
371
|
+
timestamp: string;
|
|
372
|
+
uptime_seconds: number;
|
|
373
|
+
python_version: string;
|
|
374
|
+
components: {
|
|
375
|
+
[key: string]: {
|
|
376
|
+
[key: string]: JsonValue;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
/** Filter for batch dismiss. Empty body = dismiss every unrecovered row. */
|
|
381
|
+
type DismissBatchRequest = {
|
|
382
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
383
|
+
organization_id?: string | null;
|
|
384
|
+
/** Optional associated project selected by the caller. */
|
|
385
|
+
project_id?: string | null;
|
|
386
|
+
/** Optional associated task selected by the caller. */
|
|
387
|
+
task_id?: string | null;
|
|
388
|
+
/** Stable application slug that initiated the request. */
|
|
389
|
+
source_app?: string | null;
|
|
390
|
+
/** Stable feature slug within the source application. */
|
|
391
|
+
source_feature?: string | null;
|
|
392
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
393
|
+
initiation?: ("user" | "auto") | null;
|
|
394
|
+
/** When set, only dismiss these failure ids (must still be unrecovered). Other filter fields are ignored. */
|
|
395
|
+
ids?: string[] | null;
|
|
396
|
+
/** Why these rows are dismissed rather than replayed. */
|
|
397
|
+
reason?: string | null;
|
|
398
|
+
table_target?: string | null;
|
|
399
|
+
error_text_contains?: string | null;
|
|
400
|
+
/** Only dismiss rows whose failed_at is within this many seconds. Defaults to no time limit. */
|
|
401
|
+
max_age_secs?: number | null;
|
|
402
|
+
limit?: number;
|
|
403
|
+
};
|
|
404
|
+
/** DismissBatchResponse */
|
|
405
|
+
type DismissBatchResponse = {
|
|
406
|
+
dismissed_count: number;
|
|
407
|
+
dismissed_at: string;
|
|
408
|
+
};
|
|
409
|
+
/** DismissResponse */
|
|
410
|
+
type DismissResponse = {
|
|
411
|
+
id: string;
|
|
412
|
+
dismissed_at: string;
|
|
413
|
+
};
|
|
414
|
+
/** A set of the caller's schedules that all do the same work on the same trigger. */
|
|
415
|
+
type DuplicateScheduleGroup = {
|
|
416
|
+
fingerprint: string;
|
|
417
|
+
members: DuplicateScheduleMember[];
|
|
418
|
+
/** How many schedules in this group pay for work already being done. */
|
|
419
|
+
redundant_count: number;
|
|
420
|
+
/** How many are still enabled. A group whose extras are all paused is resolved -- it costs nothing -- and should not be shown as a live problem. */
|
|
421
|
+
enabled_count: number;
|
|
422
|
+
};
|
|
423
|
+
/** One schedule inside a duplicate group. */
|
|
424
|
+
type DuplicateScheduleMember = {
|
|
425
|
+
id: string;
|
|
426
|
+
title?: string | null;
|
|
427
|
+
enabled?: boolean;
|
|
428
|
+
created_at?: string | null;
|
|
429
|
+
/** True for the OLDEST schedule in the group -- the one that is not redundant. */
|
|
430
|
+
is_original?: boolean;
|
|
431
|
+
};
|
|
432
|
+
/** DuplicateScheduleResponse */
|
|
433
|
+
type DuplicateScheduleResponse = {
|
|
434
|
+
groups?: DuplicateScheduleGroup[];
|
|
435
|
+
};
|
|
436
|
+
/** ErrorReport */
|
|
437
|
+
type ErrorReport = {
|
|
438
|
+
/** Error message from the agent */
|
|
439
|
+
error: string;
|
|
440
|
+
/** Optional error details */
|
|
441
|
+
details?: {
|
|
442
|
+
[key: string]: unknown;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
/** ErrorResponse */
|
|
446
|
+
type ErrorResponse = {
|
|
447
|
+
status: string;
|
|
448
|
+
sandbox_id: string;
|
|
449
|
+
error_received: boolean;
|
|
450
|
+
};
|
|
451
|
+
/** ExecRequest */
|
|
452
|
+
type ExecRequest = {
|
|
453
|
+
command: string;
|
|
454
|
+
cwd?: string | null;
|
|
455
|
+
env?: {
|
|
456
|
+
[key: string]: string;
|
|
457
|
+
} | null;
|
|
458
|
+
stdin?: string | null;
|
|
459
|
+
timeout?: number;
|
|
460
|
+
user?: string | null;
|
|
461
|
+
[key: string]: unknown;
|
|
462
|
+
};
|
|
463
|
+
/** ExecRequest */
|
|
464
|
+
type ExecRequest_SandboxOrchestrator = {
|
|
465
|
+
/** Shell command to execute in the sandbox */
|
|
466
|
+
command: string;
|
|
467
|
+
/** Timeout in seconds (1-600) */
|
|
468
|
+
timeout?: number;
|
|
469
|
+
/** User to run command as */
|
|
470
|
+
user?: string;
|
|
471
|
+
/** Working directory to run the command in. If omitted, the server uses the last known CWD for this sandbox (defaults to /home/agent on first call). */
|
|
472
|
+
cwd?: string | null;
|
|
473
|
+
/** Additional env vars merged with the sandbox default env. Use for ad-hoc per-call values (NODE_ENV, GITHUB_TOKEN, …); persistent credentials should go through /credentials. */
|
|
474
|
+
env?: {
|
|
475
|
+
[key: string]: string;
|
|
476
|
+
} | null;
|
|
477
|
+
/** Optional stdin to feed to the command. Larger payloads bypass the command-length cap; use this instead of inline heredocs. */
|
|
478
|
+
stdin?: string | null;
|
|
479
|
+
};
|
|
480
|
+
/** ExecResponse */
|
|
481
|
+
type ExecResponse = {
|
|
482
|
+
exit_code: number;
|
|
483
|
+
stdout: string;
|
|
484
|
+
stderr: string;
|
|
485
|
+
cwd: string;
|
|
486
|
+
};
|
|
487
|
+
/** ExecResponse */
|
|
488
|
+
type ExecResponse_SandboxOrchestrator = {
|
|
489
|
+
exit_code: number;
|
|
490
|
+
stdout: string;
|
|
491
|
+
stderr: string;
|
|
492
|
+
/** Working directory after command execution. The frontend should send this value back as 'cwd' in the next ExecRequest. */
|
|
493
|
+
cwd?: string;
|
|
494
|
+
};
|
|
495
|
+
/** Structured error captured on a non-success terminal transition. Mirrors the */
|
|
496
|
+
type ExecutionError = {
|
|
497
|
+
error_type: string;
|
|
498
|
+
message: string;
|
|
499
|
+
traceback?: string | null;
|
|
500
|
+
status_code?: number | null;
|
|
501
|
+
[key: string]: unknown;
|
|
502
|
+
};
|
|
503
|
+
/** One append-only lifecycle-log row. */
|
|
504
|
+
type ExecutionEvent = {
|
|
505
|
+
id: string;
|
|
506
|
+
execution_id: string;
|
|
507
|
+
kind: ExecutionEventKind;
|
|
508
|
+
detail?: {
|
|
509
|
+
[key: string]: unknown;
|
|
510
|
+
} | null;
|
|
511
|
+
root_execution_id?: string | null;
|
|
512
|
+
seq?: number | null;
|
|
513
|
+
created_at?: string | null;
|
|
514
|
+
};
|
|
515
|
+
/** Append-only lifecycle-log entries (one per transition + checkpoints). */
|
|
516
|
+
type ExecutionEventKind = "created" | "started" | "paused" | "resumed" | "waiting_input" | "completed" | "failed" | "cancelled" | "checkpoint_saved" | "note";
|
|
517
|
+
/** ExecutionEventsResponse */
|
|
518
|
+
type ExecutionEventsResponse = {
|
|
519
|
+
execution_id: string;
|
|
520
|
+
event_count: number;
|
|
521
|
+
events: ExecutionEvent[];
|
|
522
|
+
request_summary?: {
|
|
523
|
+
[key: string]: unknown;
|
|
524
|
+
} | null;
|
|
525
|
+
};
|
|
526
|
+
/** Where a unit of work is. The ONLY column that marks progress; errors live */
|
|
527
|
+
type ExecutionStatus = "pending" | "running" | "paused" | "waiting_input" | "completed" | "failed" | "cancelled";
|
|
528
|
+
/** A request's whole execution tree in one read — the observability primitive. */
|
|
529
|
+
type ExecutionTree = {
|
|
530
|
+
root: ExecutionTreeNode;
|
|
531
|
+
node_count: number;
|
|
532
|
+
total_cost?: string;
|
|
533
|
+
total_meters?: {
|
|
534
|
+
[key: string]: string;
|
|
535
|
+
};
|
|
536
|
+
status_counts?: {
|
|
537
|
+
[key: string]: number;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
/** One execution as a node in the read-only tree view, with its children nested. */
|
|
541
|
+
type ExecutionTreeNode = {
|
|
542
|
+
id: string;
|
|
543
|
+
type: string;
|
|
544
|
+
status: ExecutionStatus;
|
|
545
|
+
parent_execution_id?: string | null;
|
|
546
|
+
cost?: string;
|
|
547
|
+
meters?: {
|
|
548
|
+
[key: string]: string;
|
|
549
|
+
};
|
|
550
|
+
link_kind?: string | null;
|
|
551
|
+
link_id?: string | null;
|
|
552
|
+
error?: ExecutionError | null;
|
|
553
|
+
created_at?: string | null;
|
|
554
|
+
started_at?: string | null;
|
|
555
|
+
ended_at?: string | null;
|
|
556
|
+
depth?: number;
|
|
557
|
+
children?: ExecutionTreeNode[];
|
|
558
|
+
};
|
|
559
|
+
/** ExtendRequest */
|
|
560
|
+
type ExtendRequest = {
|
|
561
|
+
/** Seconds to extend from now */
|
|
562
|
+
ttl_seconds?: number;
|
|
563
|
+
};
|
|
564
|
+
/** ExtendResponse */
|
|
565
|
+
type ExtendResponse = {
|
|
566
|
+
sandbox_id: string;
|
|
567
|
+
ttl_seconds: number;
|
|
568
|
+
expires_at: string;
|
|
569
|
+
new_expires_at: string;
|
|
570
|
+
};
|
|
571
|
+
/** One ``system_write_failure`` row — detail view (full payload). */
|
|
572
|
+
type FailureDetail = {
|
|
573
|
+
id: string;
|
|
574
|
+
op_id: string;
|
|
575
|
+
table_target: string;
|
|
576
|
+
op_type: "insert" | "update" | "delete";
|
|
577
|
+
request_id: string | null;
|
|
578
|
+
user_id: string | null;
|
|
579
|
+
conversation_id: string | null;
|
|
580
|
+
primary_key: JsonValue;
|
|
581
|
+
payload: JsonValue;
|
|
582
|
+
depends_on: JsonValue | null;
|
|
583
|
+
error_text: string;
|
|
584
|
+
traceback: string | null;
|
|
585
|
+
failed_at: string;
|
|
586
|
+
retry_count: number;
|
|
587
|
+
recovered_at: string | null;
|
|
588
|
+
recovery_op_id: string | null;
|
|
589
|
+
};
|
|
590
|
+
/** FailureListResponse */
|
|
591
|
+
type FailureListResponse = {
|
|
592
|
+
rows: FailureSummary[];
|
|
593
|
+
total: number;
|
|
594
|
+
limit: number;
|
|
595
|
+
offset: number;
|
|
596
|
+
};
|
|
597
|
+
/** One ``system_write_failure`` row — list view (payload truncated). */
|
|
598
|
+
type FailureSummary = {
|
|
599
|
+
id: string;
|
|
600
|
+
op_id: string;
|
|
601
|
+
table_target: string;
|
|
602
|
+
op_type: "insert" | "update" | "delete";
|
|
603
|
+
request_id: string | null;
|
|
604
|
+
user_id: string | null;
|
|
605
|
+
conversation_id: string | null;
|
|
606
|
+
error_text: string;
|
|
607
|
+
failed_at: string;
|
|
608
|
+
retry_count: number;
|
|
609
|
+
recovered_at: string | null;
|
|
610
|
+
recovery_op_id: string | null;
|
|
611
|
+
age_secs: number;
|
|
612
|
+
};
|
|
613
|
+
/** A human's verdict on a reap. `why` is REQUIRED — a ruling with no stated reason is */
|
|
614
|
+
type FalseReapRuling = {
|
|
615
|
+
why: string;
|
|
616
|
+
verdict?: string;
|
|
617
|
+
};
|
|
618
|
+
/** One entry in a directory listing — mirrors the orchestrator's */
|
|
619
|
+
type FsEntry = {
|
|
620
|
+
name: string;
|
|
621
|
+
path: string;
|
|
622
|
+
kind: "file" | "dir" | "symlink" | "other";
|
|
623
|
+
size?: number;
|
|
624
|
+
mtime?: number | null;
|
|
625
|
+
mode?: number | null;
|
|
626
|
+
target?: string | null;
|
|
627
|
+
};
|
|
628
|
+
/** FsListResponse */
|
|
629
|
+
type FsListResponse = {
|
|
630
|
+
entries: FsEntry[];
|
|
631
|
+
};
|
|
632
|
+
/** FsMkdirRequest */
|
|
633
|
+
type FsMkdirRequest = {
|
|
634
|
+
path: string;
|
|
635
|
+
parents?: boolean;
|
|
636
|
+
};
|
|
637
|
+
/** FsMkdirResponse */
|
|
638
|
+
type FsMkdirResponse = {
|
|
639
|
+
path: string;
|
|
640
|
+
created: boolean;
|
|
641
|
+
};
|
|
642
|
+
/** FsPatchEdit */
|
|
643
|
+
type FsPatchEdit = {
|
|
644
|
+
old_text: string;
|
|
645
|
+
new_text: string;
|
|
646
|
+
replace_all?: boolean;
|
|
647
|
+
};
|
|
648
|
+
/** FsPatchRequest */
|
|
649
|
+
type FsPatchRequest = {
|
|
650
|
+
path: string;
|
|
651
|
+
edits: FsPatchEdit[];
|
|
652
|
+
create_if_missing?: boolean;
|
|
653
|
+
};
|
|
654
|
+
/** FsPatchResponse */
|
|
655
|
+
type FsPatchResponse = {
|
|
656
|
+
path: string;
|
|
657
|
+
applied: number;
|
|
658
|
+
};
|
|
659
|
+
/** FsStatResponse */
|
|
660
|
+
type FsStatResponse = {
|
|
661
|
+
path: string;
|
|
662
|
+
kind: "file" | "dir" | "symlink" | "other";
|
|
663
|
+
size?: number;
|
|
664
|
+
mtime?: number | null;
|
|
665
|
+
mode?: number | null;
|
|
666
|
+
target?: string | null;
|
|
667
|
+
exists?: boolean;
|
|
668
|
+
};
|
|
669
|
+
/** FsWriteRequest */
|
|
670
|
+
type FsWriteRequest = {
|
|
671
|
+
path: string;
|
|
672
|
+
content: string;
|
|
673
|
+
encoding?: "utf8" | "base64";
|
|
674
|
+
create_parents?: boolean;
|
|
675
|
+
mode?: number | null;
|
|
676
|
+
};
|
|
677
|
+
/** FsWriteResponse */
|
|
678
|
+
type FsWriteResponse = {
|
|
679
|
+
path: string;
|
|
680
|
+
bytes_written: number;
|
|
681
|
+
};
|
|
682
|
+
/** HealthResponse */
|
|
683
|
+
type HealthResponse = {
|
|
684
|
+
status: string;
|
|
685
|
+
service: string;
|
|
686
|
+
timestamp: string;
|
|
687
|
+
uptime_seconds: number;
|
|
688
|
+
};
|
|
689
|
+
/** HealthResponse */
|
|
690
|
+
type HealthResponse_SandboxOrchestrator = {
|
|
691
|
+
status: string;
|
|
692
|
+
active_sandboxes: number | null;
|
|
693
|
+
uptime_seconds: number;
|
|
694
|
+
store_backend?: string;
|
|
695
|
+
durable_storage?: boolean;
|
|
696
|
+
};
|
|
697
|
+
/** HeartbeatResponse */
|
|
698
|
+
type HeartbeatResponse_SandboxOrchestrator = {
|
|
699
|
+
acknowledged: boolean;
|
|
700
|
+
sandbox_id: string;
|
|
701
|
+
};
|
|
702
|
+
/** IssueClassBatchResult */
|
|
703
|
+
type IssueClassBatchResult = {
|
|
704
|
+
updated_count: number;
|
|
705
|
+
requested_count: number;
|
|
706
|
+
failed_ids: string[];
|
|
707
|
+
};
|
|
708
|
+
/** Apply the same field changes to many issue classes at once. */
|
|
709
|
+
type IssueClassBatchUpdate = {
|
|
710
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
711
|
+
organization_id?: string | null;
|
|
712
|
+
/** Optional associated project selected by the caller. */
|
|
713
|
+
project_id?: string | null;
|
|
714
|
+
/** Optional associated task selected by the caller. */
|
|
715
|
+
task_id?: string | null;
|
|
716
|
+
/** Stable application slug that initiated the request. */
|
|
717
|
+
source_app?: string | null;
|
|
718
|
+
/** Stable feature slug within the source application. */
|
|
719
|
+
source_feature?: string | null;
|
|
720
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
721
|
+
initiation?: ("user" | "auto") | null;
|
|
722
|
+
ids: string[];
|
|
723
|
+
disposition?: string | null;
|
|
724
|
+
severity?: string | null;
|
|
725
|
+
alert_threshold?: number | null;
|
|
726
|
+
alert_window_minutes?: number | null;
|
|
727
|
+
resolution_notes?: string | null;
|
|
728
|
+
};
|
|
729
|
+
/** IssueClassEmbed */
|
|
730
|
+
type IssueClassEmbed = {
|
|
731
|
+
key?: string;
|
|
732
|
+
name?: string;
|
|
733
|
+
category?: string;
|
|
734
|
+
severity?: string;
|
|
735
|
+
disposition?: string;
|
|
736
|
+
};
|
|
737
|
+
/** ``ops_issue_class`` row as projected by ``to_dict()``. */
|
|
738
|
+
type IssueClassRecord = {
|
|
739
|
+
id?: string | null;
|
|
740
|
+
key?: string | null;
|
|
741
|
+
name?: string | null;
|
|
742
|
+
description?: string | null;
|
|
743
|
+
category?: string | null;
|
|
744
|
+
severity?: string | null;
|
|
745
|
+
disposition?: string | null;
|
|
746
|
+
is_active?: boolean | null;
|
|
747
|
+
alert_threshold?: number | null;
|
|
748
|
+
alert_window_minutes?: number | null;
|
|
749
|
+
resolution_notes?: string | null;
|
|
750
|
+
[key: string]: unknown;
|
|
751
|
+
};
|
|
752
|
+
/** IssueClassStatsResponse */
|
|
753
|
+
type IssueClassStatsResponse = {
|
|
754
|
+
total_events: number;
|
|
755
|
+
recovered_events: number;
|
|
756
|
+
unrecovered_events: number;
|
|
757
|
+
recovery_rate: number;
|
|
758
|
+
events_24h: number;
|
|
759
|
+
};
|
|
760
|
+
/** IssueClassUpdate */
|
|
761
|
+
type IssueClassUpdate = {
|
|
762
|
+
disposition?: string | null;
|
|
763
|
+
severity?: string | null;
|
|
764
|
+
name?: string | null;
|
|
765
|
+
description?: string | null;
|
|
766
|
+
alert_threshold?: number | null;
|
|
767
|
+
alert_window_minutes?: number | null;
|
|
768
|
+
resolution_notes?: string | null;
|
|
769
|
+
};
|
|
770
|
+
/** ``ops_issue_event`` row + optional ``ops_issue_class`` embed. */
|
|
771
|
+
type IssueEventRecord = {
|
|
772
|
+
id?: string | null;
|
|
773
|
+
issue_class_id?: string | null;
|
|
774
|
+
provider?: string | null;
|
|
775
|
+
was_recovered?: boolean | null;
|
|
776
|
+
occurred_at?: JsonValue | null;
|
|
777
|
+
ops_issue_class?: IssueClassEmbed | null;
|
|
778
|
+
[key: string]: unknown;
|
|
779
|
+
};
|
|
780
|
+
/** Item */
|
|
781
|
+
type Item = {
|
|
782
|
+
name: string;
|
|
783
|
+
description?: string | null;
|
|
784
|
+
price: number;
|
|
785
|
+
tags?: string[];
|
|
786
|
+
};
|
|
787
|
+
/** ItemResponse */
|
|
788
|
+
type ItemResponse = {
|
|
789
|
+
id: number;
|
|
790
|
+
item: Item;
|
|
791
|
+
created?: boolean;
|
|
792
|
+
};
|
|
793
|
+
/** JsonRpcResponse */
|
|
794
|
+
type JsonRpcResponse = {
|
|
795
|
+
jsonrpc?: string;
|
|
796
|
+
id?: number | string | null;
|
|
797
|
+
result?: JsonValue | null;
|
|
798
|
+
error?: {
|
|
799
|
+
[key: string]: JsonValue;
|
|
800
|
+
} | null;
|
|
801
|
+
};
|
|
802
|
+
/** One incident with the diagnostic payload — each field capped. */
|
|
803
|
+
type KindIncidentDetail = {
|
|
804
|
+
id: string;
|
|
805
|
+
kind: string;
|
|
806
|
+
kind_definition_id: string;
|
|
807
|
+
error_type: string;
|
|
808
|
+
message: string;
|
|
809
|
+
platform: string | null;
|
|
810
|
+
role: string | null;
|
|
811
|
+
component_key: string | null;
|
|
812
|
+
component_version: number | null;
|
|
813
|
+
occurrences: number;
|
|
814
|
+
first_seen_at: string | null;
|
|
815
|
+
last_seen_at: string | null;
|
|
816
|
+
routes: string[];
|
|
817
|
+
signal: string | null;
|
|
818
|
+
resolved: boolean;
|
|
819
|
+
resolved_at: string | null;
|
|
820
|
+
resolution_notes: string | null;
|
|
821
|
+
full_message: string;
|
|
822
|
+
stack: string | null;
|
|
823
|
+
data_shape: JsonValue | null;
|
|
824
|
+
browser: JsonValue | null;
|
|
825
|
+
truncated_fields?: string[];
|
|
826
|
+
};
|
|
827
|
+
/** KindIncidentKindStat */
|
|
828
|
+
type KindIncidentKindStat = {
|
|
829
|
+
kind: string;
|
|
830
|
+
open_incidents: number;
|
|
831
|
+
observations: number;
|
|
832
|
+
last_seen_at: string | null;
|
|
833
|
+
};
|
|
834
|
+
/** KindIncidentListResponse */
|
|
835
|
+
type KindIncidentListResponse = {
|
|
836
|
+
rows: KindIncidentSummary[];
|
|
837
|
+
returned: number;
|
|
838
|
+
total: number;
|
|
839
|
+
limit: number;
|
|
840
|
+
offset: number;
|
|
841
|
+
};
|
|
842
|
+
/** The shape of the queue — what to fix first, in one object. */
|
|
843
|
+
type KindIncidentMetrics = {
|
|
844
|
+
open_incidents: number;
|
|
845
|
+
resolved_incidents: number;
|
|
846
|
+
open_observations: number;
|
|
847
|
+
by_error_type: {
|
|
848
|
+
[key: string]: number;
|
|
849
|
+
};
|
|
850
|
+
worst_kinds: KindIncidentKindStat[];
|
|
851
|
+
kinds_affected: number;
|
|
852
|
+
};
|
|
853
|
+
/** KindIncidentResolveResponse */
|
|
854
|
+
type KindIncidentResolveResponse = {
|
|
855
|
+
resolved_ids: string[];
|
|
856
|
+
requested: number;
|
|
857
|
+
skipped_ids: string[];
|
|
858
|
+
};
|
|
859
|
+
/** One incident, at triage weight. */
|
|
860
|
+
type KindIncidentSummary = {
|
|
861
|
+
id: string;
|
|
862
|
+
kind: string;
|
|
863
|
+
kind_definition_id: string;
|
|
864
|
+
error_type: string;
|
|
865
|
+
message: string;
|
|
866
|
+
platform: string | null;
|
|
867
|
+
role: string | null;
|
|
868
|
+
component_key: string | null;
|
|
869
|
+
component_version: number | null;
|
|
870
|
+
occurrences: number;
|
|
871
|
+
first_seen_at: string | null;
|
|
872
|
+
last_seen_at: string | null;
|
|
873
|
+
routes: string[];
|
|
874
|
+
signal: string | null;
|
|
875
|
+
resolved: boolean;
|
|
876
|
+
resolved_at: string | null;
|
|
877
|
+
resolution_notes: string | null;
|
|
878
|
+
};
|
|
879
|
+
/** LifecycleOperationRequest */
|
|
880
|
+
type LifecycleOperationRequest = {
|
|
881
|
+
operation_id: string;
|
|
882
|
+
kind: "stop" | "delete";
|
|
883
|
+
graceful?: boolean;
|
|
884
|
+
};
|
|
885
|
+
/** ListExamplesResponse */
|
|
886
|
+
type ListExamplesResponse = {
|
|
887
|
+
total: number;
|
|
888
|
+
items: ItemResponse[];
|
|
889
|
+
};
|
|
890
|
+
/** LivenessResponse */
|
|
891
|
+
type LivenessResponse = {
|
|
892
|
+
status: string;
|
|
893
|
+
uptime_seconds: number;
|
|
894
|
+
};
|
|
895
|
+
/** LockStormResponse */
|
|
896
|
+
type LockStormResponse = {
|
|
897
|
+
verdict: string;
|
|
898
|
+
checked_at?: string | null;
|
|
899
|
+
waiters?: number;
|
|
900
|
+
longest_wait_seconds?: number | null;
|
|
901
|
+
waiter_count_threshold?: number | null;
|
|
902
|
+
waiting_seconds_threshold?: number | null;
|
|
903
|
+
relations?: {
|
|
904
|
+
[key: string]: JsonValue;
|
|
905
|
+
}[];
|
|
906
|
+
root_blocker?: {
|
|
907
|
+
[key: string]: JsonValue;
|
|
908
|
+
} | null;
|
|
909
|
+
note?: string | null;
|
|
910
|
+
[key: string]: unknown;
|
|
911
|
+
};
|
|
912
|
+
/** LogFileListResponse */
|
|
913
|
+
type LogFileListResponse = {
|
|
914
|
+
files: LogFileSummary[];
|
|
915
|
+
count: number;
|
|
916
|
+
log_dir: string;
|
|
917
|
+
debug_dir: string;
|
|
918
|
+
};
|
|
919
|
+
/** LogFileSummary */
|
|
920
|
+
type LogFileSummary = {
|
|
921
|
+
name: string;
|
|
922
|
+
source: "stdlib" | "tool-trace";
|
|
923
|
+
size_bytes: number;
|
|
924
|
+
modified_at: string;
|
|
925
|
+
is_current: boolean;
|
|
926
|
+
};
|
|
927
|
+
/** LogPattern */
|
|
928
|
+
type LogPattern = {
|
|
929
|
+
logger_name: string;
|
|
930
|
+
feature: string;
|
|
931
|
+
level: string;
|
|
932
|
+
pattern: string;
|
|
933
|
+
sample: string;
|
|
934
|
+
count: number;
|
|
935
|
+
};
|
|
936
|
+
/** MemoryEntry */
|
|
937
|
+
type MemoryEntry = {
|
|
938
|
+
path: string;
|
|
939
|
+
content: string;
|
|
940
|
+
updated_at?: unknown | null;
|
|
941
|
+
};
|
|
942
|
+
/** MemoryListResponse */
|
|
943
|
+
type MemoryListResponse = {
|
|
944
|
+
user_id: string;
|
|
945
|
+
entries: MemoryEntry[];
|
|
946
|
+
total: number;
|
|
947
|
+
};
|
|
948
|
+
/** MemoryPutRequest */
|
|
949
|
+
type MemoryPutRequest = {
|
|
950
|
+
content: string;
|
|
951
|
+
};
|
|
952
|
+
/** Body of ``POST /broker/tokens``. */
|
|
953
|
+
type MintTokenRequest = {
|
|
954
|
+
audience: string;
|
|
955
|
+
tier_policy: "none" | "guest" | "mid";
|
|
956
|
+
ttl_seconds?: number | null;
|
|
957
|
+
model?: string | null;
|
|
958
|
+
scopes?: string[];
|
|
959
|
+
settings?: {
|
|
960
|
+
[key: string]: unknown;
|
|
961
|
+
} | null;
|
|
962
|
+
};
|
|
963
|
+
/** MuteListResponse */
|
|
964
|
+
type MuteListResponse = {
|
|
965
|
+
muted: MutedPattern[];
|
|
966
|
+
suppression_rules: SuppressionRuleInfo[];
|
|
967
|
+
};
|
|
968
|
+
/** Mute a signature: pass an already-normalized ``signature`` (from a */
|
|
969
|
+
type MuteRequest = {
|
|
970
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
971
|
+
organization_id?: string | null;
|
|
972
|
+
/** Optional associated project selected by the caller. */
|
|
973
|
+
project_id?: string | null;
|
|
974
|
+
/** Optional associated task selected by the caller. */
|
|
975
|
+
task_id?: string | null;
|
|
976
|
+
/** Stable application slug that initiated the request. */
|
|
977
|
+
source_app?: string | null;
|
|
978
|
+
/** Stable feature slug within the source application. */
|
|
979
|
+
source_feature?: string | null;
|
|
980
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
981
|
+
initiation?: ("user" | "auto") | null;
|
|
982
|
+
signature?: string | null;
|
|
983
|
+
message?: string | null;
|
|
984
|
+
label?: string | null;
|
|
985
|
+
};
|
|
986
|
+
/** An admin UI-muted signature (app_log_muted_pattern row). */
|
|
987
|
+
type MutedPattern = {
|
|
988
|
+
id: string;
|
|
989
|
+
signature: string;
|
|
990
|
+
label?: string | null;
|
|
991
|
+
created_by?: string | null;
|
|
992
|
+
created_at: string;
|
|
993
|
+
};
|
|
994
|
+
/** A manual collapse/normalization rule (app_log_norm_exception row). */
|
|
995
|
+
type NormException = {
|
|
996
|
+
id: string;
|
|
997
|
+
match: string;
|
|
998
|
+
replace_pattern: string;
|
|
999
|
+
replacement: string;
|
|
1000
|
+
label?: string | null;
|
|
1001
|
+
created_by?: string | null;
|
|
1002
|
+
created_at: string;
|
|
1003
|
+
};
|
|
1004
|
+
/** NormExceptionListResponse */
|
|
1005
|
+
type NormExceptionListResponse = {
|
|
1006
|
+
exceptions: NormException[];
|
|
1007
|
+
};
|
|
1008
|
+
/** NormExceptionRequest */
|
|
1009
|
+
type NormExceptionRequest = {
|
|
1010
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1011
|
+
organization_id?: string | null;
|
|
1012
|
+
/** Optional associated project selected by the caller. */
|
|
1013
|
+
project_id?: string | null;
|
|
1014
|
+
/** Optional associated task selected by the caller. */
|
|
1015
|
+
task_id?: string | null;
|
|
1016
|
+
/** Stable application slug that initiated the request. */
|
|
1017
|
+
source_app?: string | null;
|
|
1018
|
+
/** Stable feature slug within the source application. */
|
|
1019
|
+
source_feature?: string | null;
|
|
1020
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1021
|
+
initiation?: ("user" | "auto") | null;
|
|
1022
|
+
match: string;
|
|
1023
|
+
replace_pattern: string;
|
|
1024
|
+
replacement?: string | null;
|
|
1025
|
+
label?: string | null;
|
|
1026
|
+
};
|
|
1027
|
+
/** OpenOutageListResponse */
|
|
1028
|
+
type OpenOutageListResponse = {
|
|
1029
|
+
outages: OpenOutageRecord[];
|
|
1030
|
+
};
|
|
1031
|
+
/** One provider that is refusing every call, right now. */
|
|
1032
|
+
type OpenOutageRecord = {
|
|
1033
|
+
id: string;
|
|
1034
|
+
provider?: string | null;
|
|
1035
|
+
error_type?: string | null;
|
|
1036
|
+
error_text?: string | null;
|
|
1037
|
+
first_seen_at?: string | null;
|
|
1038
|
+
consecutive_failures?: number | null;
|
|
1039
|
+
models_affected?: string[];
|
|
1040
|
+
rerouted_to?: string[];
|
|
1041
|
+
occurred_at?: string | null;
|
|
1042
|
+
};
|
|
1043
|
+
/** OpenRuntimeResponse */
|
|
1044
|
+
type OpenRuntimeResponse = {
|
|
1045
|
+
[key: string]: unknown;
|
|
1046
|
+
};
|
|
1047
|
+
/** One durable spine event on the wire — seq is the reconnect cursor. */
|
|
1048
|
+
type OperationEvent = {
|
|
1049
|
+
seq?: number | null;
|
|
1050
|
+
kind: string;
|
|
1051
|
+
execution_id: string;
|
|
1052
|
+
root_execution_id?: string | null;
|
|
1053
|
+
detail?: {
|
|
1054
|
+
[key: string]: unknown;
|
|
1055
|
+
} | null;
|
|
1056
|
+
created_at?: string | null;
|
|
1057
|
+
};
|
|
1058
|
+
/** OperationEventsPage */
|
|
1059
|
+
type OperationEventsPage = {
|
|
1060
|
+
execution_id: string;
|
|
1061
|
+
root_execution_id: string;
|
|
1062
|
+
events: OperationEvent[];
|
|
1063
|
+
next_after_seq: number;
|
|
1064
|
+
has_more: boolean;
|
|
1065
|
+
root_status: ExecutionStatus;
|
|
1066
|
+
root_is_terminal: boolean;
|
|
1067
|
+
};
|
|
1068
|
+
/** OperationStatusResponse */
|
|
1069
|
+
type OperationStatusResponse = {
|
|
1070
|
+
request_id: string;
|
|
1071
|
+
operation_count: number;
|
|
1072
|
+
operations: OperationView[];
|
|
1073
|
+
};
|
|
1074
|
+
/** One root execution as a reconnecting client sees it: where the operation */
|
|
1075
|
+
type OperationView = {
|
|
1076
|
+
execution_id: string;
|
|
1077
|
+
request_id: string | null;
|
|
1078
|
+
type: string;
|
|
1079
|
+
status: ExecutionStatus;
|
|
1080
|
+
is_terminal: boolean;
|
|
1081
|
+
waiting_input: boolean;
|
|
1082
|
+
cost: string;
|
|
1083
|
+
meters: {
|
|
1084
|
+
[key: string]: string;
|
|
1085
|
+
};
|
|
1086
|
+
link_kind?: string | null;
|
|
1087
|
+
link_id?: string | null;
|
|
1088
|
+
root_execution_id?: string | null;
|
|
1089
|
+
root_request_id?: string | null;
|
|
1090
|
+
error?: {
|
|
1091
|
+
[key: string]: unknown;
|
|
1092
|
+
} | null;
|
|
1093
|
+
created_at?: string | null;
|
|
1094
|
+
started_at?: string | null;
|
|
1095
|
+
ended_at?: string | null;
|
|
1096
|
+
last_event_seq: number;
|
|
1097
|
+
events_path: string;
|
|
1098
|
+
stream_path: string;
|
|
1099
|
+
};
|
|
1100
|
+
/** OperationsByLinkResponse */
|
|
1101
|
+
type OperationsByLinkResponse = {
|
|
1102
|
+
link_kind: string;
|
|
1103
|
+
link_id: string;
|
|
1104
|
+
operation_count: number;
|
|
1105
|
+
operations: OperationView[];
|
|
1106
|
+
};
|
|
1107
|
+
/** OpsSummaryResponse */
|
|
1108
|
+
type OpsSummaryResponse = {
|
|
1109
|
+
total_issue_classes: number;
|
|
1110
|
+
active_issue_classes: number;
|
|
1111
|
+
suppressed_issue_classes: number;
|
|
1112
|
+
total_events: number;
|
|
1113
|
+
unrecovered_events: number;
|
|
1114
|
+
recovered_events: number;
|
|
1115
|
+
events_24h: number;
|
|
1116
|
+
unrecovered_24h: number;
|
|
1117
|
+
};
|
|
1118
|
+
/** Top-level dashboard signal. */
|
|
1119
|
+
type PersistenceSummary = {
|
|
1120
|
+
stuck_rows_total: number;
|
|
1121
|
+
tables_with_stuck_rows: number;
|
|
1122
|
+
tables_breaching_sla: number;
|
|
1123
|
+
unrecovered_failures: number;
|
|
1124
|
+
oldest_unrecovered_failure_age_secs: number | null;
|
|
1125
|
+
last_failure_at: string | null;
|
|
1126
|
+
unresolved_errors?: number;
|
|
1127
|
+
last_error_at?: string | null;
|
|
1128
|
+
};
|
|
1129
|
+
/** Preview next-fire times for any trigger config, not just cron. */
|
|
1130
|
+
type PreviewFiresRequest = {
|
|
1131
|
+
trigger_type: "one-shot" | "interval" | "cron" | "heartbeat" | "context-match" | "event" | "manual" | "dependency";
|
|
1132
|
+
config?: {
|
|
1133
|
+
[key: string]: unknown;
|
|
1134
|
+
};
|
|
1135
|
+
n?: number;
|
|
1136
|
+
};
|
|
1137
|
+
/** PreviewFiresResponse */
|
|
1138
|
+
type PreviewFiresResponse = {
|
|
1139
|
+
next_fires_utc?: string[];
|
|
1140
|
+
event_driven?: boolean;
|
|
1141
|
+
};
|
|
1142
|
+
/** Body of ``POST /broker/provider-failures`` — what the provider told the browser. */
|
|
1143
|
+
type ProviderSessionFailureReport = {
|
|
1144
|
+
provider: "openai" | "xai" | "cartesia";
|
|
1145
|
+
model?: string | null;
|
|
1146
|
+
status_code?: number | null;
|
|
1147
|
+
error_type?: string | null;
|
|
1148
|
+
message: string;
|
|
1149
|
+
};
|
|
1150
|
+
/** The shared classification of a reported session failure. */
|
|
1151
|
+
type ProviderSessionFailureVerdict = {
|
|
1152
|
+
error_type: string;
|
|
1153
|
+
retryable: boolean;
|
|
1154
|
+
user_message: string;
|
|
1155
|
+
};
|
|
1156
|
+
/** Outcome of one retention pass. */
|
|
1157
|
+
type PruneResult = {
|
|
1158
|
+
ok?: boolean;
|
|
1159
|
+
dry_run?: boolean;
|
|
1160
|
+
retention_days?: number;
|
|
1161
|
+
cutoff?: string;
|
|
1162
|
+
candidates?: number;
|
|
1163
|
+
deleted?: number;
|
|
1164
|
+
pinned_skipped?: number;
|
|
1165
|
+
newly_pinned?: number;
|
|
1166
|
+
hit_batch_limit?: boolean;
|
|
1167
|
+
referenced_ids?: number;
|
|
1168
|
+
reference_sources?: string[];
|
|
1169
|
+
error?: string | null;
|
|
1170
|
+
};
|
|
1171
|
+
/** RagKindsRequest */
|
|
1172
|
+
type RagKindsRequest = {
|
|
1173
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1174
|
+
organization_id?: string | null;
|
|
1175
|
+
/** Optional associated project selected by the caller. */
|
|
1176
|
+
project_id?: string | null;
|
|
1177
|
+
/** Optional associated task selected by the caller. */
|
|
1178
|
+
task_id?: string | null;
|
|
1179
|
+
/** Stable application slug that initiated the request. */
|
|
1180
|
+
source_app?: string | null;
|
|
1181
|
+
/** Stable feature slug within the source application. */
|
|
1182
|
+
source_feature?: string | null;
|
|
1183
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1184
|
+
initiation?: ("user" | "auto") | null;
|
|
1185
|
+
query: string;
|
|
1186
|
+
limit?: number;
|
|
1187
|
+
/** Restrict to these source kinds. None searches everything. */
|
|
1188
|
+
source_kinds?: string[] | null;
|
|
1189
|
+
/** Also stream the raw engine hits (the second projection). Off by default. */
|
|
1190
|
+
include_raw?: boolean;
|
|
1191
|
+
/** Also write a REAL grounded answer over these hits and return it as `rag_synthesize_result`, so `citations` can be shown as openable sources rather than asserted. OFF by default because it spends model */
|
|
1192
|
+
synthesize?: boolean;
|
|
1193
|
+
};
|
|
1194
|
+
/** RankKindsRequest */
|
|
1195
|
+
type RankKindsRequest = {
|
|
1196
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1197
|
+
organization_id?: string | null;
|
|
1198
|
+
/** Optional associated project selected by the caller. */
|
|
1199
|
+
project_id?: string | null;
|
|
1200
|
+
/** Optional associated task selected by the caller. */
|
|
1201
|
+
task_id?: string | null;
|
|
1202
|
+
/** Stable application slug that initiated the request. */
|
|
1203
|
+
source_app?: string | null;
|
|
1204
|
+
/** Stable feature slug within the source application. */
|
|
1205
|
+
source_feature?: string | null;
|
|
1206
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1207
|
+
initiation?: ("user" | "auto") | null;
|
|
1208
|
+
/** A specific seo.serp_snapshot to translate. Omit to take the most recent. */
|
|
1209
|
+
snapshot_id?: string | null;
|
|
1210
|
+
/** Used only when snapshot_id is omitted. */
|
|
1211
|
+
provider?: "brave" | "serpapi" | "dataforseo";
|
|
1212
|
+
/** Also stream the raw provider payload (the second projection). Off by default. */
|
|
1213
|
+
include_raw?: boolean;
|
|
1214
|
+
};
|
|
1215
|
+
/** ReadinessResponse */
|
|
1216
|
+
type ReadinessResponse = {
|
|
1217
|
+
status: string;
|
|
1218
|
+
uptime_seconds: number;
|
|
1219
|
+
detail?: string | null;
|
|
1220
|
+
db_latency_ms?: number | null;
|
|
1221
|
+
};
|
|
1222
|
+
/** RecentExecutionsResponse */
|
|
1223
|
+
type RecentExecutionsResponse = {
|
|
1224
|
+
count: number;
|
|
1225
|
+
executions: ExecutionTreeNode[];
|
|
1226
|
+
};
|
|
1227
|
+
/** Filter for batch replay. Empty body = retry every unrecovered row. */
|
|
1228
|
+
type ReplayBatchRequest = {
|
|
1229
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1230
|
+
organization_id?: string | null;
|
|
1231
|
+
/** Optional associated project selected by the caller. */
|
|
1232
|
+
project_id?: string | null;
|
|
1233
|
+
/** Optional associated task selected by the caller. */
|
|
1234
|
+
task_id?: string | null;
|
|
1235
|
+
/** Stable application slug that initiated the request. */
|
|
1236
|
+
source_app?: string | null;
|
|
1237
|
+
/** Stable feature slug within the source application. */
|
|
1238
|
+
source_feature?: string | null;
|
|
1239
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1240
|
+
initiation?: ("user" | "auto") | null;
|
|
1241
|
+
/** When set, only replay these failure ids (must still be unrecovered). Other filter fields are ignored. */
|
|
1242
|
+
ids?: string[] | null;
|
|
1243
|
+
table_target?: string | null;
|
|
1244
|
+
error_text_contains?: string | null;
|
|
1245
|
+
/** Only retry rows whose failed_at is within this many seconds. Defaults to no time limit. */
|
|
1246
|
+
max_age_secs?: number | null;
|
|
1247
|
+
limit?: number;
|
|
1248
|
+
/** If True, only retry the InterfaceError class that the original flush-sequentialization fix targeted. If False, retry all unrecovered rows regardless of cause. */
|
|
1249
|
+
only_default_error_class?: boolean;
|
|
1250
|
+
};
|
|
1251
|
+
/** Result of a single-row or batch replay. */
|
|
1252
|
+
type ReplayResponse = {
|
|
1253
|
+
candidates: number;
|
|
1254
|
+
recovered_count: number;
|
|
1255
|
+
still_failed_count: number;
|
|
1256
|
+
skipped_count: number;
|
|
1257
|
+
errors?: string[];
|
|
1258
|
+
};
|
|
1259
|
+
/** Filter for batch resolve. Empty body = resolve every unresolved row. */
|
|
1260
|
+
type ResolveBatchRequest = {
|
|
1261
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1262
|
+
organization_id?: string | null;
|
|
1263
|
+
/** Optional associated project selected by the caller. */
|
|
1264
|
+
project_id?: string | null;
|
|
1265
|
+
/** Optional associated task selected by the caller. */
|
|
1266
|
+
task_id?: string | null;
|
|
1267
|
+
/** Stable application slug that initiated the request. */
|
|
1268
|
+
source_app?: string | null;
|
|
1269
|
+
/** Stable feature slug within the source application. */
|
|
1270
|
+
source_feature?: string | null;
|
|
1271
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1272
|
+
initiation?: ("user" | "auto") | null;
|
|
1273
|
+
/** When set, only resolve these system_error ids (must still be unresolved). Other filter fields are ignored. */
|
|
1274
|
+
ids?: string[] | null;
|
|
1275
|
+
kind?: string | null;
|
|
1276
|
+
error_text_contains?: string | null;
|
|
1277
|
+
/** Only resolve rows whose occurred_at is within this many seconds. Defaults to no time limit. */
|
|
1278
|
+
max_age_secs?: number | null;
|
|
1279
|
+
limit?: number;
|
|
1280
|
+
/** Why these errors are being marked resolved. */
|
|
1281
|
+
resolution_note?: string;
|
|
1282
|
+
};
|
|
1283
|
+
/** ResolveBatchResponse */
|
|
1284
|
+
type ResolveBatchResponse = {
|
|
1285
|
+
resolved_count: number;
|
|
1286
|
+
resolved_at: string;
|
|
1287
|
+
};
|
|
1288
|
+
/** ResolveErrorResponse */
|
|
1289
|
+
type ResolveErrorResponse = {
|
|
1290
|
+
id: string;
|
|
1291
|
+
resolved_at: string;
|
|
1292
|
+
};
|
|
1293
|
+
/** ResolveKindIncidentsRequest */
|
|
1294
|
+
type ResolveKindIncidentsRequest = {
|
|
1295
|
+
ids: string[];
|
|
1296
|
+
resolution_notes: string;
|
|
1297
|
+
};
|
|
1298
|
+
/** Optional resource overrides for a sandbox container. */
|
|
1299
|
+
type ResourcesSpec = {
|
|
1300
|
+
/** CPU cores */
|
|
1301
|
+
cpu?: number | null;
|
|
1302
|
+
/** RAM in MB */
|
|
1303
|
+
memory_mb?: number | null;
|
|
1304
|
+
/** Disk in MB (informational; not enforced today) */
|
|
1305
|
+
disk_mb?: number | null;
|
|
1306
|
+
};
|
|
1307
|
+
/** What the nightly system task did — all three duties in one envelope. */
|
|
1308
|
+
type RetentionRunResult = {
|
|
1309
|
+
prune: PruneResult;
|
|
1310
|
+
rollup: SnapshotRollup;
|
|
1311
|
+
capture_health: CaptureHealth;
|
|
1312
|
+
};
|
|
1313
|
+
/** One nightly capture from meta.table_stats_history. */
|
|
1314
|
+
type RollupPoint = {
|
|
1315
|
+
captured_at: string;
|
|
1316
|
+
rows?: number | null;
|
|
1317
|
+
total_bytes?: number | null;
|
|
1318
|
+
};
|
|
1319
|
+
/** RouteInfo */
|
|
1320
|
+
type RouteInfo = {
|
|
1321
|
+
path: string;
|
|
1322
|
+
methods: string[];
|
|
1323
|
+
name?: string | null;
|
|
1324
|
+
kind?: "http" | "websocket";
|
|
1325
|
+
};
|
|
1326
|
+
/** RunListResponse */
|
|
1327
|
+
type RunListResponse = {
|
|
1328
|
+
runs: RunResponse[];
|
|
1329
|
+
};
|
|
1330
|
+
/** RunResponse */
|
|
1331
|
+
type RunResponse = {
|
|
1332
|
+
id: string;
|
|
1333
|
+
task_id: string;
|
|
1334
|
+
trigger_id?: string | null;
|
|
1335
|
+
user_id: string;
|
|
1336
|
+
status: "queued" | "claimed" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
|
|
1337
|
+
surface?: string | null;
|
|
1338
|
+
queue?: string | null;
|
|
1339
|
+
output_ref?: {
|
|
1340
|
+
[key: string]: unknown;
|
|
1341
|
+
} | null;
|
|
1342
|
+
due_at: string;
|
|
1343
|
+
claimed_at?: string | null;
|
|
1344
|
+
started_at?: string | null;
|
|
1345
|
+
finished_at?: string | null;
|
|
1346
|
+
result_summary?: string | null;
|
|
1347
|
+
error_message?: string | null;
|
|
1348
|
+
result_metadata?: {
|
|
1349
|
+
[key: string]: unknown;
|
|
1350
|
+
} | null;
|
|
1351
|
+
created_at?: string | null;
|
|
1352
|
+
};
|
|
1353
|
+
/** RuntimeHeartbeatRequest */
|
|
1354
|
+
type RuntimeHeartbeatRequest = {
|
|
1355
|
+
execution_id: string;
|
|
1356
|
+
lease_holder: string;
|
|
1357
|
+
lease_seconds?: number;
|
|
1358
|
+
};
|
|
1359
|
+
/** RuntimeHeartbeatResponse */
|
|
1360
|
+
type RuntimeHeartbeatResponse = {
|
|
1361
|
+
outcome: "owned" | "lost" | "terminal";
|
|
1362
|
+
};
|
|
1363
|
+
/** Open a spine request+execution for a client-hosted run. */
|
|
1364
|
+
type RuntimeOpenRequest = {
|
|
1365
|
+
type?: string;
|
|
1366
|
+
app?: string;
|
|
1367
|
+
surface?: string;
|
|
1368
|
+
conversation_id?: string | null;
|
|
1369
|
+
link_kind?: string;
|
|
1370
|
+
link_id?: string | null;
|
|
1371
|
+
lease_seconds?: number;
|
|
1372
|
+
idempotency_key?: string | null;
|
|
1373
|
+
};
|
|
1374
|
+
/** RuntimeOpenResponse */
|
|
1375
|
+
type RuntimeOpenResponse = {
|
|
1376
|
+
request_id: string;
|
|
1377
|
+
execution_id: string;
|
|
1378
|
+
root_execution_id: string;
|
|
1379
|
+
lease_holder: string;
|
|
1380
|
+
lease_seconds: number;
|
|
1381
|
+
};
|
|
1382
|
+
/** RuntimeSettleRequest */
|
|
1383
|
+
type RuntimeSettleRequest = {
|
|
1384
|
+
execution_id: string;
|
|
1385
|
+
/** completed | failed | cancelled (prefix-matched) */
|
|
1386
|
+
status: string;
|
|
1387
|
+
error?: string | null;
|
|
1388
|
+
meters?: {
|
|
1389
|
+
[key: string]: number;
|
|
1390
|
+
} | null;
|
|
1391
|
+
};
|
|
1392
|
+
/** RuntimeSettleResponse */
|
|
1393
|
+
type RuntimeSettleResponse = {
|
|
1394
|
+
ok: boolean;
|
|
1395
|
+
status: string;
|
|
1396
|
+
};
|
|
1397
|
+
/** What the box is still doing while it comes up. */
|
|
1398
|
+
type SandboxBoot = {
|
|
1399
|
+
/** Boot phase the box last reported (home_sync, sdk, ready, …) */
|
|
1400
|
+
phase: string;
|
|
1401
|
+
/** Files restored so far in a counted phase */
|
|
1402
|
+
files_done?: number | null;
|
|
1403
|
+
/** Files the counted phase expects in total */
|
|
1404
|
+
files_total?: number | null;
|
|
1405
|
+
/** Human sentence for the UI, e.g. 'home sync in progress: 4210/8630 files' */
|
|
1406
|
+
briefing?: string | null;
|
|
1407
|
+
/** When this phase reading was taken */
|
|
1408
|
+
updated_at?: string | null;
|
|
1409
|
+
};
|
|
1410
|
+
/** SandboxListResponse */
|
|
1411
|
+
type SandboxListResponse = {
|
|
1412
|
+
sandboxes: SandboxResponse[];
|
|
1413
|
+
total: number;
|
|
1414
|
+
};
|
|
1415
|
+
/** SandboxResponse */
|
|
1416
|
+
type SandboxResponse = {
|
|
1417
|
+
row_id?: string;
|
|
1418
|
+
sandbox_id: string;
|
|
1419
|
+
user_id: string;
|
|
1420
|
+
/** Organization explicitly supplied by the initiating request */
|
|
1421
|
+
organization_id: string;
|
|
1422
|
+
/** User-visible name; clients fall back to sandbox_id when null. */
|
|
1423
|
+
name?: string | null;
|
|
1424
|
+
status: SandboxStatus;
|
|
1425
|
+
container_id?: string | null;
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
/** Last time this row changed. The reaper's liveness sweep refreshes it every ~60s for live sandboxes, so a live-status sandbox with a stale updated_at signals the orchestrator has lost track of it. Surf */
|
|
1428
|
+
updated_at?: string | null;
|
|
1429
|
+
/** The last time the platform OBSERVED this box alive — normally the orchestrator's 60s liveness reconcile seeing its container running, sometimes a client ping. Null means never observed, which for a li */
|
|
1430
|
+
last_heartbeat_at?: string | null;
|
|
1431
|
+
/** When the sandbox reached a terminal status. */
|
|
1432
|
+
stopped_at?: string | null;
|
|
1433
|
+
/** Why it stopped: user_requested | expired | error | graceful_shutdown | admin. */
|
|
1434
|
+
stop_reason?: string | null;
|
|
1435
|
+
hot_path?: string;
|
|
1436
|
+
cold_path?: string;
|
|
1437
|
+
config?: {
|
|
1438
|
+
[key: string]: unknown;
|
|
1439
|
+
};
|
|
1440
|
+
/** Host port mapped to container SSH (port 22) */
|
|
1441
|
+
ssh_port?: number | null;
|
|
1442
|
+
ttl_seconds?: number;
|
|
1443
|
+
/** When the sandbox auto-expires */
|
|
1444
|
+
expires_at?: string | null;
|
|
1445
|
+
/** Tier this sandbox runs on */
|
|
1446
|
+
tier?: ("ec2" | "hosted") | null;
|
|
1447
|
+
template?: string | null;
|
|
1448
|
+
template_version?: string | null;
|
|
1449
|
+
labels?: {
|
|
1450
|
+
[key: string]: string;
|
|
1451
|
+
} | null;
|
|
1452
|
+
/** Hosted-tier per-user Docker volume backing /home/agent. Set on create; survives container destruction. EC2-tier sandboxes leave this null and use the S3 prefix model instead. */
|
|
1453
|
+
persistence_volume?: string | null;
|
|
1454
|
+
/** Live boot phase while the box is still finishing work it can be used during (today: the S3 home restore). Null once boot is done. Persisted inside ``config`` so it survives an orchestrator restart wit */
|
|
1455
|
+
boot?: SandboxBoot | null;
|
|
1456
|
+
/** When this box first reported itself usable. NULL means NOT MEASURED — never 'instant'. Boxes created before 2026-09-20 have none, because nothing in this repository measured boot until then. */
|
|
1457
|
+
ready_at?: string | null;
|
|
1458
|
+
/** Wall clock from the start of the create/resume to ready_at. The number a caller actually waited through: admission, image, container start, home restore, SDK. */
|
|
1459
|
+
boot_seconds?: number | null;
|
|
1460
|
+
/** Which journey boot_seconds measures: 'create' (cold) or 'resume' (a fresh container onto a retained home). The two are different numbers and are never averaged together. */
|
|
1461
|
+
boot_kind?: string | null;
|
|
1462
|
+
/** Seconds spent in each boot phase the box reported (container, home_sync, cold_mount, environment, sdk, cloud_files). Partial by nature: an image without phase markers reports none, and an absent phase */
|
|
1463
|
+
boot_phase_seconds?: {
|
|
1464
|
+
[key: string]: number;
|
|
1465
|
+
} | null;
|
|
1466
|
+
/** Public URL the browser can hit DIRECTLY to reach the in-container matrx_agent daemon (mounted at /sandboxes/{sandbox_id}/proxy/...). Authentication is via short-lived bearer token from POST /sandboxes */
|
|
1467
|
+
proxy_url?: string | null;
|
|
1468
|
+
};
|
|
1469
|
+
/** SandboxStatus */
|
|
1470
|
+
type SandboxStatus = "creating" | "starting" | "ready" | "running" | "shutting_down" | "stopped" | "failed" | "expired";
|
|
1471
|
+
/** SaveOutputRequest */
|
|
1472
|
+
type SaveOutputRequest = {
|
|
1473
|
+
message_id: string;
|
|
1474
|
+
fingerprint: string;
|
|
1475
|
+
ordinal?: number;
|
|
1476
|
+
};
|
|
1477
|
+
/** What the Save did. ``landed`` new rows; ``already_saved`` rows that already held this */
|
|
1478
|
+
type SaveOutputResponse = {
|
|
1479
|
+
landed: string[];
|
|
1480
|
+
already_saved?: string[];
|
|
1481
|
+
not_saved?: string | null;
|
|
1482
|
+
};
|
|
1483
|
+
/** ScrapeManyRequest */
|
|
1484
|
+
type ScrapeManyRequest = {
|
|
1485
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1486
|
+
organization_id?: string | null;
|
|
1487
|
+
/** Optional associated project selected by the caller. */
|
|
1488
|
+
project_id?: string | null;
|
|
1489
|
+
/** Optional associated task selected by the caller. */
|
|
1490
|
+
task_id?: string | null;
|
|
1491
|
+
/** Stable application slug that initiated the request. */
|
|
1492
|
+
source_app?: string | null;
|
|
1493
|
+
/** Stable feature slug within the source application. */
|
|
1494
|
+
source_feature?: string | null;
|
|
1495
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1496
|
+
initiation?: ("user" | "auto") | null;
|
|
1497
|
+
urls?: string[];
|
|
1498
|
+
use_proxy?: boolean;
|
|
1499
|
+
fast?: boolean;
|
|
1500
|
+
concurrency?: number;
|
|
1501
|
+
include_raw?: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
/** ScrapePageRequest */
|
|
1504
|
+
type ScrapePageRequest = {
|
|
1505
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1506
|
+
organization_id?: string | null;
|
|
1507
|
+
/** Optional associated project selected by the caller. */
|
|
1508
|
+
project_id?: string | null;
|
|
1509
|
+
/** Optional associated task selected by the caller. */
|
|
1510
|
+
task_id?: string | null;
|
|
1511
|
+
/** Stable application slug that initiated the request. */
|
|
1512
|
+
source_app?: string | null;
|
|
1513
|
+
/** Stable feature slug within the source application. */
|
|
1514
|
+
source_feature?: string | null;
|
|
1515
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1516
|
+
initiation?: ("user" | "auto") | null;
|
|
1517
|
+
/** Full URL to fetch. */
|
|
1518
|
+
url: string;
|
|
1519
|
+
/** Route through the scraper's proxy pool. Off for the demo — direct is faster and honest about what a plain fetch sees. */
|
|
1520
|
+
use_proxy?: boolean;
|
|
1521
|
+
/** Skip link and hash extraction. Leave off to see the whole shape. */
|
|
1522
|
+
fast?: boolean;
|
|
1523
|
+
/** Also return the raw engine result (projection 2). Off by default — it is large. */
|
|
1524
|
+
include_raw?: boolean;
|
|
1525
|
+
};
|
|
1526
|
+
/** SearchContentHit */
|
|
1527
|
+
type SearchContentHit = {
|
|
1528
|
+
path: string;
|
|
1529
|
+
line: number;
|
|
1530
|
+
column?: number;
|
|
1531
|
+
snippet: string;
|
|
1532
|
+
};
|
|
1533
|
+
/** SearchContentRequest */
|
|
1534
|
+
type SearchContentRequest = {
|
|
1535
|
+
query: string;
|
|
1536
|
+
cwd: string;
|
|
1537
|
+
regex?: boolean;
|
|
1538
|
+
case_sensitive?: boolean;
|
|
1539
|
+
max_results?: number;
|
|
1540
|
+
};
|
|
1541
|
+
/** SearchContentResponse */
|
|
1542
|
+
type SearchContentResponse = {
|
|
1543
|
+
results: SearchContentHit[];
|
|
1544
|
+
};
|
|
1545
|
+
/** SearchExamplesResponse */
|
|
1546
|
+
type SearchExamplesResponse = {
|
|
1547
|
+
query: string;
|
|
1548
|
+
total: number;
|
|
1549
|
+
limit: number;
|
|
1550
|
+
results: ItemResponse[];
|
|
1551
|
+
};
|
|
1552
|
+
/** SearchKindsRequest */
|
|
1553
|
+
type SearchKindsRequest = {
|
|
1554
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1555
|
+
organization_id?: string | null;
|
|
1556
|
+
/** Optional associated project selected by the caller. */
|
|
1557
|
+
project_id?: string | null;
|
|
1558
|
+
/** Optional associated task selected by the caller. */
|
|
1559
|
+
task_id?: string | null;
|
|
1560
|
+
/** Stable application slug that initiated the request. */
|
|
1561
|
+
source_app?: string | null;
|
|
1562
|
+
/** Stable feature slug within the source application. */
|
|
1563
|
+
source_feature?: string | null;
|
|
1564
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1565
|
+
initiation?: ("user" | "auto") | null;
|
|
1566
|
+
provider?: "brave" | "google";
|
|
1567
|
+
query: string;
|
|
1568
|
+
/** Result count (Brave only; Google returns its page). */
|
|
1569
|
+
count?: number;
|
|
1570
|
+
country?: string;
|
|
1571
|
+
/** Also stream the raw provider payload (the second projection). Off by default. */
|
|
1572
|
+
include_raw?: boolean;
|
|
1573
|
+
};
|
|
1574
|
+
/** SearchPathsHit */
|
|
1575
|
+
type SearchPathsHit = {
|
|
1576
|
+
path: string;
|
|
1577
|
+
kind: "file" | "dir" | "symlink" | "other";
|
|
1578
|
+
};
|
|
1579
|
+
/** SearchPathsRequest */
|
|
1580
|
+
type SearchPathsRequest = {
|
|
1581
|
+
pattern: string;
|
|
1582
|
+
cwd: string;
|
|
1583
|
+
max_results?: number;
|
|
1584
|
+
};
|
|
1585
|
+
/** SearchPathsResponse */
|
|
1586
|
+
type SearchPathsResponse = {
|
|
1587
|
+
results: SearchPathsHit[];
|
|
1588
|
+
};
|
|
1589
|
+
/** ServerActionInfo */
|
|
1590
|
+
type ServerActionInfo = {
|
|
1591
|
+
name: string;
|
|
1592
|
+
doc: string;
|
|
1593
|
+
input_schema: {
|
|
1594
|
+
[key: string]: unknown;
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
/** ServerActionProposal */
|
|
1598
|
+
type ServerActionProposal = {
|
|
1599
|
+
directive: string;
|
|
1600
|
+
items: {
|
|
1601
|
+
[key: string]: unknown;
|
|
1602
|
+
}[];
|
|
1603
|
+
proposal_id: string;
|
|
1604
|
+
conversation_id?: string | null;
|
|
1605
|
+
};
|
|
1606
|
+
/** ServerActionRunRequest */
|
|
1607
|
+
type ServerActionRunRequest = {
|
|
1608
|
+
name: string;
|
|
1609
|
+
input?: {
|
|
1610
|
+
[key: string]: unknown;
|
|
1611
|
+
};
|
|
1612
|
+
by?: "person" | "agent" | "applet" | "automation";
|
|
1613
|
+
surface_name?: string | null;
|
|
1614
|
+
policy?: ("auto" | "ask" | "off" | "manual") | null;
|
|
1615
|
+
conversation_id?: string | null;
|
|
1616
|
+
};
|
|
1617
|
+
/** ServerActionRunResult */
|
|
1618
|
+
type ServerActionRunResult = {
|
|
1619
|
+
status: "applied" | "proposed" | "refused";
|
|
1620
|
+
message: string;
|
|
1621
|
+
receipts?: (DirectiveItemApplied | DirectiveItemFailed)[];
|
|
1622
|
+
proposal?: ServerActionProposal | null;
|
|
1623
|
+
};
|
|
1624
|
+
/** ServerActionsList */
|
|
1625
|
+
type ServerActionsList = {
|
|
1626
|
+
actions: ServerActionInfo[];
|
|
1627
|
+
};
|
|
1628
|
+
/** Size/row rollup for chat.request_snapshot, from meta.table_stats_history. */
|
|
1629
|
+
type SnapshotRollup = {
|
|
1630
|
+
ok?: boolean;
|
|
1631
|
+
captured_at?: string | null;
|
|
1632
|
+
stale?: boolean;
|
|
1633
|
+
stale_hours?: number | null;
|
|
1634
|
+
exact_rows?: number | null;
|
|
1635
|
+
total_bytes?: number | null;
|
|
1636
|
+
total_pretty?: string | null;
|
|
1637
|
+
avg_bytes_per_row?: number | null;
|
|
1638
|
+
bytes_delta_7d?: number | null;
|
|
1639
|
+
bytes_delta_30d?: number | null;
|
|
1640
|
+
rows_delta_7d?: number | null;
|
|
1641
|
+
rows_delta_30d?: number | null;
|
|
1642
|
+
daily_bytes_growth?: number | null;
|
|
1643
|
+
history?: RollupPoint[];
|
|
1644
|
+
retention_days?: number;
|
|
1645
|
+
pinned_rows?: number;
|
|
1646
|
+
prune_eligible_rows?: number;
|
|
1647
|
+
error?: string | null;
|
|
1648
|
+
};
|
|
1649
|
+
/** One currently-stuck row in a watched table. */
|
|
1650
|
+
type StuckRow = {
|
|
1651
|
+
primary_key: JsonValue;
|
|
1652
|
+
aged_at: string;
|
|
1653
|
+
age_secs: number;
|
|
1654
|
+
};
|
|
1655
|
+
/** StuckRowsResponse */
|
|
1656
|
+
type StuckRowsResponse = {
|
|
1657
|
+
table: string;
|
|
1658
|
+
schema: string;
|
|
1659
|
+
predicate: string;
|
|
1660
|
+
max_age_secs: number;
|
|
1661
|
+
rows: StuckRow[];
|
|
1662
|
+
count: number;
|
|
1663
|
+
};
|
|
1664
|
+
/** SuppressionRuleInfo */
|
|
1665
|
+
type SuppressionRuleInfo = {
|
|
1666
|
+
name: string;
|
|
1667
|
+
logger_prefix?: string | null;
|
|
1668
|
+
message_contains?: string | null;
|
|
1669
|
+
level_max?: string | null;
|
|
1670
|
+
action: string;
|
|
1671
|
+
};
|
|
1672
|
+
/** SystemCostEntry */
|
|
1673
|
+
type SystemCostEntry = {
|
|
1674
|
+
execution_id: string;
|
|
1675
|
+
request_id: string;
|
|
1676
|
+
type: string;
|
|
1677
|
+
status: string;
|
|
1678
|
+
cost: string;
|
|
1679
|
+
meters: {
|
|
1680
|
+
[key: string]: string;
|
|
1681
|
+
};
|
|
1682
|
+
link_kind?: string | null;
|
|
1683
|
+
link_id?: string | null;
|
|
1684
|
+
created_at?: string | null;
|
|
1685
|
+
};
|
|
1686
|
+
/** SystemCostsResponse */
|
|
1687
|
+
type SystemCostsResponse = {
|
|
1688
|
+
total_cost: string;
|
|
1689
|
+
entry_count: number;
|
|
1690
|
+
entries: SystemCostEntry[];
|
|
1691
|
+
};
|
|
1692
|
+
/** SystemErrorDetail */
|
|
1693
|
+
type SystemErrorDetail = {
|
|
1694
|
+
id: string;
|
|
1695
|
+
kind: string;
|
|
1696
|
+
request_id: string | null;
|
|
1697
|
+
user_id: string | null;
|
|
1698
|
+
conversation_id: string | null;
|
|
1699
|
+
agent_id: string | null;
|
|
1700
|
+
source_app: string | null;
|
|
1701
|
+
source_feature?: string | null;
|
|
1702
|
+
route: string | null;
|
|
1703
|
+
error_type: string | null;
|
|
1704
|
+
error_text: string;
|
|
1705
|
+
traceback: string | null;
|
|
1706
|
+
payload: JsonValue | null;
|
|
1707
|
+
context: JsonValue | null;
|
|
1708
|
+
occurred_at: string;
|
|
1709
|
+
resolved_at: string | null;
|
|
1710
|
+
resolution_note: string | null;
|
|
1711
|
+
};
|
|
1712
|
+
/** SystemErrorRecord */
|
|
1713
|
+
type SystemErrorRecord = {
|
|
1714
|
+
id: string;
|
|
1715
|
+
kind?: string | null;
|
|
1716
|
+
request_id?: string | null;
|
|
1717
|
+
user_id?: string | null;
|
|
1718
|
+
conversation_id?: string | null;
|
|
1719
|
+
agent_id?: string | null;
|
|
1720
|
+
source_app?: string | null;
|
|
1721
|
+
source_feature?: string | null;
|
|
1722
|
+
route?: string | null;
|
|
1723
|
+
error_type?: string | null;
|
|
1724
|
+
error_text?: string | null;
|
|
1725
|
+
traceback?: string | null;
|
|
1726
|
+
payload?: JsonValue;
|
|
1727
|
+
context?: JsonValue;
|
|
1728
|
+
occurred_at?: string | null;
|
|
1729
|
+
resolved_at?: string | null;
|
|
1730
|
+
resolution_note?: string | null;
|
|
1731
|
+
};
|
|
1732
|
+
/** SystemErrorSummary */
|
|
1733
|
+
type SystemErrorSummary = {
|
|
1734
|
+
id: string;
|
|
1735
|
+
kind: string;
|
|
1736
|
+
request_id: string | null;
|
|
1737
|
+
user_id: string | null;
|
|
1738
|
+
conversation_id: string | null;
|
|
1739
|
+
source_app?: string | null;
|
|
1740
|
+
source_feature?: string | null;
|
|
1741
|
+
route: string | null;
|
|
1742
|
+
error_type: string | null;
|
|
1743
|
+
error_text: string;
|
|
1744
|
+
occurred_at: string;
|
|
1745
|
+
age_secs: number;
|
|
1746
|
+
resolved_at: string | null;
|
|
1747
|
+
class_token_similar?: string;
|
|
1748
|
+
};
|
|
1749
|
+
/** Host pressure + container counts for the matrx-admin observability panel. */
|
|
1750
|
+
type SystemInfoResponse = {
|
|
1751
|
+
tier?: ("ec2" | "hosted") | null;
|
|
1752
|
+
uptime_seconds: number;
|
|
1753
|
+
disk_total_bytes: number;
|
|
1754
|
+
disk_used_bytes: number;
|
|
1755
|
+
disk_free_bytes: number;
|
|
1756
|
+
disk_used_pct: number;
|
|
1757
|
+
memory_total_kb: number;
|
|
1758
|
+
memory_used_kb: number;
|
|
1759
|
+
memory_available_kb: number;
|
|
1760
|
+
memory_used_pct: number;
|
|
1761
|
+
cpu_count: number;
|
|
1762
|
+
load_1m?: number | null;
|
|
1763
|
+
load_5m?: number | null;
|
|
1764
|
+
load_15m?: number | null;
|
|
1765
|
+
sandboxes_in_db: number;
|
|
1766
|
+
sandboxes_active: number;
|
|
1767
|
+
sandbox_containers_total: number;
|
|
1768
|
+
sandbox_containers_running: number;
|
|
1769
|
+
};
|
|
1770
|
+
/** TableKindsRequest */
|
|
1771
|
+
type TableKindsRequest = {
|
|
1772
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1773
|
+
organization_id?: string | null;
|
|
1774
|
+
/** Optional associated project selected by the caller. */
|
|
1775
|
+
project_id?: string | null;
|
|
1776
|
+
/** Optional associated task selected by the caller. */
|
|
1777
|
+
task_id?: string | null;
|
|
1778
|
+
/** Stable application slug that initiated the request. */
|
|
1779
|
+
source_app?: string | null;
|
|
1780
|
+
/** Stable feature slug within the source application. */
|
|
1781
|
+
source_feature?: string | null;
|
|
1782
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1783
|
+
initiation?: ("user" | "auto") | null;
|
|
1784
|
+
/** Schema-qualified table to read, e.g. 'seo.serp_opportunity'. */
|
|
1785
|
+
table?: string;
|
|
1786
|
+
limit?: number;
|
|
1787
|
+
/** Also stream the flat legacy rows. */
|
|
1788
|
+
include_raw?: boolean;
|
|
1789
|
+
};
|
|
1790
|
+
/** Create a new sch_task (plus optional agent_task and trigger). */
|
|
1791
|
+
type TaskCreateRequest = {
|
|
1792
|
+
/** 'agent', 'tool', or 'ping' */
|
|
1793
|
+
kind: string;
|
|
1794
|
+
title: string;
|
|
1795
|
+
description?: string | null;
|
|
1796
|
+
queue?: string;
|
|
1797
|
+
surfaces?: string[];
|
|
1798
|
+
enabled?: boolean;
|
|
1799
|
+
expires_at?: string | null;
|
|
1800
|
+
tags?: string[];
|
|
1801
|
+
/** Canonical platform.taxonomy_node identity. Required for kind='tool' so system work is attached to a Domain, Feature, or Sub-feature. */
|
|
1802
|
+
taxonomy_node_id?: string | null;
|
|
1803
|
+
agent_task?: AgentTaskCreate | null;
|
|
1804
|
+
trigger?: TriggerCreate | null;
|
|
1805
|
+
/** Create even when an identical live schedule already exists. Default false: an identical create returns the EXISTING schedule instead of inserting a twin (see scheduler.duplicate_guard), so a double-cl */
|
|
1806
|
+
force?: boolean;
|
|
1807
|
+
};
|
|
1808
|
+
/** Task hydrated with agent_task, triggers, and recent runs. */
|
|
1809
|
+
type TaskDetailResponse = {
|
|
1810
|
+
task: TaskResponse;
|
|
1811
|
+
agent_task?: AgentTaskResponse | null;
|
|
1812
|
+
triggers?: TriggerResponse[];
|
|
1813
|
+
recent_runs?: RunResponse[];
|
|
1814
|
+
/** True when a create returned an EXISTING identical schedule instead of inserting a new one. The response is a success (HTTP 200, not 201) and `task` is the schedule that was already there — a client mu */
|
|
1815
|
+
deduplicated?: boolean;
|
|
1816
|
+
};
|
|
1817
|
+
/** TaskListResponse */
|
|
1818
|
+
type TaskListResponse = {
|
|
1819
|
+
tasks: TaskResponse[];
|
|
1820
|
+
total: number;
|
|
1821
|
+
};
|
|
1822
|
+
/** Update a subset of sch_task fields. */
|
|
1823
|
+
type TaskPatchRequest = {
|
|
1824
|
+
title?: string | null;
|
|
1825
|
+
description?: string | null;
|
|
1826
|
+
queue?: string | null;
|
|
1827
|
+
surfaces?: string[] | null;
|
|
1828
|
+
enabled?: boolean | null;
|
|
1829
|
+
expires_at?: string | null;
|
|
1830
|
+
tags?: string[] | null;
|
|
1831
|
+
};
|
|
1832
|
+
/** Single sch_task row (plain, without children). */
|
|
1833
|
+
type TaskResponse = {
|
|
1834
|
+
id: string;
|
|
1835
|
+
user_id: string;
|
|
1836
|
+
kind: string;
|
|
1837
|
+
title: string;
|
|
1838
|
+
description?: string | null;
|
|
1839
|
+
queue: string;
|
|
1840
|
+
surfaces: string[];
|
|
1841
|
+
enabled: boolean;
|
|
1842
|
+
expires_at?: string | null;
|
|
1843
|
+
tags: string[];
|
|
1844
|
+
taxonomy_node_id?: string | null;
|
|
1845
|
+
next_due_at?: string | null;
|
|
1846
|
+
last_run_at?: string | null;
|
|
1847
|
+
created_at?: string | null;
|
|
1848
|
+
updated_at?: string | null;
|
|
1849
|
+
};
|
|
1850
|
+
/** TemplateInfo */
|
|
1851
|
+
type TemplateInfo = {
|
|
1852
|
+
id: string;
|
|
1853
|
+
version: string;
|
|
1854
|
+
description: string;
|
|
1855
|
+
image: string;
|
|
1856
|
+
tier?: ("ec2" | "hosted") | null;
|
|
1857
|
+
languages?: string[];
|
|
1858
|
+
};
|
|
1859
|
+
/** TemplateListResponse */
|
|
1860
|
+
type TemplateListResponse = {
|
|
1861
|
+
templates: TemplateInfo[];
|
|
1862
|
+
};
|
|
1863
|
+
/** TopPatternsResponse */
|
|
1864
|
+
type TopPatternsResponse = {
|
|
1865
|
+
patterns: LogPattern[];
|
|
1866
|
+
scanned: number;
|
|
1867
|
+
suppression_rules: SuppressionRuleInfo[];
|
|
1868
|
+
muted: MutedPattern[];
|
|
1869
|
+
filter_summary: string;
|
|
1870
|
+
};
|
|
1871
|
+
/** TraceEventListResponse */
|
|
1872
|
+
type TraceEventListResponse = {
|
|
1873
|
+
events: TraceEventRecord[];
|
|
1874
|
+
count: number;
|
|
1875
|
+
filter_summary: string;
|
|
1876
|
+
truncated?: boolean;
|
|
1877
|
+
total_available?: number | null;
|
|
1878
|
+
};
|
|
1879
|
+
/** One row from cx_tool_trace, projected for the admin UI / agent. */
|
|
1880
|
+
type TraceEventRecord = {
|
|
1881
|
+
id: string;
|
|
1882
|
+
ts: string;
|
|
1883
|
+
event: string;
|
|
1884
|
+
tool_name: string;
|
|
1885
|
+
kind?: ("SERVER" | "DELEGATE") | null;
|
|
1886
|
+
duration_ms?: number | null;
|
|
1887
|
+
args?: JsonValue | null;
|
|
1888
|
+
result_preview?: string | null;
|
|
1889
|
+
err_type?: string | null;
|
|
1890
|
+
err_msg?: string | null;
|
|
1891
|
+
conversation_id?: string | null;
|
|
1892
|
+
call_id?: string | null;
|
|
1893
|
+
user_id?: string | null;
|
|
1894
|
+
process_pid?: number | null;
|
|
1895
|
+
process_started_at?: string | null;
|
|
1896
|
+
metadata?: JsonValue | null;
|
|
1897
|
+
[key: string]: unknown;
|
|
1898
|
+
};
|
|
1899
|
+
/** TraceFileListResponse */
|
|
1900
|
+
type TraceFileListResponse = {
|
|
1901
|
+
files: TraceFileSummary[];
|
|
1902
|
+
count: number;
|
|
1903
|
+
log_dir: string;
|
|
1904
|
+
};
|
|
1905
|
+
/** One entry in the ``GET /admin/debug-traces/files`` listing. */
|
|
1906
|
+
type TraceFileSummary = {
|
|
1907
|
+
name: string;
|
|
1908
|
+
size_bytes: number;
|
|
1909
|
+
modified_at: string;
|
|
1910
|
+
is_header_only: boolean;
|
|
1911
|
+
};
|
|
1912
|
+
/** Child sch_trigger row payload. */
|
|
1913
|
+
type TriggerCreate = {
|
|
1914
|
+
type: "one-shot" | "interval" | "cron" | "heartbeat" | "context-match" | "event" | "manual" | "dependency";
|
|
1915
|
+
config?: {
|
|
1916
|
+
[key: string]: unknown;
|
|
1917
|
+
};
|
|
1918
|
+
enabled?: boolean;
|
|
1919
|
+
};
|
|
1920
|
+
/** Create a sch_trigger row attached to an existing task. */
|
|
1921
|
+
type TriggerCreateRequest = {
|
|
1922
|
+
task_id: string;
|
|
1923
|
+
type: "one-shot" | "interval" | "cron" | "heartbeat" | "context-match" | "event" | "manual" | "dependency";
|
|
1924
|
+
config?: {
|
|
1925
|
+
[key: string]: unknown;
|
|
1926
|
+
};
|
|
1927
|
+
enabled?: boolean;
|
|
1928
|
+
};
|
|
1929
|
+
/** TriggerListResponse */
|
|
1930
|
+
type TriggerListResponse = {
|
|
1931
|
+
triggers: TriggerResponse[];
|
|
1932
|
+
};
|
|
1933
|
+
/** TriggerPatchRequest */
|
|
1934
|
+
type TriggerPatchRequest = {
|
|
1935
|
+
type?: ("one-shot" | "interval" | "cron" | "heartbeat" | "context-match" | "event" | "manual" | "dependency") | null;
|
|
1936
|
+
config?: {
|
|
1937
|
+
[key: string]: unknown;
|
|
1938
|
+
} | null;
|
|
1939
|
+
enabled?: boolean | null;
|
|
1940
|
+
};
|
|
1941
|
+
/** TriggerResponse */
|
|
1942
|
+
type TriggerResponse = {
|
|
1943
|
+
id: string;
|
|
1944
|
+
task_id: string;
|
|
1945
|
+
user_id: string;
|
|
1946
|
+
type: "one-shot" | "interval" | "cron" | "heartbeat" | "context-match" | "event" | "manual" | "dependency";
|
|
1947
|
+
config?: {
|
|
1948
|
+
[key: string]: unknown;
|
|
1949
|
+
};
|
|
1950
|
+
enabled: boolean;
|
|
1951
|
+
next_due_at?: string | null;
|
|
1952
|
+
last_fired_at?: string | null;
|
|
1953
|
+
created_at?: string | null;
|
|
1954
|
+
updated_at?: string | null;
|
|
1955
|
+
};
|
|
1956
|
+
/** VersionHealth */
|
|
1957
|
+
type VersionHealth = {
|
|
1958
|
+
git_sha: string;
|
|
1959
|
+
built_at: string;
|
|
1960
|
+
branch?: string | null;
|
|
1961
|
+
};
|
|
1962
|
+
/** WatchdogStatusResponse */
|
|
1963
|
+
type WatchdogStatusResponse = {
|
|
1964
|
+
tables: WatchdogTableStatus[];
|
|
1965
|
+
total_stuck_rows: number;
|
|
1966
|
+
tables_breaching_sla: number;
|
|
1967
|
+
last_swept_at: string | null;
|
|
1968
|
+
};
|
|
1969
|
+
/** Health of one registered watchdog config. */
|
|
1970
|
+
type WatchdogTableStatus = {
|
|
1971
|
+
table: string;
|
|
1972
|
+
schema: string;
|
|
1973
|
+
predicate: string;
|
|
1974
|
+
max_age_secs: number;
|
|
1975
|
+
transition_to_on_timeout: string | null;
|
|
1976
|
+
alert_channel: "critical" | "warning";
|
|
1977
|
+
age_column: string;
|
|
1978
|
+
status_column: string;
|
|
1979
|
+
primary_key_column: string;
|
|
1980
|
+
stuck_count: number;
|
|
1981
|
+
oldest_stuck_age_secs: number | null;
|
|
1982
|
+
sla_breached: boolean;
|
|
1983
|
+
query_error?: boolean;
|
|
1984
|
+
};
|
|
1985
|
+
/** WorkerHealthResponse */
|
|
1986
|
+
type WorkerHealthResponse = {
|
|
1987
|
+
live: boolean;
|
|
1988
|
+
worker_count?: number;
|
|
1989
|
+
fresh_count?: number;
|
|
1990
|
+
workers?: WorkerHeartbeatRecord[];
|
|
1991
|
+
checked_at?: string | null;
|
|
1992
|
+
note?: string | null;
|
|
1993
|
+
[key: string]: unknown;
|
|
1994
|
+
};
|
|
1995
|
+
/** WorkerHeartbeatRecord */
|
|
1996
|
+
type WorkerHeartbeatRecord = {
|
|
1997
|
+
worker_id?: string | null;
|
|
1998
|
+
role?: string | null;
|
|
1999
|
+
hostname?: string | null;
|
|
2000
|
+
pid?: number | null;
|
|
2001
|
+
started_at?: string | null;
|
|
2002
|
+
last_seen_at?: string | null;
|
|
2003
|
+
staleness_s?: number | null;
|
|
2004
|
+
fresh?: boolean | null;
|
|
2005
|
+
[key: string]: unknown;
|
|
2006
|
+
};
|
|
2007
|
+
/** DeletedResponse */
|
|
2008
|
+
type aidream__api__routers__admin_app_logs__DeletedResponse = {
|
|
2009
|
+
deleted: boolean;
|
|
2010
|
+
};
|
|
2011
|
+
/** SystemErrorListResponse */
|
|
2012
|
+
type aidream__api__routers__admin_system_errors__SystemErrorListResponse = {
|
|
2013
|
+
errors: SystemErrorRecord[];
|
|
2014
|
+
count: number;
|
|
2015
|
+
total: number;
|
|
2016
|
+
limit: number;
|
|
2017
|
+
snapshot_at: string;
|
|
2018
|
+
next_cursor_occurred_at?: string | null;
|
|
2019
|
+
next_cursor_id?: string | null;
|
|
2020
|
+
filter_summary: string;
|
|
2021
|
+
};
|
|
2022
|
+
/** HealthResponse */
|
|
2023
|
+
type aidream__api__routers__health__HealthResponse = {
|
|
2024
|
+
status: string;
|
|
2025
|
+
service: string;
|
|
2026
|
+
timestamp: string;
|
|
2027
|
+
uptime_seconds: number;
|
|
2028
|
+
};
|
|
2029
|
+
/** ReadinessResponse */
|
|
2030
|
+
type aidream__api__routers__health__ReadinessResponse = {
|
|
2031
|
+
status: string;
|
|
2032
|
+
uptime_seconds: number;
|
|
2033
|
+
detail?: string | null;
|
|
2034
|
+
db_latency_ms?: number | null;
|
|
2035
|
+
};
|
|
2036
|
+
/** SystemErrorListResponse */
|
|
2037
|
+
type aidream__services__admin_persistence__wire__SystemErrorListResponse = {
|
|
2038
|
+
rows: SystemErrorSummary[];
|
|
2039
|
+
total: number;
|
|
2040
|
+
limit: number;
|
|
2041
|
+
offset: number;
|
|
2042
|
+
};
|
|
2043
|
+
/** ComputeNextDueRequest */
|
|
2044
|
+
type matrx_scheduler__api__schemas__ComputeNextDueRequest = {
|
|
2045
|
+
trigger_type: "one-shot" | "interval" | "cron" | "heartbeat" | "context-match" | "event" | "manual" | "dependency";
|
|
2046
|
+
config?: {
|
|
2047
|
+
[key: string]: unknown;
|
|
2048
|
+
};
|
|
2049
|
+
};
|
|
2050
|
+
/** DeletedResponse */
|
|
2051
|
+
type matrx_scheduler__api__schemas__DeletedResponse = {
|
|
2052
|
+
deleted: boolean;
|
|
2053
|
+
soft?: boolean;
|
|
2054
|
+
};
|
|
2055
|
+
/** ScannerStatusResponse */
|
|
2056
|
+
type matrx_scheduler__api__schemas__ScannerStatusResponse = {
|
|
2057
|
+
running: boolean;
|
|
2058
|
+
started_at?: string | null;
|
|
2059
|
+
last_tick_at?: string | null;
|
|
2060
|
+
last_tick_duration_ms?: number | null;
|
|
2061
|
+
last_tick_claimed?: number;
|
|
2062
|
+
last_tick_expired_sweeps?: number;
|
|
2063
|
+
last_tick_manual_claimed?: number;
|
|
2064
|
+
total_runs_dispatched?: number;
|
|
2065
|
+
in_flight_count?: number;
|
|
2066
|
+
consecutive_errors?: number;
|
|
2067
|
+
error_message?: string | null;
|
|
2068
|
+
};
|
|
2069
|
+
type HealthCheckArgs = {
|
|
2070
|
+
[key: string]: never;
|
|
2071
|
+
};
|
|
2072
|
+
type HealthCheckResult = aidream__api__routers__health__HealthResponse;
|
|
2073
|
+
/** Health Check */
|
|
2074
|
+
/** `GET /health` · aidream · auth public · org exempt */
|
|
2075
|
+
declare function healthCheck(api: Api, args?: HealthCheckArgs, options?: CallOptions): Promise<HealthCheckResult>;
|
|
2076
|
+
type DetailedHealthCheckArgs = {
|
|
2077
|
+
[key: string]: never;
|
|
2078
|
+
};
|
|
2079
|
+
type DetailedHealthCheckResult = DetailedHealthResponse;
|
|
2080
|
+
/** Detailed Health Check */
|
|
2081
|
+
/** `GET /health/detailed` · aidream · auth public · org exempt */
|
|
2082
|
+
declare function detailedHealthCheck(api: Api, args?: DetailedHealthCheckArgs, options?: CallOptions): Promise<DetailedHealthCheckResult>;
|
|
2083
|
+
type VersionCheckArgs = {
|
|
2084
|
+
[key: string]: never;
|
|
2085
|
+
};
|
|
2086
|
+
type VersionCheckResult = VersionHealth;
|
|
2087
|
+
/** Version Check */
|
|
2088
|
+
/** `GET /health/version` · aidream · auth public · org exempt */
|
|
2089
|
+
declare function versionCheck(api: Api, args?: VersionCheckArgs, options?: CallOptions): Promise<VersionCheckResult>;
|
|
2090
|
+
type DatabaseIdentityArgs = {
|
|
2091
|
+
[key: string]: never;
|
|
2092
|
+
};
|
|
2093
|
+
type DatabaseIdentityResult = DatabaseIdentity;
|
|
2094
|
+
/** Database Identity */
|
|
2095
|
+
/** `GET /health/database-identity` · aidream · auth public · org exempt */
|
|
2096
|
+
declare function databaseIdentity(api: Api, args?: DatabaseIdentityArgs, options?: CallOptions): Promise<DatabaseIdentityResult>;
|
|
2097
|
+
type LivenessCheckArgs = {
|
|
2098
|
+
[key: string]: never;
|
|
2099
|
+
};
|
|
2100
|
+
type LivenessCheckResult = LivenessResponse;
|
|
2101
|
+
/** Liveness Check */
|
|
2102
|
+
/** `GET /health/live` · aidream · auth public · org exempt */
|
|
2103
|
+
declare function livenessCheck(api: Api, args?: LivenessCheckArgs, options?: CallOptions): Promise<LivenessCheckResult>;
|
|
2104
|
+
type ReadinessCheckArgs = {
|
|
2105
|
+
[key: string]: never;
|
|
2106
|
+
};
|
|
2107
|
+
type ReadinessCheckResult = aidream__api__routers__health__ReadinessResponse;
|
|
2108
|
+
/** Readiness Check */
|
|
2109
|
+
/** `GET /health/ready` · aidream · auth public · org exempt */
|
|
2110
|
+
declare function readinessCheck(api: Api, args?: ReadinessCheckArgs, options?: CallOptions): Promise<ReadinessCheckResult>;
|
|
2111
|
+
type ServingCheckArgs = {
|
|
2112
|
+
[key: string]: never;
|
|
2113
|
+
};
|
|
2114
|
+
type ServingCheckResult = aidream__api__routers__health__ReadinessResponse;
|
|
2115
|
+
/** Serving Check */
|
|
2116
|
+
/** `GET /health/serving` · aidream · auth public · org exempt */
|
|
2117
|
+
declare function servingCheck(api: Api, args?: ServingCheckArgs, options?: CallOptions): Promise<ServingCheckResult>;
|
|
2118
|
+
type SearchAsKindsArgs = {
|
|
2119
|
+
body: SearchKindsRequest;
|
|
2120
|
+
};
|
|
2121
|
+
type SearchAsKindsResult = unknown;
|
|
2122
|
+
/** Search As Kinds */
|
|
2123
|
+
/** `POST /search-kinds/search` · aidream · auth guest · org required · ndjson */
|
|
2124
|
+
declare function searchAsKinds(api: Api, args: SearchAsKindsArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2125
|
+
type RankLandscapeAsKindsArgs = {
|
|
2126
|
+
body: RankKindsRequest;
|
|
2127
|
+
};
|
|
2128
|
+
type RankLandscapeAsKindsResult = unknown;
|
|
2129
|
+
/** Rank Landscape As Kinds */
|
|
2130
|
+
/** `POST /rank-kinds/landscape` · aidream · auth guest · org required · ndjson */
|
|
2131
|
+
declare function rankLandscapeAsKinds(api: Api, args: RankLandscapeAsKindsArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2132
|
+
type RagSearchAsKindsArgs = {
|
|
2133
|
+
body: RagKindsRequest;
|
|
2134
|
+
};
|
|
2135
|
+
type RagSearchAsKindsResult = unknown;
|
|
2136
|
+
/** Rag Search As Kinds */
|
|
2137
|
+
/** `POST /rag-kinds/search` · aidream · auth guest · org required · ndjson */
|
|
2138
|
+
declare function ragSearchAsKinds(api: Api, args: RagSearchAsKindsArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2139
|
+
type TableReadAsKindsArgs = {
|
|
2140
|
+
body: TableKindsRequest;
|
|
2141
|
+
};
|
|
2142
|
+
type TableReadAsKindsResult = unknown;
|
|
2143
|
+
/** Table Read As Kinds */
|
|
2144
|
+
/** `POST /table-kinds/read` · aidream · auth guest · org required · ndjson */
|
|
2145
|
+
declare function tableReadAsKinds(api: Api, args: TableReadAsKindsArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2146
|
+
type ScrapeAsKindArgs = {
|
|
2147
|
+
body: ScrapePageRequest;
|
|
2148
|
+
};
|
|
2149
|
+
type ScrapeAsKindResult = unknown;
|
|
2150
|
+
/** Scrape As Kind */
|
|
2151
|
+
/** `POST /scraper-kinds/scrape` · aidream · auth guest · org required · ndjson */
|
|
2152
|
+
declare function scrapeAsKind(api: Api, args: ScrapeAsKindArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2153
|
+
type ScrapeManyAsKindArgs = {
|
|
2154
|
+
body: ScrapeManyRequest;
|
|
2155
|
+
};
|
|
2156
|
+
type ScrapeManyAsKindResult = unknown;
|
|
2157
|
+
/** Scrape Many As Kind */
|
|
2158
|
+
/** `POST /scraper-kinds/scrape-many` · aidream · auth guest · org required · ndjson */
|
|
2159
|
+
declare function scrapeManyAsKind(api: Api, args: ScrapeManyAsKindArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2160
|
+
type SaveOutputArgs = {
|
|
2161
|
+
body: SaveOutputRequest;
|
|
2162
|
+
};
|
|
2163
|
+
type SaveOutputResult = SaveOutputResponse;
|
|
2164
|
+
/** Save Output */
|
|
2165
|
+
/** `POST /kind-outputs/save` · aidream · auth guest · org required */
|
|
2166
|
+
declare function saveOutput(api: Api, args: SaveOutputArgs, options?: CallOptions): Promise<SaveOutputResult>;
|
|
2167
|
+
type OpenExecutionArgs = {
|
|
2168
|
+
body: RuntimeOpenRequest;
|
|
2169
|
+
};
|
|
2170
|
+
type OpenExecutionResult = RuntimeOpenResponse;
|
|
2171
|
+
/** Open Execution */
|
|
2172
|
+
/** `POST /v2/runtime/open` · aidream · auth guest · org required */
|
|
2173
|
+
declare function openExecution(api: Api, args: OpenExecutionArgs, options?: CallOptions): Promise<OpenExecutionResult>;
|
|
2174
|
+
type HeartbeatExecutionArgs = {
|
|
2175
|
+
body: RuntimeHeartbeatRequest;
|
|
2176
|
+
};
|
|
2177
|
+
type HeartbeatExecutionResult = RuntimeHeartbeatResponse;
|
|
2178
|
+
/** Heartbeat Execution */
|
|
2179
|
+
/** `POST /v2/runtime/heartbeat` · aidream · auth guest · org required */
|
|
2180
|
+
declare function heartbeatExecution(api: Api, args: HeartbeatExecutionArgs, options?: CallOptions): Promise<HeartbeatExecutionResult>;
|
|
2181
|
+
type SettleExecutionArgs = {
|
|
2182
|
+
body: RuntimeSettleRequest;
|
|
2183
|
+
};
|
|
2184
|
+
type SettleExecutionResult = RuntimeSettleResponse;
|
|
2185
|
+
/** Settle Execution */
|
|
2186
|
+
/** `POST /v2/runtime/settle` · aidream · auth guest · org required */
|
|
2187
|
+
declare function settleExecution(api: Api, args: SettleExecutionArgs, options?: CallOptions): Promise<SettleExecutionResult>;
|
|
2188
|
+
type OperationStatusArgs = {
|
|
2189
|
+
path: {
|
|
2190
|
+
request_id: string;
|
|
2191
|
+
};
|
|
2192
|
+
query?: {
|
|
2193
|
+
execution_id?: string | null;
|
|
2194
|
+
};
|
|
2195
|
+
};
|
|
2196
|
+
type OperationStatusResult = OperationStatusResponse;
|
|
2197
|
+
/** Operation Status */
|
|
2198
|
+
/** `GET /runtime/operations/{request_id}` · aidream · auth guest · org required */
|
|
2199
|
+
declare function operationStatus(api: Api, args: OperationStatusArgs, options?: CallOptions): Promise<OperationStatusResult>;
|
|
2200
|
+
type RejoinOperationStreamArgs = {
|
|
2201
|
+
path: {
|
|
2202
|
+
request_id: string;
|
|
2203
|
+
};
|
|
2204
|
+
};
|
|
2205
|
+
type RejoinOperationStreamResult = unknown;
|
|
2206
|
+
/** Rejoin Operation Stream */
|
|
2207
|
+
/** `POST /runtime/operations/{request_id}/rejoin` · aidream · auth guest · org required · ndjson */
|
|
2208
|
+
declare function rejoinOperationStream(api: Api, args: RejoinOperationStreamArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
2209
|
+
type OperationsByLinkArgs = {
|
|
2210
|
+
path: {
|
|
2211
|
+
link_kind: string;
|
|
2212
|
+
link_id: string;
|
|
2213
|
+
};
|
|
2214
|
+
query?: {
|
|
2215
|
+
limit?: number;
|
|
2216
|
+
};
|
|
2217
|
+
};
|
|
2218
|
+
type OperationsByLinkResult = OperationsByLinkResponse;
|
|
2219
|
+
/** Operations By Link */
|
|
2220
|
+
/** `GET /runtime/operations/by-link/{link_kind}/{link_id}` · aidream · auth guest · org optional */
|
|
2221
|
+
declare function operationsByLink(api: Api, args: OperationsByLinkArgs, options?: CallOptions): Promise<OperationsByLinkResult>;
|
|
2222
|
+
type OperationEventsArgs = {
|
|
2223
|
+
path: {
|
|
2224
|
+
execution_id: string;
|
|
2225
|
+
};
|
|
2226
|
+
query?: {
|
|
2227
|
+
after_seq?: number;
|
|
2228
|
+
limit?: number;
|
|
2229
|
+
kind?: string[] | null;
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
type OperationEventsResult = OperationEventsPage;
|
|
2233
|
+
/** Operation Events */
|
|
2234
|
+
/** `GET /runtime/executions/{execution_id}/events` · aidream · auth guest · org required */
|
|
2235
|
+
declare function operationEvents(api: Api, args: OperationEventsArgs, options?: CallOptions): Promise<OperationEventsResult>;
|
|
2236
|
+
type OperationEventsStreamArgs = {
|
|
2237
|
+
path: {
|
|
2238
|
+
execution_id: string;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
type OperationEventsStreamResult = unknown;
|
|
2242
|
+
/** Operation Events Stream */
|
|
2243
|
+
/** `GET /runtime/executions/{execution_id}/events/stream` · aidream · auth guest · org optional · sse */
|
|
2244
|
+
declare function operationEventsStream(api: Api, args: OperationEventsStreamArgs, options?: CallOptions): Promise<ApiStream<SseEvent>>;
|
|
2245
|
+
type ListComputeTargetsArgs = {
|
|
2246
|
+
[key: string]: never;
|
|
2247
|
+
};
|
|
2248
|
+
type ListComputeTargetsResult = ComputeTargetListResponse;
|
|
2249
|
+
/** List the user's bindable compute targets (sandboxes + local PCs). */
|
|
2250
|
+
/** `GET /compute-targets/` · aidream · auth user · org required */
|
|
2251
|
+
declare function listComputeTargets(api: Api, args?: ListComputeTargetsArgs, options?: CallOptions): Promise<ListComputeTargetsResult>;
|
|
2252
|
+
type ResolveComputeTargetArgs = {
|
|
2253
|
+
body: ComputeTargetRef;
|
|
2254
|
+
};
|
|
2255
|
+
type ResolveComputeTargetResult = SandboxBindingRequest;
|
|
2256
|
+
/** Resolve a compute-target ref into the full sandbox binding payload clients ship on chat requests. Lets clients keep the existing `sandbox: {...}` request field while supporting local-PC targets. */
|
|
2257
|
+
/** `POST /compute-targets/resolve` · aidream · auth user · org required */
|
|
2258
|
+
declare function resolveComputeTarget(api: Api, args: ResolveComputeTargetArgs, options?: CallOptions): Promise<ResolveComputeTargetResult>;
|
|
2259
|
+
type MintTokenArgs = {
|
|
2260
|
+
body: MintTokenRequest;
|
|
2261
|
+
};
|
|
2262
|
+
type MintTokenResult = BrokeredCredential;
|
|
2263
|
+
/** Mint Token */
|
|
2264
|
+
/** `POST /broker/tokens` · aidream · auth user · org required */
|
|
2265
|
+
declare function mintToken(api: Api, args: MintTokenArgs, options?: CallOptions): Promise<MintTokenResult>;
|
|
2266
|
+
type ReportProviderSessionFailureArgs = {
|
|
2267
|
+
body: ProviderSessionFailureReport;
|
|
2268
|
+
};
|
|
2269
|
+
type ReportProviderSessionFailureResult = ProviderSessionFailureVerdict;
|
|
2270
|
+
/** Report Provider Session Failure */
|
|
2271
|
+
/** `POST /broker/provider-failures` · aidream · auth user · org required */
|
|
2272
|
+
declare function reportProviderSessionFailure(api: Api, args: ReportProviderSessionFailureArgs, options?: CallOptions): Promise<ReportProviderSessionFailureResult>;
|
|
2273
|
+
type AnthropicMessagesArgs = {
|
|
2274
|
+
[key: string]: never;
|
|
2275
|
+
};
|
|
2276
|
+
type AnthropicMessagesResult = unknown;
|
|
2277
|
+
/** Anthropic Messages */
|
|
2278
|
+
/** `POST /broker/gateway/anthropic/v1/messages` · aidream · auth scoped · org required · bytes */
|
|
2279
|
+
declare function anthropicMessages(api: Api, args?: AnthropicMessagesArgs, options?: CallOptions): Promise<Response>;
|
|
2280
|
+
type AnthropicCountTokensArgs = {
|
|
2281
|
+
[key: string]: never;
|
|
2282
|
+
};
|
|
2283
|
+
type AnthropicCountTokensResult = AnthropicCountTokensResponse;
|
|
2284
|
+
/** Anthropic Count Tokens */
|
|
2285
|
+
/** `POST /broker/gateway/anthropic/v1/messages/count_tokens` · aidream · auth scoped · org required */
|
|
2286
|
+
declare function anthropicCountTokens(api: Api, args?: AnthropicCountTokensArgs, options?: CallOptions): Promise<AnthropicCountTokensResult>;
|
|
2287
|
+
type OpenaiCodexResponsesArgs = {
|
|
2288
|
+
[key: string]: never;
|
|
2289
|
+
};
|
|
2290
|
+
type OpenaiCodexResponsesResult = unknown;
|
|
2291
|
+
/** Openai Codex Responses */
|
|
2292
|
+
/** `POST /broker/gateway/openai_codex/v1/responses` · aidream · auth scoped · org required · bytes */
|
|
2293
|
+
declare function openaiCodexResponses(api: Api, args?: OpenaiCodexResponsesArgs, options?: CallOptions): Promise<Response>;
|
|
2294
|
+
type GetDefaultBrowserProfileForUserArgs = {
|
|
2295
|
+
[key: string]: never;
|
|
2296
|
+
};
|
|
2297
|
+
type GetDefaultBrowserProfileForUserResult = DefaultBrowserProfileResponse;
|
|
2298
|
+
/** Get Default Browser Profile For User */
|
|
2299
|
+
/** `GET /sandboxes/internal/default-browser-profile` · aidream · auth service · org required */
|
|
2300
|
+
declare function getDefaultBrowserProfileForUser(api: Api, args?: GetDefaultBrowserProfileForUserArgs, options?: CallOptions): Promise<GetDefaultBrowserProfileForUserResult>;
|
|
2301
|
+
type ListTraceFilesArgs = {
|
|
2302
|
+
[key: string]: never;
|
|
2303
|
+
};
|
|
2304
|
+
type ListTraceFilesResult = TraceFileListResponse;
|
|
2305
|
+
/** List Trace Files */
|
|
2306
|
+
/** `GET /admin/debug-traces/files` · aidream · auth admin · org exempt */
|
|
2307
|
+
declare function listTraceFiles(api: Api, args?: ListTraceFilesArgs, options?: CallOptions): Promise<ListTraceFilesResult>;
|
|
2308
|
+
type GetTraceFileArgs = {
|
|
2309
|
+
path: {
|
|
2310
|
+
filename: string;
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
type GetTraceFileResult = unknown;
|
|
2314
|
+
/** Get Trace File */
|
|
2315
|
+
/** `GET /admin/debug-traces/files/{filename}` · aidream · auth admin · org exempt · bytes */
|
|
2316
|
+
declare function getTraceFile(api: Api, args: GetTraceFileArgs, options?: CallOptions): Promise<Response>;
|
|
2317
|
+
type RecentEventsArgs = {
|
|
2318
|
+
query?: {
|
|
2319
|
+
since?: string | null;
|
|
2320
|
+
limit?: number;
|
|
2321
|
+
event?: string | null;
|
|
2322
|
+
tool_name?: string | null;
|
|
2323
|
+
verbose?: boolean;
|
|
2324
|
+
};
|
|
2325
|
+
};
|
|
2326
|
+
type RecentEventsResult = TraceEventListResponse;
|
|
2327
|
+
/** Recent Events */
|
|
2328
|
+
/** `GET /admin/debug-traces/recent` · aidream · auth admin · org exempt */
|
|
2329
|
+
declare function recentEvents(api: Api, args?: RecentEventsArgs, options?: CallOptions): Promise<RecentEventsResult>;
|
|
2330
|
+
type FailuresSinceArgs = {
|
|
2331
|
+
path: {
|
|
2332
|
+
iso_ts: string;
|
|
2333
|
+
};
|
|
2334
|
+
query?: {
|
|
2335
|
+
limit?: number;
|
|
2336
|
+
verbose?: boolean;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
type FailuresSinceResult = TraceEventListResponse;
|
|
2340
|
+
/** Failures Since */
|
|
2341
|
+
/** `GET /admin/debug-traces/failures-since/{iso_ts}` · aidream · auth admin · org exempt */
|
|
2342
|
+
declare function failuresSince(api: Api, args: FailuresSinceArgs, options?: CallOptions): Promise<FailuresSinceResult>;
|
|
2343
|
+
type ByConversationArgs = {
|
|
2344
|
+
path: {
|
|
2345
|
+
conversation_id: string;
|
|
2346
|
+
};
|
|
2347
|
+
query?: {
|
|
2348
|
+
limit?: number;
|
|
2349
|
+
verbose?: boolean;
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2352
|
+
type ByConversationResult = TraceEventListResponse;
|
|
2353
|
+
/** By Conversation */
|
|
2354
|
+
/** `GET /admin/debug-traces/by-conv/{conversation_id}` · aidream · auth admin · org exempt */
|
|
2355
|
+
declare function byConversation(api: Api, args: ByConversationArgs, options?: CallOptions): Promise<ByConversationResult>;
|
|
2356
|
+
type ByCallArgs = {
|
|
2357
|
+
path: {
|
|
2358
|
+
call_id: string;
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
type ByCallResult = CallTimelineResponse;
|
|
2362
|
+
/** By Call */
|
|
2363
|
+
/** `GET /admin/debug-traces/by-call/{call_id}` · aidream · auth admin · org exempt */
|
|
2364
|
+
declare function byCall(api: Api, args: ByCallArgs, options?: CallOptions): Promise<ByCallResult>;
|
|
2365
|
+
type RecentErrorsArgs = {
|
|
2366
|
+
query?: {
|
|
2367
|
+
since?: string | null;
|
|
2368
|
+
since_hours?: number | null;
|
|
2369
|
+
snapshot_at?: string | null;
|
|
2370
|
+
limit?: number;
|
|
2371
|
+
cursor_occurred_at?: string | null;
|
|
2372
|
+
cursor_id?: string | null;
|
|
2373
|
+
route?: string | null;
|
|
2374
|
+
error_type?: string | null;
|
|
2375
|
+
kind?: string | null;
|
|
2376
|
+
request_id?: string | null;
|
|
2377
|
+
source_app?: string | null;
|
|
2378
|
+
source_feature?: string | null;
|
|
2379
|
+
unresolved_only?: boolean;
|
|
2380
|
+
};
|
|
2381
|
+
};
|
|
2382
|
+
type RecentErrorsResult = aidream__api__routers__admin_system_errors__SystemErrorListResponse;
|
|
2383
|
+
/** Recent Errors */
|
|
2384
|
+
/** `GET /admin/system-errors/recent` · aidream · auth admin · org exempt */
|
|
2385
|
+
declare function recentErrors(api: Api, args?: RecentErrorsArgs, options?: CallOptions): Promise<RecentErrorsResult>;
|
|
2386
|
+
type OpenOutagesArgs = {
|
|
2387
|
+
[key: string]: never;
|
|
2388
|
+
};
|
|
2389
|
+
type OpenOutagesResult = OpenOutageListResponse;
|
|
2390
|
+
/** Open Outages */
|
|
2391
|
+
/** `GET /admin/system-errors/open-outages` · aidream · auth admin · org exempt */
|
|
2392
|
+
declare function openOutages(api: Api, args?: OpenOutagesArgs, options?: CallOptions): Promise<OpenOutagesResult>;
|
|
2393
|
+
type GetErrorArgs = {
|
|
2394
|
+
path: {
|
|
2395
|
+
error_id: string;
|
|
2396
|
+
};
|
|
2397
|
+
};
|
|
2398
|
+
type GetErrorResult = SystemErrorRecord;
|
|
2399
|
+
/** Get Error */
|
|
2400
|
+
/** `GET /admin/system-errors/{error_id}` · aidream · auth admin · org exempt */
|
|
2401
|
+
declare function getError(api: Api, args: GetErrorArgs, options?: CallOptions): Promise<GetErrorResult>;
|
|
2402
|
+
type RecentExecutionsArgs = {
|
|
2403
|
+
query?: {
|
|
2404
|
+
limit?: number;
|
|
2405
|
+
type?: string | null;
|
|
2406
|
+
status?: ExecutionStatus | null;
|
|
2407
|
+
roots_only?: boolean;
|
|
2408
|
+
};
|
|
2409
|
+
};
|
|
2410
|
+
type RecentExecutionsResult = RecentExecutionsResponse;
|
|
2411
|
+
/** Recent Executions */
|
|
2412
|
+
/** `GET /admin/runtime/recent` · aidream · auth admin · org exempt */
|
|
2413
|
+
declare function recentExecutions(api: Api, args?: RecentExecutionsArgs, options?: CallOptions): Promise<RecentExecutionsResult>;
|
|
2414
|
+
type WorkerHealthArgs = {
|
|
2415
|
+
[key: string]: never;
|
|
2416
|
+
};
|
|
2417
|
+
type WorkerHealthResult = WorkerHealthResponse;
|
|
2418
|
+
/** Worker Health */
|
|
2419
|
+
/** `GET /admin/runtime/worker-health` · aidream · auth admin · org exempt */
|
|
2420
|
+
declare function workerHealth(api: Api, args?: WorkerHealthArgs, options?: CallOptions): Promise<WorkerHealthResult>;
|
|
2421
|
+
type LockStormArgs = {
|
|
2422
|
+
[key: string]: never;
|
|
2423
|
+
};
|
|
2424
|
+
type LockStormResult = LockStormResponse;
|
|
2425
|
+
/** Lock Storm */
|
|
2426
|
+
/** `GET /admin/runtime/lock-storm` · aidream · auth admin · org exempt */
|
|
2427
|
+
declare function lockStorm(api: Api, args?: LockStormArgs, options?: CallOptions): Promise<LockStormResult>;
|
|
2428
|
+
type ConversationExecutionsArgs = {
|
|
2429
|
+
path: {
|
|
2430
|
+
conversation_id: string;
|
|
2431
|
+
};
|
|
2432
|
+
};
|
|
2433
|
+
type ConversationExecutionsResult = ConversationExecutionsResponse;
|
|
2434
|
+
/** Conversation Executions */
|
|
2435
|
+
/** `GET /admin/runtime/conversations/{conversation_id}` · aidream · auth admin · org exempt */
|
|
2436
|
+
declare function conversationExecutions(api: Api, args: ConversationExecutionsArgs, options?: CallOptions): Promise<ConversationExecutionsResult>;
|
|
2437
|
+
type WorkflowExecutionsArgs = {
|
|
2438
|
+
path: {
|
|
2439
|
+
run_id: string;
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
type WorkflowExecutionsResult = ConversationExecutionsResponse;
|
|
2443
|
+
/** Workflow Executions */
|
|
2444
|
+
/** `GET /admin/runtime/workflows/{run_id}` · aidream · auth admin · org exempt */
|
|
2445
|
+
declare function workflowExecutions(api: Api, args: WorkflowExecutionsArgs, options?: CallOptions): Promise<WorkflowExecutionsResult>;
|
|
2446
|
+
type ExecutionTreeArgs = {
|
|
2447
|
+
path: {
|
|
2448
|
+
execution_id: string;
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
type ExecutionTreeResult = ExecutionTree;
|
|
2452
|
+
/** Execution Tree */
|
|
2453
|
+
/** `GET /admin/runtime/executions/{execution_id}/tree` · aidream · auth admin · org exempt */
|
|
2454
|
+
declare function executionTree(api: Api, args: ExecutionTreeArgs, options?: CallOptions): Promise<ExecutionTreeResult>;
|
|
2455
|
+
type ExecutionEventsArgs = {
|
|
2456
|
+
path: {
|
|
2457
|
+
execution_id: string;
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2460
|
+
type ExecutionEventsResult = ExecutionEventsResponse;
|
|
2461
|
+
/** Execution Events */
|
|
2462
|
+
/** `GET /admin/runtime/executions/{execution_id}/events` · aidream · auth admin · org exempt */
|
|
2463
|
+
declare function executionEvents(api: Api, args: ExecutionEventsArgs, options?: CallOptions): Promise<ExecutionEventsResult>;
|
|
2464
|
+
type SystemCostsArgs = {
|
|
2465
|
+
query?: {
|
|
2466
|
+
limit?: number;
|
|
2467
|
+
};
|
|
2468
|
+
};
|
|
2469
|
+
type SystemCostsResult = SystemCostsResponse;
|
|
2470
|
+
/** System Costs */
|
|
2471
|
+
/** `GET /admin/runtime/system-costs` · aidream · auth admin · org exempt */
|
|
2472
|
+
declare function systemCosts(api: Api, args?: SystemCostsArgs, options?: CallOptions): Promise<SystemCostsResult>;
|
|
2473
|
+
type OverviewArgs = {
|
|
2474
|
+
query?: {
|
|
2475
|
+
hours?: number;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2478
|
+
type OverviewResult = OpenRuntimeResponse;
|
|
2479
|
+
/** Overview */
|
|
2480
|
+
/** `GET /admin/runtime/overview` · aidream · auth admin · org exempt */
|
|
2481
|
+
declare function overview(api: Api, args?: OverviewArgs, options?: CallOptions): Promise<OverviewResult>;
|
|
2482
|
+
type SignalsArgs = {
|
|
2483
|
+
query?: {
|
|
2484
|
+
hours?: number;
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
type SignalsResult = OpenRuntimeResponse;
|
|
2488
|
+
/** Signals */
|
|
2489
|
+
/** `GET /admin/runtime/signals` · aidream · auth admin · org exempt */
|
|
2490
|
+
declare function signals(api: Api, args?: SignalsArgs, options?: CallOptions): Promise<SignalsResult>;
|
|
2491
|
+
type FalseReapsArgs = {
|
|
2492
|
+
query?: {
|
|
2493
|
+
hours?: number;
|
|
2494
|
+
};
|
|
2495
|
+
};
|
|
2496
|
+
type FalseReapsResult = OpenRuntimeResponse;
|
|
2497
|
+
/** False Reaps */
|
|
2498
|
+
/** `GET /admin/runtime/false-reaps` · aidream · auth admin · org exempt */
|
|
2499
|
+
declare function falseReaps(api: Api, args?: FalseReapsArgs, options?: CallOptions): Promise<FalseReapsResult>;
|
|
2500
|
+
type CancelExecutionTreeArgs = {
|
|
2501
|
+
path: {
|
|
2502
|
+
execution_id: string;
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
type CancelExecutionTreeResult = ActionResult;
|
|
2506
|
+
/** Cancel Execution Tree */
|
|
2507
|
+
/** `POST /admin/runtime/executions/{execution_id}/cancel` · aidream · auth admin · org exempt */
|
|
2508
|
+
declare function cancelExecutionTree(api: Api, args: CancelExecutionTreeArgs, options?: CallOptions): Promise<CancelExecutionTreeResult>;
|
|
2509
|
+
type TakeOverExecutionArgs = {
|
|
2510
|
+
path: {
|
|
2511
|
+
execution_id: string;
|
|
2512
|
+
};
|
|
2513
|
+
query?: {
|
|
2514
|
+
lease_seconds?: number;
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
type TakeOverExecutionResult = ActionResult;
|
|
2518
|
+
/** Take Over Execution */
|
|
2519
|
+
/** `POST /admin/runtime/executions/{execution_id}/take-over` · aidream · auth admin · org exempt */
|
|
2520
|
+
declare function takeOverExecution(api: Api, args: TakeOverExecutionArgs, options?: CallOptions): Promise<TakeOverExecutionResult>;
|
|
2521
|
+
type MarkFalseReapArgs = {
|
|
2522
|
+
path: {
|
|
2523
|
+
execution_id: string;
|
|
2524
|
+
};
|
|
2525
|
+
body: FalseReapRuling;
|
|
2526
|
+
};
|
|
2527
|
+
type MarkFalseReapResult = ActionResult;
|
|
2528
|
+
/** Mark False Reap */
|
|
2529
|
+
/** `POST /admin/runtime/executions/{execution_id}/mark-false-reap` · aidream · auth admin · org exempt */
|
|
2530
|
+
declare function markFalseReap(api: Api, args: MarkFalseReapArgs, options?: CallOptions): Promise<MarkFalseReapResult>;
|
|
2531
|
+
type ReapExpiredNowArgs = {
|
|
2532
|
+
[key: string]: never;
|
|
2533
|
+
};
|
|
2534
|
+
type ReapExpiredNowResult = OpenRuntimeResponse;
|
|
2535
|
+
/** Reap Expired Now */
|
|
2536
|
+
/** `POST /admin/runtime/reap-expired` · aidream · auth admin · org exempt */
|
|
2537
|
+
declare function reapExpiredNow(api: Api, args?: ReapExpiredNowArgs, options?: CallOptions): Promise<ReapExpiredNowResult>;
|
|
2538
|
+
type JsonrpcEndpointArgs = {
|
|
2539
|
+
[key: string]: never;
|
|
2540
|
+
};
|
|
2541
|
+
type JsonrpcEndpointResult = JsonRpcResponse;
|
|
2542
|
+
/** Jsonrpc Endpoint */
|
|
2543
|
+
/** `POST /mcp/debug-traces` · aidream · auth user · org required */
|
|
2544
|
+
declare function jsonrpcEndpoint(api: Api, args?: JsonrpcEndpointArgs, options?: CallOptions): Promise<JsonrpcEndpointResult>;
|
|
2545
|
+
type ListExamplesArgs = {
|
|
2546
|
+
[key: string]: never;
|
|
2547
|
+
};
|
|
2548
|
+
type ListExamplesResult = ListExamplesResponse;
|
|
2549
|
+
/** List Examples */
|
|
2550
|
+
/** `GET /tests/examples` · aidream · auth admin · org optional */
|
|
2551
|
+
declare function listExamples(api: Api, args?: ListExamplesArgs, options?: CallOptions): Promise<ListExamplesResult>;
|
|
2552
|
+
type CreateExampleArgs = {
|
|
2553
|
+
body: Item;
|
|
2554
|
+
};
|
|
2555
|
+
type CreateExampleResult = ItemResponse;
|
|
2556
|
+
/** Create Example */
|
|
2557
|
+
/** `POST /tests/examples` · aidream · auth admin · org required */
|
|
2558
|
+
declare function createExample(api: Api, args: CreateExampleArgs, options?: CallOptions): Promise<CreateExampleResult>;
|
|
2559
|
+
type GetExampleArgs = {
|
|
2560
|
+
path: {
|
|
2561
|
+
item_id: number;
|
|
2562
|
+
};
|
|
2563
|
+
};
|
|
2564
|
+
type GetExampleResult = ItemResponse;
|
|
2565
|
+
/** Get Example */
|
|
2566
|
+
/** `GET /tests/examples/{item_id}` · aidream · auth admin · org optional */
|
|
2567
|
+
declare function getExample(api: Api, args: GetExampleArgs, options?: CallOptions): Promise<GetExampleResult>;
|
|
2568
|
+
type UpdateExampleArgs = {
|
|
2569
|
+
path: {
|
|
2570
|
+
item_id: number;
|
|
2571
|
+
};
|
|
2572
|
+
body: Item;
|
|
2573
|
+
};
|
|
2574
|
+
type UpdateExampleResult = ItemResponse;
|
|
2575
|
+
/** Update Example */
|
|
2576
|
+
/** `PUT /tests/examples/{item_id}` · aidream · auth admin · org required */
|
|
2577
|
+
declare function updateExample(api: Api, args: UpdateExampleArgs, options?: CallOptions): Promise<UpdateExampleResult>;
|
|
2578
|
+
type DeleteExampleArgs = {
|
|
2579
|
+
path: {
|
|
2580
|
+
item_id: number;
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
type DeleteExampleResult = DeleteExampleResponse;
|
|
2584
|
+
/** Delete Example */
|
|
2585
|
+
/** `DELETE /tests/examples/{item_id}` · aidream · auth admin · org required */
|
|
2586
|
+
declare function deleteExample(api: Api, args: DeleteExampleArgs, options?: CallOptions): Promise<DeleteExampleResult>;
|
|
2587
|
+
type SearchExamplesArgs = {
|
|
2588
|
+
query: {
|
|
2589
|
+
q: string;
|
|
2590
|
+
limit?: number;
|
|
2591
|
+
};
|
|
2592
|
+
};
|
|
2593
|
+
type SearchExamplesResult = SearchExamplesResponse;
|
|
2594
|
+
/** Search Examples */
|
|
2595
|
+
/** `GET /tests/examples/search` · aidream · auth admin · org required */
|
|
2596
|
+
declare function searchExamples(api: Api, args: SearchExamplesArgs, options?: CallOptions): Promise<SearchExamplesResult>;
|
|
2597
|
+
type StreamTextArgs = {
|
|
2598
|
+
query?: {
|
|
2599
|
+
message?: string;
|
|
2600
|
+
chunks?: number;
|
|
2601
|
+
delay?: number;
|
|
2602
|
+
};
|
|
2603
|
+
};
|
|
2604
|
+
type StreamTextResult = unknown;
|
|
2605
|
+
/** Stream Text */
|
|
2606
|
+
/** `GET /tests/stream/text` · aidream · auth admin · org optional · bytes */
|
|
2607
|
+
declare function streamText(api: Api, args?: StreamTextArgs, options?: CallOptions): Promise<Response>;
|
|
2608
|
+
type GetStatsArgs = {
|
|
2609
|
+
[key: string]: never;
|
|
2610
|
+
};
|
|
2611
|
+
type GetStatsResult = AdminStatsResponse;
|
|
2612
|
+
/** Get Stats */
|
|
2613
|
+
/** `GET /admin/stats` · aidream · auth admin · org exempt */
|
|
2614
|
+
declare function getStats(api: Api, args?: GetStatsArgs, options?: CallOptions): Promise<GetStatsResult>;
|
|
2615
|
+
type ListIssueClassesArgs = {
|
|
2616
|
+
[key: string]: never;
|
|
2617
|
+
};
|
|
2618
|
+
type ListIssueClassesResult = IssueClassRecord[];
|
|
2619
|
+
/** List Issue Classes */
|
|
2620
|
+
/** `GET /admin/ops/issue-classes` · aidream · auth admin · org exempt */
|
|
2621
|
+
declare function listIssueClasses(api: Api, args?: ListIssueClassesArgs, options?: CallOptions): Promise<ListIssueClassesResult>;
|
|
2622
|
+
type GetIssueClassArgs = {
|
|
2623
|
+
path: {
|
|
2624
|
+
class_id: string;
|
|
2625
|
+
};
|
|
2626
|
+
};
|
|
2627
|
+
type GetIssueClassResult = IssueClassRecord;
|
|
2628
|
+
/** Get Issue Class */
|
|
2629
|
+
/** `GET /admin/ops/issue-classes/{class_id}` · aidream · auth admin · org exempt */
|
|
2630
|
+
declare function getIssueClass(api: Api, args: GetIssueClassArgs, options?: CallOptions): Promise<GetIssueClassResult>;
|
|
2631
|
+
type UpdateIssueClassArgs = {
|
|
2632
|
+
path: {
|
|
2633
|
+
class_id: string;
|
|
2634
|
+
};
|
|
2635
|
+
body: IssueClassUpdate;
|
|
2636
|
+
};
|
|
2637
|
+
type UpdateIssueClassResult = IssueClassRecord;
|
|
2638
|
+
/** Update Issue Class */
|
|
2639
|
+
/** `PATCH /admin/ops/issue-classes/{class_id}` · aidream · auth admin · org exempt */
|
|
2640
|
+
declare function updateIssueClass(api: Api, args: UpdateIssueClassArgs, options?: CallOptions): Promise<UpdateIssueClassResult>;
|
|
2641
|
+
type BatchUpdateIssueClassesArgs = {
|
|
2642
|
+
body: IssueClassBatchUpdate;
|
|
2643
|
+
};
|
|
2644
|
+
type BatchUpdateIssueClassesResult = IssueClassBatchResult;
|
|
2645
|
+
/** Batch Update Issue Classes */
|
|
2646
|
+
/** `POST /admin/ops/issue-classes/batch` · aidream · auth admin · org exempt */
|
|
2647
|
+
declare function batchUpdateIssueClasses(api: Api, args: BatchUpdateIssueClassesArgs, options?: CallOptions): Promise<BatchUpdateIssueClassesResult>;
|
|
2648
|
+
type ListEventsForClassArgs = {
|
|
2649
|
+
path: {
|
|
2650
|
+
class_id: string;
|
|
2651
|
+
};
|
|
2652
|
+
query?: {
|
|
2653
|
+
limit?: number;
|
|
2654
|
+
offset?: number;
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
type ListEventsForClassResult = IssueEventRecord[];
|
|
2658
|
+
/** List Events For Class */
|
|
2659
|
+
/** `GET /admin/ops/issue-classes/{class_id}/events` · aidream · auth admin · org exempt */
|
|
2660
|
+
declare function listEventsForClass(api: Api, args: ListEventsForClassArgs, options?: CallOptions): Promise<ListEventsForClassResult>;
|
|
2661
|
+
type ListRecentEventsArgs = {
|
|
2662
|
+
query?: {
|
|
2663
|
+
limit?: number;
|
|
2664
|
+
offset?: number;
|
|
2665
|
+
provider?: string | null;
|
|
2666
|
+
was_recovered?: boolean | null;
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2669
|
+
type ListRecentEventsResult = IssueEventRecord[];
|
|
2670
|
+
/** List Recent Events */
|
|
2671
|
+
/** `GET /admin/ops/events/recent` · aidream · auth admin · org exempt */
|
|
2672
|
+
declare function listRecentEvents(api: Api, args?: ListRecentEventsArgs, options?: CallOptions): Promise<ListRecentEventsResult>;
|
|
2673
|
+
type OpsSummaryArgs = {
|
|
2674
|
+
[key: string]: never;
|
|
2675
|
+
};
|
|
2676
|
+
type OpsSummaryResult = OpsSummaryResponse;
|
|
2677
|
+
/** Ops Summary */
|
|
2678
|
+
/** `GET /admin/ops/summary` · aidream · auth admin · org exempt */
|
|
2679
|
+
declare function opsSummary(api: Api, args?: OpsSummaryArgs, options?: CallOptions): Promise<OpsSummaryResult>;
|
|
2680
|
+
type IssueClassStatsArgs = {
|
|
2681
|
+
path: {
|
|
2682
|
+
class_id: string;
|
|
2683
|
+
};
|
|
2684
|
+
};
|
|
2685
|
+
type IssueClassStatsResult = IssueClassStatsResponse;
|
|
2686
|
+
/** Issue Class Stats */
|
|
2687
|
+
/** `GET /admin/ops/issue-classes/{class_id}/stats` · aidream · auth admin · org exempt */
|
|
2688
|
+
declare function issueClassStats(api: Api, args: IssueClassStatsArgs, options?: CallOptions): Promise<IssueClassStatsResult>;
|
|
2689
|
+
type ListProvidersArgs = {
|
|
2690
|
+
[key: string]: never;
|
|
2691
|
+
};
|
|
2692
|
+
type ListProvidersResult = string[];
|
|
2693
|
+
/** List Providers */
|
|
2694
|
+
/** `GET /admin/ops/providers` · aidream · auth admin · org exempt */
|
|
2695
|
+
declare function listProviders(api: Api, args?: ListProvidersArgs, options?: CallOptions): Promise<ListProvidersResult>;
|
|
2696
|
+
type ListKindIncidentsArgs = {
|
|
2697
|
+
query?: {
|
|
2698
|
+
scope?: "open" | "resolved" | "any";
|
|
2699
|
+
kind?: string | null;
|
|
2700
|
+
error_type?: string | null;
|
|
2701
|
+
platform?: string | null;
|
|
2702
|
+
since?: string | null;
|
|
2703
|
+
until?: string | null;
|
|
2704
|
+
limit?: number;
|
|
2705
|
+
offset?: number;
|
|
2706
|
+
};
|
|
2707
|
+
};
|
|
2708
|
+
type ListKindIncidentsResult = KindIncidentListResponse;
|
|
2709
|
+
/** List Kind Incidents */
|
|
2710
|
+
/** `GET /admin/kind-incidents` · aidream · auth admin · org exempt */
|
|
2711
|
+
declare function listKindIncidents(api: Api, args?: ListKindIncidentsArgs, options?: CallOptions): Promise<ListKindIncidentsResult>;
|
|
2712
|
+
type KindIncidentMetricsArgs = {
|
|
2713
|
+
query?: {
|
|
2714
|
+
since?: string | null;
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
type KindIncidentMetricsResult = KindIncidentMetrics;
|
|
2718
|
+
/** Kind Incident Metrics */
|
|
2719
|
+
/** `GET /admin/kind-incidents/metrics` · aidream · auth admin · org exempt */
|
|
2720
|
+
declare function kindIncidentMetrics(api: Api, args?: KindIncidentMetricsArgs, options?: CallOptions): Promise<KindIncidentMetricsResult>;
|
|
2721
|
+
type GetKindIncidentArgs = {
|
|
2722
|
+
path: {
|
|
2723
|
+
incident_id: string;
|
|
2724
|
+
};
|
|
2725
|
+
};
|
|
2726
|
+
type GetKindIncidentResult = KindIncidentDetail;
|
|
2727
|
+
/** Get Kind Incident */
|
|
2728
|
+
/** `GET /admin/kind-incidents/{incident_id}` · aidream · auth admin · org exempt */
|
|
2729
|
+
declare function getKindIncident(api: Api, args: GetKindIncidentArgs, options?: CallOptions): Promise<GetKindIncidentResult>;
|
|
2730
|
+
type ResolveKindIncidentsArgs = {
|
|
2731
|
+
body: ResolveKindIncidentsRequest;
|
|
2732
|
+
};
|
|
2733
|
+
type ResolveKindIncidentsResult = KindIncidentResolveResponse;
|
|
2734
|
+
/** Resolve Kind Incidents */
|
|
2735
|
+
/** `POST /admin/kind-incidents/resolve` · aidream · auth admin · org exempt */
|
|
2736
|
+
declare function resolveKindIncidents(api: Api, args: ResolveKindIncidentsArgs, options?: CallOptions): Promise<ResolveKindIncidentsResult>;
|
|
2737
|
+
type GetWatchdogStatusArgs = {
|
|
2738
|
+
[key: string]: never;
|
|
2739
|
+
};
|
|
2740
|
+
type GetWatchdogStatusResult = WatchdogStatusResponse;
|
|
2741
|
+
/** Get Watchdog Status */
|
|
2742
|
+
/** `GET /admin/persistence/watchdog` · aidream · auth admin · org exempt */
|
|
2743
|
+
declare function getWatchdogStatus(api: Api, args?: GetWatchdogStatusArgs, options?: CallOptions): Promise<GetWatchdogStatusResult>;
|
|
2744
|
+
type ListStuckRowsArgs = {
|
|
2745
|
+
path: {
|
|
2746
|
+
table: string;
|
|
2747
|
+
};
|
|
2748
|
+
query?: {
|
|
2749
|
+
limit?: number;
|
|
2750
|
+
schema?: string;
|
|
2751
|
+
};
|
|
2752
|
+
};
|
|
2753
|
+
type ListStuckRowsResult = StuckRowsResponse;
|
|
2754
|
+
/** List Stuck Rows */
|
|
2755
|
+
/** `GET /admin/persistence/watchdog/{table}` · aidream · auth admin · org exempt */
|
|
2756
|
+
declare function listStuckRows(api: Api, args: ListStuckRowsArgs, options?: CallOptions): Promise<ListStuckRowsResult>;
|
|
2757
|
+
type SweepWatchdogOnceArgs = {
|
|
2758
|
+
[key: string]: never;
|
|
2759
|
+
};
|
|
2760
|
+
type SweepWatchdogOnceResult = WatchdogStatusResponse;
|
|
2761
|
+
/** Sweep Watchdog Once */
|
|
2762
|
+
/** `POST /admin/persistence/watchdog/sweep` · aidream · auth admin · org exempt */
|
|
2763
|
+
declare function sweepWatchdogOnce(api: Api, args?: SweepWatchdogOnceArgs, options?: CallOptions): Promise<SweepWatchdogOnceResult>;
|
|
2764
|
+
type ListFailuresArgs = {
|
|
2765
|
+
query?: {
|
|
2766
|
+
recovered?: "any" | "yes" | "no";
|
|
2767
|
+
table_target?: string | null;
|
|
2768
|
+
op_type?: ("insert" | "update" | "delete") | null;
|
|
2769
|
+
error_text_contains?: string | null;
|
|
2770
|
+
request_id?: string | null;
|
|
2771
|
+
user_id?: string | null;
|
|
2772
|
+
since?: string | null;
|
|
2773
|
+
until?: string | null;
|
|
2774
|
+
column_filters?: string | null;
|
|
2775
|
+
limit?: number;
|
|
2776
|
+
offset?: number;
|
|
2777
|
+
};
|
|
2778
|
+
};
|
|
2779
|
+
type ListFailuresResult = FailureListResponse;
|
|
2780
|
+
/** List Failures */
|
|
2781
|
+
/** `GET /admin/persistence/failures` · aidream · auth admin · org exempt */
|
|
2782
|
+
declare function listFailures(api: Api, args?: ListFailuresArgs, options?: CallOptions): Promise<ListFailuresResult>;
|
|
2783
|
+
type GetFailureDetailArgs = {
|
|
2784
|
+
path: {
|
|
2785
|
+
failure_id: string;
|
|
2786
|
+
};
|
|
2787
|
+
};
|
|
2788
|
+
type GetFailureDetailResult = FailureDetail;
|
|
2789
|
+
/** Get Failure Detail */
|
|
2790
|
+
/** `GET /admin/persistence/failures/{failure_id}` · aidream · auth admin · org exempt */
|
|
2791
|
+
declare function getFailureDetail(api: Api, args: GetFailureDetailArgs, options?: CallOptions): Promise<GetFailureDetailResult>;
|
|
2792
|
+
type ReplayOneArgs = {
|
|
2793
|
+
path: {
|
|
2794
|
+
failure_id: string;
|
|
2795
|
+
};
|
|
2796
|
+
};
|
|
2797
|
+
type ReplayOneResult = ReplayResponse;
|
|
2798
|
+
/** Replay One */
|
|
2799
|
+
/** `POST /admin/persistence/failures/{failure_id}/replay` · aidream · auth admin · org exempt */
|
|
2800
|
+
declare function replayOne(api: Api, args: ReplayOneArgs, options?: CallOptions): Promise<ReplayOneResult>;
|
|
2801
|
+
type ReplayBatchArgs = {
|
|
2802
|
+
body?: ReplayBatchRequest | null;
|
|
2803
|
+
};
|
|
2804
|
+
type ReplayBatchResult = ReplayResponse;
|
|
2805
|
+
/** Replay Batch */
|
|
2806
|
+
/** `POST /admin/persistence/failures/replay-batch` · aidream · auth admin · org exempt */
|
|
2807
|
+
declare function replayBatch(api: Api, args?: ReplayBatchArgs, options?: CallOptions): Promise<ReplayBatchResult>;
|
|
2808
|
+
type DismissFailureArgs = {
|
|
2809
|
+
path: {
|
|
2810
|
+
failure_id: string;
|
|
2811
|
+
};
|
|
2812
|
+
query?: {
|
|
2813
|
+
reason?: string | null;
|
|
2814
|
+
};
|
|
2815
|
+
};
|
|
2816
|
+
type DismissFailureResult = DismissResponse;
|
|
2817
|
+
/** Dismiss Failure */
|
|
2818
|
+
/** `POST /admin/persistence/failures/{failure_id}/dismiss` · aidream · auth admin · org exempt */
|
|
2819
|
+
declare function dismissFailure(api: Api, args: DismissFailureArgs, options?: CallOptions): Promise<DismissFailureResult>;
|
|
2820
|
+
type DismissBatchArgs = {
|
|
2821
|
+
body?: DismissBatchRequest | null;
|
|
2822
|
+
};
|
|
2823
|
+
type DismissBatchResult = DismissBatchResponse;
|
|
2824
|
+
/** Dismiss Batch */
|
|
2825
|
+
/** `POST /admin/persistence/failures/dismiss-batch` · aidream · auth admin · org exempt */
|
|
2826
|
+
declare function dismissBatch(api: Api, args?: DismissBatchArgs, options?: CallOptions): Promise<DismissBatchResult>;
|
|
2827
|
+
type GetSummaryArgs = {
|
|
2828
|
+
[key: string]: never;
|
|
2829
|
+
};
|
|
2830
|
+
type GetSummaryResult = PersistenceSummary;
|
|
2831
|
+
/** Get Summary */
|
|
2832
|
+
/** `GET /admin/persistence/summary` · aidream · auth admin · org exempt */
|
|
2833
|
+
declare function getSummary(api: Api, args?: GetSummaryArgs, options?: CallOptions): Promise<GetSummaryResult>;
|
|
2834
|
+
type ListErrorsArgs = {
|
|
2835
|
+
query?: {
|
|
2836
|
+
resolved?: "any" | "yes" | "no";
|
|
2837
|
+
kind?: string | null;
|
|
2838
|
+
route?: string | null;
|
|
2839
|
+
error_text_contains?: string | null;
|
|
2840
|
+
request_id?: string | null;
|
|
2841
|
+
user_id?: string | null;
|
|
2842
|
+
since?: string | null;
|
|
2843
|
+
until?: string | null;
|
|
2844
|
+
column_filters?: string | null;
|
|
2845
|
+
limit?: number;
|
|
2846
|
+
offset?: number;
|
|
2847
|
+
};
|
|
2848
|
+
};
|
|
2849
|
+
type ListErrorsResult = aidream__services__admin_persistence__wire__SystemErrorListResponse;
|
|
2850
|
+
/** List Errors */
|
|
2851
|
+
/** `GET /admin/persistence/errors` · aidream · auth admin · org exempt */
|
|
2852
|
+
declare function listErrors(api: Api, args?: ListErrorsArgs, options?: CallOptions): Promise<ListErrorsResult>;
|
|
2853
|
+
type GetErrorDetailArgs = {
|
|
2854
|
+
path: {
|
|
2855
|
+
error_id: string;
|
|
2856
|
+
};
|
|
2857
|
+
};
|
|
2858
|
+
type GetErrorDetailResult = SystemErrorDetail;
|
|
2859
|
+
/** Get Error Detail */
|
|
2860
|
+
/** `GET /admin/persistence/errors/{error_id}` · aidream · auth admin · org exempt */
|
|
2861
|
+
declare function getErrorDetail(api: Api, args: GetErrorDetailArgs, options?: CallOptions): Promise<GetErrorDetailResult>;
|
|
2862
|
+
type ResolveErrorArgs = {
|
|
2863
|
+
path: {
|
|
2864
|
+
error_id: string;
|
|
2865
|
+
};
|
|
2866
|
+
};
|
|
2867
|
+
type ResolveErrorResult = ResolveErrorResponse;
|
|
2868
|
+
/** Resolve Error */
|
|
2869
|
+
/** `POST /admin/persistence/errors/{error_id}/resolve` · aidream · auth admin · org exempt */
|
|
2870
|
+
declare function resolveError(api: Api, args: ResolveErrorArgs, options?: CallOptions): Promise<ResolveErrorResult>;
|
|
2871
|
+
type ResolveBatchArgs = {
|
|
2872
|
+
body?: ResolveBatchRequest | null;
|
|
2873
|
+
};
|
|
2874
|
+
type ResolveBatchResult = ResolveBatchResponse;
|
|
2875
|
+
/** Resolve Batch */
|
|
2876
|
+
/** `POST /admin/persistence/errors/resolve-batch` · aidream · auth admin · org exempt */
|
|
2877
|
+
declare function resolveBatch(api: Api, args?: ResolveBatchArgs, options?: CallOptions): Promise<ResolveBatchResult>;
|
|
2878
|
+
type QueryArgs = {
|
|
2879
|
+
query?: {
|
|
2880
|
+
since?: string | null;
|
|
2881
|
+
until?: string | null;
|
|
2882
|
+
level?: string | null;
|
|
2883
|
+
min_level?: string | null;
|
|
2884
|
+
levels?: string | null;
|
|
2885
|
+
feature?: string | null;
|
|
2886
|
+
route?: string | null;
|
|
2887
|
+
logger?: string | null;
|
|
2888
|
+
user_id?: string | null;
|
|
2889
|
+
request_id?: string | null;
|
|
2890
|
+
conversation_id?: string | null;
|
|
2891
|
+
stage?: string | null;
|
|
2892
|
+
classified?: boolean | null;
|
|
2893
|
+
text?: string | null;
|
|
2894
|
+
collapse?: boolean;
|
|
2895
|
+
limit?: number;
|
|
2896
|
+
offset?: number;
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
type QueryResult = AppLogListResponse;
|
|
2900
|
+
/** Query */
|
|
2901
|
+
/** `GET /admin/app-logs/query` · aidream · auth admin · org exempt */
|
|
2902
|
+
declare function query(api: Api, args?: QueryArgs, options?: CallOptions): Promise<QueryResult>;
|
|
2903
|
+
type ListNormExceptionsRouteArgs = {
|
|
2904
|
+
[key: string]: never;
|
|
2905
|
+
};
|
|
2906
|
+
type ListNormExceptionsRouteResult = NormExceptionListResponse;
|
|
2907
|
+
/** List Norm Exceptions Route */
|
|
2908
|
+
/** `GET /admin/app-logs/norm-exceptions` · aidream · auth admin · org exempt */
|
|
2909
|
+
declare function listNormExceptionsRoute(api: Api, args?: ListNormExceptionsRouteArgs, options?: CallOptions): Promise<ListNormExceptionsRouteResult>;
|
|
2910
|
+
type AddNormExceptionRouteArgs = {
|
|
2911
|
+
body: NormExceptionRequest;
|
|
2912
|
+
};
|
|
2913
|
+
type AddNormExceptionRouteResult = NormException;
|
|
2914
|
+
/** Add Norm Exception Route */
|
|
2915
|
+
/** `POST /admin/app-logs/norm-exceptions` · aidream · auth admin · org exempt */
|
|
2916
|
+
declare function addNormExceptionRoute(api: Api, args: AddNormExceptionRouteArgs, options?: CallOptions): Promise<AddNormExceptionRouteResult>;
|
|
2917
|
+
type DeleteNormExceptionRouteArgs = {
|
|
2918
|
+
path: {
|
|
2919
|
+
exc_id: string;
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
type DeleteNormExceptionRouteResult = aidream__api__routers__admin_app_logs__DeletedResponse;
|
|
2923
|
+
/** Delete Norm Exception Route */
|
|
2924
|
+
/** `DELETE /admin/app-logs/norm-exceptions/{exc_id}` · aidream · auth admin · org exempt */
|
|
2925
|
+
declare function deleteNormExceptionRoute(api: Api, args: DeleteNormExceptionRouteArgs, options?: CallOptions): Promise<DeleteNormExceptionRouteResult>;
|
|
2926
|
+
type UnclassifiedArgs = {
|
|
2927
|
+
query?: {
|
|
2928
|
+
since?: string | null;
|
|
2929
|
+
until?: string | null;
|
|
2930
|
+
text?: string | null;
|
|
2931
|
+
limit?: number;
|
|
2932
|
+
offset?: number;
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
type UnclassifiedResult = AppLogListResponse;
|
|
2936
|
+
/** Unclassified */
|
|
2937
|
+
/** `GET /admin/app-logs/unclassified` · aidream · auth admin · org exempt */
|
|
2938
|
+
declare function unclassified(api: Api, args?: UnclassifiedArgs, options?: CallOptions): Promise<UnclassifiedResult>;
|
|
2939
|
+
type StatsArgs = {
|
|
2940
|
+
query?: {
|
|
2941
|
+
since?: string | null;
|
|
2942
|
+
until?: string | null;
|
|
2943
|
+
feature?: string | null;
|
|
2944
|
+
route?: string | null;
|
|
2945
|
+
text?: string | null;
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
type StatsResult = AppLogStatsResponse;
|
|
2949
|
+
/** Stats */
|
|
2950
|
+
/** `GET /admin/app-logs/stats` · aidream · auth admin · org exempt */
|
|
2951
|
+
declare function stats(api: Api, args?: StatsArgs, options?: CallOptions): Promise<StatsResult>;
|
|
2952
|
+
type TopPatternsRouteArgs = {
|
|
2953
|
+
query?: {
|
|
2954
|
+
since?: string | null;
|
|
2955
|
+
until?: string | null;
|
|
2956
|
+
feature?: string | null;
|
|
2957
|
+
limit?: number;
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
type TopPatternsRouteResult = TopPatternsResponse;
|
|
2961
|
+
/** Top Patterns Route */
|
|
2962
|
+
/** `GET /admin/app-logs/top-patterns` · aidream · auth admin · org exempt */
|
|
2963
|
+
declare function topPatternsRoute(api: Api, args?: TopPatternsRouteArgs, options?: CallOptions): Promise<TopPatternsRouteResult>;
|
|
2964
|
+
type ListSuppressionsArgs = {
|
|
2965
|
+
[key: string]: never;
|
|
2966
|
+
};
|
|
2967
|
+
type ListSuppressionsResult = MuteListResponse;
|
|
2968
|
+
/** List Suppressions */
|
|
2969
|
+
/** `GET /admin/app-logs/suppressions` · aidream · auth admin · org exempt */
|
|
2970
|
+
declare function listSuppressions(api: Api, args?: ListSuppressionsArgs, options?: CallOptions): Promise<ListSuppressionsResult>;
|
|
2971
|
+
type AddSuppressionArgs = {
|
|
2972
|
+
body: MuteRequest;
|
|
2973
|
+
};
|
|
2974
|
+
type AddSuppressionResult = MutedPattern;
|
|
2975
|
+
/** Add Suppression */
|
|
2976
|
+
/** `POST /admin/app-logs/suppressions` · aidream · auth admin · org exempt */
|
|
2977
|
+
declare function addSuppression(api: Api, args: AddSuppressionArgs, options?: CallOptions): Promise<AddSuppressionResult>;
|
|
2978
|
+
type RemoveSuppressionArgs = {
|
|
2979
|
+
path: {
|
|
2980
|
+
muted_id: string;
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
type RemoveSuppressionResult = aidream__api__routers__admin_app_logs__DeletedResponse;
|
|
2984
|
+
/** Remove Suppression */
|
|
2985
|
+
/** `DELETE /admin/app-logs/suppressions/{muted_id}` · aidream · auth admin · org exempt */
|
|
2986
|
+
declare function removeSuppression(api: Api, args: RemoveSuppressionArgs, options?: CallOptions): Promise<RemoveSuppressionResult>;
|
|
2987
|
+
type ListFilesArgs = {
|
|
2988
|
+
[key: string]: never;
|
|
2989
|
+
};
|
|
2990
|
+
type ListFilesResult = LogFileListResponse;
|
|
2991
|
+
/** List Files */
|
|
2992
|
+
/** `GET /admin/app-logs/files` · aidream · auth admin · org exempt */
|
|
2993
|
+
declare function listFiles(api: Api, args?: ListFilesArgs, options?: CallOptions): Promise<ListFilesResult>;
|
|
2994
|
+
type GetFileArgs = {
|
|
2995
|
+
path: {
|
|
2996
|
+
filename: string;
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
type GetFileResult = unknown;
|
|
3000
|
+
/** Get File */
|
|
3001
|
+
/** `GET /admin/app-logs/files/{filename}` · aidream · auth admin · org exempt · bytes */
|
|
3002
|
+
declare function getFile(api: Api, args: GetFileArgs, options?: CallOptions): Promise<Response>;
|
|
3003
|
+
type GetRollupArgs = {
|
|
3004
|
+
query?: {
|
|
3005
|
+
trend_days?: number;
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
type GetRollupResult = SnapshotRollup;
|
|
3009
|
+
/** Get Rollup */
|
|
3010
|
+
/** `GET /admin/snapshot-retention/rollup` · aidream · auth admin · org exempt */
|
|
3011
|
+
declare function getRollup(api: Api, args?: GetRollupArgs, options?: CallOptions): Promise<GetRollupResult>;
|
|
3012
|
+
type GetCaptureHealthArgs = {
|
|
3013
|
+
query?: {
|
|
3014
|
+
lookback_hours?: number;
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
type GetCaptureHealthResult = CaptureHealth;
|
|
3018
|
+
/** Get Capture Health */
|
|
3019
|
+
/** `GET /admin/snapshot-retention/capture-health` · aidream · auth admin · org exempt */
|
|
3020
|
+
declare function getCaptureHealth(api: Api, args?: GetCaptureHealthArgs, options?: CallOptions): Promise<GetCaptureHealthResult>;
|
|
3021
|
+
type PostPruneArgs = {
|
|
3022
|
+
query?: {
|
|
3023
|
+
days?: number;
|
|
3024
|
+
dry_run?: boolean;
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
3027
|
+
type PostPruneResult = PruneResult;
|
|
3028
|
+
/** Post Prune */
|
|
3029
|
+
/** `POST /admin/snapshot-retention/prune` · aidream · auth admin · org exempt */
|
|
3030
|
+
declare function postPrune(api: Api, args?: PostPruneArgs, options?: CallOptions): Promise<PostPruneResult>;
|
|
3031
|
+
type PostRunArgs = {
|
|
3032
|
+
query?: {
|
|
3033
|
+
dry_run?: boolean;
|
|
3034
|
+
};
|
|
3035
|
+
};
|
|
3036
|
+
type PostRunResult = RetentionRunResult;
|
|
3037
|
+
/** Post Run */
|
|
3038
|
+
/** `POST /admin/snapshot-retention/run` · aidream · auth admin · org exempt */
|
|
3039
|
+
declare function postRun(api: Api, args?: PostRunArgs, options?: CallOptions): Promise<PostRunResult>;
|
|
3040
|
+
type AcceptFindingArgs = {
|
|
3041
|
+
body: AcceptFindingRequest;
|
|
3042
|
+
};
|
|
3043
|
+
type AcceptFindingResult = AcceptFindingResponse;
|
|
3044
|
+
/** Accept Finding */
|
|
3045
|
+
/** `POST /admin/checks/accept` · aidream · auth admin · org exempt */
|
|
3046
|
+
declare function acceptFinding(api: Api, args: AcceptFindingArgs, options?: CallOptions): Promise<AcceptFindingResult>;
|
|
3047
|
+
type AcceptAdaptersArgs = {
|
|
3048
|
+
[key: string]: never;
|
|
3049
|
+
};
|
|
3050
|
+
type AcceptAdaptersResult = AcceptAdaptersResponse;
|
|
3051
|
+
/** Accept Adapters */
|
|
3052
|
+
/** `GET /admin/checks/accept-adapters` · aidream · auth admin · org exempt */
|
|
3053
|
+
declare function acceptAdapters(api: Api, args?: AcceptAdaptersArgs, options?: CallOptions): Promise<AcceptAdaptersResult>;
|
|
3054
|
+
type ListTasksArgs = {
|
|
3055
|
+
query?: {
|
|
3056
|
+
kind?: string | null;
|
|
3057
|
+
enabled?: boolean | null;
|
|
3058
|
+
limit?: number;
|
|
3059
|
+
offset?: number;
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
3062
|
+
type ListTasksResult = TaskListResponse;
|
|
3063
|
+
/** List Tasks */
|
|
3064
|
+
/** `GET /scheduler/tasks` · aidream · auth user · org optional */
|
|
3065
|
+
declare function listTasks(api: Api, args?: ListTasksArgs, options?: CallOptions): Promise<ListTasksResult>;
|
|
3066
|
+
type CreateTaskArgs = {
|
|
3067
|
+
body: TaskCreateRequest;
|
|
3068
|
+
};
|
|
3069
|
+
type CreateTaskResult = TaskDetailResponse;
|
|
3070
|
+
/** Create Task */
|
|
3071
|
+
/** `POST /scheduler/tasks` · aidream · auth user · org required */
|
|
3072
|
+
declare function createTask(api: Api, args: CreateTaskArgs, options?: CallOptions): Promise<CreateTaskResult>;
|
|
3073
|
+
type ListDuplicateSchedulesArgs = {
|
|
3074
|
+
[key: string]: never;
|
|
3075
|
+
};
|
|
3076
|
+
type ListDuplicateSchedulesResult = DuplicateScheduleResponse;
|
|
3077
|
+
/** List Duplicate Schedules */
|
|
3078
|
+
/** `GET /scheduler/tasks/duplicates` · aidream · auth user · org optional */
|
|
3079
|
+
declare function listDuplicateSchedules(api: Api, args?: ListDuplicateSchedulesArgs, options?: CallOptions): Promise<ListDuplicateSchedulesResult>;
|
|
3080
|
+
type GetTaskArgs = {
|
|
3081
|
+
path: {
|
|
3082
|
+
task_id: string;
|
|
3083
|
+
};
|
|
3084
|
+
query?: {
|
|
3085
|
+
runs_limit?: number;
|
|
3086
|
+
};
|
|
3087
|
+
};
|
|
3088
|
+
type GetTaskResult = TaskDetailResponse;
|
|
3089
|
+
/** Get Task */
|
|
3090
|
+
/** `GET /scheduler/tasks/{task_id}` · aidream · auth user · org optional */
|
|
3091
|
+
declare function getTask(api: Api, args: GetTaskArgs, options?: CallOptions): Promise<GetTaskResult>;
|
|
3092
|
+
type PatchTaskArgs = {
|
|
3093
|
+
path: {
|
|
3094
|
+
task_id: string;
|
|
3095
|
+
};
|
|
3096
|
+
body: TaskPatchRequest;
|
|
3097
|
+
};
|
|
3098
|
+
type PatchTaskResult = TaskResponse;
|
|
3099
|
+
/** Patch Task */
|
|
3100
|
+
/** `PATCH /scheduler/tasks/{task_id}` · aidream · auth user · org required */
|
|
3101
|
+
declare function patchTask(api: Api, args: PatchTaskArgs, options?: CallOptions): Promise<PatchTaskResult>;
|
|
3102
|
+
type DeleteTaskArgs = {
|
|
3103
|
+
path: {
|
|
3104
|
+
task_id: string;
|
|
3105
|
+
};
|
|
3106
|
+
};
|
|
3107
|
+
type DeleteTaskResult = matrx_scheduler__api__schemas__DeletedResponse;
|
|
3108
|
+
/** Delete Task */
|
|
3109
|
+
/** `DELETE /scheduler/tasks/{task_id}` · aidream · auth user · org required */
|
|
3110
|
+
declare function deleteTask(api: Api, args: DeleteTaskArgs, options?: CallOptions): Promise<DeleteTaskResult>;
|
|
3111
|
+
type RunNowArgs = {
|
|
3112
|
+
path: {
|
|
3113
|
+
task_id: string;
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
type RunNowResult = RunNowResponse;
|
|
3117
|
+
/** Run Now */
|
|
3118
|
+
/** `POST /scheduler/tasks/{task_id}/run-now` · aidream · auth user · org required */
|
|
3119
|
+
declare function runNow(api: Api, args: RunNowArgs, options?: CallOptions): Promise<RunNowResult>;
|
|
3120
|
+
type ListTriggersArgs = {
|
|
3121
|
+
query: {
|
|
3122
|
+
task_id: string;
|
|
3123
|
+
};
|
|
3124
|
+
};
|
|
3125
|
+
type ListTriggersResult = TriggerListResponse;
|
|
3126
|
+
/** List Triggers */
|
|
3127
|
+
/** `GET /scheduler/triggers` · aidream · auth user · org optional */
|
|
3128
|
+
declare function listTriggers(api: Api, args: ListTriggersArgs, options?: CallOptions): Promise<ListTriggersResult>;
|
|
3129
|
+
type CreateTriggerArgs = {
|
|
3130
|
+
body: TriggerCreateRequest;
|
|
3131
|
+
};
|
|
3132
|
+
type CreateTriggerResult = TriggerResponse;
|
|
3133
|
+
/** Create Trigger */
|
|
3134
|
+
/** `POST /scheduler/triggers` · aidream · auth user · org required */
|
|
3135
|
+
declare function createTrigger(api: Api, args: CreateTriggerArgs, options?: CallOptions): Promise<CreateTriggerResult>;
|
|
3136
|
+
type PatchTriggerArgs = {
|
|
3137
|
+
path: {
|
|
3138
|
+
trigger_id: string;
|
|
3139
|
+
};
|
|
3140
|
+
body: TriggerPatchRequest;
|
|
3141
|
+
};
|
|
3142
|
+
type PatchTriggerResult = TriggerResponse;
|
|
3143
|
+
/** Patch Trigger */
|
|
3144
|
+
/** `PATCH /scheduler/triggers/{trigger_id}` · aidream · auth user · org required */
|
|
3145
|
+
declare function patchTrigger(api: Api, args: PatchTriggerArgs, options?: CallOptions): Promise<PatchTriggerResult>;
|
|
3146
|
+
type DeleteTriggerArgs = {
|
|
3147
|
+
path: {
|
|
3148
|
+
trigger_id: string;
|
|
3149
|
+
};
|
|
3150
|
+
};
|
|
3151
|
+
type DeleteTriggerResult = matrx_scheduler__api__schemas__DeletedResponse;
|
|
3152
|
+
/** Delete Trigger */
|
|
3153
|
+
/** `DELETE /scheduler/triggers/{trigger_id}` · aidream · auth user · org required */
|
|
3154
|
+
declare function deleteTrigger(api: Api, args: DeleteTriggerArgs, options?: CallOptions): Promise<DeleteTriggerResult>;
|
|
3155
|
+
type ListRunsArgs = {
|
|
3156
|
+
query?: {
|
|
3157
|
+
task_id?: string | null;
|
|
3158
|
+
status?: string | null;
|
|
3159
|
+
limit?: number;
|
|
3160
|
+
offset?: number;
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
3163
|
+
type ListRunsResult = RunListResponse;
|
|
3164
|
+
/** List Runs */
|
|
3165
|
+
/** `GET /scheduler/runs` · aidream · auth user · org optional */
|
|
3166
|
+
declare function listRuns(api: Api, args?: ListRunsArgs, options?: CallOptions): Promise<ListRunsResult>;
|
|
3167
|
+
type GetRunArgs = {
|
|
3168
|
+
path: {
|
|
3169
|
+
run_id: string;
|
|
3170
|
+
};
|
|
3171
|
+
};
|
|
3172
|
+
type GetRunResult = RunResponse;
|
|
3173
|
+
/** Get Run */
|
|
3174
|
+
/** `GET /scheduler/runs/{run_id}` · aidream · auth user · org optional */
|
|
3175
|
+
declare function getRun(api: Api, args: GetRunArgs, options?: CallOptions): Promise<GetRunResult>;
|
|
3176
|
+
type ValidateCronArgs = {
|
|
3177
|
+
body: ValidateCronRequest;
|
|
3178
|
+
};
|
|
3179
|
+
type ValidateCronResult = ValidateCronResponse;
|
|
3180
|
+
/** Validate Cron */
|
|
3181
|
+
/** `POST /scheduler/cron/validate` · aidream · auth user · org required */
|
|
3182
|
+
declare function validateCron(api: Api, args: ValidateCronArgs, options?: CallOptions): Promise<ValidateCronResult>;
|
|
3183
|
+
type PreviewFiresArgs = {
|
|
3184
|
+
body: PreviewFiresRequest;
|
|
3185
|
+
};
|
|
3186
|
+
type PreviewFiresResult = PreviewFiresResponse;
|
|
3187
|
+
/** Preview Fires */
|
|
3188
|
+
/** `POST /scheduler/cron/preview-fires` · aidream · auth user · org required */
|
|
3189
|
+
declare function previewFires(api: Api, args: PreviewFiresArgs, options?: CallOptions): Promise<PreviewFiresResult>;
|
|
3190
|
+
type ComputeNextDueAtArgs = {
|
|
3191
|
+
body: matrx_scheduler__api__schemas__ComputeNextDueRequest;
|
|
3192
|
+
};
|
|
3193
|
+
type ComputeNextDueAtResult = ComputeNextDueResponse;
|
|
3194
|
+
/** Compute Next Due At */
|
|
3195
|
+
/** `POST /scheduler/compute-next-due-at` · aidream · auth user · org required */
|
|
3196
|
+
declare function computeNextDueAt(api: Api, args: ComputeNextDueAtArgs, options?: CallOptions): Promise<ComputeNextDueAtResult>;
|
|
3197
|
+
type GetStatusArgs = {
|
|
3198
|
+
[key: string]: never;
|
|
3199
|
+
};
|
|
3200
|
+
type GetStatusResult = matrx_scheduler__api__schemas__ScannerStatusResponse;
|
|
3201
|
+
/** Get Status */
|
|
3202
|
+
/** `GET /scheduler/status` · aidream · auth guest · org optional */
|
|
3203
|
+
declare function getStatus(api: Api, args?: GetStatusArgs, options?: CallOptions): Promise<GetStatusResult>;
|
|
3204
|
+
type GetServerActionsArgs = {
|
|
3205
|
+
[key: string]: never;
|
|
3206
|
+
};
|
|
3207
|
+
type GetServerActionsResult = ServerActionsList;
|
|
3208
|
+
/** Get Server Actions */
|
|
3209
|
+
/** `GET /actions/server` · aidream · auth public · org required */
|
|
3210
|
+
declare function getServerActions(api: Api, args?: GetServerActionsArgs, options?: CallOptions): Promise<GetServerActionsResult>;
|
|
3211
|
+
type RunActionArgs = {
|
|
3212
|
+
body: ServerActionRunRequest;
|
|
3213
|
+
};
|
|
3214
|
+
type RunActionResult = ServerActionRunResult;
|
|
3215
|
+
/** Run Action */
|
|
3216
|
+
/** `POST /actions/run` · aidream · auth guest · org required */
|
|
3217
|
+
declare function runAction(api: Api, args: RunActionArgs, options?: CallOptions): Promise<RunActionResult>;
|
|
3218
|
+
type HealthCheckOnHostedBoxArgs = {
|
|
3219
|
+
[key: string]: never;
|
|
3220
|
+
};
|
|
3221
|
+
type HealthCheckOnHostedBoxResult = HealthResponse;
|
|
3222
|
+
/** Health Check */
|
|
3223
|
+
/** `GET /health` · hosted-box · auth public · org exempt */
|
|
3224
|
+
declare function healthCheckOnHostedBox(api: Api, args?: HealthCheckOnHostedBoxArgs, options?: CallOptions): Promise<HealthCheckOnHostedBoxResult>;
|
|
3225
|
+
type DetailedHealthCheckOnHostedBoxArgs = {
|
|
3226
|
+
[key: string]: never;
|
|
3227
|
+
};
|
|
3228
|
+
type DetailedHealthCheckOnHostedBoxResult = DetailedHealthResponse;
|
|
3229
|
+
/** Detailed Health Check */
|
|
3230
|
+
/** `GET /health/detailed` · hosted-box · auth public · org exempt */
|
|
3231
|
+
declare function detailedHealthCheckOnHostedBox(api: Api, args?: DetailedHealthCheckOnHostedBoxArgs, options?: CallOptions): Promise<DetailedHealthCheckOnHostedBoxResult>;
|
|
3232
|
+
type VersionCheckOnHostedBoxArgs = {
|
|
3233
|
+
[key: string]: never;
|
|
3234
|
+
};
|
|
3235
|
+
type VersionCheckOnHostedBoxResult = VersionHealth;
|
|
3236
|
+
/** Version Check */
|
|
3237
|
+
/** `GET /health/version` · hosted-box · auth public · org exempt */
|
|
3238
|
+
declare function versionCheckOnHostedBox(api: Api, args?: VersionCheckOnHostedBoxArgs, options?: CallOptions): Promise<VersionCheckOnHostedBoxResult>;
|
|
3239
|
+
type DatabaseIdentityOnHostedBoxArgs = {
|
|
3240
|
+
[key: string]: never;
|
|
3241
|
+
};
|
|
3242
|
+
type DatabaseIdentityOnHostedBoxResult = DatabaseIdentity;
|
|
3243
|
+
/** Database Identity */
|
|
3244
|
+
/** `GET /health/database-identity` · hosted-box · auth public · org exempt */
|
|
3245
|
+
declare function databaseIdentityOnHostedBox(api: Api, args?: DatabaseIdentityOnHostedBoxArgs, options?: CallOptions): Promise<DatabaseIdentityOnHostedBoxResult>;
|
|
3246
|
+
type LivenessCheckOnHostedBoxArgs = {
|
|
3247
|
+
[key: string]: never;
|
|
3248
|
+
};
|
|
3249
|
+
type LivenessCheckOnHostedBoxResult = LivenessResponse;
|
|
3250
|
+
/** Liveness Check */
|
|
3251
|
+
/** `GET /health/live` · hosted-box · auth public · org exempt */
|
|
3252
|
+
declare function livenessCheckOnHostedBox(api: Api, args?: LivenessCheckOnHostedBoxArgs, options?: CallOptions): Promise<LivenessCheckOnHostedBoxResult>;
|
|
3253
|
+
type HostedSessionReadyArgs = {
|
|
3254
|
+
[key: string]: never;
|
|
3255
|
+
};
|
|
3256
|
+
type HostedSessionReadyResult = ReadinessResponse;
|
|
3257
|
+
/** Readiness Check */
|
|
3258
|
+
/** `GET /health/ready` · hosted-box · auth public · org exempt */
|
|
3259
|
+
declare function hostedSessionReady(api: Api, args?: HostedSessionReadyArgs, options?: CallOptions): Promise<HostedSessionReadyResult>;
|
|
3260
|
+
type ServingCheckOnHostedBoxArgs = {
|
|
3261
|
+
[key: string]: never;
|
|
3262
|
+
};
|
|
3263
|
+
type ServingCheckOnHostedBoxResult = ReadinessResponse;
|
|
3264
|
+
/** Serving Check */
|
|
3265
|
+
/** `GET /health/serving` · hosted-box · auth public · org exempt */
|
|
3266
|
+
declare function servingCheckOnHostedBox(api: Api, args?: ServingCheckOnHostedBoxArgs, options?: CallOptions): Promise<ServingCheckOnHostedBoxResult>;
|
|
3267
|
+
type FsListArgs = {
|
|
3268
|
+
query: {
|
|
3269
|
+
path: string;
|
|
3270
|
+
recursive?: boolean;
|
|
3271
|
+
depth?: number;
|
|
3272
|
+
};
|
|
3273
|
+
};
|
|
3274
|
+
type FsListResult = FsListResponse;
|
|
3275
|
+
/** Fs List */
|
|
3276
|
+
/** `GET /sandbox/fs/list` · matrx-local · auth loopback_token · org exempt */
|
|
3277
|
+
declare function fsList(api: Api, args: FsListArgs, options?: CallOptions): Promise<FsListResult>;
|
|
3278
|
+
type FsStatArgs = {
|
|
3279
|
+
query: {
|
|
3280
|
+
path: string;
|
|
3281
|
+
};
|
|
3282
|
+
};
|
|
3283
|
+
type FsStatResult = FsStatResponse;
|
|
3284
|
+
/** Fs Stat */
|
|
3285
|
+
/** `GET /sandbox/fs/stat` · matrx-local · auth loopback_token · org exempt */
|
|
3286
|
+
declare function fsStat(api: Api, args: FsStatArgs, options?: CallOptions): Promise<FsStatResult>;
|
|
3287
|
+
type FsReadArgs = {
|
|
3288
|
+
query: {
|
|
3289
|
+
path: string;
|
|
3290
|
+
encoding?: "utf8" | "base64";
|
|
3291
|
+
};
|
|
3292
|
+
};
|
|
3293
|
+
type FsReadResult = unknown;
|
|
3294
|
+
/** Fs Read */
|
|
3295
|
+
/** `GET /sandbox/fs/read` · matrx-local · auth loopback_token · org exempt */
|
|
3296
|
+
declare function fsRead(api: Api, args: FsReadArgs, options?: CallOptions): Promise<FsReadResult>;
|
|
3297
|
+
type FsWriteArgs = {
|
|
3298
|
+
body: FsWriteRequest;
|
|
3299
|
+
};
|
|
3300
|
+
type FsWriteResult = FsWriteResponse;
|
|
3301
|
+
/** Fs Write */
|
|
3302
|
+
/** `PUT /sandbox/fs/write` · matrx-local · auth loopback_token · org exempt */
|
|
3303
|
+
declare function fsWrite(api: Api, args: FsWriteArgs, options?: CallOptions): Promise<FsWriteResult>;
|
|
3304
|
+
type FsMkdirArgs = {
|
|
3305
|
+
body: FsMkdirRequest;
|
|
3306
|
+
};
|
|
3307
|
+
type FsMkdirResult = FsMkdirResponse;
|
|
3308
|
+
/** Fs Mkdir */
|
|
3309
|
+
/** `POST /sandbox/fs/mkdir` · matrx-local · auth loopback_token · org exempt */
|
|
3310
|
+
declare function fsMkdir(api: Api, args: FsMkdirArgs, options?: CallOptions): Promise<FsMkdirResult>;
|
|
3311
|
+
type FsPatchArgs = {
|
|
3312
|
+
body: FsPatchRequest;
|
|
3313
|
+
};
|
|
3314
|
+
type FsPatchResult = FsPatchResponse;
|
|
3315
|
+
/** Fs Patch */
|
|
3316
|
+
/** `POST /sandbox/fs/patch` · matrx-local · auth loopback_token · org exempt */
|
|
3317
|
+
declare function fsPatch(api: Api, args: FsPatchArgs, options?: CallOptions): Promise<FsPatchResult>;
|
|
3318
|
+
type SearchPathsArgs = {
|
|
3319
|
+
body: SearchPathsRequest;
|
|
3320
|
+
};
|
|
3321
|
+
type SearchPathsResult = SearchPathsResponse;
|
|
3322
|
+
/** Search Paths */
|
|
3323
|
+
/** `POST /sandbox/search/paths` · matrx-local · auth loopback_token · org exempt */
|
|
3324
|
+
declare function searchPaths(api: Api, args: SearchPathsArgs, options?: CallOptions): Promise<SearchPathsResult>;
|
|
3325
|
+
type SearchContentArgs = {
|
|
3326
|
+
body: SearchContentRequest;
|
|
3327
|
+
};
|
|
3328
|
+
type SearchContentResult = SearchContentResponse;
|
|
3329
|
+
/** Search Content */
|
|
3330
|
+
/** `POST /sandbox/search/content` · matrx-local · auth loopback_token · org exempt */
|
|
3331
|
+
declare function searchContent(api: Api, args: SearchContentArgs, options?: CallOptions): Promise<SearchContentResult>;
|
|
3332
|
+
type ExecCommandArgs = {
|
|
3333
|
+
body: ExecRequest;
|
|
3334
|
+
};
|
|
3335
|
+
type ExecCommandResult = ExecResponse;
|
|
3336
|
+
/** Exec Command */
|
|
3337
|
+
/** `POST /sandbox/exec` · matrx-local · auth loopback_token · org exempt */
|
|
3338
|
+
declare function execCommand(api: Api, args: ExecCommandArgs, options?: CallOptions): Promise<ExecCommandResult>;
|
|
3339
|
+
type GetCodexUsageAllowanceArgs = {
|
|
3340
|
+
query?: {
|
|
3341
|
+
refresh?: boolean;
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
type GetCodexUsageAllowanceResult = {
|
|
3345
|
+
[key: string]: unknown;
|
|
3346
|
+
};
|
|
3347
|
+
/** Get Codex Usage Allowance */
|
|
3348
|
+
/** `GET /sandbox/codex-usage/allowance` · matrx-local · auth loopback_token · org exempt */
|
|
3349
|
+
declare function getCodexUsageAllowance(api: Api, args?: GetCodexUsageAllowanceArgs, options?: CallOptions): Promise<GetCodexUsageAllowanceResult>;
|
|
3350
|
+
type GetCodexUsageArgs = {
|
|
3351
|
+
query: {
|
|
3352
|
+
start: string;
|
|
3353
|
+
end: string;
|
|
3354
|
+
refresh?: boolean;
|
|
3355
|
+
grouping?: string;
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3358
|
+
type GetCodexUsageResult = {
|
|
3359
|
+
[key: string]: unknown;
|
|
3360
|
+
};
|
|
3361
|
+
/** Get Codex Usage */
|
|
3362
|
+
/** `GET /sandbox/codex-usage` · matrx-local · auth loopback_token · org exempt */
|
|
3363
|
+
declare function getCodexUsage(api: Api, args: GetCodexUsageArgs, options?: CallOptions): Promise<GetCodexUsageResult>;
|
|
3364
|
+
type ListSandboxesArgs = {
|
|
3365
|
+
query?: {
|
|
3366
|
+
user_id?: string | null;
|
|
3367
|
+
include_deleted?: boolean;
|
|
3368
|
+
};
|
|
3369
|
+
};
|
|
3370
|
+
type ListSandboxesResult = SandboxListResponse;
|
|
3371
|
+
/** List Sandboxes */
|
|
3372
|
+
/** `GET /sandboxes` · sandbox-orchestrator · auth service · org exempt */
|
|
3373
|
+
declare function listSandboxes(api: Api, args?: ListSandboxesArgs, options?: CallOptions): Promise<ListSandboxesResult>;
|
|
3374
|
+
type CreateSandboxArgs = {
|
|
3375
|
+
body: CreateSandboxRequest;
|
|
3376
|
+
};
|
|
3377
|
+
type CreateSandboxResult = SandboxResponse;
|
|
3378
|
+
/** Create Sandbox */
|
|
3379
|
+
/** `POST /sandboxes` · sandbox-orchestrator · auth service · org exempt */
|
|
3380
|
+
declare function createSandbox(api: Api, args: CreateSandboxArgs, options?: CallOptions): Promise<CreateSandboxResult>;
|
|
3381
|
+
type ClaimSandboxArgs = {
|
|
3382
|
+
body: CreateSandboxRequest;
|
|
3383
|
+
};
|
|
3384
|
+
type ClaimSandboxResult = SandboxResponse;
|
|
3385
|
+
/** Claim Sandbox */
|
|
3386
|
+
/** `POST /sandboxes/claim` · sandbox-orchestrator · auth service · org exempt */
|
|
3387
|
+
declare function claimSandbox(api: Api, args: ClaimSandboxArgs, options?: CallOptions): Promise<ClaimSandboxResult>;
|
|
3388
|
+
type GetSandboxArgs = {
|
|
3389
|
+
path: {
|
|
3390
|
+
sandbox_id: string;
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
3393
|
+
type GetSandboxResult = SandboxResponse;
|
|
3394
|
+
/** Get Sandbox */
|
|
3395
|
+
/** `GET /sandboxes/{sandbox_id}` · sandbox-orchestrator · auth service · org exempt */
|
|
3396
|
+
declare function getSandbox(api: Api, args: GetSandboxArgs, options?: CallOptions): Promise<GetSandboxResult>;
|
|
3397
|
+
type DestroySandboxArgs = {
|
|
3398
|
+
path: {
|
|
3399
|
+
sandbox_id: string;
|
|
3400
|
+
};
|
|
3401
|
+
query?: {
|
|
3402
|
+
graceful?: boolean;
|
|
3403
|
+
purge?: boolean;
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
type DestroySandboxResult = void;
|
|
3407
|
+
/** Destroy Sandbox */
|
|
3408
|
+
/** `DELETE /sandboxes/{sandbox_id}` · sandbox-orchestrator · auth service · org exempt */
|
|
3409
|
+
declare function destroySandbox(api: Api, args: DestroySandboxArgs, options?: CallOptions): Promise<DestroySandboxResult>;
|
|
3410
|
+
type ExecCommandOnSandboxOrchestratorArgs = {
|
|
3411
|
+
path: {
|
|
3412
|
+
sandbox_id: string;
|
|
3413
|
+
};
|
|
3414
|
+
body: ExecRequest_SandboxOrchestrator;
|
|
3415
|
+
};
|
|
3416
|
+
type ExecCommandOnSandboxOrchestratorResult = ExecResponse_SandboxOrchestrator;
|
|
3417
|
+
/** Exec Command */
|
|
3418
|
+
/** `POST /sandboxes/{sandbox_id}/exec` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3419
|
+
declare function execCommandOnSandboxOrchestrator(api: Api, args: ExecCommandOnSandboxOrchestratorArgs, options?: CallOptions): Promise<ExecCommandOnSandboxOrchestratorResult>;
|
|
3420
|
+
type RequestAccessArgs = {
|
|
3421
|
+
path: {
|
|
3422
|
+
sandbox_id: string;
|
|
3423
|
+
};
|
|
3424
|
+
};
|
|
3425
|
+
type RequestAccessResult = AccessResponse;
|
|
3426
|
+
/** Request Access */
|
|
3427
|
+
/** `POST /sandboxes/{sandbox_id}/access` · sandbox-orchestrator · auth service · org exempt */
|
|
3428
|
+
declare function requestAccess(api: Api, args: RequestAccessArgs, options?: CallOptions): Promise<RequestAccessResult>;
|
|
3429
|
+
type AdmitLifecycleOperationArgs = {
|
|
3430
|
+
path: {
|
|
3431
|
+
sandbox_id: string;
|
|
3432
|
+
};
|
|
3433
|
+
body: LifecycleOperationRequest;
|
|
3434
|
+
};
|
|
3435
|
+
type AdmitLifecycleOperationResult = unknown;
|
|
3436
|
+
/** Admit Lifecycle Operation */
|
|
3437
|
+
/** `POST /sandboxes/{sandbox_id}/lifecycle-operations` · sandbox-orchestrator · auth service · org exempt */
|
|
3438
|
+
declare function admitLifecycleOperation(api: Api, args: AdmitLifecycleOperationArgs, options?: CallOptions): Promise<AdmitLifecycleOperationResult>;
|
|
3439
|
+
type LifecycleOperationStatusArgs = {
|
|
3440
|
+
path: {
|
|
3441
|
+
sandbox_id: string;
|
|
3442
|
+
operation_id: string;
|
|
3443
|
+
};
|
|
3444
|
+
};
|
|
3445
|
+
type LifecycleOperationStatusResult = unknown;
|
|
3446
|
+
/** Lifecycle Operation Status */
|
|
3447
|
+
/** `GET /sandboxes/{sandbox_id}/lifecycle-operations/{operation_id}` · sandbox-orchestrator · auth service · org exempt */
|
|
3448
|
+
declare function lifecycleOperationStatus(api: Api, args: LifecycleOperationStatusArgs, options?: CallOptions): Promise<LifecycleOperationStatusResult>;
|
|
3449
|
+
type RecoverLifecycleOperationArgs = {
|
|
3450
|
+
path: {
|
|
3451
|
+
sandbox_id: string;
|
|
3452
|
+
operation_id: string;
|
|
3453
|
+
};
|
|
3454
|
+
};
|
|
3455
|
+
type RecoverLifecycleOperationResult = unknown;
|
|
3456
|
+
/** Recover Lifecycle Operation */
|
|
3457
|
+
/** `POST /sandboxes/{sandbox_id}/lifecycle-operations/{operation_id}/recover` · sandbox-orchestrator · auth service · org exempt */
|
|
3458
|
+
declare function recoverLifecycleOperation(api: Api, args: RecoverLifecycleOperationArgs, options?: CallOptions): Promise<RecoverLifecycleOperationResult>;
|
|
3459
|
+
type ResetSandboxArgs = {
|
|
3460
|
+
path: {
|
|
3461
|
+
sandbox_id: string;
|
|
3462
|
+
};
|
|
3463
|
+
query?: {
|
|
3464
|
+
wipe_volume?: boolean;
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3467
|
+
type ResetSandboxResult = SandboxResponse;
|
|
3468
|
+
/** Reset Sandbox */
|
|
3469
|
+
/** `POST /sandboxes/{sandbox_id}/reset` · sandbox-orchestrator · auth service · org exempt */
|
|
3470
|
+
declare function resetSandbox(api: Api, args: ResetSandboxArgs, options?: CallOptions): Promise<ResetSandboxResult>;
|
|
3471
|
+
type ResumeSandboxArgs = {
|
|
3472
|
+
path: {
|
|
3473
|
+
sandbox_id: string;
|
|
3474
|
+
};
|
|
3475
|
+
};
|
|
3476
|
+
type ResumeSandboxResult = SandboxResponse;
|
|
3477
|
+
/** Resume Sandbox */
|
|
3478
|
+
/** `POST /sandboxes/{sandbox_id}/resume` · sandbox-orchestrator · auth service · org exempt */
|
|
3479
|
+
declare function resumeSandbox(api: Api, args: ResumeSandboxArgs, options?: CallOptions): Promise<ResumeSandboxResult>;
|
|
3480
|
+
type SandboxAgentEnvArgs = {
|
|
3481
|
+
path: {
|
|
3482
|
+
sandbox_id: string;
|
|
3483
|
+
};
|
|
3484
|
+
};
|
|
3485
|
+
type SandboxAgentEnvResult = {
|
|
3486
|
+
[key: string]: unknown;
|
|
3487
|
+
};
|
|
3488
|
+
/** Sandbox Agent Env */
|
|
3489
|
+
/** `GET /sandboxes/{sandbox_id}/agent-env` · sandbox-orchestrator · auth service · org exempt */
|
|
3490
|
+
declare function sandboxAgentEnv(api: Api, args: SandboxAgentEnvArgs, options?: CallOptions): Promise<SandboxAgentEnvResult>;
|
|
3491
|
+
type MigrateSandboxRouteArgs = {
|
|
3492
|
+
path: {
|
|
3493
|
+
sandbox_id: string;
|
|
3494
|
+
};
|
|
3495
|
+
query?: {
|
|
3496
|
+
target_image?: string | null;
|
|
3497
|
+
interrupt_attached_sessions?: boolean;
|
|
3498
|
+
operation_id?: string | null;
|
|
3499
|
+
};
|
|
3500
|
+
};
|
|
3501
|
+
type MigrateSandboxRouteResult = unknown;
|
|
3502
|
+
/** Migrate Sandbox Route */
|
|
3503
|
+
/** `POST /sandboxes/{sandbox_id}/migrate` · sandbox-orchestrator · auth service · org exempt */
|
|
3504
|
+
declare function migrateSandboxRoute(api: Api, args: MigrateSandboxRouteArgs, options?: CallOptions): Promise<MigrateSandboxRouteResult>;
|
|
3505
|
+
type MigrationStatusRouteArgs = {
|
|
3506
|
+
path: {
|
|
3507
|
+
sandbox_id: string;
|
|
3508
|
+
};
|
|
3509
|
+
query?: {
|
|
3510
|
+
operation_id?: string | null;
|
|
3511
|
+
};
|
|
3512
|
+
};
|
|
3513
|
+
type MigrationStatusRouteResult = unknown;
|
|
3514
|
+
/** Migration Status Route */
|
|
3515
|
+
/** `GET /sandboxes/{sandbox_id}/migration` · sandbox-orchestrator · auth service · org exempt */
|
|
3516
|
+
declare function migrationStatusRoute(api: Api, args: MigrationStatusRouteArgs, options?: CallOptions): Promise<MigrationStatusRouteResult>;
|
|
3517
|
+
type RefreshSandboxPlatformEnvArgs = {
|
|
3518
|
+
path: {
|
|
3519
|
+
sandbox_id: string;
|
|
3520
|
+
};
|
|
3521
|
+
};
|
|
3522
|
+
type RefreshSandboxPlatformEnvResult = unknown;
|
|
3523
|
+
/** Refresh Sandbox Platform Env */
|
|
3524
|
+
/** `POST /sandboxes/{sandbox_id}/refresh-platform-env` · sandbox-orchestrator · auth service · org exempt */
|
|
3525
|
+
declare function refreshSandboxPlatformEnv(api: Api, args: RefreshSandboxPlatformEnvArgs, options?: CallOptions): Promise<RefreshSandboxPlatformEnvResult>;
|
|
3526
|
+
type SandboxHeartbeatArgs = {
|
|
3527
|
+
path: {
|
|
3528
|
+
sandbox_id: string;
|
|
3529
|
+
};
|
|
3530
|
+
};
|
|
3531
|
+
type SandboxHeartbeatResult = HeartbeatResponse_SandboxOrchestrator;
|
|
3532
|
+
/** Sandbox Heartbeat */
|
|
3533
|
+
/** `POST /sandboxes/{sandbox_id}/heartbeat` · sandbox-orchestrator · auth service · org exempt */
|
|
3534
|
+
declare function sandboxHeartbeat(api: Api, args: SandboxHeartbeatArgs, options?: CallOptions): Promise<SandboxHeartbeatResult>;
|
|
3535
|
+
type SandboxCompleteArgs = {
|
|
3536
|
+
path: {
|
|
3537
|
+
sandbox_id: string;
|
|
3538
|
+
};
|
|
3539
|
+
body?: CompletionRequest | null;
|
|
3540
|
+
};
|
|
3541
|
+
type SandboxCompleteResult = CompletionResponse;
|
|
3542
|
+
/** Sandbox Complete */
|
|
3543
|
+
/** `POST /sandboxes/{sandbox_id}/complete` · sandbox-orchestrator · auth service · org exempt */
|
|
3544
|
+
declare function sandboxComplete(api: Api, args: SandboxCompleteArgs, options?: CallOptions): Promise<SandboxCompleteResult>;
|
|
3545
|
+
type SandboxErrorArgs = {
|
|
3546
|
+
path: {
|
|
3547
|
+
sandbox_id: string;
|
|
3548
|
+
};
|
|
3549
|
+
body: ErrorReport;
|
|
3550
|
+
};
|
|
3551
|
+
type SandboxErrorResult = ErrorResponse;
|
|
3552
|
+
/** Sandbox Error */
|
|
3553
|
+
/** `POST /sandboxes/{sandbox_id}/error` · sandbox-orchestrator · auth service · org exempt */
|
|
3554
|
+
declare function sandboxError(api: Api, args: SandboxErrorArgs, options?: CallOptions): Promise<SandboxErrorResult>;
|
|
3555
|
+
type ExtendSandboxArgs = {
|
|
3556
|
+
path: {
|
|
3557
|
+
sandbox_id: string;
|
|
3558
|
+
};
|
|
3559
|
+
query?: {
|
|
3560
|
+
ttl_seconds?: number | null;
|
|
3561
|
+
};
|
|
3562
|
+
body?: ExtendRequest | null;
|
|
3563
|
+
};
|
|
3564
|
+
type ExtendSandboxResult = ExtendResponse;
|
|
3565
|
+
/** Extend Sandbox */
|
|
3566
|
+
/** `POST /sandboxes/{sandbox_id}/extend` · sandbox-orchestrator · auth service · org exempt */
|
|
3567
|
+
declare function extendSandbox(api: Api, args: ExtendSandboxArgs, options?: CallOptions): Promise<ExtendSandboxResult>;
|
|
3568
|
+
type OrchestratorProxyFsGetArgs = {
|
|
3569
|
+
path: {
|
|
3570
|
+
sandbox_id: string;
|
|
3571
|
+
path: string;
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
type OrchestratorProxyFsGetResult = unknown;
|
|
3575
|
+
/** Proxy Fs */
|
|
3576
|
+
/** `GET /sandboxes/{sandbox_id}/fs/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3577
|
+
declare function orchestratorProxyFsGet(api: Api, args: OrchestratorProxyFsGetArgs, options?: CallOptions): Promise<OrchestratorProxyFsGetResult>;
|
|
3578
|
+
type OrchestratorProxyFsPostArgs = {
|
|
3579
|
+
path: {
|
|
3580
|
+
sandbox_id: string;
|
|
3581
|
+
path: string;
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
type OrchestratorProxyFsPostResult = unknown;
|
|
3585
|
+
/** Proxy Fs */
|
|
3586
|
+
/** `POST /sandboxes/{sandbox_id}/fs/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3587
|
+
declare function orchestratorProxyFsPost(api: Api, args: OrchestratorProxyFsPostArgs, options?: CallOptions): Promise<OrchestratorProxyFsPostResult>;
|
|
3588
|
+
type OrchestratorProxyFsArgs = {
|
|
3589
|
+
path: {
|
|
3590
|
+
sandbox_id: string;
|
|
3591
|
+
path: string;
|
|
3592
|
+
};
|
|
3593
|
+
};
|
|
3594
|
+
type OrchestratorProxyFsResult = unknown;
|
|
3595
|
+
/** Proxy Fs */
|
|
3596
|
+
/** `PUT /sandboxes/{sandbox_id}/fs/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3597
|
+
declare function orchestratorProxyFs(api: Api, args: OrchestratorProxyFsArgs, options?: CallOptions): Promise<OrchestratorProxyFsResult>;
|
|
3598
|
+
type OrchestratorProxyFsPatchArgs = {
|
|
3599
|
+
path: {
|
|
3600
|
+
sandbox_id: string;
|
|
3601
|
+
path: string;
|
|
3602
|
+
};
|
|
3603
|
+
};
|
|
3604
|
+
type OrchestratorProxyFsPatchResult = unknown;
|
|
3605
|
+
/** Proxy Fs */
|
|
3606
|
+
/** `PATCH /sandboxes/{sandbox_id}/fs/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3607
|
+
declare function orchestratorProxyFsPatch(api: Api, args: OrchestratorProxyFsPatchArgs, options?: CallOptions): Promise<OrchestratorProxyFsPatchResult>;
|
|
3608
|
+
type OrchestratorProxyFsDeleteArgs = {
|
|
3609
|
+
path: {
|
|
3610
|
+
sandbox_id: string;
|
|
3611
|
+
path: string;
|
|
3612
|
+
};
|
|
3613
|
+
};
|
|
3614
|
+
type OrchestratorProxyFsDeleteResult = unknown;
|
|
3615
|
+
/** Proxy Fs */
|
|
3616
|
+
/** `DELETE /sandboxes/{sandbox_id}/fs/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3617
|
+
declare function orchestratorProxyFsDelete(api: Api, args: OrchestratorProxyFsDeleteArgs, options?: CallOptions): Promise<OrchestratorProxyFsDeleteResult>;
|
|
3618
|
+
type ProxyExecStreamArgs = {
|
|
3619
|
+
path: {
|
|
3620
|
+
sandbox_id: string;
|
|
3621
|
+
};
|
|
3622
|
+
};
|
|
3623
|
+
type ProxyExecStreamResult = unknown;
|
|
3624
|
+
/** Proxy Exec Stream */
|
|
3625
|
+
/** `POST /sandboxes/{sandbox_id}/exec/stream` · sandbox-orchestrator · auth scoped · org exempt · sse */
|
|
3626
|
+
declare function proxyExecStream(api: Api, args: ProxyExecStreamArgs, options?: CallOptions): Promise<ApiStream<SseEvent>>;
|
|
3627
|
+
type OrchestratorProxyGitArgs = {
|
|
3628
|
+
path: {
|
|
3629
|
+
sandbox_id: string;
|
|
3630
|
+
path: string;
|
|
3631
|
+
};
|
|
3632
|
+
};
|
|
3633
|
+
type OrchestratorProxyGitResult = unknown;
|
|
3634
|
+
/** Proxy Git */
|
|
3635
|
+
/** `GET /sandboxes/{sandbox_id}/git/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3636
|
+
declare function orchestratorProxyGit(api: Api, args: OrchestratorProxyGitArgs, options?: CallOptions): Promise<OrchestratorProxyGitResult>;
|
|
3637
|
+
type OrchestratorProxyGitPostArgs = {
|
|
3638
|
+
path: {
|
|
3639
|
+
sandbox_id: string;
|
|
3640
|
+
path: string;
|
|
3641
|
+
};
|
|
3642
|
+
};
|
|
3643
|
+
type OrchestratorProxyGitPostResult = unknown;
|
|
3644
|
+
/** Proxy Git */
|
|
3645
|
+
/** `POST /sandboxes/{sandbox_id}/git/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3646
|
+
declare function orchestratorProxyGitPost(api: Api, args: OrchestratorProxyGitPostArgs, options?: CallOptions): Promise<OrchestratorProxyGitPostResult>;
|
|
3647
|
+
type OrchestratorProxyCredentialsArgs = {
|
|
3648
|
+
path: {
|
|
3649
|
+
sandbox_id: string;
|
|
3650
|
+
};
|
|
3651
|
+
};
|
|
3652
|
+
type OrchestratorProxyCredentialsResult = unknown;
|
|
3653
|
+
/** Proxy Credentials */
|
|
3654
|
+
/** `POST /sandboxes/{sandbox_id}/credentials/revoke` · sandbox-orchestrator · auth service · org exempt */
|
|
3655
|
+
declare function orchestratorProxyCredentials(api: Api, args: OrchestratorProxyCredentialsArgs, options?: CallOptions): Promise<OrchestratorProxyCredentialsResult>;
|
|
3656
|
+
type OrchestratorProxyCredentialsPostArgs = {
|
|
3657
|
+
path: {
|
|
3658
|
+
sandbox_id: string;
|
|
3659
|
+
};
|
|
3660
|
+
};
|
|
3661
|
+
type OrchestratorProxyCredentialsPostResult = unknown;
|
|
3662
|
+
/** Proxy Credentials */
|
|
3663
|
+
/** `POST /sandboxes/{sandbox_id}/credentials` · sandbox-orchestrator · auth service · org exempt */
|
|
3664
|
+
declare function orchestratorProxyCredentialsPost(api: Api, args: OrchestratorProxyCredentialsPostArgs, options?: CallOptions): Promise<OrchestratorProxyCredentialsPostResult>;
|
|
3665
|
+
type OrchestratorProxySearchArgs = {
|
|
3666
|
+
path: {
|
|
3667
|
+
sandbox_id: string;
|
|
3668
|
+
path: string;
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
type OrchestratorProxySearchResult = unknown;
|
|
3672
|
+
/** Proxy Search */
|
|
3673
|
+
/** `GET /sandboxes/{sandbox_id}/search/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3674
|
+
declare function orchestratorProxySearch(api: Api, args: OrchestratorProxySearchArgs, options?: CallOptions): Promise<OrchestratorProxySearchResult>;
|
|
3675
|
+
type OrchestratorProxySearchPostArgs = {
|
|
3676
|
+
path: {
|
|
3677
|
+
sandbox_id: string;
|
|
3678
|
+
path: string;
|
|
3679
|
+
};
|
|
3680
|
+
};
|
|
3681
|
+
type OrchestratorProxySearchPostResult = unknown;
|
|
3682
|
+
/** Proxy Search */
|
|
3683
|
+
/** `POST /sandboxes/{sandbox_id}/search/{path}` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3684
|
+
declare function orchestratorProxySearchPost(api: Api, args: OrchestratorProxySearchPostArgs, options?: CallOptions): Promise<OrchestratorProxySearchPostResult>;
|
|
3685
|
+
type OrchestratorProxyProcessesArgs = {
|
|
3686
|
+
path: {
|
|
3687
|
+
sandbox_id: string;
|
|
3688
|
+
pid: number;
|
|
3689
|
+
};
|
|
3690
|
+
};
|
|
3691
|
+
type OrchestratorProxyProcessesResult = unknown;
|
|
3692
|
+
/** Proxy Processes */
|
|
3693
|
+
/** `POST /sandboxes/{sandbox_id}/processes/{pid}/signal` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3694
|
+
declare function orchestratorProxyProcesses(api: Api, args: OrchestratorProxyProcessesArgs, options?: CallOptions): Promise<OrchestratorProxyProcessesResult>;
|
|
3695
|
+
type OrchestratorProxyProcessesGetArgs = {
|
|
3696
|
+
path: {
|
|
3697
|
+
sandbox_id: string;
|
|
3698
|
+
};
|
|
3699
|
+
query?: {
|
|
3700
|
+
pid?: number;
|
|
3701
|
+
};
|
|
3702
|
+
};
|
|
3703
|
+
type OrchestratorProxyProcessesGetResult = unknown;
|
|
3704
|
+
/** Proxy Processes */
|
|
3705
|
+
/** `GET /sandboxes/{sandbox_id}/processes` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3706
|
+
declare function orchestratorProxyProcessesGet(api: Api, args: OrchestratorProxyProcessesGetArgs, options?: CallOptions): Promise<OrchestratorProxyProcessesGetResult>;
|
|
3707
|
+
type ProxyPortsArgs = {
|
|
3708
|
+
path: {
|
|
3709
|
+
sandbox_id: string;
|
|
3710
|
+
};
|
|
3711
|
+
};
|
|
3712
|
+
type ProxyPortsResult = unknown;
|
|
3713
|
+
/** Proxy Ports */
|
|
3714
|
+
/** `GET /sandboxes/{sandbox_id}/ports` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3715
|
+
declare function proxyPorts(api: Api, args: ProxyPortsArgs, options?: CallOptions): Promise<ProxyPortsResult>;
|
|
3716
|
+
type IssueAccessTokenArgs = {
|
|
3717
|
+
path: {
|
|
3718
|
+
sandbox_id: string;
|
|
3719
|
+
};
|
|
3720
|
+
body: AccessTokenRequest;
|
|
3721
|
+
};
|
|
3722
|
+
type IssueAccessTokenResult = AccessTokenResponse;
|
|
3723
|
+
/** Issue Access Token */
|
|
3724
|
+
/** `POST /sandboxes/{sandbox_id}/access-tokens` · sandbox-orchestrator · auth service · org exempt */
|
|
3725
|
+
declare function issueAccessToken(api: Api, args: IssueAccessTokenArgs, options?: CallOptions): Promise<IssueAccessTokenResult>;
|
|
3726
|
+
type AgentBindingArgs = {
|
|
3727
|
+
path: {
|
|
3728
|
+
sandbox_id: string;
|
|
3729
|
+
};
|
|
3730
|
+
body?: AgentBindingRequest | null;
|
|
3731
|
+
};
|
|
3732
|
+
type AgentBindingResult = {
|
|
3733
|
+
[key: string]: unknown;
|
|
3734
|
+
};
|
|
3735
|
+
/** Agent Binding */
|
|
3736
|
+
/** `POST /sandboxes/{sandbox_id}/agent-binding` · sandbox-orchestrator · auth service · org exempt */
|
|
3737
|
+
declare function agentBinding(api: Api, args: AgentBindingArgs, options?: CallOptions): Promise<AgentBindingResult>;
|
|
3738
|
+
type SettleAgentPresenceArgs = {
|
|
3739
|
+
path: {
|
|
3740
|
+
sandbox_id: string;
|
|
3741
|
+
execution_nonce: string;
|
|
3742
|
+
};
|
|
3743
|
+
};
|
|
3744
|
+
type SettleAgentPresenceResult = unknown;
|
|
3745
|
+
/** Settle Agent Presence */
|
|
3746
|
+
/** `POST /sandboxes/{sandbox_id}/agent-presence/{execution_nonce}/settle` · sandbox-orchestrator · auth scoped · org exempt */
|
|
3747
|
+
declare function settleAgentPresence(api: Api, args: SettleAgentPresenceArgs, options?: CallOptions): Promise<SettleAgentPresenceResult>;
|
|
3748
|
+
type OrchestratorProxyToContainerGetArgs = {
|
|
3749
|
+
path: {
|
|
3750
|
+
sandbox_id: string;
|
|
3751
|
+
path: string;
|
|
3752
|
+
};
|
|
3753
|
+
};
|
|
3754
|
+
type OrchestratorProxyToContainerGetResult = unknown;
|
|
3755
|
+
/** Proxy To Container */
|
|
3756
|
+
/** `GET /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth scoped · org exempt · bytes */
|
|
3757
|
+
declare function orchestratorProxyToContainerGet(api: Api, args: OrchestratorProxyToContainerGetArgs, options?: CallOptions): Promise<Response>;
|
|
3758
|
+
type OrchestratorProxyToContainerPostArgs = {
|
|
3759
|
+
path: {
|
|
3760
|
+
sandbox_id: string;
|
|
3761
|
+
path: string;
|
|
3762
|
+
};
|
|
3763
|
+
};
|
|
3764
|
+
type OrchestratorProxyToContainerPostResult = unknown;
|
|
3765
|
+
/** Proxy To Container */
|
|
3766
|
+
/** `POST /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth scoped · org exempt · bytes */
|
|
3767
|
+
declare function orchestratorProxyToContainerPost(api: Api, args: OrchestratorProxyToContainerPostArgs, options?: CallOptions): Promise<Response>;
|
|
3768
|
+
type OrchestratorProxyToContainerArgs = {
|
|
3769
|
+
path: {
|
|
3770
|
+
sandbox_id: string;
|
|
3771
|
+
path: string;
|
|
3772
|
+
};
|
|
3773
|
+
};
|
|
3774
|
+
type OrchestratorProxyToContainerResult = unknown;
|
|
3775
|
+
/** Proxy To Container */
|
|
3776
|
+
/** `PUT /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth scoped · org exempt · bytes */
|
|
3777
|
+
declare function orchestratorProxyToContainer(api: Api, args: OrchestratorProxyToContainerArgs, options?: CallOptions): Promise<Response>;
|
|
3778
|
+
type OrchestratorProxyToContainerPatchArgs = {
|
|
3779
|
+
path: {
|
|
3780
|
+
sandbox_id: string;
|
|
3781
|
+
path: string;
|
|
3782
|
+
};
|
|
3783
|
+
};
|
|
3784
|
+
type OrchestratorProxyToContainerPatchResult = unknown;
|
|
3785
|
+
/** Proxy To Container */
|
|
3786
|
+
/** `PATCH /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth scoped · org exempt · bytes */
|
|
3787
|
+
declare function orchestratorProxyToContainerPatch(api: Api, args: OrchestratorProxyToContainerPatchArgs, options?: CallOptions): Promise<Response>;
|
|
3788
|
+
type OrchestratorProxyToContainerDeleteArgs = {
|
|
3789
|
+
path: {
|
|
3790
|
+
sandbox_id: string;
|
|
3791
|
+
path: string;
|
|
3792
|
+
};
|
|
3793
|
+
};
|
|
3794
|
+
type OrchestratorProxyToContainerDeleteResult = unknown;
|
|
3795
|
+
/** Proxy To Container */
|
|
3796
|
+
/** `DELETE /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth scoped · org exempt · bytes */
|
|
3797
|
+
declare function orchestratorProxyToContainerDelete(api: Api, args: OrchestratorProxyToContainerDeleteArgs, options?: CallOptions): Promise<Response>;
|
|
3798
|
+
type OrchestratorProxyToContainerHeadArgs = {
|
|
3799
|
+
path: {
|
|
3800
|
+
sandbox_id: string;
|
|
3801
|
+
path: string;
|
|
3802
|
+
};
|
|
3803
|
+
};
|
|
3804
|
+
type OrchestratorProxyToContainerHeadResult = unknown;
|
|
3805
|
+
/** Proxy To Container */
|
|
3806
|
+
/** `HEAD /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth scoped · org exempt · bytes */
|
|
3807
|
+
declare function orchestratorProxyToContainerHead(api: Api, args: OrchestratorProxyToContainerHeadArgs, options?: CallOptions): Promise<Response>;
|
|
3808
|
+
type OrchestratorProxyToContainerOptionsArgs = {
|
|
3809
|
+
path: {
|
|
3810
|
+
sandbox_id: string;
|
|
3811
|
+
path: string;
|
|
3812
|
+
};
|
|
3813
|
+
};
|
|
3814
|
+
type OrchestratorProxyToContainerOptionsResult = unknown;
|
|
3815
|
+
/** Proxy To Container */
|
|
3816
|
+
/** `OPTIONS /sandboxes/{sandbox_id}/proxy/{path}` · sandbox-orchestrator · auth public · org exempt · bytes */
|
|
3817
|
+
declare function orchestratorProxyToContainerOptions(api: Api, args: OrchestratorProxyToContainerOptionsArgs, options?: CallOptions): Promise<Response>;
|
|
3818
|
+
type SandboxDiagnosticsArgs = {
|
|
3819
|
+
path: {
|
|
3820
|
+
sandbox_id: string;
|
|
3821
|
+
};
|
|
3822
|
+
};
|
|
3823
|
+
type SandboxDiagnosticsResult = {
|
|
3824
|
+
[key: string]: unknown;
|
|
3825
|
+
};
|
|
3826
|
+
/** Sandbox Diagnostics */
|
|
3827
|
+
/** `GET /sandboxes/{sandbox_id}/diagnostics` · sandbox-orchestrator · auth service · org exempt */
|
|
3828
|
+
declare function sandboxDiagnostics(api: Api, args: SandboxDiagnosticsArgs, options?: CallOptions): Promise<SandboxDiagnosticsResult>;
|
|
3829
|
+
type SandboxLogsArgs = {
|
|
3830
|
+
path: {
|
|
3831
|
+
sandbox_id: string;
|
|
3832
|
+
};
|
|
3833
|
+
query?: {
|
|
3834
|
+
source?: string;
|
|
3835
|
+
tail?: number;
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
type SandboxLogsResult = unknown;
|
|
3839
|
+
/** Sandbox Logs */
|
|
3840
|
+
/** `GET /sandboxes/{sandbox_id}/logs` · sandbox-orchestrator · auth service · org exempt */
|
|
3841
|
+
declare function sandboxLogs(api: Api, args: SandboxLogsArgs, options?: CallOptions): Promise<SandboxLogsResult>;
|
|
3842
|
+
type HealthCheckOnSandboxOrchestratorArgs = {
|
|
3843
|
+
[key: string]: never;
|
|
3844
|
+
};
|
|
3845
|
+
type HealthCheckOnSandboxOrchestratorResult = HealthResponse_SandboxOrchestrator;
|
|
3846
|
+
/** Health Check */
|
|
3847
|
+
/** `GET /health` · sandbox-orchestrator · auth public · org exempt */
|
|
3848
|
+
declare function healthCheckOnSandboxOrchestrator(api: Api, args?: HealthCheckOnSandboxOrchestratorArgs, options?: CallOptions): Promise<HealthCheckOnSandboxOrchestratorResult>;
|
|
3849
|
+
type SystemInfoArgs = {
|
|
3850
|
+
[key: string]: never;
|
|
3851
|
+
};
|
|
3852
|
+
type SystemInfoResult = SystemInfoResponse;
|
|
3853
|
+
/** System Info */
|
|
3854
|
+
/** `GET /system` · sandbox-orchestrator · auth service · org exempt */
|
|
3855
|
+
declare function systemInfo(api: Api, args?: SystemInfoArgs, options?: CallOptions): Promise<SystemInfoResult>;
|
|
3856
|
+
type ListTemplatesArgs = {
|
|
3857
|
+
query?: {
|
|
3858
|
+
user_id?: string | null;
|
|
3859
|
+
};
|
|
3860
|
+
};
|
|
3861
|
+
type ListTemplatesResult = TemplateListResponse;
|
|
3862
|
+
/** List Templates */
|
|
3863
|
+
/** `GET /templates` · sandbox-orchestrator · auth service · org exempt */
|
|
3864
|
+
declare function listTemplates(api: Api, args?: ListTemplatesArgs, options?: CallOptions): Promise<ListTemplatesResult>;
|
|
3865
|
+
type GetUserPersistenceArgs = {
|
|
3866
|
+
path: {
|
|
3867
|
+
user_id: string;
|
|
3868
|
+
};
|
|
3869
|
+
query: {
|
|
3870
|
+
organization_id: string;
|
|
3871
|
+
};
|
|
3872
|
+
};
|
|
3873
|
+
type GetUserPersistenceResult = {
|
|
3874
|
+
[key: string]: unknown;
|
|
3875
|
+
};
|
|
3876
|
+
/** Get User Persistence */
|
|
3877
|
+
/** `GET /users/{user_id}/persistence` · sandbox-orchestrator · auth service · org exempt */
|
|
3878
|
+
declare function getUserPersistence(api: Api, args: GetUserPersistenceArgs, options?: CallOptions): Promise<GetUserPersistenceResult>;
|
|
3879
|
+
type DeleteUserVolumeArgs = {
|
|
3880
|
+
path: {
|
|
3881
|
+
user_id: string;
|
|
3882
|
+
};
|
|
3883
|
+
query: {
|
|
3884
|
+
organization_id: string;
|
|
3885
|
+
};
|
|
3886
|
+
};
|
|
3887
|
+
type DeleteUserVolumeResult = void;
|
|
3888
|
+
/** Delete User Volume */
|
|
3889
|
+
/** `DELETE /users/{user_id}/volume` · sandbox-orchestrator · auth service · org exempt */
|
|
3890
|
+
declare function deleteUserVolume(api: Api, args: DeleteUserVolumeArgs, options?: CallOptions): Promise<DeleteUserVolumeResult>;
|
|
3891
|
+
type ListUserMemoryArgs = {
|
|
3892
|
+
path: {
|
|
3893
|
+
user_id: string;
|
|
3894
|
+
};
|
|
3895
|
+
};
|
|
3896
|
+
type ListUserMemoryResult = MemoryListResponse;
|
|
3897
|
+
/** List User Memory */
|
|
3898
|
+
/** `GET /users/{user_id}/memory` · sandbox-orchestrator · auth service · org exempt */
|
|
3899
|
+
declare function listUserMemory(api: Api, args: ListUserMemoryArgs, options?: CallOptions): Promise<ListUserMemoryResult>;
|
|
3900
|
+
type PutUserMemoryArgs = {
|
|
3901
|
+
path: {
|
|
3902
|
+
user_id: string;
|
|
3903
|
+
path: string;
|
|
3904
|
+
};
|
|
3905
|
+
query: {
|
|
3906
|
+
organization_id: string;
|
|
3907
|
+
};
|
|
3908
|
+
body: MemoryPutRequest;
|
|
3909
|
+
};
|
|
3910
|
+
type PutUserMemoryResult = MemoryEntry;
|
|
3911
|
+
/** Put User Memory */
|
|
3912
|
+
/** `PUT /users/{user_id}/memory/{path}` · sandbox-orchestrator · auth service · org exempt */
|
|
3913
|
+
declare function putUserMemory(api: Api, args: PutUserMemoryArgs, options?: CallOptions): Promise<PutUserMemoryResult>;
|
|
3914
|
+
type DeleteUserMemoryArgs = {
|
|
3915
|
+
path: {
|
|
3916
|
+
user_id: string;
|
|
3917
|
+
path: string;
|
|
3918
|
+
};
|
|
3919
|
+
};
|
|
3920
|
+
type DeleteUserMemoryResult = void;
|
|
3921
|
+
/** Delete User Memory */
|
|
3922
|
+
/** `DELETE /users/{user_id}/memory/{path}` · sandbox-orchestrator · auth service · org exempt */
|
|
3923
|
+
declare function deleteUserMemory(api: Api, args: DeleteUserMemoryArgs, options?: CallOptions): Promise<DeleteUserMemoryResult>;
|
|
3924
|
+
type RootArgs = {
|
|
3925
|
+
[key: string]: never;
|
|
3926
|
+
};
|
|
3927
|
+
type RootResult = unknown;
|
|
3928
|
+
/** Root */
|
|
3929
|
+
/** `GET /` · sandbox-orchestrator · auth service · org exempt */
|
|
3930
|
+
declare function root(api: Api, args?: RootArgs, options?: CallOptions): Promise<RootResult>;
|
|
3931
|
+
type PlatformEnvCensusArgs = {
|
|
3932
|
+
[key: string]: never;
|
|
3933
|
+
};
|
|
3934
|
+
type PlatformEnvCensusResult = unknown;
|
|
3935
|
+
/** Platform Env Census */
|
|
3936
|
+
/** `GET /platform-env-census` · sandbox-orchestrator · auth service · org exempt */
|
|
3937
|
+
declare function platformEnvCensus(api: Api, args?: PlatformEnvCensusArgs, options?: CallOptions): Promise<PlatformEnvCensusResult>;
|
|
3938
|
+
type VersionDriftArgs = {
|
|
3939
|
+
[key: string]: never;
|
|
3940
|
+
};
|
|
3941
|
+
type VersionDriftResult = unknown;
|
|
3942
|
+
/** Version Drift */
|
|
3943
|
+
/** `GET /drift` · sandbox-orchestrator · auth service · org exempt */
|
|
3944
|
+
declare function versionDrift(api: Api, args?: VersionDriftArgs, options?: CallOptions): Promise<VersionDriftResult>;
|
|
3945
|
+
type MigrateAllArgs = {
|
|
3946
|
+
[key: string]: never;
|
|
3947
|
+
};
|
|
3948
|
+
type MigrateAllResult = unknown;
|
|
3949
|
+
/** Migrate All */
|
|
3950
|
+
/** `POST /migrate-all` · sandbox-orchestrator · auth service · org exempt */
|
|
3951
|
+
declare function migrateAll(api: Api, args?: MigrateAllArgs, options?: CallOptions): Promise<MigrateAllResult>;
|
|
3952
|
+
type ApiSurfaceArgs = {
|
|
3953
|
+
[key: string]: never;
|
|
3954
|
+
};
|
|
3955
|
+
type ApiSurfaceResult = APISurfaceResponse;
|
|
3956
|
+
/** Api Surface */
|
|
3957
|
+
/** `GET /api-surface` · sandbox-orchestrator · auth service · org exempt */
|
|
3958
|
+
declare function apiSurface(api: Api, args?: ApiSurfaceArgs, options?: CallOptions): Promise<ApiSurfaceResult>;
|
|
3959
|
+
/** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
|
|
3960
|
+
interface Operations {
|
|
3961
|
+
"GET /health": {
|
|
3962
|
+
args: HealthCheckArgs;
|
|
3963
|
+
result: HealthCheckResult;
|
|
3964
|
+
};
|
|
3965
|
+
"GET /health/detailed": {
|
|
3966
|
+
args: DetailedHealthCheckArgs;
|
|
3967
|
+
result: DetailedHealthCheckResult;
|
|
3968
|
+
};
|
|
3969
|
+
"GET /health/version": {
|
|
3970
|
+
args: VersionCheckArgs;
|
|
3971
|
+
result: VersionCheckResult;
|
|
3972
|
+
};
|
|
3973
|
+
"GET /health/database-identity": {
|
|
3974
|
+
args: DatabaseIdentityArgs;
|
|
3975
|
+
result: DatabaseIdentityResult;
|
|
3976
|
+
};
|
|
3977
|
+
"GET /health/live": {
|
|
3978
|
+
args: LivenessCheckArgs;
|
|
3979
|
+
result: LivenessCheckResult;
|
|
3980
|
+
};
|
|
3981
|
+
"GET /health/ready": {
|
|
3982
|
+
args: ReadinessCheckArgs;
|
|
3983
|
+
result: ReadinessCheckResult;
|
|
3984
|
+
};
|
|
3985
|
+
"GET /health/serving": {
|
|
3986
|
+
args: ServingCheckArgs;
|
|
3987
|
+
result: ServingCheckResult;
|
|
3988
|
+
};
|
|
3989
|
+
"POST /kind-outputs/save": {
|
|
3990
|
+
args: SaveOutputArgs;
|
|
3991
|
+
result: SaveOutputResult;
|
|
3992
|
+
};
|
|
3993
|
+
"POST /v2/runtime/open": {
|
|
3994
|
+
args: OpenExecutionArgs;
|
|
3995
|
+
result: OpenExecutionResult;
|
|
3996
|
+
};
|
|
3997
|
+
"POST /v2/runtime/heartbeat": {
|
|
3998
|
+
args: HeartbeatExecutionArgs;
|
|
3999
|
+
result: HeartbeatExecutionResult;
|
|
4000
|
+
};
|
|
4001
|
+
"POST /v2/runtime/settle": {
|
|
4002
|
+
args: SettleExecutionArgs;
|
|
4003
|
+
result: SettleExecutionResult;
|
|
4004
|
+
};
|
|
4005
|
+
"GET /runtime/operations/{request_id}": {
|
|
4006
|
+
args: OperationStatusArgs;
|
|
4007
|
+
result: OperationStatusResult;
|
|
4008
|
+
};
|
|
4009
|
+
"GET /runtime/operations/by-link/{link_kind}/{link_id}": {
|
|
4010
|
+
args: OperationsByLinkArgs;
|
|
4011
|
+
result: OperationsByLinkResult;
|
|
4012
|
+
};
|
|
4013
|
+
"GET /runtime/executions/{execution_id}/events": {
|
|
4014
|
+
args: OperationEventsArgs;
|
|
4015
|
+
result: OperationEventsResult;
|
|
4016
|
+
};
|
|
4017
|
+
"GET /compute-targets/": {
|
|
4018
|
+
args: ListComputeTargetsArgs;
|
|
4019
|
+
result: ListComputeTargetsResult;
|
|
4020
|
+
};
|
|
4021
|
+
"POST /compute-targets/resolve": {
|
|
4022
|
+
args: ResolveComputeTargetArgs;
|
|
4023
|
+
result: ResolveComputeTargetResult;
|
|
4024
|
+
};
|
|
4025
|
+
"POST /broker/tokens": {
|
|
4026
|
+
args: MintTokenArgs;
|
|
4027
|
+
result: MintTokenResult;
|
|
4028
|
+
};
|
|
4029
|
+
"POST /broker/provider-failures": {
|
|
4030
|
+
args: ReportProviderSessionFailureArgs;
|
|
4031
|
+
result: ReportProviderSessionFailureResult;
|
|
4032
|
+
};
|
|
4033
|
+
"POST /broker/gateway/anthropic/v1/messages/count_tokens": {
|
|
4034
|
+
args: AnthropicCountTokensArgs;
|
|
4035
|
+
result: AnthropicCountTokensResult;
|
|
4036
|
+
};
|
|
4037
|
+
"GET /sandboxes/internal/default-browser-profile": {
|
|
4038
|
+
args: GetDefaultBrowserProfileForUserArgs;
|
|
4039
|
+
result: GetDefaultBrowserProfileForUserResult;
|
|
4040
|
+
};
|
|
4041
|
+
"GET /admin/debug-traces/files": {
|
|
4042
|
+
args: ListTraceFilesArgs;
|
|
4043
|
+
result: ListTraceFilesResult;
|
|
4044
|
+
};
|
|
4045
|
+
"GET /admin/debug-traces/recent": {
|
|
4046
|
+
args: RecentEventsArgs;
|
|
4047
|
+
result: RecentEventsResult;
|
|
4048
|
+
};
|
|
4049
|
+
"GET /admin/debug-traces/failures-since/{iso_ts}": {
|
|
4050
|
+
args: FailuresSinceArgs;
|
|
4051
|
+
result: FailuresSinceResult;
|
|
4052
|
+
};
|
|
4053
|
+
"GET /admin/debug-traces/by-conv/{conversation_id}": {
|
|
4054
|
+
args: ByConversationArgs;
|
|
4055
|
+
result: ByConversationResult;
|
|
4056
|
+
};
|
|
4057
|
+
"GET /admin/debug-traces/by-call/{call_id}": {
|
|
4058
|
+
args: ByCallArgs;
|
|
4059
|
+
result: ByCallResult;
|
|
4060
|
+
};
|
|
4061
|
+
"GET /admin/system-errors/recent": {
|
|
4062
|
+
args: RecentErrorsArgs;
|
|
4063
|
+
result: RecentErrorsResult;
|
|
4064
|
+
};
|
|
4065
|
+
"GET /admin/system-errors/open-outages": {
|
|
4066
|
+
args: OpenOutagesArgs;
|
|
4067
|
+
result: OpenOutagesResult;
|
|
4068
|
+
};
|
|
4069
|
+
"GET /admin/system-errors/{error_id}": {
|
|
4070
|
+
args: GetErrorArgs;
|
|
4071
|
+
result: GetErrorResult;
|
|
4072
|
+
};
|
|
4073
|
+
"GET /admin/runtime/recent": {
|
|
4074
|
+
args: RecentExecutionsArgs;
|
|
4075
|
+
result: RecentExecutionsResult;
|
|
4076
|
+
};
|
|
4077
|
+
"GET /admin/runtime/worker-health": {
|
|
4078
|
+
args: WorkerHealthArgs;
|
|
4079
|
+
result: WorkerHealthResult;
|
|
4080
|
+
};
|
|
4081
|
+
"GET /admin/runtime/lock-storm": {
|
|
4082
|
+
args: LockStormArgs;
|
|
4083
|
+
result: LockStormResult;
|
|
4084
|
+
};
|
|
4085
|
+
"GET /admin/runtime/conversations/{conversation_id}": {
|
|
4086
|
+
args: ConversationExecutionsArgs;
|
|
4087
|
+
result: ConversationExecutionsResult;
|
|
4088
|
+
};
|
|
4089
|
+
"GET /admin/runtime/workflows/{run_id}": {
|
|
4090
|
+
args: WorkflowExecutionsArgs;
|
|
4091
|
+
result: WorkflowExecutionsResult;
|
|
4092
|
+
};
|
|
4093
|
+
"GET /admin/runtime/executions/{execution_id}/tree": {
|
|
4094
|
+
args: ExecutionTreeArgs;
|
|
4095
|
+
result: ExecutionTreeResult;
|
|
4096
|
+
};
|
|
4097
|
+
"GET /admin/runtime/executions/{execution_id}/events": {
|
|
4098
|
+
args: ExecutionEventsArgs;
|
|
4099
|
+
result: ExecutionEventsResult;
|
|
4100
|
+
};
|
|
4101
|
+
"GET /admin/runtime/system-costs": {
|
|
4102
|
+
args: SystemCostsArgs;
|
|
4103
|
+
result: SystemCostsResult;
|
|
4104
|
+
};
|
|
4105
|
+
"GET /admin/runtime/overview": {
|
|
4106
|
+
args: OverviewArgs;
|
|
4107
|
+
result: OverviewResult;
|
|
4108
|
+
};
|
|
4109
|
+
"GET /admin/runtime/signals": {
|
|
4110
|
+
args: SignalsArgs;
|
|
4111
|
+
result: SignalsResult;
|
|
4112
|
+
};
|
|
4113
|
+
"GET /admin/runtime/false-reaps": {
|
|
4114
|
+
args: FalseReapsArgs;
|
|
4115
|
+
result: FalseReapsResult;
|
|
4116
|
+
};
|
|
4117
|
+
"POST /admin/runtime/executions/{execution_id}/cancel": {
|
|
4118
|
+
args: CancelExecutionTreeArgs;
|
|
4119
|
+
result: CancelExecutionTreeResult;
|
|
4120
|
+
};
|
|
4121
|
+
"POST /admin/runtime/executions/{execution_id}/take-over": {
|
|
4122
|
+
args: TakeOverExecutionArgs;
|
|
4123
|
+
result: TakeOverExecutionResult;
|
|
4124
|
+
};
|
|
4125
|
+
"POST /admin/runtime/executions/{execution_id}/mark-false-reap": {
|
|
4126
|
+
args: MarkFalseReapArgs;
|
|
4127
|
+
result: MarkFalseReapResult;
|
|
4128
|
+
};
|
|
4129
|
+
"POST /admin/runtime/reap-expired": {
|
|
4130
|
+
args: ReapExpiredNowArgs;
|
|
4131
|
+
result: ReapExpiredNowResult;
|
|
4132
|
+
};
|
|
4133
|
+
"POST /mcp/debug-traces": {
|
|
4134
|
+
args: JsonrpcEndpointArgs;
|
|
4135
|
+
result: JsonrpcEndpointResult;
|
|
4136
|
+
};
|
|
4137
|
+
"GET /tests/examples": {
|
|
4138
|
+
args: ListExamplesArgs;
|
|
4139
|
+
result: ListExamplesResult;
|
|
4140
|
+
};
|
|
4141
|
+
"POST /tests/examples": {
|
|
4142
|
+
args: CreateExampleArgs;
|
|
4143
|
+
result: CreateExampleResult;
|
|
4144
|
+
};
|
|
4145
|
+
"GET /tests/examples/{item_id}": {
|
|
4146
|
+
args: GetExampleArgs;
|
|
4147
|
+
result: GetExampleResult;
|
|
4148
|
+
};
|
|
4149
|
+
"PUT /tests/examples/{item_id}": {
|
|
4150
|
+
args: UpdateExampleArgs;
|
|
4151
|
+
result: UpdateExampleResult;
|
|
4152
|
+
};
|
|
4153
|
+
"DELETE /tests/examples/{item_id}": {
|
|
4154
|
+
args: DeleteExampleArgs;
|
|
4155
|
+
result: DeleteExampleResult;
|
|
4156
|
+
};
|
|
4157
|
+
"GET /tests/examples/search": {
|
|
4158
|
+
args: SearchExamplesArgs;
|
|
4159
|
+
result: SearchExamplesResult;
|
|
4160
|
+
};
|
|
4161
|
+
"GET /admin/stats": {
|
|
4162
|
+
args: GetStatsArgs;
|
|
4163
|
+
result: GetStatsResult;
|
|
4164
|
+
};
|
|
4165
|
+
"GET /admin/ops/issue-classes": {
|
|
4166
|
+
args: ListIssueClassesArgs;
|
|
4167
|
+
result: ListIssueClassesResult;
|
|
4168
|
+
};
|
|
4169
|
+
"GET /admin/ops/issue-classes/{class_id}": {
|
|
4170
|
+
args: GetIssueClassArgs;
|
|
4171
|
+
result: GetIssueClassResult;
|
|
4172
|
+
};
|
|
4173
|
+
"PATCH /admin/ops/issue-classes/{class_id}": {
|
|
4174
|
+
args: UpdateIssueClassArgs;
|
|
4175
|
+
result: UpdateIssueClassResult;
|
|
4176
|
+
};
|
|
4177
|
+
"POST /admin/ops/issue-classes/batch": {
|
|
4178
|
+
args: BatchUpdateIssueClassesArgs;
|
|
4179
|
+
result: BatchUpdateIssueClassesResult;
|
|
4180
|
+
};
|
|
4181
|
+
"GET /admin/ops/issue-classes/{class_id}/events": {
|
|
4182
|
+
args: ListEventsForClassArgs;
|
|
4183
|
+
result: ListEventsForClassResult;
|
|
4184
|
+
};
|
|
4185
|
+
"GET /admin/ops/events/recent": {
|
|
4186
|
+
args: ListRecentEventsArgs;
|
|
4187
|
+
result: ListRecentEventsResult;
|
|
4188
|
+
};
|
|
4189
|
+
"GET /admin/ops/summary": {
|
|
4190
|
+
args: OpsSummaryArgs;
|
|
4191
|
+
result: OpsSummaryResult;
|
|
4192
|
+
};
|
|
4193
|
+
"GET /admin/ops/issue-classes/{class_id}/stats": {
|
|
4194
|
+
args: IssueClassStatsArgs;
|
|
4195
|
+
result: IssueClassStatsResult;
|
|
4196
|
+
};
|
|
4197
|
+
"GET /admin/ops/providers": {
|
|
4198
|
+
args: ListProvidersArgs;
|
|
4199
|
+
result: ListProvidersResult;
|
|
4200
|
+
};
|
|
4201
|
+
"GET /admin/kind-incidents": {
|
|
4202
|
+
args: ListKindIncidentsArgs;
|
|
4203
|
+
result: ListKindIncidentsResult;
|
|
4204
|
+
};
|
|
4205
|
+
"GET /admin/kind-incidents/metrics": {
|
|
4206
|
+
args: KindIncidentMetricsArgs;
|
|
4207
|
+
result: KindIncidentMetricsResult;
|
|
4208
|
+
};
|
|
4209
|
+
"GET /admin/kind-incidents/{incident_id}": {
|
|
4210
|
+
args: GetKindIncidentArgs;
|
|
4211
|
+
result: GetKindIncidentResult;
|
|
4212
|
+
};
|
|
4213
|
+
"POST /admin/kind-incidents/resolve": {
|
|
4214
|
+
args: ResolveKindIncidentsArgs;
|
|
4215
|
+
result: ResolveKindIncidentsResult;
|
|
4216
|
+
};
|
|
4217
|
+
"GET /admin/persistence/watchdog": {
|
|
4218
|
+
args: GetWatchdogStatusArgs;
|
|
4219
|
+
result: GetWatchdogStatusResult;
|
|
4220
|
+
};
|
|
4221
|
+
"GET /admin/persistence/watchdog/{table}": {
|
|
4222
|
+
args: ListStuckRowsArgs;
|
|
4223
|
+
result: ListStuckRowsResult;
|
|
4224
|
+
};
|
|
4225
|
+
"POST /admin/persistence/watchdog/sweep": {
|
|
4226
|
+
args: SweepWatchdogOnceArgs;
|
|
4227
|
+
result: SweepWatchdogOnceResult;
|
|
4228
|
+
};
|
|
4229
|
+
"GET /admin/persistence/failures": {
|
|
4230
|
+
args: ListFailuresArgs;
|
|
4231
|
+
result: ListFailuresResult;
|
|
4232
|
+
};
|
|
4233
|
+
"GET /admin/persistence/failures/{failure_id}": {
|
|
4234
|
+
args: GetFailureDetailArgs;
|
|
4235
|
+
result: GetFailureDetailResult;
|
|
4236
|
+
};
|
|
4237
|
+
"POST /admin/persistence/failures/{failure_id}/replay": {
|
|
4238
|
+
args: ReplayOneArgs;
|
|
4239
|
+
result: ReplayOneResult;
|
|
4240
|
+
};
|
|
4241
|
+
"POST /admin/persistence/failures/replay-batch": {
|
|
4242
|
+
args: ReplayBatchArgs;
|
|
4243
|
+
result: ReplayBatchResult;
|
|
4244
|
+
};
|
|
4245
|
+
"POST /admin/persistence/failures/{failure_id}/dismiss": {
|
|
4246
|
+
args: DismissFailureArgs;
|
|
4247
|
+
result: DismissFailureResult;
|
|
4248
|
+
};
|
|
4249
|
+
"POST /admin/persistence/failures/dismiss-batch": {
|
|
4250
|
+
args: DismissBatchArgs;
|
|
4251
|
+
result: DismissBatchResult;
|
|
4252
|
+
};
|
|
4253
|
+
"GET /admin/persistence/summary": {
|
|
4254
|
+
args: GetSummaryArgs;
|
|
4255
|
+
result: GetSummaryResult;
|
|
4256
|
+
};
|
|
4257
|
+
"GET /admin/persistence/errors": {
|
|
4258
|
+
args: ListErrorsArgs;
|
|
4259
|
+
result: ListErrorsResult;
|
|
4260
|
+
};
|
|
4261
|
+
"GET /admin/persistence/errors/{error_id}": {
|
|
4262
|
+
args: GetErrorDetailArgs;
|
|
4263
|
+
result: GetErrorDetailResult;
|
|
4264
|
+
};
|
|
4265
|
+
"POST /admin/persistence/errors/{error_id}/resolve": {
|
|
4266
|
+
args: ResolveErrorArgs;
|
|
4267
|
+
result: ResolveErrorResult;
|
|
4268
|
+
};
|
|
4269
|
+
"POST /admin/persistence/errors/resolve-batch": {
|
|
4270
|
+
args: ResolveBatchArgs;
|
|
4271
|
+
result: ResolveBatchResult;
|
|
4272
|
+
};
|
|
4273
|
+
"GET /admin/app-logs/query": {
|
|
4274
|
+
args: QueryArgs;
|
|
4275
|
+
result: QueryResult;
|
|
4276
|
+
};
|
|
4277
|
+
"GET /admin/app-logs/norm-exceptions": {
|
|
4278
|
+
args: ListNormExceptionsRouteArgs;
|
|
4279
|
+
result: ListNormExceptionsRouteResult;
|
|
4280
|
+
};
|
|
4281
|
+
"POST /admin/app-logs/norm-exceptions": {
|
|
4282
|
+
args: AddNormExceptionRouteArgs;
|
|
4283
|
+
result: AddNormExceptionRouteResult;
|
|
4284
|
+
};
|
|
4285
|
+
"DELETE /admin/app-logs/norm-exceptions/{exc_id}": {
|
|
4286
|
+
args: DeleteNormExceptionRouteArgs;
|
|
4287
|
+
result: DeleteNormExceptionRouteResult;
|
|
4288
|
+
};
|
|
4289
|
+
"GET /admin/app-logs/unclassified": {
|
|
4290
|
+
args: UnclassifiedArgs;
|
|
4291
|
+
result: UnclassifiedResult;
|
|
4292
|
+
};
|
|
4293
|
+
"GET /admin/app-logs/stats": {
|
|
4294
|
+
args: StatsArgs;
|
|
4295
|
+
result: StatsResult;
|
|
4296
|
+
};
|
|
4297
|
+
"GET /admin/app-logs/top-patterns": {
|
|
4298
|
+
args: TopPatternsRouteArgs;
|
|
4299
|
+
result: TopPatternsRouteResult;
|
|
4300
|
+
};
|
|
4301
|
+
"GET /admin/app-logs/suppressions": {
|
|
4302
|
+
args: ListSuppressionsArgs;
|
|
4303
|
+
result: ListSuppressionsResult;
|
|
4304
|
+
};
|
|
4305
|
+
"POST /admin/app-logs/suppressions": {
|
|
4306
|
+
args: AddSuppressionArgs;
|
|
4307
|
+
result: AddSuppressionResult;
|
|
4308
|
+
};
|
|
4309
|
+
"DELETE /admin/app-logs/suppressions/{muted_id}": {
|
|
4310
|
+
args: RemoveSuppressionArgs;
|
|
4311
|
+
result: RemoveSuppressionResult;
|
|
4312
|
+
};
|
|
4313
|
+
"GET /admin/app-logs/files": {
|
|
4314
|
+
args: ListFilesArgs;
|
|
4315
|
+
result: ListFilesResult;
|
|
4316
|
+
};
|
|
4317
|
+
"GET /admin/snapshot-retention/rollup": {
|
|
4318
|
+
args: GetRollupArgs;
|
|
4319
|
+
result: GetRollupResult;
|
|
4320
|
+
};
|
|
4321
|
+
"GET /admin/snapshot-retention/capture-health": {
|
|
4322
|
+
args: GetCaptureHealthArgs;
|
|
4323
|
+
result: GetCaptureHealthResult;
|
|
4324
|
+
};
|
|
4325
|
+
"POST /admin/snapshot-retention/prune": {
|
|
4326
|
+
args: PostPruneArgs;
|
|
4327
|
+
result: PostPruneResult;
|
|
4328
|
+
};
|
|
4329
|
+
"POST /admin/snapshot-retention/run": {
|
|
4330
|
+
args: PostRunArgs;
|
|
4331
|
+
result: PostRunResult;
|
|
4332
|
+
};
|
|
4333
|
+
"POST /admin/checks/accept": {
|
|
4334
|
+
args: AcceptFindingArgs;
|
|
4335
|
+
result: AcceptFindingResult;
|
|
4336
|
+
};
|
|
4337
|
+
"GET /admin/checks/accept-adapters": {
|
|
4338
|
+
args: AcceptAdaptersArgs;
|
|
4339
|
+
result: AcceptAdaptersResult;
|
|
4340
|
+
};
|
|
4341
|
+
"GET /scheduler/tasks": {
|
|
4342
|
+
args: ListTasksArgs;
|
|
4343
|
+
result: ListTasksResult;
|
|
4344
|
+
};
|
|
4345
|
+
"POST /scheduler/tasks": {
|
|
4346
|
+
args: CreateTaskArgs;
|
|
4347
|
+
result: CreateTaskResult;
|
|
4348
|
+
};
|
|
4349
|
+
"GET /scheduler/tasks/duplicates": {
|
|
4350
|
+
args: ListDuplicateSchedulesArgs;
|
|
4351
|
+
result: ListDuplicateSchedulesResult;
|
|
4352
|
+
};
|
|
4353
|
+
"GET /scheduler/tasks/{task_id}": {
|
|
4354
|
+
args: GetTaskArgs;
|
|
4355
|
+
result: GetTaskResult;
|
|
4356
|
+
};
|
|
4357
|
+
"PATCH /scheduler/tasks/{task_id}": {
|
|
4358
|
+
args: PatchTaskArgs;
|
|
4359
|
+
result: PatchTaskResult;
|
|
4360
|
+
};
|
|
4361
|
+
"DELETE /scheduler/tasks/{task_id}": {
|
|
4362
|
+
args: DeleteTaskArgs;
|
|
4363
|
+
result: DeleteTaskResult;
|
|
4364
|
+
};
|
|
4365
|
+
"POST /scheduler/tasks/{task_id}/run-now": {
|
|
4366
|
+
args: RunNowArgs;
|
|
4367
|
+
result: RunNowResult;
|
|
4368
|
+
};
|
|
4369
|
+
"GET /scheduler/triggers": {
|
|
4370
|
+
args: ListTriggersArgs;
|
|
4371
|
+
result: ListTriggersResult;
|
|
4372
|
+
};
|
|
4373
|
+
"POST /scheduler/triggers": {
|
|
4374
|
+
args: CreateTriggerArgs;
|
|
4375
|
+
result: CreateTriggerResult;
|
|
4376
|
+
};
|
|
4377
|
+
"PATCH /scheduler/triggers/{trigger_id}": {
|
|
4378
|
+
args: PatchTriggerArgs;
|
|
4379
|
+
result: PatchTriggerResult;
|
|
4380
|
+
};
|
|
4381
|
+
"DELETE /scheduler/triggers/{trigger_id}": {
|
|
4382
|
+
args: DeleteTriggerArgs;
|
|
4383
|
+
result: DeleteTriggerResult;
|
|
4384
|
+
};
|
|
4385
|
+
"GET /scheduler/runs": {
|
|
4386
|
+
args: ListRunsArgs;
|
|
4387
|
+
result: ListRunsResult;
|
|
4388
|
+
};
|
|
4389
|
+
"GET /scheduler/runs/{run_id}": {
|
|
4390
|
+
args: GetRunArgs;
|
|
4391
|
+
result: GetRunResult;
|
|
4392
|
+
};
|
|
4393
|
+
"POST /scheduler/cron/validate": {
|
|
4394
|
+
args: ValidateCronArgs;
|
|
4395
|
+
result: ValidateCronResult;
|
|
4396
|
+
};
|
|
4397
|
+
"POST /scheduler/cron/preview-fires": {
|
|
4398
|
+
args: PreviewFiresArgs;
|
|
4399
|
+
result: PreviewFiresResult;
|
|
4400
|
+
};
|
|
4401
|
+
"POST /scheduler/compute-next-due-at": {
|
|
4402
|
+
args: ComputeNextDueAtArgs;
|
|
4403
|
+
result: ComputeNextDueAtResult;
|
|
4404
|
+
};
|
|
4405
|
+
"GET /scheduler/status": {
|
|
4406
|
+
args: GetStatusArgs;
|
|
4407
|
+
result: GetStatusResult;
|
|
4408
|
+
};
|
|
4409
|
+
"GET /actions/server": {
|
|
4410
|
+
args: GetServerActionsArgs;
|
|
4411
|
+
result: GetServerActionsResult;
|
|
4412
|
+
};
|
|
4413
|
+
"POST /actions/run": {
|
|
4414
|
+
args: RunActionArgs;
|
|
4415
|
+
result: RunActionResult;
|
|
4416
|
+
};
|
|
4417
|
+
"GET /health @hosted-box": {
|
|
4418
|
+
args: HealthCheckOnHostedBoxArgs;
|
|
4419
|
+
result: HealthCheckOnHostedBoxResult;
|
|
4420
|
+
};
|
|
4421
|
+
"GET /health/detailed @hosted-box": {
|
|
4422
|
+
args: DetailedHealthCheckOnHostedBoxArgs;
|
|
4423
|
+
result: DetailedHealthCheckOnHostedBoxResult;
|
|
4424
|
+
};
|
|
4425
|
+
"GET /health/version @hosted-box": {
|
|
4426
|
+
args: VersionCheckOnHostedBoxArgs;
|
|
4427
|
+
result: VersionCheckOnHostedBoxResult;
|
|
4428
|
+
};
|
|
4429
|
+
"GET /health/database-identity @hosted-box": {
|
|
4430
|
+
args: DatabaseIdentityOnHostedBoxArgs;
|
|
4431
|
+
result: DatabaseIdentityOnHostedBoxResult;
|
|
4432
|
+
};
|
|
4433
|
+
"GET /health/live @hosted-box": {
|
|
4434
|
+
args: LivenessCheckOnHostedBoxArgs;
|
|
4435
|
+
result: LivenessCheckOnHostedBoxResult;
|
|
4436
|
+
};
|
|
4437
|
+
"GET /health/ready @hosted-box": {
|
|
4438
|
+
args: HostedSessionReadyArgs;
|
|
4439
|
+
result: HostedSessionReadyResult;
|
|
4440
|
+
};
|
|
4441
|
+
"GET /health/serving @hosted-box": {
|
|
4442
|
+
args: ServingCheckOnHostedBoxArgs;
|
|
4443
|
+
result: ServingCheckOnHostedBoxResult;
|
|
4444
|
+
};
|
|
4445
|
+
"GET /sandbox/fs/list": {
|
|
4446
|
+
args: FsListArgs;
|
|
4447
|
+
result: FsListResult;
|
|
4448
|
+
};
|
|
4449
|
+
"GET /sandbox/fs/stat": {
|
|
4450
|
+
args: FsStatArgs;
|
|
4451
|
+
result: FsStatResult;
|
|
4452
|
+
};
|
|
4453
|
+
"GET /sandbox/fs/read": {
|
|
4454
|
+
args: FsReadArgs;
|
|
4455
|
+
result: FsReadResult;
|
|
4456
|
+
};
|
|
4457
|
+
"PUT /sandbox/fs/write": {
|
|
4458
|
+
args: FsWriteArgs;
|
|
4459
|
+
result: FsWriteResult;
|
|
4460
|
+
};
|
|
4461
|
+
"POST /sandbox/fs/mkdir": {
|
|
4462
|
+
args: FsMkdirArgs;
|
|
4463
|
+
result: FsMkdirResult;
|
|
4464
|
+
};
|
|
4465
|
+
"POST /sandbox/fs/patch": {
|
|
4466
|
+
args: FsPatchArgs;
|
|
4467
|
+
result: FsPatchResult;
|
|
4468
|
+
};
|
|
4469
|
+
"POST /sandbox/search/paths": {
|
|
4470
|
+
args: SearchPathsArgs;
|
|
4471
|
+
result: SearchPathsResult;
|
|
4472
|
+
};
|
|
4473
|
+
"POST /sandbox/search/content": {
|
|
4474
|
+
args: SearchContentArgs;
|
|
4475
|
+
result: SearchContentResult;
|
|
4476
|
+
};
|
|
4477
|
+
"POST /sandbox/exec": {
|
|
4478
|
+
args: ExecCommandArgs;
|
|
4479
|
+
result: ExecCommandResult;
|
|
4480
|
+
};
|
|
4481
|
+
"GET /sandbox/codex-usage/allowance": {
|
|
4482
|
+
args: GetCodexUsageAllowanceArgs;
|
|
4483
|
+
result: GetCodexUsageAllowanceResult;
|
|
4484
|
+
};
|
|
4485
|
+
"GET /sandbox/codex-usage": {
|
|
4486
|
+
args: GetCodexUsageArgs;
|
|
4487
|
+
result: GetCodexUsageResult;
|
|
4488
|
+
};
|
|
4489
|
+
"GET /sandboxes": {
|
|
4490
|
+
args: ListSandboxesArgs;
|
|
4491
|
+
result: ListSandboxesResult;
|
|
4492
|
+
};
|
|
4493
|
+
"POST /sandboxes": {
|
|
4494
|
+
args: CreateSandboxArgs;
|
|
4495
|
+
result: CreateSandboxResult;
|
|
4496
|
+
};
|
|
4497
|
+
"POST /sandboxes/claim": {
|
|
4498
|
+
args: ClaimSandboxArgs;
|
|
4499
|
+
result: ClaimSandboxResult;
|
|
4500
|
+
};
|
|
4501
|
+
"GET /sandboxes/{sandbox_id}": {
|
|
4502
|
+
args: GetSandboxArgs;
|
|
4503
|
+
result: GetSandboxResult;
|
|
4504
|
+
};
|
|
4505
|
+
"DELETE /sandboxes/{sandbox_id}": {
|
|
4506
|
+
args: DestroySandboxArgs;
|
|
4507
|
+
result: DestroySandboxResult;
|
|
4508
|
+
};
|
|
4509
|
+
"POST /sandboxes/{sandbox_id}/exec": {
|
|
4510
|
+
args: ExecCommandOnSandboxOrchestratorArgs;
|
|
4511
|
+
result: ExecCommandOnSandboxOrchestratorResult;
|
|
4512
|
+
};
|
|
4513
|
+
"POST /sandboxes/{sandbox_id}/access": {
|
|
4514
|
+
args: RequestAccessArgs;
|
|
4515
|
+
result: RequestAccessResult;
|
|
4516
|
+
};
|
|
4517
|
+
"POST /sandboxes/{sandbox_id}/lifecycle-operations": {
|
|
4518
|
+
args: AdmitLifecycleOperationArgs;
|
|
4519
|
+
result: AdmitLifecycleOperationResult;
|
|
4520
|
+
};
|
|
4521
|
+
"GET /sandboxes/{sandbox_id}/lifecycle-operations/{operation_id}": {
|
|
4522
|
+
args: LifecycleOperationStatusArgs;
|
|
4523
|
+
result: LifecycleOperationStatusResult;
|
|
4524
|
+
};
|
|
4525
|
+
"POST /sandboxes/{sandbox_id}/lifecycle-operations/{operation_id}/recover": {
|
|
4526
|
+
args: RecoverLifecycleOperationArgs;
|
|
4527
|
+
result: RecoverLifecycleOperationResult;
|
|
4528
|
+
};
|
|
4529
|
+
"POST /sandboxes/{sandbox_id}/reset": {
|
|
4530
|
+
args: ResetSandboxArgs;
|
|
4531
|
+
result: ResetSandboxResult;
|
|
4532
|
+
};
|
|
4533
|
+
"POST /sandboxes/{sandbox_id}/resume": {
|
|
4534
|
+
args: ResumeSandboxArgs;
|
|
4535
|
+
result: ResumeSandboxResult;
|
|
4536
|
+
};
|
|
4537
|
+
"GET /sandboxes/{sandbox_id}/agent-env": {
|
|
4538
|
+
args: SandboxAgentEnvArgs;
|
|
4539
|
+
result: SandboxAgentEnvResult;
|
|
4540
|
+
};
|
|
4541
|
+
"POST /sandboxes/{sandbox_id}/migrate": {
|
|
4542
|
+
args: MigrateSandboxRouteArgs;
|
|
4543
|
+
result: MigrateSandboxRouteResult;
|
|
4544
|
+
};
|
|
4545
|
+
"GET /sandboxes/{sandbox_id}/migration": {
|
|
4546
|
+
args: MigrationStatusRouteArgs;
|
|
4547
|
+
result: MigrationStatusRouteResult;
|
|
4548
|
+
};
|
|
4549
|
+
"POST /sandboxes/{sandbox_id}/refresh-platform-env": {
|
|
4550
|
+
args: RefreshSandboxPlatformEnvArgs;
|
|
4551
|
+
result: RefreshSandboxPlatformEnvResult;
|
|
4552
|
+
};
|
|
4553
|
+
"POST /sandboxes/{sandbox_id}/heartbeat": {
|
|
4554
|
+
args: SandboxHeartbeatArgs;
|
|
4555
|
+
result: SandboxHeartbeatResult;
|
|
4556
|
+
};
|
|
4557
|
+
"POST /sandboxes/{sandbox_id}/complete": {
|
|
4558
|
+
args: SandboxCompleteArgs;
|
|
4559
|
+
result: SandboxCompleteResult;
|
|
4560
|
+
};
|
|
4561
|
+
"POST /sandboxes/{sandbox_id}/error": {
|
|
4562
|
+
args: SandboxErrorArgs;
|
|
4563
|
+
result: SandboxErrorResult;
|
|
4564
|
+
};
|
|
4565
|
+
"POST /sandboxes/{sandbox_id}/extend": {
|
|
4566
|
+
args: ExtendSandboxArgs;
|
|
4567
|
+
result: ExtendSandboxResult;
|
|
4568
|
+
};
|
|
4569
|
+
"GET /sandboxes/{sandbox_id}/fs/{path}": {
|
|
4570
|
+
args: OrchestratorProxyFsGetArgs;
|
|
4571
|
+
result: OrchestratorProxyFsGetResult;
|
|
4572
|
+
};
|
|
4573
|
+
"POST /sandboxes/{sandbox_id}/fs/{path}": {
|
|
4574
|
+
args: OrchestratorProxyFsPostArgs;
|
|
4575
|
+
result: OrchestratorProxyFsPostResult;
|
|
4576
|
+
};
|
|
4577
|
+
"PUT /sandboxes/{sandbox_id}/fs/{path}": {
|
|
4578
|
+
args: OrchestratorProxyFsArgs;
|
|
4579
|
+
result: OrchestratorProxyFsResult;
|
|
4580
|
+
};
|
|
4581
|
+
"PATCH /sandboxes/{sandbox_id}/fs/{path}": {
|
|
4582
|
+
args: OrchestratorProxyFsPatchArgs;
|
|
4583
|
+
result: OrchestratorProxyFsPatchResult;
|
|
4584
|
+
};
|
|
4585
|
+
"DELETE /sandboxes/{sandbox_id}/fs/{path}": {
|
|
4586
|
+
args: OrchestratorProxyFsDeleteArgs;
|
|
4587
|
+
result: OrchestratorProxyFsDeleteResult;
|
|
4588
|
+
};
|
|
4589
|
+
"GET /sandboxes/{sandbox_id}/git/{path}": {
|
|
4590
|
+
args: OrchestratorProxyGitArgs;
|
|
4591
|
+
result: OrchestratorProxyGitResult;
|
|
4592
|
+
};
|
|
4593
|
+
"POST /sandboxes/{sandbox_id}/git/{path}": {
|
|
4594
|
+
args: OrchestratorProxyGitPostArgs;
|
|
4595
|
+
result: OrchestratorProxyGitPostResult;
|
|
4596
|
+
};
|
|
4597
|
+
"POST /sandboxes/{sandbox_id}/credentials/revoke": {
|
|
4598
|
+
args: OrchestratorProxyCredentialsArgs;
|
|
4599
|
+
result: OrchestratorProxyCredentialsResult;
|
|
4600
|
+
};
|
|
4601
|
+
"POST /sandboxes/{sandbox_id}/credentials": {
|
|
4602
|
+
args: OrchestratorProxyCredentialsPostArgs;
|
|
4603
|
+
result: OrchestratorProxyCredentialsPostResult;
|
|
4604
|
+
};
|
|
4605
|
+
"GET /sandboxes/{sandbox_id}/search/{path}": {
|
|
4606
|
+
args: OrchestratorProxySearchArgs;
|
|
4607
|
+
result: OrchestratorProxySearchResult;
|
|
4608
|
+
};
|
|
4609
|
+
"POST /sandboxes/{sandbox_id}/search/{path}": {
|
|
4610
|
+
args: OrchestratorProxySearchPostArgs;
|
|
4611
|
+
result: OrchestratorProxySearchPostResult;
|
|
4612
|
+
};
|
|
4613
|
+
"POST /sandboxes/{sandbox_id}/processes/{pid}/signal": {
|
|
4614
|
+
args: OrchestratorProxyProcessesArgs;
|
|
4615
|
+
result: OrchestratorProxyProcessesResult;
|
|
4616
|
+
};
|
|
4617
|
+
"GET /sandboxes/{sandbox_id}/processes": {
|
|
4618
|
+
args: OrchestratorProxyProcessesGetArgs;
|
|
4619
|
+
result: OrchestratorProxyProcessesGetResult;
|
|
4620
|
+
};
|
|
4621
|
+
"GET /sandboxes/{sandbox_id}/ports": {
|
|
4622
|
+
args: ProxyPortsArgs;
|
|
4623
|
+
result: ProxyPortsResult;
|
|
4624
|
+
};
|
|
4625
|
+
"POST /sandboxes/{sandbox_id}/access-tokens": {
|
|
4626
|
+
args: IssueAccessTokenArgs;
|
|
4627
|
+
result: IssueAccessTokenResult;
|
|
4628
|
+
};
|
|
4629
|
+
"POST /sandboxes/{sandbox_id}/agent-binding": {
|
|
4630
|
+
args: AgentBindingArgs;
|
|
4631
|
+
result: AgentBindingResult;
|
|
4632
|
+
};
|
|
4633
|
+
"POST /sandboxes/{sandbox_id}/agent-presence/{execution_nonce}/settle": {
|
|
4634
|
+
args: SettleAgentPresenceArgs;
|
|
4635
|
+
result: SettleAgentPresenceResult;
|
|
4636
|
+
};
|
|
4637
|
+
"GET /sandboxes/{sandbox_id}/diagnostics": {
|
|
4638
|
+
args: SandboxDiagnosticsArgs;
|
|
4639
|
+
result: SandboxDiagnosticsResult;
|
|
4640
|
+
};
|
|
4641
|
+
"GET /sandboxes/{sandbox_id}/logs": {
|
|
4642
|
+
args: SandboxLogsArgs;
|
|
4643
|
+
result: SandboxLogsResult;
|
|
4644
|
+
};
|
|
4645
|
+
"GET /health @sandbox-orchestrator": {
|
|
4646
|
+
args: HealthCheckOnSandboxOrchestratorArgs;
|
|
4647
|
+
result: HealthCheckOnSandboxOrchestratorResult;
|
|
4648
|
+
};
|
|
4649
|
+
"GET /system": {
|
|
4650
|
+
args: SystemInfoArgs;
|
|
4651
|
+
result: SystemInfoResult;
|
|
4652
|
+
};
|
|
4653
|
+
"GET /templates": {
|
|
4654
|
+
args: ListTemplatesArgs;
|
|
4655
|
+
result: ListTemplatesResult;
|
|
4656
|
+
};
|
|
4657
|
+
"GET /users/{user_id}/persistence": {
|
|
4658
|
+
args: GetUserPersistenceArgs;
|
|
4659
|
+
result: GetUserPersistenceResult;
|
|
4660
|
+
};
|
|
4661
|
+
"DELETE /users/{user_id}/volume": {
|
|
4662
|
+
args: DeleteUserVolumeArgs;
|
|
4663
|
+
result: DeleteUserVolumeResult;
|
|
4664
|
+
};
|
|
4665
|
+
"GET /users/{user_id}/memory": {
|
|
4666
|
+
args: ListUserMemoryArgs;
|
|
4667
|
+
result: ListUserMemoryResult;
|
|
4668
|
+
};
|
|
4669
|
+
"PUT /users/{user_id}/memory/{path}": {
|
|
4670
|
+
args: PutUserMemoryArgs;
|
|
4671
|
+
result: PutUserMemoryResult;
|
|
4672
|
+
};
|
|
4673
|
+
"DELETE /users/{user_id}/memory/{path}": {
|
|
4674
|
+
args: DeleteUserMemoryArgs;
|
|
4675
|
+
result: DeleteUserMemoryResult;
|
|
4676
|
+
};
|
|
4677
|
+
"GET /": {
|
|
4678
|
+
args: RootArgs;
|
|
4679
|
+
result: RootResult;
|
|
4680
|
+
};
|
|
4681
|
+
"GET /platform-env-census": {
|
|
4682
|
+
args: PlatformEnvCensusArgs;
|
|
4683
|
+
result: PlatformEnvCensusResult;
|
|
4684
|
+
};
|
|
4685
|
+
"GET /drift": {
|
|
4686
|
+
args: VersionDriftArgs;
|
|
4687
|
+
result: VersionDriftResult;
|
|
4688
|
+
};
|
|
4689
|
+
"POST /migrate-all": {
|
|
4690
|
+
args: MigrateAllArgs;
|
|
4691
|
+
result: MigrateAllResult;
|
|
4692
|
+
};
|
|
4693
|
+
"GET /api-surface": {
|
|
4694
|
+
args: ApiSurfaceArgs;
|
|
4695
|
+
result: ApiSurfaceResult;
|
|
4696
|
+
};
|
|
4697
|
+
}
|
|
4698
|
+
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
4699
|
+
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
4700
|
+
|
|
4701
|
+
export { type APISurfaceResponse, type AcceptAdapter, type AcceptAdaptersArgs, type AcceptAdaptersResponse, type AcceptAdaptersResult, type AcceptFindingArgs, type AcceptFindingRequest, type AcceptFindingResponse, type AcceptFindingResult, type AccessResponse, type AccessTokenRequest, type AccessTokenResponse, type ActionResult, type AddNormExceptionRouteArgs, type AddNormExceptionRouteResult, type AddSuppressionArgs, type AddSuppressionResult, type AdminStatsResponse, type AdmitLifecycleOperationArgs, type AdmitLifecycleOperationResult, type AgentBindingArgs, type AgentBindingRequest, type AgentBindingResult, type AgentTaskCreate, type AgentTaskResponse, type AnthropicCountTokensArgs, type AnthropicCountTokensResponse, type AnthropicCountTokensResult, type AnthropicMessagesArgs, type AnthropicMessagesResult, type ApiSurfaceArgs, type ApiSurfaceResult, type AppLogEntry, type AppLogListResponse, type AppLogStatsResponse, type BatchUpdateIssueClassesArgs, type BatchUpdateIssueClassesResult, type BrokeredCredential, type BrokeredGrant, type ByCallArgs, type ByCallResult, type ByConversationArgs, type ByConversationResult, type CallTimelineResponse, type CallToolDetail, type CancelExecutionTreeArgs, type CancelExecutionTreeResult, type CaptureHealth, type ClaimSandboxArgs, type ClaimSandboxResult, type CompletionRequest, type CompletionResponse, type ComputeNextDueAtArgs, type ComputeNextDueAtResult, type ComputeTarget, type ComputeTargetListResponse, type ComputeTargetRef, type ConversationExecutionsArgs, type ConversationExecutionsResponse, type ConversationExecutionsResult, type CreateExampleArgs, type CreateExampleResult, type CreateSandboxArgs, type CreateSandboxRequest, type CreateSandboxResult, type CreateTaskArgs, type CreateTaskResult, type CreateTriggerArgs, type CreateTriggerResult, type DatabaseIdentity, type DatabaseIdentityArgs, type DatabaseIdentityOnHostedBoxArgs, type DatabaseIdentityOnHostedBoxResult, type DatabaseIdentityResult, type DefaultBrowserProfileResponse, type DeleteExampleArgs, type DeleteExampleResponse, type DeleteExampleResult, type DeleteNormExceptionRouteArgs, type DeleteNormExceptionRouteResult, type DeleteTaskArgs, type DeleteTaskResult, type DeleteTriggerArgs, type DeleteTriggerResult, type DeleteUserMemoryArgs, type DeleteUserMemoryResult, type DeleteUserVolumeArgs, type DeleteUserVolumeResult, type DestroySandboxArgs, type DestroySandboxResult, type DetailedHealthCheckArgs, type DetailedHealthCheckOnHostedBoxArgs, type DetailedHealthCheckOnHostedBoxResult, type DetailedHealthCheckResult, type DetailedHealthResponse, type DismissBatchArgs, type DismissBatchRequest, type DismissBatchResponse, type DismissBatchResult, type DismissFailureArgs, type DismissFailureResult, type DismissResponse, type DuplicateScheduleGroup, type DuplicateScheduleMember, type DuplicateScheduleResponse, type ErrorReport, type ErrorResponse, type ExecCommandArgs, type ExecCommandOnSandboxOrchestratorArgs, type ExecCommandOnSandboxOrchestratorResult, type ExecCommandResult, type ExecRequest, type ExecRequest_SandboxOrchestrator, type ExecResponse, type ExecResponse_SandboxOrchestrator, type ExecutionError, type ExecutionEvent, type ExecutionEventKind, type ExecutionEventsArgs, type ExecutionEventsResponse, type ExecutionEventsResult, type ExecutionStatus, type ExecutionTree, type ExecutionTreeArgs, type ExecutionTreeNode, type ExecutionTreeResult, type ExtendRequest, type ExtendResponse, type ExtendSandboxArgs, type ExtendSandboxResult, type FailureDetail, type FailureListResponse, type FailureSummary, type FailuresSinceArgs, type FailuresSinceResult, type FalseReapRuling, type FalseReapsArgs, type FalseReapsResult, type FsEntry, type FsListArgs, type FsListResponse, type FsListResult, type FsMkdirArgs, type FsMkdirRequest, type FsMkdirResponse, type FsMkdirResult, type FsPatchArgs, type FsPatchEdit, type FsPatchRequest, type FsPatchResponse, type FsPatchResult, type FsReadArgs, type FsReadResult, type FsStatArgs, type FsStatResponse, type FsStatResult, type FsWriteArgs, type FsWriteRequest, type FsWriteResponse, type FsWriteResult, type GetCaptureHealthArgs, type GetCaptureHealthResult, type GetCodexUsageAllowanceArgs, type GetCodexUsageAllowanceResult, type GetCodexUsageArgs, type GetCodexUsageResult, type GetDefaultBrowserProfileForUserArgs, type GetDefaultBrowserProfileForUserResult, type GetErrorArgs, type GetErrorDetailArgs, type GetErrorDetailResult, type GetErrorResult, type GetExampleArgs, type GetExampleResult, type GetFailureDetailArgs, type GetFailureDetailResult, type GetFileArgs, type GetFileResult, type GetIssueClassArgs, type GetIssueClassResult, type GetKindIncidentArgs, type GetKindIncidentResult, type GetRollupArgs, type GetRollupResult, type GetRunArgs, type GetRunResult, type GetSandboxArgs, type GetSandboxResult, type GetServerActionsArgs, type GetServerActionsResult, type GetStatsArgs, type GetStatsResult, type GetStatusArgs, type GetStatusResult, type GetSummaryArgs, type GetSummaryResult, type GetTaskArgs, type GetTaskResult, type GetTraceFileArgs, type GetTraceFileResult, type GetUserPersistenceArgs, type GetUserPersistenceResult, type GetWatchdogStatusArgs, type GetWatchdogStatusResult, type HealthCheckArgs, type HealthCheckOnHostedBoxArgs, type HealthCheckOnHostedBoxResult, type HealthCheckOnSandboxOrchestratorArgs, type HealthCheckOnSandboxOrchestratorResult, type HealthCheckResult, type HealthResponse, type HealthResponse_SandboxOrchestrator, type HeartbeatExecutionArgs, type HeartbeatExecutionResult, type HeartbeatResponse_SandboxOrchestrator, type HostedSessionReadyArgs, type HostedSessionReadyResult, type IssueAccessTokenArgs, type IssueAccessTokenResult, type IssueClassBatchResult, type IssueClassBatchUpdate, type IssueClassEmbed, type IssueClassRecord, type IssueClassStatsArgs, type IssueClassStatsResponse, type IssueClassStatsResult, type IssueClassUpdate, type IssueEventRecord, type Item, type ItemResponse, type JsonRpcResponse, type JsonrpcEndpointArgs, type JsonrpcEndpointResult, type KindIncidentDetail, type KindIncidentKindStat, type KindIncidentListResponse, type KindIncidentMetrics, type KindIncidentMetricsArgs, type KindIncidentMetricsResult, type KindIncidentResolveResponse, type KindIncidentSummary, type LifecycleOperationRequest, type LifecycleOperationStatusArgs, type LifecycleOperationStatusResult, type ListComputeTargetsArgs, type ListComputeTargetsResult, type ListDuplicateSchedulesArgs, type ListDuplicateSchedulesResult, type ListErrorsArgs, type ListErrorsResult, type ListEventsForClassArgs, type ListEventsForClassResult, type ListExamplesArgs, type ListExamplesResponse, type ListExamplesResult, type ListFailuresArgs, type ListFailuresResult, type ListFilesArgs, type ListFilesResult, type ListIssueClassesArgs, type ListIssueClassesResult, type ListKindIncidentsArgs, type ListKindIncidentsResult, type ListNormExceptionsRouteArgs, type ListNormExceptionsRouteResult, type ListProvidersArgs, type ListProvidersResult, type ListRecentEventsArgs, type ListRecentEventsResult, type ListRunsArgs, type ListRunsResult, type ListSandboxesArgs, type ListSandboxesResult, type ListStuckRowsArgs, type ListStuckRowsResult, type ListSuppressionsArgs, type ListSuppressionsResult, type ListTasksArgs, type ListTasksResult, type ListTemplatesArgs, type ListTemplatesResult, type ListTraceFilesArgs, type ListTraceFilesResult, type ListTriggersArgs, type ListTriggersResult, type ListUserMemoryArgs, type ListUserMemoryResult, type LivenessCheckArgs, type LivenessCheckOnHostedBoxArgs, type LivenessCheckOnHostedBoxResult, type LivenessCheckResult, type LivenessResponse, type LockStormArgs, type LockStormResponse, type LockStormResult, type LogFileListResponse, type LogFileSummary, type LogPattern, type MarkFalseReapArgs, type MarkFalseReapResult, type MemoryEntry, type MemoryListResponse, type MemoryPutRequest, type MigrateAllArgs, type MigrateAllResult, type MigrateSandboxRouteArgs, type MigrateSandboxRouteResult, type MigrationStatusRouteArgs, type MigrationStatusRouteResult, type MintTokenArgs, type MintTokenRequest, type MintTokenResult, type MuteListResponse, type MuteRequest, type MutedPattern, type NormException, type NormExceptionListResponse, type NormExceptionRequest, type OpenExecutionArgs, type OpenExecutionResult, type OpenOutageListResponse, type OpenOutageRecord, type OpenOutagesArgs, type OpenOutagesResult, type OpenRuntimeResponse, type OpenaiCodexResponsesArgs, type OpenaiCodexResponsesResult, type OperationEvent, type OperationEventsArgs, type OperationEventsPage, type OperationEventsResult, type OperationEventsStreamArgs, type OperationEventsStreamResult, type OperationStatusArgs, type OperationStatusResponse, type OperationStatusResult, type OperationView, type Operations, type OperationsByLinkArgs, type OperationsByLinkResponse, type OperationsByLinkResult, type OpsSummaryArgs, type OpsSummaryResponse, type OpsSummaryResult, type OrchestratorProxyCredentialsArgs, type OrchestratorProxyCredentialsPostArgs, type OrchestratorProxyCredentialsPostResult, type OrchestratorProxyCredentialsResult, type OrchestratorProxyFsArgs, type OrchestratorProxyFsDeleteArgs, type OrchestratorProxyFsDeleteResult, type OrchestratorProxyFsGetArgs, type OrchestratorProxyFsGetResult, type OrchestratorProxyFsPatchArgs, type OrchestratorProxyFsPatchResult, type OrchestratorProxyFsPostArgs, type OrchestratorProxyFsPostResult, type OrchestratorProxyFsResult, type OrchestratorProxyGitArgs, type OrchestratorProxyGitPostArgs, type OrchestratorProxyGitPostResult, type OrchestratorProxyGitResult, type OrchestratorProxyProcessesArgs, type OrchestratorProxyProcessesGetArgs, type OrchestratorProxyProcessesGetResult, type OrchestratorProxyProcessesResult, type OrchestratorProxySearchArgs, type OrchestratorProxySearchPostArgs, type OrchestratorProxySearchPostResult, type OrchestratorProxySearchResult, type OrchestratorProxyToContainerArgs, type OrchestratorProxyToContainerDeleteArgs, type OrchestratorProxyToContainerDeleteResult, type OrchestratorProxyToContainerGetArgs, type OrchestratorProxyToContainerGetResult, type OrchestratorProxyToContainerHeadArgs, type OrchestratorProxyToContainerHeadResult, type OrchestratorProxyToContainerOptionsArgs, type OrchestratorProxyToContainerOptionsResult, type OrchestratorProxyToContainerPatchArgs, type OrchestratorProxyToContainerPatchResult, type OrchestratorProxyToContainerPostArgs, type OrchestratorProxyToContainerPostResult, type OrchestratorProxyToContainerResult, type OverviewArgs, type OverviewResult, type PatchTaskArgs, type PatchTaskResult, type PatchTriggerArgs, type PatchTriggerResult, type PersistenceSummary, type PlatformEnvCensusArgs, type PlatformEnvCensusResult, type PostPruneArgs, type PostPruneResult, type PostRunArgs, type PostRunResult, type PreviewFiresArgs, type PreviewFiresRequest, type PreviewFiresResponse, type PreviewFiresResult, type ProviderSessionFailureReport, type ProviderSessionFailureVerdict, type ProxyExecStreamArgs, type ProxyExecStreamResult, type ProxyPortsArgs, type ProxyPortsResult, type PruneResult, type PutUserMemoryArgs, type PutUserMemoryResult, type QueryArgs, type QueryResult, type RagKindsRequest, type RagSearchAsKindsArgs, type RagSearchAsKindsResult, type RankKindsRequest, type RankLandscapeAsKindsArgs, type RankLandscapeAsKindsResult, type ReadinessCheckArgs, type ReadinessCheckResult, type ReadinessResponse, type ReapExpiredNowArgs, type ReapExpiredNowResult, type RecentErrorsArgs, type RecentErrorsResult, type RecentEventsArgs, type RecentEventsResult, type RecentExecutionsArgs, type RecentExecutionsResponse, type RecentExecutionsResult, type RecoverLifecycleOperationArgs, type RecoverLifecycleOperationResult, type RefreshSandboxPlatformEnvArgs, type RefreshSandboxPlatformEnvResult, type RejoinOperationStreamArgs, type RejoinOperationStreamResult, type RemoveSuppressionArgs, type RemoveSuppressionResult, type ReplayBatchArgs, type ReplayBatchRequest, type ReplayBatchResult, type ReplayOneArgs, type ReplayOneResult, type ReplayResponse, type ReportProviderSessionFailureArgs, type ReportProviderSessionFailureResult, type RequestAccessArgs, type RequestAccessResult, type ResetSandboxArgs, type ResetSandboxResult, type ResolveBatchArgs, type ResolveBatchRequest, type ResolveBatchResponse, type ResolveBatchResult, type ResolveComputeTargetArgs, type ResolveComputeTargetResult, type ResolveErrorArgs, type ResolveErrorResponse, type ResolveErrorResult, type ResolveKindIncidentsArgs, type ResolveKindIncidentsRequest, type ResolveKindIncidentsResult, type ResourcesSpec, type ResumeSandboxArgs, type ResumeSandboxResult, type RetentionRunResult, type RollupPoint, type RootArgs, type RootResult, type RouteInfo, type RunActionArgs, type RunActionResult, type RunListResponse, type RunNowArgs, type RunNowResult, type RunResponse, type RuntimeHeartbeatRequest, type RuntimeHeartbeatResponse, type RuntimeOpenRequest, type RuntimeOpenResponse, type RuntimeSettleRequest, type RuntimeSettleResponse, type SandboxAgentEnvArgs, type SandboxAgentEnvResult, type SandboxBoot, type SandboxCompleteArgs, type SandboxCompleteResult, type SandboxDiagnosticsArgs, type SandboxDiagnosticsResult, type SandboxErrorArgs, type SandboxErrorResult, type SandboxHeartbeatArgs, type SandboxHeartbeatResult, type SandboxListResponse, type SandboxLogsArgs, type SandboxLogsResult, type SandboxResponse, type SandboxStatus, type SaveOutputArgs, type SaveOutputRequest, type SaveOutputResponse, type SaveOutputResult, type ScrapeAsKindArgs, type ScrapeAsKindResult, type ScrapeManyAsKindArgs, type ScrapeManyAsKindResult, type ScrapeManyRequest, type ScrapePageRequest, type SearchAsKindsArgs, type SearchAsKindsResult, type SearchContentArgs, type SearchContentHit, type SearchContentRequest, type SearchContentResponse, type SearchContentResult, type SearchExamplesArgs, type SearchExamplesResponse, type SearchExamplesResult, type SearchKindsRequest, type SearchPathsArgs, type SearchPathsHit, type SearchPathsRequest, type SearchPathsResponse, type SearchPathsResult, type ServerActionInfo, type ServerActionProposal, type ServerActionRunRequest, type ServerActionRunResult, type ServerActionsList, type ServingCheckArgs, type ServingCheckOnHostedBoxArgs, type ServingCheckOnHostedBoxResult, type ServingCheckResult, type SettleAgentPresenceArgs, type SettleAgentPresenceResult, type SettleExecutionArgs, type SettleExecutionResult, type SignalsArgs, type SignalsResult, type SnapshotRollup, type StatsArgs, type StatsResult, type StreamTextArgs, type StreamTextResult, type StuckRow, type StuckRowsResponse, type SuppressionRuleInfo, type SweepWatchdogOnceArgs, type SweepWatchdogOnceResult, type SystemCostEntry, type SystemCostsArgs, type SystemCostsResponse, type SystemCostsResult, type SystemErrorDetail, type SystemErrorRecord, type SystemErrorSummary, type SystemInfoArgs, type SystemInfoResponse, type SystemInfoResult, type TableKindsRequest, type TableReadAsKindsArgs, type TableReadAsKindsResult, type TakeOverExecutionArgs, type TakeOverExecutionResult, type TaskCreateRequest, type TaskDetailResponse, type TaskListResponse, type TaskPatchRequest, type TaskResponse, type TemplateInfo, type TemplateListResponse, type TopPatternsResponse, type TopPatternsRouteArgs, type TopPatternsRouteResult, type TraceEventListResponse, type TraceEventRecord, type TraceFileListResponse, type TraceFileSummary, type TriggerCreate, type TriggerCreateRequest, type TriggerListResponse, type TriggerPatchRequest, type TriggerResponse, type UnclassifiedArgs, type UnclassifiedResult, type UpdateExampleArgs, type UpdateExampleResult, type UpdateIssueClassArgs, type UpdateIssueClassResult, type ValidateCronArgs, type ValidateCronResult, type VersionCheckArgs, type VersionCheckOnHostedBoxArgs, type VersionCheckOnHostedBoxResult, type VersionCheckResult, type VersionDriftArgs, type VersionDriftResult, type VersionHealth, type WatchdogStatusResponse, type WatchdogTableStatus, type WorkerHealthArgs, type WorkerHealthResponse, type WorkerHealthResult, type WorkerHeartbeatRecord, type WorkflowExecutionsArgs, type WorkflowExecutionsResult, acceptAdapters, acceptFinding, addNormExceptionRoute, addSuppression, admitLifecycleOperation, agentBinding, type aidream__api__routers__admin_app_logs__DeletedResponse, type aidream__api__routers__admin_system_errors__SystemErrorListResponse, type aidream__api__routers__health__HealthResponse, type aidream__api__routers__health__ReadinessResponse, type aidream__services__admin_persistence__wire__SystemErrorListResponse, anthropicCountTokens, anthropicMessages, apiSurface, batchUpdateIssueClasses, byCall, byConversation, call, cancelExecutionTree, claimSandbox, computeNextDueAt, conversationExecutions, createExample, createSandbox, createTask, createTrigger, databaseIdentity, databaseIdentityOnHostedBox, deleteExample, deleteNormExceptionRoute, deleteTask, deleteTrigger, deleteUserMemory, deleteUserVolume, destroySandbox, detailedHealthCheck, detailedHealthCheckOnHostedBox, dismissBatch, dismissFailure, execCommand, execCommandOnSandboxOrchestrator, executionEvents, executionTree, extendSandbox, failuresSince, falseReaps, fsList, fsMkdir, fsPatch, fsRead, fsStat, fsWrite, getCaptureHealth, getCodexUsage, getCodexUsageAllowance, getDefaultBrowserProfileForUser, getError, getErrorDetail, getExample, getFailureDetail, getFile, getIssueClass, getKindIncident, getRollup, getRun, getSandbox, getServerActions, getStats, getStatus, getSummary, getTask, getTraceFile, getUserPersistence, getWatchdogStatus, healthCheck, healthCheckOnHostedBox, healthCheckOnSandboxOrchestrator, heartbeatExecution, hostedSessionReady, issueAccessToken, issueClassStats, jsonrpcEndpoint, kindIncidentMetrics, lifecycleOperationStatus, listComputeTargets, listDuplicateSchedules, listErrors, listEventsForClass, listExamples, listFailures, listFiles, listIssueClasses, listKindIncidents, listNormExceptionsRoute, listProviders, listRecentEvents, listRuns, listSandboxes, listStuckRows, listSuppressions, listTasks, listTemplates, listTraceFiles, listTriggers, listUserMemory, livenessCheck, livenessCheckOnHostedBox, lockStorm, markFalseReap, type matrx_scheduler__api__schemas__ComputeNextDueRequest, type matrx_scheduler__api__schemas__DeletedResponse, type matrx_scheduler__api__schemas__ScannerStatusResponse, migrateAll, migrateSandboxRoute, migrationStatusRoute, mintToken, openExecution, openOutages, openaiCodexResponses, operationEvents, operationEventsStream, operationStatus, operationsByLink, opsSummary, orchestratorProxyCredentials, orchestratorProxyCredentialsPost, orchestratorProxyFs, orchestratorProxyFsDelete, orchestratorProxyFsGet, orchestratorProxyFsPatch, orchestratorProxyFsPost, orchestratorProxyGit, orchestratorProxyGitPost, orchestratorProxyProcesses, orchestratorProxyProcessesGet, orchestratorProxySearch, orchestratorProxySearchPost, orchestratorProxyToContainer, orchestratorProxyToContainerDelete, orchestratorProxyToContainerGet, orchestratorProxyToContainerHead, orchestratorProxyToContainerOptions, orchestratorProxyToContainerPatch, orchestratorProxyToContainerPost, overview, patchTask, patchTrigger, platformEnvCensus, postPrune, postRun, previewFires, proxyExecStream, proxyPorts, putUserMemory, query, ragSearchAsKinds, rankLandscapeAsKinds, readinessCheck, reapExpiredNow, recentErrors, recentEvents, recentExecutions, recoverLifecycleOperation, refreshSandboxPlatformEnv, rejoinOperationStream, removeSuppression, replayBatch, replayOne, reportProviderSessionFailure, requestAccess, resetSandbox, resolveBatch, resolveComputeTarget, resolveError, resolveKindIncidents, resumeSandbox, root, runAction, runNow, sandboxAgentEnv, sandboxComplete, sandboxDiagnostics, sandboxError, sandboxHeartbeat, sandboxLogs, saveOutput, scrapeAsKind, scrapeManyAsKind, searchAsKinds, searchContent, searchExamples, searchPaths, servingCheck, servingCheckOnHostedBox, settleAgentPresence, settleExecution, signals, stats, streamText, sweepWatchdogOnce, systemCosts, systemInfo, tableReadAsKinds, takeOverExecution, topPatternsRoute, unclassified, updateExample, updateIssueClass, validateCron, versionCheck, versionCheckOnHostedBox, versionDrift, workerHealth, workflowExecutions };
|