@1claw/sdk 0.59.0 → 0.59.5

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.
@@ -2360,6 +2360,46 @@ export interface paths {
2360
2360
  patch?: never;
2361
2361
  trace?: never;
2362
2362
  };
2363
+ "/v1/org/onboarding/status": {
2364
+ parameters: {
2365
+ query?: never;
2366
+ header?: never;
2367
+ path?: never;
2368
+ cookie?: never;
2369
+ };
2370
+ /**
2371
+ * Onboarding funnel status
2372
+ * @description Returns welcome-bundle and MCP connection progress for the connect wizard.
2373
+ */
2374
+ get: operations["getOnboardingStatus"];
2375
+ put?: never;
2376
+ post?: never;
2377
+ delete?: never;
2378
+ options?: never;
2379
+ head?: never;
2380
+ patch?: never;
2381
+ trace?: never;
2382
+ };
2383
+ "/v1/onboarding/provision": {
2384
+ parameters: {
2385
+ query?: never;
2386
+ header?: never;
2387
+ path?: never;
2388
+ cookie?: never;
2389
+ };
2390
+ get?: never;
2391
+ put?: never;
2392
+ /**
2393
+ * Provision MCP onboarding bundle
2394
+ * @description Creates welcome vault + sample secret, MCP agent, and default ** policy. Returns one-time API key and stdio MCP config.
2395
+ */
2396
+ post: operations["provisionOnboarding"];
2397
+ delete?: never;
2398
+ options?: never;
2399
+ head?: never;
2400
+ patch?: never;
2401
+ trace?: never;
2402
+ };
2363
2403
  "/v1/org/status": {
2364
2404
  parameters: {
2365
2405
  query?: never;
@@ -3620,6 +3660,29 @@ export interface paths {
3620
3660
  patch?: never;
3621
3661
  trace?: never;
3622
3662
  };
3663
+ "/v1/shroud/inspect-content": {
3664
+ parameters: {
3665
+ query?: never;
3666
+ header?: never;
3667
+ path?: never;
3668
+ cookie?: never;
3669
+ };
3670
+ get?: never;
3671
+ put?: never;
3672
+ /**
3673
+ * Inspect text for security threats
3674
+ * @description Standalone content inspection (MCP `inspect_content` parity). Scans for command
3675
+ * injection, encoding tricks, social engineering, PII, and suspicious URLs.
3676
+ * Fail-closed — returns `safe: false` when high/critical threats match.
3677
+ * Accepts plt_ platform keys, agent JWTs, and user JWTs.
3678
+ */
3679
+ post: operations["inspectContent"];
3680
+ delete?: never;
3681
+ options?: never;
3682
+ head?: never;
3683
+ patch?: never;
3684
+ trace?: never;
3685
+ };
3623
3686
  "/v1/shroud/activity": {
3624
3687
  parameters: {
3625
3688
  query?: never;
@@ -4053,6 +4116,28 @@ export interface paths {
4053
4116
  patch?: never;
4054
4117
  trace?: never;
4055
4118
  };
4119
+ "/v1/platform/apps/{appId}/webhooks": {
4120
+ parameters: {
4121
+ query?: never;
4122
+ header?: never;
4123
+ path?: never;
4124
+ cookie?: never;
4125
+ };
4126
+ /**
4127
+ * Platform webhook delivery catalog
4128
+ * @description Returns whether `webhook_url` is configured and the event types delivered to
4129
+ * the platform app webhook (payload includes `connection_id` when applicable).
4130
+ * Org-scoped webhook subscriptions (`GET /v1/webhooks`) are separate.
4131
+ */
4132
+ get: operations["getPlatformWebhooks"];
4133
+ put?: never;
4134
+ post?: never;
4135
+ delete?: never;
4136
+ options?: never;
4137
+ head?: never;
4138
+ patch?: never;
4139
+ trace?: never;
4140
+ };
4056
4141
  "/v1/platform/apps/{appId}/rotate-webhook-secret": {
4057
4142
  parameters: {
4058
4143
  query?: never;
@@ -5192,7 +5277,15 @@ export interface paths {
5192
5277
  */
5193
5278
  get: operations["listConnectionPendingApprovals"];
5194
5279
  put?: never;
5195
- post?: never;
5280
+ /**
5281
+ * Create a pending consensus approval for a connection agent
5282
+ * @description Platform apps submit over-cap or consensus-gated actions on behalf of a
5283
+ * connected user's agent. When `policy_id` is omitted, the server resolves the
5284
+ * matching agent `consensus_trigger` policy from `action_payload` (chain, to, value).
5285
+ * Returns **202** with `pending_approval_id` and `payload_hash` for decide/execute.
5286
+ * Requires plt_ auth; agent must be provisioned on the connection.
5287
+ */
5288
+ post: operations["createConnectionPendingApproval"];
5196
5289
  delete?: never;
5197
5290
  options?: never;
5198
5291
  head?: never;
@@ -5261,6 +5354,28 @@ export interface paths {
5261
5354
  patch?: never;
5262
5355
  trace?: never;
5263
5356
  };
5357
+ "/v1/platform/connections/{connectionId}/signing-keys": {
5358
+ parameters: {
5359
+ query?: never;
5360
+ header?: never;
5361
+ path?: never;
5362
+ cookie?: never;
5363
+ };
5364
+ /**
5365
+ * List signing keys for a connection agent
5366
+ * @description Returns public signing-key metadata (chain, address, public_key, curve) for
5367
+ * agent(s) provisioned on the connection. Never includes private keys.
5368
+ * When multiple agents exist, pass `agent_id` query param. plt_ auth only.
5369
+ */
5370
+ get: operations["listConnectionSigningKeys"];
5371
+ put?: never;
5372
+ post?: never;
5373
+ delete?: never;
5374
+ options?: never;
5375
+ head?: never;
5376
+ patch?: never;
5377
+ trace?: never;
5378
+ };
5264
5379
  "/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
5265
5380
  parameters: {
5266
5381
  query?: never;
@@ -5268,7 +5383,13 @@ export interface paths {
5268
5383
  path?: never;
5269
5384
  cookie?: never;
5270
5385
  };
5271
- get?: never;
5386
+ /**
5387
+ * Get a signing key for a connection agent by chain
5388
+ * @description Returns public signing-key metadata for one chain on a connection agent.
5389
+ * Network names (e.g. `base`, `sepolia`) resolve to canonical signing keys
5390
+ * (e.g. `ethereum`). Never includes private keys. plt_ auth only.
5391
+ */
5392
+ get: operations["getConnectionSigningKey"];
5272
5393
  put?: never;
5273
5394
  post?: never;
5274
5395
  /**
@@ -5282,6 +5403,123 @@ export interface paths {
5282
5403
  patch?: never;
5283
5404
  trace?: never;
5284
5405
  };
5406
+ "/v1/platform/connections/{connectionId}/agents/{agentId}": {
5407
+ parameters: {
5408
+ query?: never;
5409
+ header?: never;
5410
+ path?: never;
5411
+ cookie?: never;
5412
+ };
5413
+ get?: never;
5414
+ put?: never;
5415
+ post?: never;
5416
+ delete?: never;
5417
+ options?: never;
5418
+ head?: never;
5419
+ /**
5420
+ * Update limited agent settings for a connection
5421
+ * @description Platform-scoped agent update for connected end-users. Allows enabling Intents API,
5422
+ * Execution Intents, and updating the default system prompt without human dashboard access.
5423
+ * Agent must be provisioned on the connection. plt_ auth only.
5424
+ */
5425
+ patch: operations["patchConnectionAgent"];
5426
+ trace?: never;
5427
+ };
5428
+ "/v1/platform/connections/{connectionId}/portfolio": {
5429
+ parameters: {
5430
+ query?: never;
5431
+ header?: never;
5432
+ path?: never;
5433
+ cookie?: never;
5434
+ };
5435
+ /**
5436
+ * Portfolio for connection agents
5437
+ * @description Aggregates signing-key and smart-account balances for agents provisioned on
5438
+ * the connection. plt_ auth only.
5439
+ */
5440
+ get: operations["getConnectionPortfolio"];
5441
+ put?: never;
5442
+ post?: never;
5443
+ delete?: never;
5444
+ options?: never;
5445
+ head?: never;
5446
+ patch?: never;
5447
+ trace?: never;
5448
+ };
5449
+ "/v1/platform/connections/{connectionId}/balances": {
5450
+ parameters: {
5451
+ query?: never;
5452
+ header?: never;
5453
+ path?: never;
5454
+ cookie?: never;
5455
+ };
5456
+ /**
5457
+ * Balances alias for connection portfolio
5458
+ * @description Alias of `GET .../portfolio`. plt_ auth only.
5459
+ */
5460
+ get: operations["getConnectionBalances"];
5461
+ put?: never;
5462
+ post?: never;
5463
+ delete?: never;
5464
+ options?: never;
5465
+ head?: never;
5466
+ patch?: never;
5467
+ trace?: never;
5468
+ };
5469
+ "/v1/platform/connections/{connectionId}/automations": {
5470
+ parameters: {
5471
+ query?: never;
5472
+ header?: never;
5473
+ path?: never;
5474
+ cookie?: never;
5475
+ };
5476
+ /** List automations for connection agents */
5477
+ get: operations["listConnectionAutomations"];
5478
+ put?: never;
5479
+ /** Create automation for a connection agent */
5480
+ post: operations["createConnectionAutomation"];
5481
+ delete?: never;
5482
+ options?: never;
5483
+ head?: never;
5484
+ patch?: never;
5485
+ trace?: never;
5486
+ };
5487
+ "/v1/platform/connections/{connectionId}/automations/{automationId}/runs/{runId}/cancel": {
5488
+ parameters: {
5489
+ query?: never;
5490
+ header?: never;
5491
+ path?: never;
5492
+ cookie?: never;
5493
+ };
5494
+ get?: never;
5495
+ put?: never;
5496
+ /** Cancel an automation run (connection-scoped) */
5497
+ post: operations["cancelConnectionAutomationRun"];
5498
+ delete?: never;
5499
+ options?: never;
5500
+ head?: never;
5501
+ patch?: never;
5502
+ trace?: never;
5503
+ };
5504
+ "/v1/platform/connections/{connectionId}/memory/{namespace}/{key}": {
5505
+ parameters: {
5506
+ query?: never;
5507
+ header?: never;
5508
+ path?: never;
5509
+ cookie?: never;
5510
+ };
5511
+ /** Get agent memory entry (connection-scoped) */
5512
+ get: operations["getConnectionMemory"];
5513
+ /** Upsert agent memory entry (connection-scoped) */
5514
+ put: operations["putConnectionMemory"];
5515
+ post?: never;
5516
+ /** Delete agent memory entry (connection-scoped) */
5517
+ delete: operations["deleteConnectionMemory"];
5518
+ options?: never;
5519
+ head?: never;
5520
+ patch?: never;
5521
+ trace?: never;
5522
+ };
5285
5523
  "/v1/platform/connections/{connectionId}/runtimes": {
5286
5524
  parameters: {
5287
5525
  query?: never;
@@ -9624,6 +9862,37 @@ export interface components {
9624
9862
  SigningKeyListResponse: {
9625
9863
  keys?: components["schemas"]["SigningKeyResponse"][];
9626
9864
  };
9865
+ ConnectionSigningKeyPublic: {
9866
+ chain?: string;
9867
+ address?: string;
9868
+ public_key?: string;
9869
+ curve?: string;
9870
+ };
9871
+ ConnectionSigningKeyListResponse: {
9872
+ /** Format: uuid */
9873
+ agent_id?: string;
9874
+ keys?: components["schemas"]["ConnectionSigningKeyPublic"][];
9875
+ };
9876
+ ConnectionSigningKeyDetailResponse: {
9877
+ /** Format: uuid */
9878
+ agent_id?: string;
9879
+ chain?: string;
9880
+ address?: string;
9881
+ public_key?: string;
9882
+ curve?: string;
9883
+ };
9884
+ PatchConnectionAgentRequest: {
9885
+ intents_api_enabled?: boolean;
9886
+ execution_intents_enabled?: boolean;
9887
+ system_prompt?: string | null;
9888
+ };
9889
+ PatchConnectionAgentResponse: {
9890
+ /** Format: uuid */
9891
+ agent_id?: string;
9892
+ intents_api_enabled?: boolean;
9893
+ execution_intents_enabled?: boolean;
9894
+ system_prompt?: string | null;
9895
+ };
9627
9896
  LeaseBankrKeyRequest: {
9628
9897
  /** @description Bankr wallet ID (wlt_...). Uses org default if omitted. */
9629
9898
  wallet_id?: string;
@@ -9984,6 +10253,29 @@ export interface components {
9984
10253
  message?: string;
9985
10254
  email?: string;
9986
10255
  };
10256
+ OnboardingStatus: {
10257
+ has_vault: boolean;
10258
+ has_agent: boolean;
10259
+ has_policy: boolean;
10260
+ has_sample_secret: boolean;
10261
+ first_secret_read: boolean;
10262
+ welcome_bundle_complete: boolean;
10263
+ /** Format: uuid */
10264
+ default_vault_id?: string | null;
10265
+ };
10266
+ OnboardingProvisionRequest: {
10267
+ agent_name?: string;
10268
+ client?: string;
10269
+ };
10270
+ OnboardingProvisionResponse: {
10271
+ /** Format: uuid */
10272
+ agent_id: string;
10273
+ api_key: string;
10274
+ /** Format: uuid */
10275
+ vault_id: string;
10276
+ mcp_stdio_config: Record<string, never>;
10277
+ verify_prompt: string;
10278
+ };
9987
10279
  AgentKeysVaultResponse: {
9988
10280
  /** Format: uuid */
9989
10281
  vault_id?: string;
@@ -10780,6 +11072,8 @@ export interface components {
10780
11072
  * @description Optional expiration time for the platform API key. Set to null to clear.
10781
11073
  */
10782
11074
  api_key_expires_at?: string | null;
11075
+ /** @description Hostname allowed in SIWE messages for wallet sign-in (EIP-4361). */
11076
+ siwe_domain?: string | null;
10783
11077
  };
10784
11078
  PlatformAppDeleteResponse: {
10785
11079
  deleted: boolean;
@@ -10832,6 +11126,8 @@ export interface components {
10832
11126
  * @description When the platform API key was last rotated.
10833
11127
  */
10834
11128
  api_key_rotated_at?: string | null;
11129
+ /** @description Hostname allowed in SIWE messages for wallet sign-in (EIP-4361). */
11130
+ siwe_domain?: string | null;
10835
11131
  /** Format: date-time */
10836
11132
  created_at?: string;
10837
11133
  /** Format: date-time */
@@ -10846,12 +11142,21 @@ export interface components {
10846
11142
  description?: string;
10847
11143
  /**
10848
11144
  * @description Template specification defining vault, agents, policies, and signing keys to bootstrap.
10849
- * Top-level fields: `vault` (object with name, description), `agents` (array of agent specs
10850
- * with name, description, shroud_enabled, intents, shroud_config), `policies` (array with
10851
- * vault_ref, principal_ref, paths, permissions, conditions), and `signing_keys` (array of
10852
- * `{ chain }` objects supported chains: ethereum, bitcoin, solana, xrp, cardano, tron).
10853
- * When `signing_keys` is present, HSM-backed signing keys are auto-provisioned for the
10854
- * bootstrapped agent.
11145
+ * Top-level fields: `vault` (object with name, description), `agents` (array of agent specs),
11146
+ * `policies` (array with vault_ref, principal_ref, paths, permissions, conditions), and
11147
+ * `signing_keys` (array of `{ chain }` objects — supported chains: ethereum, bitcoin, solana,
11148
+ * xrp, cardano, tron). When `signing_keys` is present, HSM-backed signing keys are
11149
+ * auto-provisioned for the bootstrapped agent.
11150
+ *
11151
+ * Each agent entry accepts Intents API and Execution Intents flags under any of these aliases
11152
+ * (direct API field name, boolean shorthand, or `{ enabled: true }` object):
11153
+ * - Intents API → `intents_api_enabled`, `intents: true`, or `intents: { enabled: true }`
11154
+ * (maps to `agents.intents_api_enabled`)
11155
+ * - Execution Intents → `execution_intents_enabled`, `execution: true`, or
11156
+ * `execution: { enabled: true }` (maps to `agents.execution_intents_enabled`)
11157
+ *
11158
+ * Other agent fields: `name`, `description`, `shroud_enabled`, `shroud_config`, `system_prompt`,
11159
+ * `environment`, `signing_keys`, `provision_eoa`, `memory`, `runtime`, `default_llm_provider`.
10855
11160
  */
10856
11161
  spec: Record<string, never>;
10857
11162
  };
@@ -13037,6 +13342,53 @@ export interface components {
13037
13342
  action: string;
13038
13343
  action_payload: Record<string, never>;
13039
13344
  };
13345
+ ConnectionSubmitPendingApprovalRequest: {
13346
+ /**
13347
+ * Format: uuid
13348
+ * @description Required when the connection has multiple agents
13349
+ */
13350
+ agent_id?: string;
13351
+ /**
13352
+ * Format: uuid
13353
+ * @description Optional — auto-resolved from agent consensus policies when omitted
13354
+ */
13355
+ policy_id?: string;
13356
+ /** @default transaction */
13357
+ action: string;
13358
+ /** @description Transaction/intent fields (chain, to, value, …) hashed for decide binding */
13359
+ action_payload: Record<string, never>;
13360
+ /** @description Human-readable label included in webhook payloads */
13361
+ summary?: string;
13362
+ };
13363
+ InspectContentRequest: {
13364
+ content: string;
13365
+ /**
13366
+ * @description Inspection context (reserved for future rules)
13367
+ * @enum {string}
13368
+ */
13369
+ context?: "input" | "output";
13370
+ };
13371
+ InspectContentResponse: {
13372
+ safe?: boolean;
13373
+ /** @enum {string} */
13374
+ verdict?: "clean" | "malicious";
13375
+ threat_count?: number;
13376
+ threats?: {
13377
+ type?: string;
13378
+ pattern?: string;
13379
+ severity?: string;
13380
+ }[];
13381
+ unicode_normalized?: boolean;
13382
+ normalized_content?: string;
13383
+ };
13384
+ PlatformWebhookInfoResponse: {
13385
+ /** Format: uuid */
13386
+ app_id?: string;
13387
+ webhook_configured?: boolean;
13388
+ webhook_url_host?: string;
13389
+ platform_events?: string[];
13390
+ org_webhooks_note?: string;
13391
+ };
13040
13392
  SubmitPendingApprovalResponse: {
13041
13393
  /** Format: uuid */
13042
13394
  pending_approval_id?: string;
@@ -17623,7 +17975,7 @@ export interface operations {
17623
17975
  };
17624
17976
  };
17625
17977
  };
17626
- getOrgStatus: {
17978
+ getOnboardingStatus: {
17627
17979
  parameters: {
17628
17980
  query?: never;
17629
17981
  header?: never;
@@ -17632,47 +17984,91 @@ export interface operations {
17632
17984
  };
17633
17985
  requestBody?: never;
17634
17986
  responses: {
17635
- /** @description Current org status */
17987
+ /** @description Onboarding status */
17636
17988
  200: {
17637
17989
  headers: {
17638
17990
  [name: string]: unknown;
17639
17991
  };
17640
17992
  content: {
17641
- "application/json": {
17642
- /** Format: uuid */
17643
- org_id: string;
17644
- /** @enum {string} */
17645
- status: "active" | "frozen";
17646
- /** Format: date-time */
17647
- frozen_at?: string | null;
17648
- };
17649
- };
17650
- };
17651
- /** @description Forbidden */
17652
- 403: {
17653
- headers: {
17654
- [name: string]: unknown;
17993
+ "application/json": components["schemas"]["OnboardingStatus"];
17655
17994
  };
17656
- content?: never;
17657
17995
  };
17658
17996
  };
17659
17997
  };
17660
- freezeOrg: {
17998
+ provisionOnboarding: {
17661
17999
  parameters: {
17662
18000
  query?: never;
17663
18001
  header?: never;
17664
18002
  path?: never;
17665
18003
  cookie?: never;
17666
18004
  };
17667
- requestBody?: never;
18005
+ requestBody?: {
18006
+ content: {
18007
+ "application/json": components["schemas"]["OnboardingProvisionRequest"];
18008
+ };
18009
+ };
17668
18010
  responses: {
17669
- /** @description Organization frozen */
18011
+ /** @description Provisioned resources */
17670
18012
  200: {
17671
18013
  headers: {
17672
18014
  [name: string]: unknown;
17673
18015
  };
17674
18016
  content: {
17675
- "application/json": {
18017
+ "application/json": components["schemas"]["OnboardingProvisionResponse"];
18018
+ };
18019
+ };
18020
+ };
18021
+ };
18022
+ getOrgStatus: {
18023
+ parameters: {
18024
+ query?: never;
18025
+ header?: never;
18026
+ path?: never;
18027
+ cookie?: never;
18028
+ };
18029
+ requestBody?: never;
18030
+ responses: {
18031
+ /** @description Current org status */
18032
+ 200: {
18033
+ headers: {
18034
+ [name: string]: unknown;
18035
+ };
18036
+ content: {
18037
+ "application/json": {
18038
+ /** Format: uuid */
18039
+ org_id: string;
18040
+ /** @enum {string} */
18041
+ status: "active" | "frozen";
18042
+ /** Format: date-time */
18043
+ frozen_at?: string | null;
18044
+ };
18045
+ };
18046
+ };
18047
+ /** @description Forbidden */
18048
+ 403: {
18049
+ headers: {
18050
+ [name: string]: unknown;
18051
+ };
18052
+ content?: never;
18053
+ };
18054
+ };
18055
+ };
18056
+ freezeOrg: {
18057
+ parameters: {
18058
+ query?: never;
18059
+ header?: never;
18060
+ path?: never;
18061
+ cookie?: never;
18062
+ };
18063
+ requestBody?: never;
18064
+ responses: {
18065
+ /** @description Organization frozen */
18066
+ 200: {
18067
+ headers: {
18068
+ [name: string]: unknown;
18069
+ };
18070
+ content: {
18071
+ "application/json": {
17676
18072
  /** @enum {string} */
17677
18073
  status?: "frozen";
17678
18074
  /** Format: uuid */
@@ -19629,6 +20025,31 @@ export interface operations {
19629
20025
  };
19630
20026
  };
19631
20027
  };
20028
+ inspectContent: {
20029
+ parameters: {
20030
+ query?: never;
20031
+ header?: never;
20032
+ path?: never;
20033
+ cookie?: never;
20034
+ };
20035
+ requestBody: {
20036
+ content: {
20037
+ "application/json": components["schemas"]["InspectContentRequest"];
20038
+ };
20039
+ };
20040
+ responses: {
20041
+ /** @description Inspection report */
20042
+ 200: {
20043
+ headers: {
20044
+ [name: string]: unknown;
20045
+ };
20046
+ content: {
20047
+ "application/json": components["schemas"]["InspectContentResponse"];
20048
+ };
20049
+ };
20050
+ 400: components["responses"]["BadRequest"];
20051
+ };
20052
+ };
19632
20053
  transferPlatformAppOwnership: {
19633
20054
  parameters: {
19634
20055
  query?: never;
@@ -19684,6 +20105,29 @@ export interface operations {
19684
20105
  404: components["responses"]["NotFound"];
19685
20106
  };
19686
20107
  };
20108
+ getPlatformWebhooks: {
20109
+ parameters: {
20110
+ query?: never;
20111
+ header?: never;
20112
+ path: {
20113
+ appId: string;
20114
+ };
20115
+ cookie?: never;
20116
+ };
20117
+ requestBody?: never;
20118
+ responses: {
20119
+ /** @description Webhook configuration summary */
20120
+ 200: {
20121
+ headers: {
20122
+ [name: string]: unknown;
20123
+ };
20124
+ content: {
20125
+ "application/json": components["schemas"]["PlatformWebhookInfoResponse"];
20126
+ };
20127
+ };
20128
+ 404: components["responses"]["NotFound"];
20129
+ };
20130
+ };
19687
20131
  rotatePlatformWebhookSecret: {
19688
20132
  parameters: {
19689
20133
  query?: never;
@@ -20121,6 +20565,34 @@ export interface operations {
20121
20565
  404: components["responses"]["NotFound"];
20122
20566
  };
20123
20567
  };
20568
+ createConnectionPendingApproval: {
20569
+ parameters: {
20570
+ query?: never;
20571
+ header?: never;
20572
+ path: {
20573
+ connectionId: string;
20574
+ };
20575
+ cookie?: never;
20576
+ };
20577
+ requestBody: {
20578
+ content: {
20579
+ "application/json": components["schemas"]["ConnectionSubmitPendingApprovalRequest"];
20580
+ };
20581
+ };
20582
+ responses: {
20583
+ /** @description Pending approval created */
20584
+ 202: {
20585
+ headers: {
20586
+ [name: string]: unknown;
20587
+ };
20588
+ content: {
20589
+ "application/json": components["schemas"]["SubmitPendingApprovalResponse"];
20590
+ };
20591
+ };
20592
+ 400: components["responses"]["BadRequest"];
20593
+ 404: components["responses"]["NotFound"];
20594
+ };
20595
+ };
20124
20596
  getConnectionPendingApproval: {
20125
20597
  parameters: {
20126
20598
  query?: never;
@@ -20222,6 +20694,71 @@ export interface operations {
20222
20694
  };
20223
20695
  };
20224
20696
  };
20697
+ listConnectionSigningKeys: {
20698
+ parameters: {
20699
+ query?: {
20700
+ agent_id?: string;
20701
+ };
20702
+ header?: never;
20703
+ path: {
20704
+ connectionId: string;
20705
+ };
20706
+ cookie?: never;
20707
+ };
20708
+ requestBody?: never;
20709
+ responses: {
20710
+ /** @description Signing keys for the connection agent */
20711
+ 200: {
20712
+ headers: {
20713
+ [name: string]: unknown;
20714
+ };
20715
+ content: {
20716
+ "application/json": components["schemas"]["ConnectionSigningKeyListResponse"];
20717
+ };
20718
+ };
20719
+ /** @description Multiple agents — agent_id required */
20720
+ 400: {
20721
+ headers: {
20722
+ [name: string]: unknown;
20723
+ };
20724
+ content?: never;
20725
+ };
20726
+ 404: components["responses"]["NotFound"];
20727
+ };
20728
+ };
20729
+ getConnectionSigningKey: {
20730
+ parameters: {
20731
+ query?: {
20732
+ agent_id?: string;
20733
+ };
20734
+ header?: never;
20735
+ path: {
20736
+ connectionId: string;
20737
+ chain: string;
20738
+ };
20739
+ cookie?: never;
20740
+ };
20741
+ requestBody?: never;
20742
+ responses: {
20743
+ /** @description Signing key metadata */
20744
+ 200: {
20745
+ headers: {
20746
+ [name: string]: unknown;
20747
+ };
20748
+ content: {
20749
+ "application/json": components["schemas"]["ConnectionSigningKeyDetailResponse"];
20750
+ };
20751
+ };
20752
+ /** @description Multiple agents — agent_id required */
20753
+ 400: {
20754
+ headers: {
20755
+ [name: string]: unknown;
20756
+ };
20757
+ content?: never;
20758
+ };
20759
+ 404: components["responses"]["NotFound"];
20760
+ };
20761
+ };
20225
20762
  deactivateConnectionSigningKey: {
20226
20763
  parameters: {
20227
20764
  query?: {
@@ -20253,6 +20790,243 @@ export interface operations {
20253
20790
  404: components["responses"]["NotFound"];
20254
20791
  };
20255
20792
  };
20793
+ patchConnectionAgent: {
20794
+ parameters: {
20795
+ query?: never;
20796
+ header?: never;
20797
+ path: {
20798
+ connectionId: string;
20799
+ agentId: string;
20800
+ };
20801
+ cookie?: never;
20802
+ };
20803
+ requestBody: {
20804
+ content: {
20805
+ "application/json": components["schemas"]["PatchConnectionAgentRequest"];
20806
+ };
20807
+ };
20808
+ responses: {
20809
+ /** @description Updated agent settings */
20810
+ 200: {
20811
+ headers: {
20812
+ [name: string]: unknown;
20813
+ };
20814
+ content: {
20815
+ "application/json": components["schemas"]["PatchConnectionAgentResponse"];
20816
+ };
20817
+ };
20818
+ 400: components["responses"]["BadRequest"];
20819
+ 403: components["responses"]["Forbidden"];
20820
+ 404: components["responses"]["NotFound"];
20821
+ };
20822
+ };
20823
+ getConnectionPortfolio: {
20824
+ parameters: {
20825
+ query?: {
20826
+ chains?: string;
20827
+ include_tokens?: boolean;
20828
+ };
20829
+ header?: never;
20830
+ path: {
20831
+ connectionId: string;
20832
+ };
20833
+ cookie?: never;
20834
+ };
20835
+ requestBody?: never;
20836
+ responses: {
20837
+ /** @description Connection-scoped portfolio */
20838
+ 200: {
20839
+ headers: {
20840
+ [name: string]: unknown;
20841
+ };
20842
+ content: {
20843
+ "application/json": components["schemas"]["PortfolioResponse"];
20844
+ };
20845
+ };
20846
+ 404: components["responses"]["NotFound"];
20847
+ };
20848
+ };
20849
+ getConnectionBalances: {
20850
+ parameters: {
20851
+ query?: {
20852
+ chains?: string;
20853
+ };
20854
+ header?: never;
20855
+ path: {
20856
+ connectionId: string;
20857
+ };
20858
+ cookie?: never;
20859
+ };
20860
+ requestBody?: never;
20861
+ responses: {
20862
+ /** @description Connection-scoped portfolio */
20863
+ 200: {
20864
+ headers: {
20865
+ [name: string]: unknown;
20866
+ };
20867
+ content: {
20868
+ "application/json": components["schemas"]["PortfolioResponse"];
20869
+ };
20870
+ };
20871
+ };
20872
+ };
20873
+ listConnectionAutomations: {
20874
+ parameters: {
20875
+ query?: never;
20876
+ header?: never;
20877
+ path: {
20878
+ connectionId: string;
20879
+ };
20880
+ cookie?: never;
20881
+ };
20882
+ requestBody?: never;
20883
+ responses: {
20884
+ /** @description Automations scoped to connection agents */
20885
+ 200: {
20886
+ headers: {
20887
+ [name: string]: unknown;
20888
+ };
20889
+ content: {
20890
+ "application/json": components["schemas"]["AutomationListResponse"];
20891
+ };
20892
+ };
20893
+ };
20894
+ };
20895
+ createConnectionAutomation: {
20896
+ parameters: {
20897
+ query?: never;
20898
+ header?: never;
20899
+ path: {
20900
+ connectionId: string;
20901
+ };
20902
+ cookie?: never;
20903
+ };
20904
+ requestBody: {
20905
+ content: {
20906
+ "application/json": components["schemas"]["CreateAutomationRequest"];
20907
+ };
20908
+ };
20909
+ responses: {
20910
+ /** @description Automation created */
20911
+ 201: {
20912
+ headers: {
20913
+ [name: string]: unknown;
20914
+ };
20915
+ content: {
20916
+ "application/json": components["schemas"]["AutomationCreatedResponse"];
20917
+ };
20918
+ };
20919
+ 403: components["responses"]["Forbidden"];
20920
+ };
20921
+ };
20922
+ cancelConnectionAutomationRun: {
20923
+ parameters: {
20924
+ query?: never;
20925
+ header?: never;
20926
+ path: {
20927
+ connectionId: string;
20928
+ automationId: string;
20929
+ runId: string;
20930
+ };
20931
+ cookie?: never;
20932
+ };
20933
+ requestBody?: never;
20934
+ responses: {
20935
+ /** @description Run cancelled */
20936
+ 200: {
20937
+ headers: {
20938
+ [name: string]: unknown;
20939
+ };
20940
+ content: {
20941
+ "application/json": components["schemas"]["AutomationRunResponse"];
20942
+ };
20943
+ };
20944
+ 404: components["responses"]["NotFound"];
20945
+ };
20946
+ };
20947
+ getConnectionMemory: {
20948
+ parameters: {
20949
+ query?: {
20950
+ agent_id?: string;
20951
+ };
20952
+ header?: never;
20953
+ path: {
20954
+ connectionId: string;
20955
+ namespace: string;
20956
+ key: string;
20957
+ };
20958
+ cookie?: never;
20959
+ };
20960
+ requestBody?: never;
20961
+ responses: {
20962
+ /** @description Memory entry */
20963
+ 200: {
20964
+ headers: {
20965
+ [name: string]: unknown;
20966
+ };
20967
+ content: {
20968
+ "application/json": components["schemas"]["MemoryEntry"];
20969
+ };
20970
+ };
20971
+ 403: components["responses"]["Forbidden"];
20972
+ 404: components["responses"]["NotFound"];
20973
+ };
20974
+ };
20975
+ putConnectionMemory: {
20976
+ parameters: {
20977
+ query?: {
20978
+ agent_id?: string;
20979
+ };
20980
+ header?: never;
20981
+ path: {
20982
+ connectionId: string;
20983
+ namespace: string;
20984
+ key: string;
20985
+ };
20986
+ cookie?: never;
20987
+ };
20988
+ requestBody: {
20989
+ content: {
20990
+ "application/json": components["schemas"]["PutMemoryRequest"];
20991
+ };
20992
+ };
20993
+ responses: {
20994
+ /** @description Memory entry stored */
20995
+ 200: {
20996
+ headers: {
20997
+ [name: string]: unknown;
20998
+ };
20999
+ content: {
21000
+ "application/json": components["schemas"]["MemoryEntry"];
21001
+ };
21002
+ };
21003
+ };
21004
+ };
21005
+ deleteConnectionMemory: {
21006
+ parameters: {
21007
+ query?: {
21008
+ agent_id?: string;
21009
+ };
21010
+ header?: never;
21011
+ path: {
21012
+ connectionId: string;
21013
+ namespace: string;
21014
+ key: string;
21015
+ };
21016
+ cookie?: never;
21017
+ };
21018
+ requestBody?: never;
21019
+ responses: {
21020
+ /** @description Deleted */
21021
+ 204: {
21022
+ headers: {
21023
+ [name: string]: unknown;
21024
+ };
21025
+ content?: never;
21026
+ };
21027
+ 404: components["responses"]["NotFound"];
21028
+ };
21029
+ };
20256
21030
  createConnectionRuntime: {
20257
21031
  parameters: {
20258
21032
  query?: never;