@parallelworks/client 7.104.0 → 7.106.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.
Files changed (2) hide show
  1. package/dist/types/api.d.ts +1693 -92
  2. package/package.json +1 -1
@@ -150,6 +150,138 @@ export interface paths {
150
150
  patch?: never;
151
151
  trace?: never;
152
152
  };
153
+ "/api/admin/billing/realtime-accuracy": {
154
+ parameters: {
155
+ query?: never;
156
+ header?: never;
157
+ path?: never;
158
+ cookie?: never;
159
+ };
160
+ /**
161
+ * Get realtime estimator accuracy summary
162
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
163
+ *
164
+ * Returns per-CSP accuracy of the flexA realtime cost estimator against invoiced costs, from a periodically refreshed view. Requires platform admin or billing admin.
165
+ */
166
+ get: operations["get-realtime-accuracy-summary"];
167
+ put?: never;
168
+ post?: never;
169
+ delete?: never;
170
+ options?: never;
171
+ head?: never;
172
+ patch?: never;
173
+ trace?: never;
174
+ };
175
+ "/api/admin/billing/realtime-accuracy/categories": {
176
+ parameters: {
177
+ query?: never;
178
+ header?: never;
179
+ path?: never;
180
+ cookie?: never;
181
+ };
182
+ /**
183
+ * Get realtime estimator accuracy by category
184
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
185
+ *
186
+ * Returns estimator accuracy per CSP, cost type and subtype. Requires platform admin or billing admin.
187
+ */
188
+ get: operations["get-realtime-accuracy-categories"];
189
+ put?: never;
190
+ post?: never;
191
+ delete?: never;
192
+ options?: never;
193
+ head?: never;
194
+ patch?: never;
195
+ trace?: never;
196
+ };
197
+ "/api/admin/billing/realtime-accuracy/export": {
198
+ parameters: {
199
+ query?: never;
200
+ header?: never;
201
+ path?: never;
202
+ cookie?: never;
203
+ };
204
+ /**
205
+ * Export realtime estimator accuracy data
206
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
207
+ *
208
+ * Downloads the accuracy data with its definitions and a code map, as a Markdown report or as JSON. Requires platform admin or billing admin.
209
+ */
210
+ get: operations["export-realtime-accuracy"];
211
+ put?: never;
212
+ post?: never;
213
+ delete?: never;
214
+ options?: never;
215
+ head?: never;
216
+ patch?: never;
217
+ trace?: never;
218
+ };
219
+ "/api/admin/billing/realtime-accuracy/outliers": {
220
+ parameters: {
221
+ query?: never;
222
+ header?: never;
223
+ path?: never;
224
+ cookie?: never;
225
+ };
226
+ /**
227
+ * Get realtime estimator accuracy outliers
228
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
229
+ *
230
+ * Returns the deployment-days where the realtime estimate missed the invoice by the most. Requires platform admin or billing admin.
231
+ */
232
+ get: operations["get-realtime-accuracy-outliers"];
233
+ put?: never;
234
+ post?: never;
235
+ delete?: never;
236
+ options?: never;
237
+ head?: never;
238
+ patch?: never;
239
+ trace?: never;
240
+ };
241
+ "/api/admin/billing/realtime-accuracy/refresh": {
242
+ parameters: {
243
+ query?: never;
244
+ header?: never;
245
+ path?: never;
246
+ cookie?: never;
247
+ };
248
+ get?: never;
249
+ put?: never;
250
+ /**
251
+ * Rebuild realtime estimator accuracy data
252
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
253
+ *
254
+ * Starts a background rebuild of the realtime accuracy view. Responds 409 while a rebuild is already running. Requires platform admin or billing admin.
255
+ */
256
+ post: operations["refresh-realtime-accuracy"];
257
+ delete?: never;
258
+ options?: never;
259
+ head?: never;
260
+ patch?: never;
261
+ trace?: never;
262
+ };
263
+ "/api/admin/billing/realtime-accuracy/trend": {
264
+ parameters: {
265
+ query?: never;
266
+ header?: never;
267
+ path?: never;
268
+ cookie?: never;
269
+ };
270
+ /**
271
+ * Get realtime estimator accuracy trend
272
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
273
+ *
274
+ * Returns the daily estimate-to-invoice ratio per CSP. Requires platform admin or billing admin.
275
+ */
276
+ get: operations["get-realtime-accuracy-trend"];
277
+ put?: never;
278
+ post?: never;
279
+ delete?: never;
280
+ options?: never;
281
+ head?: never;
282
+ patch?: never;
283
+ trace?: never;
284
+ };
153
285
  "/api/admin/billing/runs": {
154
286
  parameters: {
155
287
  query?: never;
@@ -1445,6 +1577,216 @@ export interface paths {
1445
1577
  patch?: never;
1446
1578
  trace?: never;
1447
1579
  };
1580
+ "/api/agents/machines/{machine}/sessions": {
1581
+ parameters: {
1582
+ query?: never;
1583
+ header?: never;
1584
+ path?: never;
1585
+ cookie?: never;
1586
+ };
1587
+ /**
1588
+ * List pw code sessions on one machine
1589
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1590
+ *
1591
+ * Returns the pw code sessions one machine's daemon reports, with the machine's reachability.
1592
+ */
1593
+ get: operations["list-agent-machine-sessions"];
1594
+ put?: never;
1595
+ /**
1596
+ * Start a pw code session on a machine
1597
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1598
+ *
1599
+ * Starts a session in the given workspace on the machine. The machine allows this only when its owner turned remoteControl on, and clamps the session to the machine's remoteMaxPermissionMode.
1600
+ */
1601
+ post: operations["create-agent-session"];
1602
+ delete?: never;
1603
+ options?: never;
1604
+ head?: never;
1605
+ patch?: never;
1606
+ trace?: never;
1607
+ };
1608
+ "/api/agents/machines/{machine}/sessions/{id}": {
1609
+ parameters: {
1610
+ query?: never;
1611
+ header?: never;
1612
+ path?: never;
1613
+ cookie?: never;
1614
+ };
1615
+ /**
1616
+ * Get a pw code session transcript
1617
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1618
+ *
1619
+ * Returns one session's transcript and state as its machine's daemon reports them. Live updates stream from /ws/agents/machines/{machine}/sessions/{id}/events.
1620
+ */
1621
+ get: operations["get-agent-session"];
1622
+ put?: never;
1623
+ post?: never;
1624
+ /**
1625
+ * Delete a pw code session
1626
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1627
+ *
1628
+ * Removes the session and its transcripts from the machine. Destroying a session is wider than sending it a turn, so the machine's daemon holds it to the same limit: a session that refuses remote drive can only be deleted from the machine itself.
1629
+ */
1630
+ delete: operations["delete-agent-session"];
1631
+ options?: never;
1632
+ head?: never;
1633
+ patch?: never;
1634
+ trace?: never;
1635
+ };
1636
+ "/api/agents/machines/{machine}/sessions/{id}/approvals/{approvalId}": {
1637
+ parameters: {
1638
+ query?: never;
1639
+ header?: never;
1640
+ path?: never;
1641
+ cookie?: never;
1642
+ };
1643
+ get?: never;
1644
+ put?: never;
1645
+ /**
1646
+ * Answer a pw code approval request
1647
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1648
+ *
1649
+ * Answers an approval the agent is waiting on. The machine's daemon decides whether the answer is allowed: a session running above the remote permission ceiling can only be answered from the machine itself, and an answer sent from here never grants standing directory access.
1650
+ */
1651
+ post: operations["answer-agent-session-approval"];
1652
+ delete?: never;
1653
+ options?: never;
1654
+ head?: never;
1655
+ patch?: never;
1656
+ trace?: never;
1657
+ };
1658
+ "/api/agents/machines/{machine}/sessions/{id}/fork": {
1659
+ parameters: {
1660
+ query?: never;
1661
+ header?: never;
1662
+ path?: never;
1663
+ cookie?: never;
1664
+ };
1665
+ get?: never;
1666
+ put?: never;
1667
+ /**
1668
+ * Copy a pw code session
1669
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1670
+ *
1671
+ * Copies the session and its subagent transcripts into a new one on the same machine, leaving the original untouched. Refused while the session is mid-turn, and while another host holds it live.
1672
+ */
1673
+ post: operations["fork-agent-session"];
1674
+ delete?: never;
1675
+ options?: never;
1676
+ head?: never;
1677
+ patch?: never;
1678
+ trace?: never;
1679
+ };
1680
+ "/api/agents/machines/{machine}/sessions/{id}/interrupt": {
1681
+ parameters: {
1682
+ query?: never;
1683
+ header?: never;
1684
+ path?: never;
1685
+ cookie?: never;
1686
+ };
1687
+ get?: never;
1688
+ put?: never;
1689
+ /**
1690
+ * Stop the turn a pw code session is running
1691
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1692
+ *
1693
+ * Stops the work in flight and nothing else. This one route is not held to the remote permission ceiling: a session that refuses to be driven from here can still be stopped from here.
1694
+ */
1695
+ post: operations["interrupt-agent-session"];
1696
+ delete?: never;
1697
+ options?: never;
1698
+ head?: never;
1699
+ patch?: never;
1700
+ trace?: never;
1701
+ };
1702
+ "/api/agents/machines/{machine}/sessions/{id}/messages": {
1703
+ parameters: {
1704
+ query?: never;
1705
+ header?: never;
1706
+ path?: never;
1707
+ cookie?: never;
1708
+ };
1709
+ get?: never;
1710
+ put?: never;
1711
+ /**
1712
+ * Send a message to a pw code session
1713
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1714
+ *
1715
+ * Sends a message to the session, starting a turn or queueing behind the one in flight. The machine's daemon decides whether it is allowed: a session running above the remote permission ceiling, or one whose lease another host holds, can only be driven from the machine itself.
1716
+ */
1717
+ post: operations["send-agent-session-message"];
1718
+ delete?: never;
1719
+ options?: never;
1720
+ head?: never;
1721
+ patch?: never;
1722
+ trace?: never;
1723
+ };
1724
+ "/api/agents/machines/{machine}/sessions/{id}/rename": {
1725
+ parameters: {
1726
+ query?: never;
1727
+ header?: never;
1728
+ path?: never;
1729
+ cookie?: never;
1730
+ };
1731
+ get?: never;
1732
+ put?: never;
1733
+ /**
1734
+ * Rename a pw code session
1735
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1736
+ *
1737
+ * Renames the session in the machine's store. Refused while the session is mid-turn, and while another host holds it live.
1738
+ */
1739
+ post: operations["rename-agent-session"];
1740
+ delete?: never;
1741
+ options?: never;
1742
+ head?: never;
1743
+ patch?: never;
1744
+ trace?: never;
1745
+ };
1746
+ "/api/agents/machines/{machine}/sessions/{id}/settings": {
1747
+ parameters: {
1748
+ query?: never;
1749
+ header?: never;
1750
+ path?: never;
1751
+ cookie?: never;
1752
+ };
1753
+ get?: never;
1754
+ put?: never;
1755
+ post?: never;
1756
+ delete?: never;
1757
+ options?: never;
1758
+ head?: never;
1759
+ /**
1760
+ * Change a running pw code session's model, allocation or authority
1761
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1762
+ *
1763
+ * Changes what a live session runs as, and answers with its new state. The machine's daemon decides whether it is allowed: the session must be live, an org provider model needs an allocation, and a session already running above the remote permission ceiling can only be changed from the machine itself.
1764
+ */
1765
+ patch: operations["update-agent-session-settings"];
1766
+ trace?: never;
1767
+ };
1768
+ "/api/agents/sessions": {
1769
+ parameters: {
1770
+ query?: never;
1771
+ header?: never;
1772
+ path?: never;
1773
+ cookie?: never;
1774
+ };
1775
+ /**
1776
+ * List pw code sessions across your machines
1777
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
1778
+ *
1779
+ * Asks every connected cluster and instance you can log in to for its pw code sessions and returns them together with each machine's reachability. Nothing is stored: the answer is what the machines report right now.
1780
+ */
1781
+ get: operations["list-agent-sessions"];
1782
+ put?: never;
1783
+ post?: never;
1784
+ delete?: never;
1785
+ options?: never;
1786
+ head?: never;
1787
+ patch?: never;
1788
+ trace?: never;
1789
+ };
1448
1790
  "/api/ai-usage/breakdown": {
1449
1791
  parameters: {
1450
1792
  query?: never;
@@ -11954,6 +12296,28 @@ export interface paths {
11954
12296
  patch?: never;
11955
12297
  trace?: never;
11956
12298
  };
12299
+ "/api/organizations/{organization}/users/{user}/resource-groups/{name}/resources/{resourceId}": {
12300
+ parameters: {
12301
+ query?: never;
12302
+ header?: never;
12303
+ path?: never;
12304
+ cookie?: never;
12305
+ };
12306
+ get?: never;
12307
+ put?: never;
12308
+ post?: never;
12309
+ /**
12310
+ * Unassign a resource from its resource group
12311
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12312
+ *
12313
+ * Leaves an off resource with no resource group; its owner must assign one before it can start again.
12314
+ */
12315
+ delete: operations["unassign-resource-group-resource"];
12316
+ options?: never;
12317
+ head?: never;
12318
+ patch?: never;
12319
+ trace?: never;
12320
+ };
11957
12321
  "/api/organizations/{organization}/users/{user}/resource-groups/{name}/resources/{resourceId}/move": {
11958
12322
  parameters: {
11959
12323
  query?: never;
@@ -15448,6 +15812,28 @@ export interface paths {
15448
15812
  patch?: never;
15449
15813
  trace?: never;
15450
15814
  };
15815
+ "/api/workflow-runs/{slug}/running-steps": {
15816
+ parameters: {
15817
+ query?: never;
15818
+ header?: never;
15819
+ path?: never;
15820
+ cookie?: never;
15821
+ };
15822
+ /**
15823
+ * Get Workflow Run Running Steps
15824
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15825
+ *
15826
+ * Reads where each running job of a workflow run has got to.
15827
+ */
15828
+ get: operations["get-workflow-run-running-steps"];
15829
+ put?: never;
15830
+ post?: never;
15831
+ delete?: never;
15832
+ options?: never;
15833
+ head?: never;
15834
+ patch?: never;
15835
+ trace?: never;
15836
+ };
15451
15837
  "/api/workflow-variables": {
15452
15838
  parameters: {
15453
15839
  query?: never;
@@ -15787,7 +16173,28 @@ export interface paths {
15787
16173
  trace?: never;
15788
16174
  };
15789
16175
  }
15790
- export type webhooks = Record<string, never>;
16176
+ export interface webhooks {
16177
+ agentSessionEvents: {
16178
+ parameters: {
16179
+ query?: never;
16180
+ header?: never;
16181
+ path?: never;
16182
+ cookie?: never;
16183
+ };
16184
+ /**
16185
+ * pw code session event feed
16186
+ * @description One JSON frame per message on the WebSocket at /ws/agents/machines/{machine}/sessions/{id}/events?after=N. Pass the last seq seen as after to resume; a replay_truncated frame means the transcript must be refetched.
16187
+ */
16188
+ get: operations["agent-session-events"];
16189
+ put?: never;
16190
+ post?: never;
16191
+ delete?: never;
16192
+ options?: never;
16193
+ head?: never;
16194
+ patch?: never;
16195
+ trace?: never;
16196
+ };
16197
+ }
15791
16198
  export interface components {
15792
16199
  schemas: {
15793
16200
  AIModelConfig: {
@@ -16358,6 +16765,137 @@ export interface components {
16358
16765
  /** @enum {string} */
16359
16766
  setupStatus: "ready" | "disabled" | "setup-required" | "attention";
16360
16767
  };
16768
+ AgentMachine: {
16769
+ agentVersion?: string;
16770
+ error?: string;
16771
+ /** @description Hostname the daemon reported, when it answered. */
16772
+ hostname?: string;
16773
+ /** @description Hex ObjectID of the cluster, pool, or instance document. */
16774
+ id: string;
16775
+ /** @enum {string} */
16776
+ kind: "cloud" | "existing" | "instance";
16777
+ name: string;
16778
+ /** @description Platform username of the resource owner. */
16779
+ owner: string;
16780
+ /** @enum {string} */
16781
+ remoteMaxPermissionMode?: "" | "read-only" | "accept-edits" | "bypass-permissions" | "plan";
16782
+ remoteStart?: boolean;
16783
+ /** @enum {string} */
16784
+ status: "connected" | "no_daemon" | "no_agent" | "unreachable" | "unsupported_agent";
16785
+ };
16786
+ AgentMachineSessionsResponse: {
16787
+ machine: components["schemas"]["AgentMachine"];
16788
+ sessions: components["schemas"]["AgentSession"][] | null;
16789
+ };
16790
+ AgentMessageAccepted: {
16791
+ /** @description True when the message is waiting behind the turn already running. */
16792
+ queued: boolean;
16793
+ /** @description Identifies the turn this message runs as; its stream events carry the same id. */
16794
+ turnId: string;
16795
+ };
16796
+ AgentRenameBody: {
16797
+ /** @description What to call the session in the list. */
16798
+ name: string;
16799
+ };
16800
+ AgentSession: {
16801
+ allocation?: string;
16802
+ approvals?: components["schemas"]["ApprovalRequest"][] | null;
16803
+ autoName?: string;
16804
+ /** Format: date-time */
16805
+ createdAt: string;
16806
+ effort?: string;
16807
+ id: string;
16808
+ liveHost?: string;
16809
+ machineId: string;
16810
+ /** Format: int64 */
16811
+ messages: number;
16812
+ model: string;
16813
+ name?: string;
16814
+ permissionMode?: string;
16815
+ preview: string;
16816
+ remoteControl?: boolean;
16817
+ /** @enum {string} */
16818
+ status: "idle" | "running" | "awaiting_approval" | "live_elsewhere";
16819
+ /** Format: date-time */
16820
+ updatedAt: string;
16821
+ workspace: string;
16822
+ };
16823
+ AgentSessionDetail: {
16824
+ allocation?: string;
16825
+ approvals?: components["schemas"]["ApprovalRequest"][] | null;
16826
+ autoName?: string;
16827
+ /** Format: date-time */
16828
+ createdAt: string;
16829
+ effort?: string;
16830
+ history: components["schemas"]["HistoryItem"][] | null;
16831
+ id: string;
16832
+ /** Format: int64 */
16833
+ lastSeq?: number;
16834
+ liveHost?: string;
16835
+ machineId: string;
16836
+ /** Format: int64 */
16837
+ messages: number;
16838
+ model: string;
16839
+ name?: string;
16840
+ permissionMode?: string;
16841
+ preview: string;
16842
+ remoteControl?: boolean;
16843
+ /** @enum {string} */
16844
+ status: "idle" | "running" | "awaiting_approval" | "live_elsewhere";
16845
+ /** Format: date-time */
16846
+ updatedAt: string;
16847
+ workspace: string;
16848
+ workspaceUntrusted?: boolean;
16849
+ };
16850
+ AgentSessionForked: {
16851
+ /** @description Session id of the copy. */
16852
+ id: string;
16853
+ machineId: string;
16854
+ };
16855
+ AgentSessionSettingsBody: {
16856
+ /** @description Allocation to bill; the daemon requires one for org provider models. */
16857
+ allocation?: string;
16858
+ /** @description Model id to switch the session to. */
16859
+ model?: string;
16860
+ /**
16861
+ * @description Authority the session runs with; the machine refuses anything above its remoteMaxPermissionMode.
16862
+ * @enum {string}
16863
+ */
16864
+ permissionMode?: "read-only" | "accept-edits" | "bypass-permissions";
16865
+ };
16866
+ AgentSessionsResponse: {
16867
+ machines: components["schemas"]["AgentMachine"][] | null;
16868
+ /** @description Every reachable machine's sessions, newest first. */
16869
+ sessions: components["schemas"]["AgentSession"][] | null;
16870
+ };
16871
+ AgentStreamEvent: {
16872
+ agentType?: string;
16873
+ approval?: components["schemas"]["ApprovalRequest"];
16874
+ approvalId?: string;
16875
+ args?: string;
16876
+ background?: boolean;
16877
+ client?: string;
16878
+ color?: string;
16879
+ content?: string;
16880
+ goalProgress?: components["schemas"]["GoalProgress"];
16881
+ id?: string;
16882
+ interim?: boolean;
16883
+ isError?: boolean;
16884
+ /** Format: int64 */
16885
+ iters?: number;
16886
+ mcp?: components["schemas"]["MCPStatus"];
16887
+ name?: string;
16888
+ newId?: string;
16889
+ result?: string;
16890
+ /** Format: int64 */
16891
+ seq: number;
16892
+ /** Format: int64 */
16893
+ startLine?: number;
16894
+ state?: components["schemas"]["SessionState"];
16895
+ turn?: components["schemas"]["TurnResult"];
16896
+ turnId?: string;
16897
+ type: string;
16898
+ };
16361
16899
  AiConnectionInventory: {
16362
16900
  catalogEntryId?: string;
16363
16901
  /** @enum {string} */
@@ -16718,6 +17256,40 @@ export interface components {
16718
17256
  */
16719
17257
  subjectType: "userId" | "username";
16720
17258
  };
17259
+ ApprovalAnswer: {
17260
+ allowDir?: boolean;
17261
+ allowed?: boolean;
17262
+ chat?: boolean;
17263
+ clear?: boolean;
17264
+ denyMessage?: string;
17265
+ feedback?: string;
17266
+ /** @enum {string} */
17267
+ mode?: "" | "read-only" | "accept-edits" | "bypass-permissions" | "plan";
17268
+ plan?: string;
17269
+ text?: string;
17270
+ };
17271
+ ApprovalRequest: {
17272
+ agent?: string;
17273
+ command?: string;
17274
+ /** Format: date-time */
17275
+ createdAt: string;
17276
+ header?: string;
17277
+ id: string;
17278
+ /** @enum {string} */
17279
+ kind: "confirm" | "ask" | "plan";
17280
+ mode?: string;
17281
+ multiSelect?: boolean;
17282
+ options?: components["schemas"]["AskOption"][] | null;
17283
+ plan?: string;
17284
+ planPath?: string;
17285
+ question?: string;
17286
+ reason?: string;
17287
+ subagentId?: string;
17288
+ };
17289
+ AskOption: {
17290
+ description?: string;
17291
+ label: string;
17292
+ };
16721
17293
  AssignedOrganization: {
16722
17294
  displayName: string;
16723
17295
  id: string;
@@ -20195,6 +20767,11 @@ export interface components {
20195
20767
  buckets?: string[] | null;
20196
20768
  /** @description Environment to schedule the kernel's worker onto. Cluster targets only. */
20197
20769
  environmentId?: string;
20770
+ /**
20771
+ * Format: double
20772
+ * @description Memory ceiling (GB) for the kernel's processes. Workspace targets only; defaults to half the workspace's own limit and may not exceed it.
20773
+ */
20774
+ memoryLimit?: number;
20198
20775
  /** @description Kernel name. Auto-generated if omitted. */
20199
20776
  name?: string;
20200
20777
  /** @description Run the kernel on the cluster's controller agent directly instead of scheduling a worker. Cluster targets only; starts immediately with no Slurm allocation. */
@@ -20203,7 +20780,7 @@ export interface components {
20203
20780
  schedulingParams?: {
20204
20781
  [key: string]: unknown;
20205
20782
  };
20206
- /** @description Cluster or instance the kernel runs on. */
20783
+ /** @description Cluster or instance the kernel runs on, or "user-workspace" to run it on the caller's own workspace. */
20207
20784
  targetId: string;
20208
20785
  /** @description Run the kernel on this existing compute worker instead of scheduling a new one. */
20209
20786
  workerId?: string;
@@ -20565,6 +21142,21 @@ export interface components {
20565
21142
  /** @description Display name for the key. */
20566
21143
  title: string;
20567
21144
  };
21145
+ CreateSessionBody: {
21146
+ /** @description Allocation to bill the session to. Required for org provider models. */
21147
+ allocation?: string;
21148
+ /** @description Model id; the machine's default is used when empty. */
21149
+ model?: string;
21150
+ /**
21151
+ * @description Authority the session runs with, clamped by the machine to its remoteMaxPermissionMode; the machine's default is used when empty.
21152
+ * @enum {string}
21153
+ */
21154
+ permissionMode?: "" | "read-only" | "accept-edits" | "bypass-permissions";
21155
+ /** @description Starts the first turn immediately when set. */
21156
+ prompt?: string;
21157
+ /** @description Absolute path on the machine to run in. Offer the caller workspaces their existing sessions already use. */
21158
+ workspace: string;
21159
+ };
20568
21160
  CreateSkuRuleBody: {
20569
21161
  /**
20570
21162
  * Format: double
@@ -20728,7 +21320,10 @@ export interface components {
20728
21320
  yaml?: string;
20729
21321
  };
20730
21322
  CreateWorkflowRunOutputBody: {
21323
+ /** @description Name of the session to open once the run starts. */
20731
21324
  redirect?: string;
21325
+ /** @description Key into the run's links of the link to open once it resolves. */
21326
+ redirectLink?: string;
20732
21327
  run: components["schemas"]["WorkflowRunResponse"];
20733
21328
  };
20734
21329
  CreateWorkflowSavedInputsInputBody: {
@@ -22109,6 +22704,26 @@ export interface components {
22109
22704
  /** @description Matches across every server the caller is connected to. */
22110
22705
  projects: components["schemas"]["GitlabProjectListing"][] | null;
22111
22706
  };
22707
+ GoalProgress: {
22708
+ condition?: string;
22709
+ /** Format: int64 */
22710
+ elapsedMs?: number;
22711
+ err?: string;
22712
+ /** @enum {string} */
22713
+ outcome?: "" | "achieved" | "stopped";
22714
+ reason?: string;
22715
+ /** Format: int64 */
22716
+ tokens?: number;
22717
+ /** Format: int64 */
22718
+ turns?: number;
22719
+ };
22720
+ GoalStatus: {
22721
+ active?: boolean;
22722
+ checking?: boolean;
22723
+ /** Format: int64 */
22724
+ elapsedMs?: number;
22725
+ paused?: boolean;
22726
+ };
22112
22727
  GoogleBucket: {
22113
22728
  /**
22114
22729
  * @description The requesting user's access level for this bucket.
@@ -22963,6 +23578,15 @@ export interface components {
22963
23578
  /** @description The Helm release's computed values (chart defaults merged with overrides) in YAML format */
22964
23579
  values: string;
22965
23580
  };
23581
+ HistoryItem: {
23582
+ fromMain?: boolean;
23583
+ /** @enum {string} */
23584
+ kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "notice" | "plan_view" | "goal_view" | "goal_progress";
23585
+ planBody?: string;
23586
+ text?: string;
23587
+ toolArgs?: string;
23588
+ toolName?: string;
23589
+ };
22966
23590
  IconRef: {
22967
23591
  /** @description SHA256 hex of a blob already in the caller's thumbnail library. Mutually exclusive with presetUrl. */
22968
23592
  etag?: string;
@@ -23478,6 +24102,11 @@ export interface components {
23478
24102
  readonly errorMessage?: string;
23479
24103
  /** @description Kernel ID. */
23480
24104
  readonly id: string;
24105
+ /**
24106
+ * Format: double
24107
+ * @description Memory ceiling (GB) applied to the kernel's processes.
24108
+ */
24109
+ readonly memoryLimit?: number;
23481
24110
  /** @description Kernel name. */
23482
24111
  name?: string;
23483
24112
  /** @description Hostname of the compute node the kernel runs on. */
@@ -23497,7 +24126,7 @@ export interface components {
23497
24126
  * @description Compute the kernel runs on.
23498
24127
  * @enum {string}
23499
24128
  */
23500
- readonly targetType?: "cluster" | "instance" | "controller";
24129
+ readonly targetType?: "cluster" | "instance" | "controller" | "workspace";
23501
24130
  /** @description Base path the kernel's Jupyter server is served at. */
23502
24131
  readonly url: string;
23503
24132
  /** @description ID of the compute worker running the kernel. */
@@ -24113,6 +24742,10 @@ export interface components {
24113
24742
  };
24114
24743
  ListAttachmentsBody: {
24115
24744
  attachments: components["schemas"]["AttachmentResponse"][] | null;
24745
+ /** @description Whether another page follows */
24746
+ hasMore: boolean;
24747
+ /** @description Pass as cursor to read the next page */
24748
+ nextCursor?: string;
24116
24749
  };
24117
24750
  ListConversationsBody: {
24118
24751
  conversations: components["schemas"]["ConversationSummary"][] | null;
@@ -24238,7 +24871,14 @@ export interface components {
24238
24871
  };
24239
24872
  ListUserAttachmentsBody: {
24240
24873
  attachments: components["schemas"]["AttachmentResponse"][] | null;
24241
- /** Format: int64 */
24874
+ /** @description Whether another page follows */
24875
+ hasMore: boolean;
24876
+ /** @description Pass as cursor to read the next page */
24877
+ nextCursor?: string;
24878
+ /**
24879
+ * Format: int64
24880
+ * @description Matching attachments, capped at 10000
24881
+ */
24242
24882
  total: number;
24243
24883
  };
24244
24884
  ListUserThumbnailsOutputBody: {
@@ -24362,6 +25002,14 @@ export interface components {
24362
25002
  /** @description Zone of the Lustre */
24363
25003
  zone?: string;
24364
25004
  };
25005
+ MCPStatus: {
25006
+ err?: string;
25007
+ /** Format: int64 */
25008
+ prompts?: number;
25009
+ server: string;
25010
+ /** Format: int64 */
25011
+ tools?: number;
25012
+ };
24365
25013
  MachineLearningWorkspace: {
24366
25014
  /**
24367
25015
  * Format: date-time
@@ -25163,6 +25811,8 @@ export interface components {
25163
25811
  MoveResourceInputBody: {
25164
25812
  /** @description Target resource group name */
25165
25813
  resourceGroup: string;
25814
+ /** @description Username of the target resource group's owner. Required only to pick between groups that share a name. */
25815
+ resourceGroupUser?: string;
25166
25816
  };
25167
25817
  Name: {
25168
25818
  familyName?: string;
@@ -28954,6 +29604,192 @@ export interface components {
28954
29604
  /** @description Zones whose project offers an IRDMA (Falcon) network profile. */
28955
29605
  zones: string[] | null;
28956
29606
  };
29607
+ RealtimeAccuracyCategoryRow: {
29608
+ /** @description Cloud service provider */
29609
+ csp: string;
29610
+ /**
29611
+ * Format: double
29612
+ * @description Sum of estimates
29613
+ */
29614
+ estimated: number;
29615
+ /**
29616
+ * Format: double
29617
+ * @description Sum of prorated invoice amounts
29618
+ */
29619
+ invoiced: number;
29620
+ /**
29621
+ * Format: int64
29622
+ * @description Deployment-day keys
29623
+ */
29624
+ keys: number;
29625
+ /**
29626
+ * Format: double
29627
+ * @description Median per-key ratio over measurable keys
29628
+ */
29629
+ medianRatio: number | null;
29630
+ /**
29631
+ * Format: int64
29632
+ * @description Keys with an estimate but no invoice line
29633
+ */
29634
+ noInvoiceLine: number;
29635
+ /**
29636
+ * Format: double
29637
+ * @description Estimated divided by invoiced; null without a measurable invoice
29638
+ */
29639
+ ratio: number | null;
29640
+ /** @description Cost subtype */
29641
+ subtype: string;
29642
+ /** @description Cost type */
29643
+ type: string;
29644
+ /**
29645
+ * Format: double
29646
+ * @description Percentage of measurable keys whose ratio is within 0.9 to 1.1
29647
+ */
29648
+ withinTenPct: number | null;
29649
+ };
29650
+ RealtimeAccuracyOutlier: {
29651
+ /** @description Cloud service provider */
29652
+ csp: string;
29653
+ /** @description Calendar day, YYYY-MM-DD */
29654
+ day: string;
29655
+ /** @description Deployment the estimate was attributed to */
29656
+ deploymentId: string;
29657
+ /**
29658
+ * Format: double
29659
+ * @description Estimated minus prorated invoice
29660
+ */
29661
+ error: number;
29662
+ /**
29663
+ * Format: double
29664
+ * @description Estimate for the key
29665
+ */
29666
+ estimated: number;
29667
+ /**
29668
+ * Format: double
29669
+ * @description Full-day invoice amount; null when no invoice line exists
29670
+ */
29671
+ invoiced: number | null;
29672
+ /**
29673
+ * Format: double
29674
+ * @description Invoice amount prorated to the estimated hours
29675
+ */
29676
+ invoicedProrated: number | null;
29677
+ /**
29678
+ * Format: double
29679
+ * @description Estimated divided by prorated invoice; null without a measurable invoice
29680
+ */
29681
+ ratio: number | null;
29682
+ /** @description The estimate came from a reprocess */
29683
+ reprocessed: boolean;
29684
+ /** @description One of the resources behind the estimate */
29685
+ resourceName: string | null;
29686
+ /** @description Cost subtype */
29687
+ subtype: string;
29688
+ /** @description Cost type */
29689
+ type: string;
29690
+ };
29691
+ RealtimeAccuracySummary: {
29692
+ /**
29693
+ * Format: int64
29694
+ * @description How long the last successful rebuild took
29695
+ */
29696
+ durationMs: number | null;
29697
+ /** @description Error from the most recent failed rebuild, if any */
29698
+ lastError: string | null;
29699
+ /**
29700
+ * Format: date-time
29701
+ * @description When the accuracy data was last rebuilt; null before the first refresh
29702
+ */
29703
+ refreshedAt: string | null;
29704
+ /** @description Whether a rebuild is currently running */
29705
+ refreshing: boolean;
29706
+ /** @description One row per CSP */
29707
+ summary: components["schemas"]["RealtimeAccuracySummaryRow"][] | null;
29708
+ /** @description All CSPs in the window combined; csp is empty */
29709
+ total: components["schemas"]["RealtimeAccuracySummaryRow"];
29710
+ };
29711
+ RealtimeAccuracySummaryRow: {
29712
+ /** @description Cloud service provider */
29713
+ csp: string;
29714
+ /**
29715
+ * Format: double
29716
+ * @description Sum of estimates
29717
+ */
29718
+ estimated: number;
29719
+ /**
29720
+ * Format: double
29721
+ * @description Sum of invoice amounts, prorated to the estimated hours
29722
+ */
29723
+ invoiced: number;
29724
+ /**
29725
+ * Format: int64
29726
+ * @description Deployment-day-category keys with a frozen estimate
29727
+ */
29728
+ keys: number;
29729
+ /**
29730
+ * Format: int64
29731
+ * @description Keys estimated by the running loop
29732
+ */
29733
+ liveKeys: number;
29734
+ /**
29735
+ * Format: int64
29736
+ * @description Keys with an estimate but no invoice line
29737
+ */
29738
+ noInvoiceLine: number;
29739
+ /**
29740
+ * Format: double
29741
+ * @description Estimated divided by invoiced; null without a measurable invoice
29742
+ */
29743
+ ratio: number | null;
29744
+ /**
29745
+ * Format: int64
29746
+ * @description Keys regenerated by a reprocess after the fact
29747
+ */
29748
+ reprocessedKeys: number;
29749
+ /**
29750
+ * Format: double
29751
+ * @description Tagged invoice amount for deployments the estimator never covered
29752
+ */
29753
+ unestimatedInvoiced: number;
29754
+ /**
29755
+ * Format: double
29756
+ * @description Weighted absolute percentage error over keys with an invoice line
29757
+ */
29758
+ wape: number | null;
29759
+ /**
29760
+ * Format: double
29761
+ * @description Percentage of measurable keys whose ratio is within 0.9 to 1.1
29762
+ */
29763
+ withinTenPct: number | null;
29764
+ };
29765
+ RealtimeAccuracyTrendPoint: {
29766
+ /** @description Cloud service provider */
29767
+ csp: string;
29768
+ /** @description Calendar day, YYYY-MM-DD */
29769
+ day: string;
29770
+ /**
29771
+ * Format: double
29772
+ * @description Sum of estimates
29773
+ */
29774
+ estimated: number;
29775
+ /**
29776
+ * Format: double
29777
+ * @description Sum of prorated invoice amounts
29778
+ */
29779
+ invoiced: number;
29780
+ /**
29781
+ * Format: int64
29782
+ * @description Keys contributing to the point
29783
+ */
29784
+ keys: number;
29785
+ /**
29786
+ * Format: double
29787
+ * @description Estimated divided by invoiced; null without a measurable invoice
29788
+ */
29789
+ ratio: number | null;
29790
+ /** @description Every key that day came from a reprocess */
29791
+ reprocessed: boolean;
29792
+ };
28957
29793
  RecommendedResource: {
28958
29794
  /** @description Cloud provider (aws, google, azure) */
28959
29795
  csp?: string;
@@ -29044,6 +29880,11 @@ export interface components {
29044
29880
  /** @description Organization name */
29045
29881
  organization: string;
29046
29882
  };
29883
+ RemotePolicy: {
29884
+ maxPermissionMode: string;
29885
+ newSessions: boolean;
29886
+ start: boolean;
29887
+ };
29047
29888
  RemoteWorkflowSettings: {
29048
29889
  /** @description Branch name. */
29049
29890
  branch?: string;
@@ -29456,6 +30297,8 @@ export interface components {
29456
30297
  * @description Amount used of the current allocation (includes billing estimates)
29457
30298
  */
29458
30299
  readonly allocationUsed?: number;
30300
+ /** @description True when the caller may manage this resource group: share it, change its allocation, move or unassign any resource in it, delete it */
30301
+ readonly canAdmin?: boolean;
29459
30302
  /**
29460
30303
  * Format: int64
29461
30304
  * @description Number of assigned resources in a failed state
@@ -29508,6 +30351,8 @@ export interface components {
29508
30351
  * @description Amount used of the current allocation (includes billing estimates)
29509
30352
  */
29510
30353
  readonly allocationUsed?: number;
30354
+ /** @description True when the caller may manage this resource group: share it, change its allocation, move or unassign any resource in it, delete it */
30355
+ readonly canAdmin?: boolean;
29511
30356
  /**
29512
30357
  * Format: int64
29513
30358
  * @description Number of assigned resources in a failed state
@@ -29682,6 +30527,12 @@ export interface components {
29682
30527
  */
29683
30528
  timeoutSec?: number;
29684
30529
  };
30530
+ RunStep: {
30531
+ /** @description Step name. */
30532
+ name?: string;
30533
+ /** @description Step status. */
30534
+ status?: string;
30535
+ };
29685
30536
  RunSummary: {
29686
30537
  /**
29687
30538
  * Format: int64
@@ -29977,6 +30828,10 @@ export interface components {
29977
30828
  /** @description The identifier for this secret. */
29978
30829
  id: string;
29979
30830
  };
30831
+ SendMessageBody: {
30832
+ /** @description The message to send. Empty continues the turn, which is how the terminal wakes background work. */
30833
+ text: string;
30834
+ };
29980
30835
  SentrySettings: {
29981
30836
  /** @description Whether custom DSNs are configured (false means using Parallel Works defaults). */
29982
30837
  customDsn: boolean;
@@ -30122,7 +30977,7 @@ export interface components {
30122
30977
  /** @description Workflow run information. */
30123
30978
  readonly workflowRun?: components["schemas"]["WorkflowRunInfo"];
30124
30979
  /** @description Workflow running steps. */
30125
- readonly workflowRunningSteps?: components["schemas"]["StepStruct"][] | null;
30980
+ readonly workflowRunningSteps?: components["schemas"]["RunStep"][] | null;
30126
30981
  };
30127
30982
  SessionAlert: {
30128
30983
  /** @description Indicates if the storage will be automatically terminated when the cost limit is reached. */
@@ -30206,6 +31061,42 @@ export interface components {
30206
31061
  /** @description Software version. */
30207
31062
  version: string;
30208
31063
  };
31064
+ SessionState: {
31065
+ allocation?: string;
31066
+ attribution?: boolean;
31067
+ /** Format: int64 */
31068
+ autoCompactWindow?: number;
31069
+ autoName?: string;
31070
+ effectiveEffort?: string;
31071
+ effort?: string;
31072
+ effortActive?: boolean;
31073
+ goal?: components["schemas"]["GoalStatus"];
31074
+ /** Format: int64 */
31075
+ inputTokens?: number;
31076
+ model: string;
31077
+ name?: string;
31078
+ noToolsMode?: boolean;
31079
+ /** Format: int64 */
31080
+ outputTokens?: number;
31081
+ pendingSubagentWork?: boolean;
31082
+ permissionMode?: string;
31083
+ providerUsageAvailable?: boolean;
31084
+ remoteControl?: boolean;
31085
+ remotePolicy: components["schemas"]["RemotePolicy"];
31086
+ remoteUrl?: string;
31087
+ /** Format: int64 */
31088
+ sessionRetentionDays?: number;
31089
+ /** Format: int64 */
31090
+ subagentConcurrency?: number;
31091
+ /** Format: int64 */
31092
+ subagentDepth?: number;
31093
+ subagentModel?: string;
31094
+ subagentsDisabled?: boolean;
31095
+ supportedEfforts?: string[] | null;
31096
+ toolCallingMode?: string;
31097
+ toolsDisabled?: boolean;
31098
+ usageStatusLine?: string;
31099
+ };
30209
31100
  SetActiveInputBody: {
30210
31101
  /** @description Whether the user can sign in */
30211
31102
  active: boolean;
@@ -30466,12 +31357,6 @@ export interface components {
30466
31357
  /** @description Reconnect an existing Codex provider in place */
30467
31358
  reconnect?: boolean;
30468
31359
  };
30469
- StepStruct: {
30470
- /** @description Step name. */
30471
- name?: string;
30472
- /** @description Step status. */
30473
- status?: string;
30474
- };
30475
31360
  StopClusterOptions: {
30476
31361
  /** @description Stop the controller through the cloud provider instead of waiting for the cluster agent to shut it down from inside the guest. */
30477
31362
  force?: boolean;
@@ -31005,6 +31890,19 @@ export interface components {
31005
31890
  /** @description Shared team IDs. */
31006
31891
  teams?: string[];
31007
31892
  };
31893
+ TurnResult: {
31894
+ blockedByHook?: string;
31895
+ /** Format: double */
31896
+ estimatedCost?: number;
31897
+ /** Format: int64 */
31898
+ inputTokens?: number;
31899
+ /** Format: int64 */
31900
+ iters?: number;
31901
+ model?: string;
31902
+ /** Format: int64 */
31903
+ outputTokens?: number;
31904
+ skills?: string[] | null;
31905
+ };
31008
31906
  Unit: {
31009
31907
  Rules: components["schemas"]["UnitRule"][] | null;
31010
31908
  /**
@@ -32301,9 +33199,13 @@ export interface components {
32301
33199
  inputs?: {
32302
33200
  [key: string]: unknown;
32303
33201
  };
33202
+ links?: {
33203
+ [key: string]: components["schemas"]["WorkflowRunLink"];
33204
+ };
32304
33205
  marketplace: boolean;
32305
33206
  /** Format: int64 */
32306
33207
  number?: number;
33208
+ redirect?: components["schemas"]["WorkflowRunRedirect"];
32307
33209
  resolvedYaml?: {
32308
33210
  [key: string]: unknown;
32309
33211
  };
@@ -32332,6 +33234,16 @@ export interface components {
32332
33234
  /** @description Workflow type. */
32333
33235
  readonly type?: string;
32334
33236
  };
33237
+ WorkflowRunLink: {
33238
+ detach?: boolean;
33239
+ endpoint?: string;
33240
+ url?: string;
33241
+ };
33242
+ WorkflowRunRedirect: {
33243
+ /** @enum {string} */
33244
+ kind: "session" | "link";
33245
+ name: string;
33246
+ };
32335
33247
  WorkflowRunResponse: {
32336
33248
  /** Format: date-time */
32337
33249
  completedAt?: string;
@@ -32350,6 +33262,9 @@ export interface components {
32350
33262
  user: string;
32351
33263
  workflowName?: string;
32352
33264
  };
33265
+ WorkflowRunRunningStepsResponse: {
33266
+ runningSteps: components["schemas"]["RunStep"][] | null;
33267
+ };
32353
33268
  WorkflowRunsCleanupPreviewBody: {
32354
33269
  /**
32355
33270
  * Format: int64
@@ -32758,13 +33673,13 @@ export interface operations {
32758
33673
  };
32759
33674
  };
32760
33675
  };
32761
- "list-billing-runs": {
33676
+ "get-realtime-accuracy-summary": {
32762
33677
  parameters: {
32763
33678
  query?: {
32764
- /** @description Maximum number of runs to return */
32765
- limit?: number;
32766
- /** @description Number of runs to skip */
32767
- skip?: number;
33679
+ /** @description Days to include, counted back from today */
33680
+ window?: 14 | 30 | 60 | 90;
33681
+ /** @description Restrict to one cloud service provider */
33682
+ csp?: string;
32768
33683
  };
32769
33684
  header?: never;
32770
33685
  path?: never;
@@ -32778,7 +33693,7 @@ export interface operations {
32778
33693
  [name: string]: unknown;
32779
33694
  };
32780
33695
  content: {
32781
- "application/json": components["schemas"]["BillingRunList"];
33696
+ "application/json": components["schemas"]["RealtimeAccuracySummary"];
32782
33697
  };
32783
33698
  };
32784
33699
  /** @description Error */
@@ -32792,14 +33707,16 @@ export interface operations {
32792
33707
  };
32793
33708
  };
32794
33709
  };
32795
- "get-billing-run": {
33710
+ "get-realtime-accuracy-categories": {
32796
33711
  parameters: {
32797
- query?: never;
32798
- header?: never;
32799
- path: {
32800
- /** @description Run UUID */
32801
- id: string;
33712
+ query?: {
33713
+ /** @description Days to include, counted back from today */
33714
+ window?: 14 | 30 | 60 | 90;
33715
+ /** @description Restrict to one cloud service provider */
33716
+ csp?: string;
32802
33717
  };
33718
+ header?: never;
33719
+ path?: never;
32803
33720
  cookie?: never;
32804
33721
  };
32805
33722
  requestBody?: never;
@@ -32810,7 +33727,7 @@ export interface operations {
32810
33727
  [name: string]: unknown;
32811
33728
  };
32812
33729
  content: {
32813
- "application/json": components["schemas"]["BillingRunDetail"];
33730
+ "application/json": components["schemas"]["RealtimeAccuracyCategoryRow"][] | null;
32814
33731
  };
32815
33732
  };
32816
33733
  /** @description Error */
@@ -32824,20 +33741,28 @@ export interface operations {
32824
33741
  };
32825
33742
  };
32826
33743
  };
32827
- "delete-billing-run": {
33744
+ "export-realtime-accuracy": {
32828
33745
  parameters: {
32829
- query?: never;
32830
- header?: never;
32831
- path: {
32832
- /** @description Run UUID */
32833
- id: string;
33746
+ query?: {
33747
+ /** @description Days to include, counted back from today */
33748
+ window?: 14 | 30 | 60 | 90;
33749
+ /** @description Restrict to one cloud service provider */
33750
+ csp?: string;
33751
+ /** @description Restrict to one cost type, e.g. Compute */
33752
+ type?: string;
33753
+ /** @description Restrict to one cost subtype, e.g. Instance */
33754
+ subtype?: string;
33755
+ /** @description md = self-describing Markdown report, json = the same data as an object */
33756
+ format?: "md" | "json";
32834
33757
  };
33758
+ header?: never;
33759
+ path?: never;
32835
33760
  cookie?: never;
32836
33761
  };
32837
33762
  requestBody?: never;
32838
33763
  responses: {
32839
- /** @description No Content */
32840
- 204: {
33764
+ /** @description OK */
33765
+ 200: {
32841
33766
  headers: {
32842
33767
  [name: string]: unknown;
32843
33768
  };
@@ -32854,21 +33779,19 @@ export interface operations {
32854
33779
  };
32855
33780
  };
32856
33781
  };
32857
- "list-managed-skus": {
33782
+ "get-realtime-accuracy-outliers": {
32858
33783
  parameters: {
32859
33784
  query?: {
32860
- /** @description Page size */
33785
+ /** @description Days to include, counted back from today */
33786
+ window?: 14 | 30 | 60 | 90;
33787
+ /** @description Restrict to one cloud service provider */
33788
+ csp?: string;
33789
+ /** @description Restrict to one cost type, e.g. Compute */
33790
+ type?: string;
33791
+ /** @description Restrict to one cost subtype, e.g. Instance */
33792
+ subtype?: string;
33793
+ /** @description Maximum rows to return */
32861
33794
  limit?: number;
32862
- /** @description Page offset */
32863
- offset?: number;
32864
- /** @description Filter by cloud service providers */
32865
- csp?: string[] | null;
32866
- /** @description Filter by cost types (unknown = unclassified) */
32867
- type?: string[] | null;
32868
- /** @description Filter by cost subtypes */
32869
- subtype?: string[] | null;
32870
- /** @description Case-insensitive match on SKU id or description */
32871
- search?: string;
32872
33795
  };
32873
33796
  header?: never;
32874
33797
  path?: never;
@@ -32882,7 +33805,7 @@ export interface operations {
32882
33805
  [name: string]: unknown;
32883
33806
  };
32884
33807
  content: {
32885
- "application/json": components["schemas"]["ManagedSKUList"];
33808
+ "application/json": components["schemas"]["RealtimeAccuracyOutlier"][] | null;
32886
33809
  };
32887
33810
  };
32888
33811
  /** @description Error */
@@ -32896,11 +33819,44 @@ export interface operations {
32896
33819
  };
32897
33820
  };
32898
33821
  };
32899
- "export-managed-skus": {
33822
+ "refresh-realtime-accuracy": {
33823
+ parameters: {
33824
+ query?: never;
33825
+ header?: never;
33826
+ path?: never;
33827
+ cookie?: never;
33828
+ };
33829
+ requestBody?: never;
33830
+ responses: {
33831
+ /** @description Accepted */
33832
+ 202: {
33833
+ headers: {
33834
+ [name: string]: unknown;
33835
+ };
33836
+ content?: never;
33837
+ };
33838
+ /** @description Error */
33839
+ default: {
33840
+ headers: {
33841
+ [name: string]: unknown;
33842
+ };
33843
+ content: {
33844
+ "application/json": components["schemas"]["Error"];
33845
+ };
33846
+ };
33847
+ };
33848
+ };
33849
+ "get-realtime-accuracy-trend": {
32900
33850
  parameters: {
32901
33851
  query?: {
32902
- /** @description all = every SKU, unknown = only unclassified SKUs */
32903
- scope?: "all" | "unknown";
33852
+ /** @description Days to include, counted back from today */
33853
+ window?: 14 | 30 | 60 | 90;
33854
+ /** @description Restrict to one cloud service provider */
33855
+ csp?: string;
33856
+ /** @description Restrict to one cost type, e.g. Compute */
33857
+ type?: string;
33858
+ /** @description Restrict to one cost subtype, e.g. Instance */
33859
+ subtype?: string;
32904
33860
  };
32905
33861
  header?: never;
32906
33862
  path?: never;
@@ -32913,7 +33869,9 @@ export interface operations {
32913
33869
  headers: {
32914
33870
  [name: string]: unknown;
32915
33871
  };
32916
- content?: never;
33872
+ content: {
33873
+ "application/json": components["schemas"]["RealtimeAccuracyTrendPoint"][] | null;
33874
+ };
32917
33875
  };
32918
33876
  /** @description Error */
32919
33877
  default: {
@@ -32926,17 +33884,13 @@ export interface operations {
32926
33884
  };
32927
33885
  };
32928
33886
  };
32929
- "get-error-logs": {
33887
+ "list-billing-runs": {
32930
33888
  parameters: {
32931
33889
  query?: {
32932
- /** @description Maximum number of error logs to return */
33890
+ /** @description Maximum number of runs to return */
32933
33891
  limit?: number;
32934
- /** @description Number of error logs to skip */
33892
+ /** @description Number of runs to skip */
32935
33893
  skip?: number;
32936
- /** @description Case-insensitive search across message, path, user, and request ID */
32937
- search?: string;
32938
- /** @description Only include errors created at or after this time (RFC3339). */
32939
- since?: string;
32940
33894
  };
32941
33895
  header?: never;
32942
33896
  path?: never;
@@ -32950,7 +33904,7 @@ export interface operations {
32950
33904
  [name: string]: unknown;
32951
33905
  };
32952
33906
  content: {
32953
- "application/json": components["schemas"]["ListErrorLogsBody"];
33907
+ "application/json": components["schemas"]["BillingRunList"];
32954
33908
  };
32955
33909
  };
32956
33910
  /** @description Error */
@@ -32964,11 +33918,46 @@ export interface operations {
32964
33918
  };
32965
33919
  };
32966
33920
  };
32967
- "trigger-test-error": {
33921
+ "get-billing-run": {
32968
33922
  parameters: {
32969
33923
  query?: never;
32970
33924
  header?: never;
32971
- path?: never;
33925
+ path: {
33926
+ /** @description Run UUID */
33927
+ id: string;
33928
+ };
33929
+ cookie?: never;
33930
+ };
33931
+ requestBody?: never;
33932
+ responses: {
33933
+ /** @description OK */
33934
+ 200: {
33935
+ headers: {
33936
+ [name: string]: unknown;
33937
+ };
33938
+ content: {
33939
+ "application/json": components["schemas"]["BillingRunDetail"];
33940
+ };
33941
+ };
33942
+ /** @description Error */
33943
+ default: {
33944
+ headers: {
33945
+ [name: string]: unknown;
33946
+ };
33947
+ content: {
33948
+ "application/json": components["schemas"]["Error"];
33949
+ };
33950
+ };
33951
+ };
33952
+ };
33953
+ "delete-billing-run": {
33954
+ parameters: {
33955
+ query?: never;
33956
+ header?: never;
33957
+ path: {
33958
+ /** @description Run UUID */
33959
+ id: string;
33960
+ };
32972
33961
  cookie?: never;
32973
33962
  };
32974
33963
  requestBody?: never;
@@ -32991,35 +33980,21 @@ export interface operations {
32991
33980
  };
32992
33981
  };
32993
33982
  };
32994
- "list-admin-events": {
33983
+ "list-managed-skus": {
32995
33984
  parameters: {
32996
33985
  query?: {
32997
- /** @description Only events at or after this time (RFC3339). */
32998
- from?: string;
32999
- /** @description Only events at or before this time (RFC3339). */
33000
- to?: string;
33001
- /** @description Filter by event type (repeatable). */
33986
+ /** @description Page size */
33987
+ limit?: number;
33988
+ /** @description Page offset */
33989
+ offset?: number;
33990
+ /** @description Filter by cloud service providers */
33991
+ csp?: string[] | null;
33992
+ /** @description Filter by cost types (unknown = unclassified) */
33002
33993
  type?: string[] | null;
33003
- /** @description Filter by exact actor username (repeatable). */
33004
- actor?: string[] | null;
33005
- /** @description Filter by actor type. */
33006
- actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
33007
- /** @description Filter by target type. */
33008
- targetType?: string;
33009
- /** @description Filter by target id. */
33010
- targetId?: string;
33011
- /** @description Filter by outcome. */
33012
- outcome?: "success" | "failure";
33013
- /** @description Filter by auth session id, e.g. to trace every action in one impersonation session. */
33014
- sessionId?: string;
33015
- /** @description Case-insensitive search across actor username, target name, and request ID; an exact event or session id also matches. */
33994
+ /** @description Filter by cost subtypes */
33995
+ subtype?: string[] | null;
33996
+ /** @description Case-insensitive match on SKU id or description */
33016
33997
  search?: string;
33017
- /** @description Filter by organization name. */
33018
- organization?: string;
33019
- /** @description Page size. */
33020
- limit?: number;
33021
- /** @description Cursor from a previous page. */
33022
- cursor?: string;
33023
33998
  };
33024
33999
  header?: never;
33025
34000
  path?: never;
@@ -33033,7 +34008,7 @@ export interface operations {
33033
34008
  [name: string]: unknown;
33034
34009
  };
33035
34010
  content: {
33036
- "application/json": components["schemas"]["EventsPageBody"];
34011
+ "application/json": components["schemas"]["ManagedSKUList"];
33037
34012
  };
33038
34013
  };
33039
34014
  /** @description Error */
@@ -33047,9 +34022,12 @@ export interface operations {
33047
34022
  };
33048
34023
  };
33049
34024
  };
33050
- "list-admin-event-actors": {
34025
+ "export-managed-skus": {
33051
34026
  parameters: {
33052
- query?: never;
34027
+ query?: {
34028
+ /** @description all = every SKU, unknown = only unclassified SKUs */
34029
+ scope?: "all" | "unknown";
34030
+ };
33053
34031
  header?: never;
33054
34032
  path?: never;
33055
34033
  cookie?: never;
@@ -33058,11 +34036,47 @@ export interface operations {
33058
34036
  responses: {
33059
34037
  /** @description OK */
33060
34038
  200: {
34039
+ headers: {
34040
+ [name: string]: unknown;
34041
+ };
34042
+ content?: never;
34043
+ };
34044
+ /** @description Error */
34045
+ default: {
33061
34046
  headers: {
33062
34047
  [name: string]: unknown;
33063
34048
  };
33064
34049
  content: {
33065
- "application/json": components["schemas"]["EventActorsOutputBody"];
34050
+ "application/json": components["schemas"]["Error"];
34051
+ };
34052
+ };
34053
+ };
34054
+ };
34055
+ "get-error-logs": {
34056
+ parameters: {
34057
+ query?: {
34058
+ /** @description Maximum number of error logs to return */
34059
+ limit?: number;
34060
+ /** @description Number of error logs to skip */
34061
+ skip?: number;
34062
+ /** @description Case-insensitive search across message, path, user, and request ID */
34063
+ search?: string;
34064
+ /** @description Only include errors created at or after this time (RFC3339). */
34065
+ since?: string;
34066
+ };
34067
+ header?: never;
34068
+ path?: never;
34069
+ cookie?: never;
34070
+ };
34071
+ requestBody?: never;
34072
+ responses: {
34073
+ /** @description OK */
34074
+ 200: {
34075
+ headers: {
34076
+ [name: string]: unknown;
34077
+ };
34078
+ content: {
34079
+ "application/json": components["schemas"]["ListErrorLogsBody"];
33066
34080
  };
33067
34081
  };
33068
34082
  /** @description Error */
@@ -33076,7 +34090,119 @@ export interface operations {
33076
34090
  };
33077
34091
  };
33078
34092
  };
33079
- "export-admin-events": {
34093
+ "trigger-test-error": {
34094
+ parameters: {
34095
+ query?: never;
34096
+ header?: never;
34097
+ path?: never;
34098
+ cookie?: never;
34099
+ };
34100
+ requestBody?: never;
34101
+ responses: {
34102
+ /** @description No Content */
34103
+ 204: {
34104
+ headers: {
34105
+ [name: string]: unknown;
34106
+ };
34107
+ content?: never;
34108
+ };
34109
+ /** @description Error */
34110
+ default: {
34111
+ headers: {
34112
+ [name: string]: unknown;
34113
+ };
34114
+ content: {
34115
+ "application/json": components["schemas"]["Error"];
34116
+ };
34117
+ };
34118
+ };
34119
+ };
34120
+ "list-admin-events": {
34121
+ parameters: {
34122
+ query?: {
34123
+ /** @description Only events at or after this time (RFC3339). */
34124
+ from?: string;
34125
+ /** @description Only events at or before this time (RFC3339). */
34126
+ to?: string;
34127
+ /** @description Filter by event type (repeatable). */
34128
+ type?: string[] | null;
34129
+ /** @description Filter by exact actor username (repeatable). */
34130
+ actor?: string[] | null;
34131
+ /** @description Filter by actor type. */
34132
+ actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
34133
+ /** @description Filter by target type. */
34134
+ targetType?: string;
34135
+ /** @description Filter by target id. */
34136
+ targetId?: string;
34137
+ /** @description Filter by outcome. */
34138
+ outcome?: "success" | "failure";
34139
+ /** @description Filter by auth session id, e.g. to trace every action in one impersonation session. */
34140
+ sessionId?: string;
34141
+ /** @description Case-insensitive search across actor username, target name, and request ID; an exact event or session id also matches. */
34142
+ search?: string;
34143
+ /** @description Filter by organization name. */
34144
+ organization?: string;
34145
+ /** @description Page size. */
34146
+ limit?: number;
34147
+ /** @description Cursor from a previous page. */
34148
+ cursor?: string;
34149
+ };
34150
+ header?: never;
34151
+ path?: never;
34152
+ cookie?: never;
34153
+ };
34154
+ requestBody?: never;
34155
+ responses: {
34156
+ /** @description OK */
34157
+ 200: {
34158
+ headers: {
34159
+ [name: string]: unknown;
34160
+ };
34161
+ content: {
34162
+ "application/json": components["schemas"]["EventsPageBody"];
34163
+ };
34164
+ };
34165
+ /** @description Error */
34166
+ default: {
34167
+ headers: {
34168
+ [name: string]: unknown;
34169
+ };
34170
+ content: {
34171
+ "application/json": components["schemas"]["Error"];
34172
+ };
34173
+ };
34174
+ };
34175
+ };
34176
+ "list-admin-event-actors": {
34177
+ parameters: {
34178
+ query?: never;
34179
+ header?: never;
34180
+ path?: never;
34181
+ cookie?: never;
34182
+ };
34183
+ requestBody?: never;
34184
+ responses: {
34185
+ /** @description OK */
34186
+ 200: {
34187
+ headers: {
34188
+ [name: string]: unknown;
34189
+ };
34190
+ content: {
34191
+ "application/json": components["schemas"]["EventActorsOutputBody"];
34192
+ };
34193
+ };
34194
+ /** @description Error */
34195
+ default: {
34196
+ headers: {
34197
+ [name: string]: unknown;
34198
+ };
34199
+ content: {
34200
+ "application/json": components["schemas"]["Error"];
34201
+ };
34202
+ };
34203
+ };
34204
+ };
34205
+ "export-admin-events": {
33080
34206
  parameters: {
33081
34207
  query?: {
33082
34208
  /** @description Only events at or after this time (RFC3339). */
@@ -34914,6 +36040,385 @@ export interface operations {
34914
36040
  };
34915
36041
  };
34916
36042
  };
36043
+ "list-agent-machine-sessions": {
36044
+ parameters: {
36045
+ query?: never;
36046
+ header?: never;
36047
+ path: {
36048
+ /** @description Machine id from the machines list. */
36049
+ machine: string;
36050
+ };
36051
+ cookie?: never;
36052
+ };
36053
+ requestBody?: never;
36054
+ responses: {
36055
+ /** @description OK */
36056
+ 200: {
36057
+ headers: {
36058
+ [name: string]: unknown;
36059
+ };
36060
+ content: {
36061
+ "application/json": components["schemas"]["AgentMachineSessionsResponse"];
36062
+ };
36063
+ };
36064
+ /** @description Error */
36065
+ default: {
36066
+ headers: {
36067
+ [name: string]: unknown;
36068
+ };
36069
+ content: {
36070
+ "application/json": components["schemas"]["Error"];
36071
+ };
36072
+ };
36073
+ };
36074
+ };
36075
+ "create-agent-session": {
36076
+ parameters: {
36077
+ query?: never;
36078
+ header?: never;
36079
+ path: {
36080
+ /** @description Machine id from the machines list. */
36081
+ machine: string;
36082
+ };
36083
+ cookie?: never;
36084
+ };
36085
+ requestBody: {
36086
+ content: {
36087
+ "application/json": components["schemas"]["CreateSessionBody"];
36088
+ };
36089
+ };
36090
+ responses: {
36091
+ /** @description Created */
36092
+ 201: {
36093
+ headers: {
36094
+ [name: string]: unknown;
36095
+ };
36096
+ content: {
36097
+ "application/json": components["schemas"]["AgentSessionDetail"];
36098
+ };
36099
+ };
36100
+ /** @description Error */
36101
+ default: {
36102
+ headers: {
36103
+ [name: string]: unknown;
36104
+ };
36105
+ content: {
36106
+ "application/json": components["schemas"]["Error"];
36107
+ };
36108
+ };
36109
+ };
36110
+ };
36111
+ "get-agent-session": {
36112
+ parameters: {
36113
+ query?: never;
36114
+ header?: never;
36115
+ path: {
36116
+ /** @description Machine id from the machines list. */
36117
+ machine: string;
36118
+ /** @description Session id as the daemon reports it. */
36119
+ id: string;
36120
+ };
36121
+ cookie?: never;
36122
+ };
36123
+ requestBody?: never;
36124
+ responses: {
36125
+ /** @description OK */
36126
+ 200: {
36127
+ headers: {
36128
+ [name: string]: unknown;
36129
+ };
36130
+ content: {
36131
+ "application/json": components["schemas"]["AgentSessionDetail"];
36132
+ };
36133
+ };
36134
+ /** @description Error */
36135
+ default: {
36136
+ headers: {
36137
+ [name: string]: unknown;
36138
+ };
36139
+ content: {
36140
+ "application/json": components["schemas"]["Error"];
36141
+ };
36142
+ };
36143
+ };
36144
+ };
36145
+ "delete-agent-session": {
36146
+ parameters: {
36147
+ query?: never;
36148
+ header?: never;
36149
+ path: {
36150
+ /** @description Machine id from the machines list. */
36151
+ machine: string;
36152
+ /** @description Session id as the daemon reports it. */
36153
+ id: string;
36154
+ };
36155
+ cookie?: never;
36156
+ };
36157
+ requestBody?: never;
36158
+ responses: {
36159
+ /** @description No Content */
36160
+ 204: {
36161
+ headers: {
36162
+ [name: string]: unknown;
36163
+ };
36164
+ content?: never;
36165
+ };
36166
+ /** @description Error */
36167
+ default: {
36168
+ headers: {
36169
+ [name: string]: unknown;
36170
+ };
36171
+ content: {
36172
+ "application/json": components["schemas"]["Error"];
36173
+ };
36174
+ };
36175
+ };
36176
+ };
36177
+ "answer-agent-session-approval": {
36178
+ parameters: {
36179
+ query?: never;
36180
+ header?: never;
36181
+ path: {
36182
+ /** @description Machine id from the machines list. */
36183
+ machine: string;
36184
+ /** @description Session id as the daemon reports it. */
36185
+ id: string;
36186
+ /** @description Approval id from the session detail or an approval_request event. */
36187
+ approvalId: string;
36188
+ };
36189
+ cookie?: never;
36190
+ };
36191
+ requestBody: {
36192
+ content: {
36193
+ "application/json": components["schemas"]["ApprovalAnswer"];
36194
+ };
36195
+ };
36196
+ responses: {
36197
+ /** @description No Content */
36198
+ 204: {
36199
+ headers: {
36200
+ [name: string]: unknown;
36201
+ };
36202
+ content?: never;
36203
+ };
36204
+ /** @description Error */
36205
+ default: {
36206
+ headers: {
36207
+ [name: string]: unknown;
36208
+ };
36209
+ content: {
36210
+ "application/json": components["schemas"]["Error"];
36211
+ };
36212
+ };
36213
+ };
36214
+ };
36215
+ "fork-agent-session": {
36216
+ parameters: {
36217
+ query?: never;
36218
+ header?: never;
36219
+ path: {
36220
+ /** @description Machine id from the machines list. */
36221
+ machine: string;
36222
+ /** @description Session id as the daemon reports it. */
36223
+ id: string;
36224
+ };
36225
+ cookie?: never;
36226
+ };
36227
+ requestBody?: never;
36228
+ responses: {
36229
+ /** @description Created */
36230
+ 201: {
36231
+ headers: {
36232
+ [name: string]: unknown;
36233
+ };
36234
+ content: {
36235
+ "application/json": components["schemas"]["AgentSessionForked"];
36236
+ };
36237
+ };
36238
+ /** @description Error */
36239
+ default: {
36240
+ headers: {
36241
+ [name: string]: unknown;
36242
+ };
36243
+ content: {
36244
+ "application/json": components["schemas"]["Error"];
36245
+ };
36246
+ };
36247
+ };
36248
+ };
36249
+ "interrupt-agent-session": {
36250
+ parameters: {
36251
+ query?: never;
36252
+ header?: never;
36253
+ path: {
36254
+ /** @description Machine id from the machines list. */
36255
+ machine: string;
36256
+ /** @description Session id as the daemon reports it. */
36257
+ id: string;
36258
+ };
36259
+ cookie?: never;
36260
+ };
36261
+ requestBody?: never;
36262
+ responses: {
36263
+ /** @description No Content */
36264
+ 204: {
36265
+ headers: {
36266
+ [name: string]: unknown;
36267
+ };
36268
+ content?: never;
36269
+ };
36270
+ /** @description Error */
36271
+ default: {
36272
+ headers: {
36273
+ [name: string]: unknown;
36274
+ };
36275
+ content: {
36276
+ "application/json": components["schemas"]["Error"];
36277
+ };
36278
+ };
36279
+ };
36280
+ };
36281
+ "send-agent-session-message": {
36282
+ parameters: {
36283
+ query?: never;
36284
+ header?: never;
36285
+ path: {
36286
+ /** @description Machine id from the machines list. */
36287
+ machine: string;
36288
+ /** @description Session id as the daemon reports it. */
36289
+ id: string;
36290
+ };
36291
+ cookie?: never;
36292
+ };
36293
+ requestBody: {
36294
+ content: {
36295
+ "application/json": components["schemas"]["SendMessageBody"];
36296
+ };
36297
+ };
36298
+ responses: {
36299
+ /** @description OK */
36300
+ 200: {
36301
+ headers: {
36302
+ [name: string]: unknown;
36303
+ };
36304
+ content: {
36305
+ "application/json": components["schemas"]["AgentMessageAccepted"];
36306
+ };
36307
+ };
36308
+ /** @description Error */
36309
+ default: {
36310
+ headers: {
36311
+ [name: string]: unknown;
36312
+ };
36313
+ content: {
36314
+ "application/json": components["schemas"]["Error"];
36315
+ };
36316
+ };
36317
+ };
36318
+ };
36319
+ "rename-agent-session": {
36320
+ parameters: {
36321
+ query?: never;
36322
+ header?: never;
36323
+ path: {
36324
+ /** @description Machine id from the machines list. */
36325
+ machine: string;
36326
+ /** @description Session id as the daemon reports it. */
36327
+ id: string;
36328
+ };
36329
+ cookie?: never;
36330
+ };
36331
+ requestBody: {
36332
+ content: {
36333
+ "application/json": components["schemas"]["AgentRenameBody"];
36334
+ };
36335
+ };
36336
+ responses: {
36337
+ /** @description No Content */
36338
+ 204: {
36339
+ headers: {
36340
+ [name: string]: unknown;
36341
+ };
36342
+ content?: never;
36343
+ };
36344
+ /** @description Error */
36345
+ default: {
36346
+ headers: {
36347
+ [name: string]: unknown;
36348
+ };
36349
+ content: {
36350
+ "application/json": components["schemas"]["Error"];
36351
+ };
36352
+ };
36353
+ };
36354
+ };
36355
+ "update-agent-session-settings": {
36356
+ parameters: {
36357
+ query?: never;
36358
+ header?: never;
36359
+ path: {
36360
+ /** @description Machine id from the machines list. */
36361
+ machine: string;
36362
+ /** @description Session id as the daemon reports it. */
36363
+ id: string;
36364
+ };
36365
+ cookie?: never;
36366
+ };
36367
+ requestBody: {
36368
+ content: {
36369
+ "application/json": components["schemas"]["AgentSessionSettingsBody"];
36370
+ };
36371
+ };
36372
+ responses: {
36373
+ /** @description OK */
36374
+ 200: {
36375
+ headers: {
36376
+ [name: string]: unknown;
36377
+ };
36378
+ content: {
36379
+ "application/json": components["schemas"]["SessionState"];
36380
+ };
36381
+ };
36382
+ /** @description Error */
36383
+ default: {
36384
+ headers: {
36385
+ [name: string]: unknown;
36386
+ };
36387
+ content: {
36388
+ "application/json": components["schemas"]["Error"];
36389
+ };
36390
+ };
36391
+ };
36392
+ };
36393
+ "list-agent-sessions": {
36394
+ parameters: {
36395
+ query?: never;
36396
+ header?: never;
36397
+ path?: never;
36398
+ cookie?: never;
36399
+ };
36400
+ requestBody?: never;
36401
+ responses: {
36402
+ /** @description OK */
36403
+ 200: {
36404
+ headers: {
36405
+ [name: string]: unknown;
36406
+ };
36407
+ content: {
36408
+ "application/json": components["schemas"]["AgentSessionsResponse"];
36409
+ };
36410
+ };
36411
+ /** @description Error */
36412
+ default: {
36413
+ headers: {
36414
+ [name: string]: unknown;
36415
+ };
36416
+ content: {
36417
+ "application/json": components["schemas"]["Error"];
36418
+ };
36419
+ };
36420
+ };
36421
+ };
34917
36422
  "get-user-ai-usage-breakdown": {
34918
36423
  parameters: {
34919
36424
  query?: {
@@ -35058,8 +36563,10 @@ export interface operations {
35058
36563
  query?: {
35059
36564
  /** @description Max attachments to return */
35060
36565
  limit?: number;
35061
- /** @description Pagination offset */
36566
+ /** @description Pagination offset, ignored when a cursor is given */
35062
36567
  offset?: number;
36568
+ /** @description Cursor from a previous page */
36569
+ cursor?: string;
35063
36570
  /** @description Filter by content type prefix (e.g. image/) */
35064
36571
  contentType?: string;
35065
36572
  };
@@ -35267,6 +36774,10 @@ export interface operations {
35267
36774
  query?: {
35268
36775
  /** @description Filter by message ID (optional) */
35269
36776
  messageId?: string;
36777
+ /** @description Page size */
36778
+ limit?: number;
36779
+ /** @description Cursor from a previous page */
36780
+ cursor?: string;
35270
36781
  };
35271
36782
  header?: never;
35272
36783
  path: {
@@ -56178,6 +57689,42 @@ export interface operations {
56178
57689
  };
56179
57690
  };
56180
57691
  };
57692
+ "unassign-resource-group-resource": {
57693
+ parameters: {
57694
+ query?: never;
57695
+ header?: never;
57696
+ path: {
57697
+ /** @description The name of the organization. */
57698
+ organization: string;
57699
+ /** @description Username of the target user. */
57700
+ user: string;
57701
+ /** @description Resource group name */
57702
+ name: string;
57703
+ /** @description Id of the resource to unassign */
57704
+ resourceId: string;
57705
+ };
57706
+ cookie?: never;
57707
+ };
57708
+ requestBody?: never;
57709
+ responses: {
57710
+ /** @description No Content */
57711
+ 204: {
57712
+ headers: {
57713
+ [name: string]: unknown;
57714
+ };
57715
+ content?: never;
57716
+ };
57717
+ /** @description Error */
57718
+ default: {
57719
+ headers: {
57720
+ [name: string]: unknown;
57721
+ };
57722
+ content: {
57723
+ "application/json": components["schemas"]["Error"];
57724
+ };
57725
+ };
57726
+ };
57727
+ };
56181
57728
  "move-resource-group-resource": {
56182
57729
  parameters: {
56183
57730
  query?: never;
@@ -60488,8 +62035,10 @@ export interface operations {
60488
62035
  allocation?: string;
60489
62036
  /** @description Sort field and direction */
60490
62037
  sort?: "name" | "-name";
60491
- /** @description Only resource groups the user may bill new resources against: their own, or shared with use or admin permission */
60492
- usable?: boolean;
62038
+ /** @description Also require this user to be able to bill the group. Narrows the caller's own list, so it reveals nothing they cannot already see. */
62039
+ usableBy?: string;
62040
+ /** @description Include the groups an organization admin may open but has no share on. For deciding whether to link to a group, not for choosing where to bill. */
62041
+ openable?: boolean;
60493
62042
  /** @description Only resource groups whose current allocation may fund this resource type; groups with no allocation or an unrestricted allocation always match */
60494
62043
  allows?: "aws" | "azure" | "google" | "oracle" | "openstack" | "kubernetes" | "ai";
60495
62044
  };
@@ -62740,6 +64289,38 @@ export interface operations {
62740
64289
  };
62741
64290
  };
62742
64291
  };
64292
+ "get-workflow-run-running-steps": {
64293
+ parameters: {
64294
+ query?: never;
64295
+ header?: never;
64296
+ path: {
64297
+ /** @description The slug identifier of the workflow run */
64298
+ slug: string;
64299
+ };
64300
+ cookie?: never;
64301
+ };
64302
+ requestBody?: never;
64303
+ responses: {
64304
+ /** @description OK */
64305
+ 200: {
64306
+ headers: {
64307
+ [name: string]: unknown;
64308
+ };
64309
+ content: {
64310
+ "application/json": components["schemas"]["WorkflowRunRunningStepsResponse"];
64311
+ };
64312
+ };
64313
+ /** @description Error */
64314
+ default: {
64315
+ headers: {
64316
+ [name: string]: unknown;
64317
+ };
64318
+ content: {
64319
+ "application/json": components["schemas"]["Error"];
64320
+ };
64321
+ };
64322
+ };
64323
+ };
62743
64324
  "list-user-variables": {
62744
64325
  parameters: {
62745
64326
  query?: never;
@@ -63484,4 +65065,24 @@ export interface operations {
63484
65065
  };
63485
65066
  };
63486
65067
  };
65068
+ "agent-session-events": {
65069
+ parameters: {
65070
+ query?: never;
65071
+ header?: never;
65072
+ path?: never;
65073
+ cookie?: never;
65074
+ };
65075
+ requestBody?: never;
65076
+ responses: {
65077
+ /** @description A session event frame */
65078
+ 200: {
65079
+ headers: {
65080
+ [name: string]: unknown;
65081
+ };
65082
+ content: {
65083
+ "application/json": components["schemas"]["AgentStreamEvent"];
65084
+ };
65085
+ };
65086
+ };
65087
+ };
63487
65088
  }