@1claw/sdk 0.58.2 → 0.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -2
- package/dist/generated/api-types.d.ts +431 -9
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/resources/org.d.ts +7 -0
- package/dist/resources/org.d.ts.map +1 -1
- package/dist/resources/org.js +11 -0
- package/dist/resources/org.js.map +1 -1
- package/dist/resources/platform.d.ts +35 -0
- package/dist/resources/platform.d.ts.map +1 -1
- package/dist/resources/platform.js +22 -0
- package/dist/resources/platform.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @1claw/sdk (v0.
|
|
1
|
+
# @1claw/sdk (v0.59.2)
|
|
2
2
|
|
|
3
3
|
TypeScript/JavaScript client for the 1Claw Vault API.
|
|
4
4
|
|
|
@@ -96,7 +96,7 @@ await client.auth.verifyEmailChange({ code: "123456" });
|
|
|
96
96
|
| `client.approvals` | `request`, `list`, `approve`, `deny`, `check`, `subscribe` |
|
|
97
97
|
| `client.billing` | `usage`, `history`, `llmTokenBilling`, `subscribeLlmTokenBilling`, `disableLlmTokenBilling` (LLM token billing / Stripe AI Gateway) |
|
|
98
98
|
| `client.audit` | `query` |
|
|
99
|
-
| `client.org` | `listMembers`, `getAgentKeysVault`, `updateMemberRole`, `removeMember`
|
|
99
|
+
| `client.org` | `listMembers`, `getAgentKeysVault`, `getOnboardingStatus`, `provisionOnboarding`, `updateMemberRole`, `removeMember` |
|
|
100
100
|
| `client.auth` | `login`, `signup`, `agentToken`, `apiKeyToken`, `google`, `socialLogin`, `sendEmailOtp`, `verifyEmailOtp`, `exchangeOAuthCode`, `revokeToken`, `revokeConsent`, `getUserInfo`, `changePassword`, `setPassword`, `changeEmail`, `verifyEmailChange`, `forgotPassword`, `resetPassword`, `exportData`, `exchangeFederatedToken`, `logout`, `getMe`, `updateMe`, `deleteMe` |
|
|
101
101
|
| `client.apiKeys` | `create`, `list`, `revoke` |
|
|
102
102
|
| `client.treasury` | `create`, `list`, `get`, `update`, `delete`, `addSigner`, `removeSigner`, `requestAccess`, `listAccessRequests`, `approveAccess`, `denyAccess`, `propose`, `listProposals`, `getProposal`, `signProposal`, `executeProposal` |
|
|
@@ -1063,6 +1063,26 @@ await client.platform.deactivateConnectionSigningKey(connectionId, "ethereum", a
|
|
|
1063
1063
|
// setUserSpendPolicy(connectionId, data, { idempotencyKey: "..." }) — 24h replay protection
|
|
1064
1064
|
```
|
|
1065
1065
|
|
|
1066
|
+
## v0.59 — Fathom platform integration
|
|
1067
|
+
|
|
1068
|
+
Connection-scoped runtime, passkey enroll, and agent `system_prompt`:
|
|
1069
|
+
|
|
1070
|
+
```typescript
|
|
1071
|
+
await client.platform.getConnectionRuntime(connectionId, runtimeId);
|
|
1072
|
+
await client.platform.connectionPasskeyEnrollBegin(connectionId);
|
|
1073
|
+
await client.platform.connectionPasskeyEnrollComplete(connectionId, {
|
|
1074
|
+
credential_id: "...",
|
|
1075
|
+
attestation_object: "...",
|
|
1076
|
+
client_data_json: "...",
|
|
1077
|
+
});
|
|
1078
|
+
await client.platform.connectionAgentChat(connectionId, agentId, {
|
|
1079
|
+
message: "Hello",
|
|
1080
|
+
system_prompt: "You are helpful.",
|
|
1081
|
+
});
|
|
1082
|
+
await client.agents.create({ name: "bot", system_prompt: "Default persona" });
|
|
1083
|
+
// getConnection() includes provisioned_tier when billing_model is platform_pays
|
|
1084
|
+
```
|
|
1085
|
+
|
|
1066
1086
|
## OpenAPI Types
|
|
1067
1087
|
|
|
1068
1088
|
The SDK's request types are generated from the **OpenAPI 3.1** spec, published as [@1claw/openapi-spec](https://www.npmjs.com/package/@1claw/openapi-spec). Advanced users can access the raw generated types:
|
|
@@ -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;
|
|
@@ -4353,7 +4393,9 @@ export interface paths {
|
|
|
4353
4393
|
[name: string]: unknown;
|
|
4354
4394
|
};
|
|
4355
4395
|
content: {
|
|
4356
|
-
"application/json":
|
|
4396
|
+
"application/json": {
|
|
4397
|
+
users: components["schemas"]["PlatformConnectedUserResponse"][];
|
|
4398
|
+
};
|
|
4357
4399
|
};
|
|
4358
4400
|
};
|
|
4359
4401
|
};
|
|
@@ -5259,6 +5301,28 @@ export interface paths {
|
|
|
5259
5301
|
patch?: never;
|
|
5260
5302
|
trace?: never;
|
|
5261
5303
|
};
|
|
5304
|
+
"/v1/platform/connections/{connectionId}/signing-keys": {
|
|
5305
|
+
parameters: {
|
|
5306
|
+
query?: never;
|
|
5307
|
+
header?: never;
|
|
5308
|
+
path?: never;
|
|
5309
|
+
cookie?: never;
|
|
5310
|
+
};
|
|
5311
|
+
/**
|
|
5312
|
+
* List signing keys for a connection agent
|
|
5313
|
+
* @description Returns public signing-key metadata (chain, address, public_key, curve) for
|
|
5314
|
+
* agent(s) provisioned on the connection. Never includes private keys.
|
|
5315
|
+
* When multiple agents exist, pass `agent_id` query param. plt_ auth only.
|
|
5316
|
+
*/
|
|
5317
|
+
get: operations["listConnectionSigningKeys"];
|
|
5318
|
+
put?: never;
|
|
5319
|
+
post?: never;
|
|
5320
|
+
delete?: never;
|
|
5321
|
+
options?: never;
|
|
5322
|
+
head?: never;
|
|
5323
|
+
patch?: never;
|
|
5324
|
+
trace?: never;
|
|
5325
|
+
};
|
|
5262
5326
|
"/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
|
|
5263
5327
|
parameters: {
|
|
5264
5328
|
query?: never;
|
|
@@ -5266,7 +5330,12 @@ export interface paths {
|
|
|
5266
5330
|
path?: never;
|
|
5267
5331
|
cookie?: never;
|
|
5268
5332
|
};
|
|
5269
|
-
|
|
5333
|
+
/**
|
|
5334
|
+
* Get a signing key for a connection agent by chain
|
|
5335
|
+
* @description Returns public signing-key metadata for one chain on a connection agent.
|
|
5336
|
+
* Never includes private keys. plt_ auth only.
|
|
5337
|
+
*/
|
|
5338
|
+
get: operations["getConnectionSigningKey"];
|
|
5270
5339
|
put?: never;
|
|
5271
5340
|
post?: never;
|
|
5272
5341
|
/**
|
|
@@ -5302,6 +5371,65 @@ export interface paths {
|
|
|
5302
5371
|
patch?: never;
|
|
5303
5372
|
trace?: never;
|
|
5304
5373
|
};
|
|
5374
|
+
"/v1/platform/connections/{connectionId}/runtimes/{runtimeId}": {
|
|
5375
|
+
parameters: {
|
|
5376
|
+
query?: never;
|
|
5377
|
+
header?: never;
|
|
5378
|
+
path?: never;
|
|
5379
|
+
cookie?: never;
|
|
5380
|
+
};
|
|
5381
|
+
/**
|
|
5382
|
+
* Get a connection runtime (plt_ scoped)
|
|
5383
|
+
* @description Returns a runtime provisioned on this connection. Use instead of
|
|
5384
|
+
* `GET /v1/runtimes/{id}` with a plt_ key (which resolves to the platform org).
|
|
5385
|
+
*/
|
|
5386
|
+
get: operations["getConnectionRuntime"];
|
|
5387
|
+
put?: never;
|
|
5388
|
+
post?: never;
|
|
5389
|
+
delete?: never;
|
|
5390
|
+
options?: never;
|
|
5391
|
+
head?: never;
|
|
5392
|
+
patch?: never;
|
|
5393
|
+
trace?: never;
|
|
5394
|
+
};
|
|
5395
|
+
"/v1/platform/connections/{connectionId}/passkeys/enroll/begin": {
|
|
5396
|
+
parameters: {
|
|
5397
|
+
query?: never;
|
|
5398
|
+
header?: never;
|
|
5399
|
+
path?: never;
|
|
5400
|
+
cookie?: never;
|
|
5401
|
+
};
|
|
5402
|
+
get?: never;
|
|
5403
|
+
put?: never;
|
|
5404
|
+
/**
|
|
5405
|
+
* Begin passkey enrollment for a connected user
|
|
5406
|
+
* @description Starts WebAuthn registration for the end-user on this connection.
|
|
5407
|
+
* Platform apps use this instead of `POST /v1/auth/passkeys/register/begin` (user JWT only).
|
|
5408
|
+
*/
|
|
5409
|
+
post: operations["connectionPasskeyEnrollBegin"];
|
|
5410
|
+
delete?: never;
|
|
5411
|
+
options?: never;
|
|
5412
|
+
head?: never;
|
|
5413
|
+
patch?: never;
|
|
5414
|
+
trace?: never;
|
|
5415
|
+
};
|
|
5416
|
+
"/v1/platform/connections/{connectionId}/passkeys/enroll/complete": {
|
|
5417
|
+
parameters: {
|
|
5418
|
+
query?: never;
|
|
5419
|
+
header?: never;
|
|
5420
|
+
path?: never;
|
|
5421
|
+
cookie?: never;
|
|
5422
|
+
};
|
|
5423
|
+
get?: never;
|
|
5424
|
+
put?: never;
|
|
5425
|
+
/** Complete passkey enrollment for a connected user */
|
|
5426
|
+
post: operations["connectionPasskeyEnrollComplete"];
|
|
5427
|
+
delete?: never;
|
|
5428
|
+
options?: never;
|
|
5429
|
+
head?: never;
|
|
5430
|
+
patch?: never;
|
|
5431
|
+
trace?: never;
|
|
5432
|
+
};
|
|
5305
5433
|
"/v1/platform/connections/{connectionId}/agents/{agentId}/chat": {
|
|
5306
5434
|
parameters: {
|
|
5307
5435
|
query?: never;
|
|
@@ -8535,6 +8663,8 @@ export interface components {
|
|
|
8535
8663
|
*/
|
|
8536
8664
|
shroud_enabled: boolean;
|
|
8537
8665
|
shroud_config?: components["schemas"]["ShroudConfig"];
|
|
8666
|
+
/** @description Default system prompt for agent chat when requests do not override it. */
|
|
8667
|
+
system_prompt?: string;
|
|
8538
8668
|
/**
|
|
8539
8669
|
* @description Enable Execution Intents (bindings and execute endpoint) for this agent
|
|
8540
8670
|
* @default false
|
|
@@ -8696,6 +8826,8 @@ export interface components {
|
|
|
8696
8826
|
/** @description Enable/disable Shroud LLM Proxy */
|
|
8697
8827
|
shroud_enabled?: boolean;
|
|
8698
8828
|
shroud_config?: components["schemas"]["ShroudConfig"];
|
|
8829
|
+
/** @description Default system prompt for agent chat (null clears). */
|
|
8830
|
+
system_prompt?: string | null;
|
|
8699
8831
|
/** @description Enable/disable Execution Intents for this agent */
|
|
8700
8832
|
execution_intents_enabled?: boolean;
|
|
8701
8833
|
/** @description Guardrails applied to all execution intents for this agent */
|
|
@@ -8876,6 +9008,8 @@ export interface components {
|
|
|
8876
9008
|
/** @description Whether this agent routes LLM traffic through the Shroud TEE proxy */
|
|
8877
9009
|
shroud_enabled: boolean;
|
|
8878
9010
|
shroud_config?: components["schemas"]["ShroudConfig"];
|
|
9011
|
+
/** @description Default system prompt for agent chat when requests do not override it. */
|
|
9012
|
+
system_prompt?: string;
|
|
8879
9013
|
/** @description Whether Execution Intents (bindings and execute endpoint) are enabled for this agent */
|
|
8880
9014
|
execution_intents_enabled?: boolean;
|
|
8881
9015
|
/** @description Guardrails applied to all execution intents for this agent */
|
|
@@ -9557,6 +9691,25 @@ export interface components {
|
|
|
9557
9691
|
SigningKeyListResponse: {
|
|
9558
9692
|
keys?: components["schemas"]["SigningKeyResponse"][];
|
|
9559
9693
|
};
|
|
9694
|
+
ConnectionSigningKeyPublic: {
|
|
9695
|
+
chain?: string;
|
|
9696
|
+
address?: string;
|
|
9697
|
+
public_key?: string;
|
|
9698
|
+
curve?: string;
|
|
9699
|
+
};
|
|
9700
|
+
ConnectionSigningKeyListResponse: {
|
|
9701
|
+
/** Format: uuid */
|
|
9702
|
+
agent_id?: string;
|
|
9703
|
+
keys?: components["schemas"]["ConnectionSigningKeyPublic"][];
|
|
9704
|
+
};
|
|
9705
|
+
ConnectionSigningKeyDetailResponse: {
|
|
9706
|
+
/** Format: uuid */
|
|
9707
|
+
agent_id?: string;
|
|
9708
|
+
chain?: string;
|
|
9709
|
+
address?: string;
|
|
9710
|
+
public_key?: string;
|
|
9711
|
+
curve?: string;
|
|
9712
|
+
};
|
|
9560
9713
|
LeaseBankrKeyRequest: {
|
|
9561
9714
|
/** @description Bankr wallet ID (wlt_...). Uses org default if omitted. */
|
|
9562
9715
|
wallet_id?: string;
|
|
@@ -9917,6 +10070,29 @@ export interface components {
|
|
|
9917
10070
|
message?: string;
|
|
9918
10071
|
email?: string;
|
|
9919
10072
|
};
|
|
10073
|
+
OnboardingStatus: {
|
|
10074
|
+
has_vault: boolean;
|
|
10075
|
+
has_agent: boolean;
|
|
10076
|
+
has_policy: boolean;
|
|
10077
|
+
has_sample_secret: boolean;
|
|
10078
|
+
first_secret_read: boolean;
|
|
10079
|
+
welcome_bundle_complete: boolean;
|
|
10080
|
+
/** Format: uuid */
|
|
10081
|
+
default_vault_id?: string | null;
|
|
10082
|
+
};
|
|
10083
|
+
OnboardingProvisionRequest: {
|
|
10084
|
+
agent_name?: string;
|
|
10085
|
+
client?: string;
|
|
10086
|
+
};
|
|
10087
|
+
OnboardingProvisionResponse: {
|
|
10088
|
+
/** Format: uuid */
|
|
10089
|
+
agent_id: string;
|
|
10090
|
+
api_key: string;
|
|
10091
|
+
/** Format: uuid */
|
|
10092
|
+
vault_id: string;
|
|
10093
|
+
mcp_stdio_config: Record<string, never>;
|
|
10094
|
+
verify_prompt: string;
|
|
10095
|
+
};
|
|
9920
10096
|
AgentKeysVaultResponse: {
|
|
9921
10097
|
/** Format: uuid */
|
|
9922
10098
|
vault_id?: string;
|
|
@@ -10713,6 +10889,8 @@ export interface components {
|
|
|
10713
10889
|
* @description Optional expiration time for the platform API key. Set to null to clear.
|
|
10714
10890
|
*/
|
|
10715
10891
|
api_key_expires_at?: string | null;
|
|
10892
|
+
/** @description Hostname allowed in SIWE messages for wallet sign-in (EIP-4361). */
|
|
10893
|
+
siwe_domain?: string | null;
|
|
10716
10894
|
};
|
|
10717
10895
|
PlatformAppDeleteResponse: {
|
|
10718
10896
|
deleted: boolean;
|
|
@@ -10765,6 +10943,8 @@ export interface components {
|
|
|
10765
10943
|
* @description When the platform API key was last rotated.
|
|
10766
10944
|
*/
|
|
10767
10945
|
api_key_rotated_at?: string | null;
|
|
10946
|
+
/** @description Hostname allowed in SIWE messages for wallet sign-in (EIP-4361). */
|
|
10947
|
+
siwe_domain?: string | null;
|
|
10768
10948
|
/** Format: date-time */
|
|
10769
10949
|
created_at?: string;
|
|
10770
10950
|
/** Format: date-time */
|
|
@@ -10779,12 +10959,21 @@ export interface components {
|
|
|
10779
10959
|
description?: string;
|
|
10780
10960
|
/**
|
|
10781
10961
|
* @description Template specification defining vault, agents, policies, and signing keys to bootstrap.
|
|
10782
|
-
* Top-level fields: `vault` (object with name, description), `agents` (array of agent specs
|
|
10783
|
-
* with
|
|
10784
|
-
*
|
|
10785
|
-
*
|
|
10786
|
-
*
|
|
10787
|
-
*
|
|
10962
|
+
* Top-level fields: `vault` (object with name, description), `agents` (array of agent specs),
|
|
10963
|
+
* `policies` (array with vault_ref, principal_ref, paths, permissions, conditions), and
|
|
10964
|
+
* `signing_keys` (array of `{ chain }` objects — supported chains: ethereum, bitcoin, solana,
|
|
10965
|
+
* xrp, cardano, tron). When `signing_keys` is present, HSM-backed signing keys are
|
|
10966
|
+
* auto-provisioned for the bootstrapped agent.
|
|
10967
|
+
*
|
|
10968
|
+
* Each agent entry accepts Intents API and Execution Intents flags under any of these aliases
|
|
10969
|
+
* (direct API field name, boolean shorthand, or `{ enabled: true }` object):
|
|
10970
|
+
* - Intents API → `intents_api_enabled`, `intents: true`, or `intents: { enabled: true }`
|
|
10971
|
+
* (maps to `agents.intents_api_enabled`)
|
|
10972
|
+
* - Execution Intents → `execution_intents_enabled`, `execution: true`, or
|
|
10973
|
+
* `execution: { enabled: true }` (maps to `agents.execution_intents_enabled`)
|
|
10974
|
+
*
|
|
10975
|
+
* Other agent fields: `name`, `description`, `shroud_enabled`, `shroud_config`, `system_prompt`,
|
|
10976
|
+
* `environment`, `signing_keys`, `provision_eoa`, `memory`, `runtime`, `default_llm_provider`.
|
|
10788
10977
|
*/
|
|
10789
10978
|
spec: Record<string, never>;
|
|
10790
10979
|
};
|
|
@@ -11271,6 +11460,11 @@ export interface components {
|
|
|
11271
11460
|
user_id: string;
|
|
11272
11461
|
status: string;
|
|
11273
11462
|
entitlement_status: string;
|
|
11463
|
+
/**
|
|
11464
|
+
* @description Billing tier granted to the end-user org when billing_model is platform_pays
|
|
11465
|
+
* (from template plan at bootstrap). Null when not provisioned.
|
|
11466
|
+
*/
|
|
11467
|
+
provisioned_tier?: string | null;
|
|
11274
11468
|
wallet_address?: string | null;
|
|
11275
11469
|
vault_ids: string[];
|
|
11276
11470
|
agent_ids: string[];
|
|
@@ -11390,6 +11584,30 @@ export interface components {
|
|
|
11390
11584
|
/** @description Number of WebAuthn passkeys registered for the calling user. */
|
|
11391
11585
|
registered_passkeys: number;
|
|
11392
11586
|
};
|
|
11587
|
+
PasskeyRegisterBeginResponse: {
|
|
11588
|
+
challenge?: string;
|
|
11589
|
+
rp_id?: string;
|
|
11590
|
+
rp_name?: string;
|
|
11591
|
+
user_id?: string;
|
|
11592
|
+
user_name?: string;
|
|
11593
|
+
user_display_name?: string;
|
|
11594
|
+
attestation?: string;
|
|
11595
|
+
authenticator_selection?: Record<string, never>;
|
|
11596
|
+
pub_key_cred_params?: Record<string, never>[];
|
|
11597
|
+
};
|
|
11598
|
+
PasskeyRegisterCompleteRequest: {
|
|
11599
|
+
credential_id: string;
|
|
11600
|
+
attestation_object: string;
|
|
11601
|
+
client_data_json: string;
|
|
11602
|
+
transports?: string[];
|
|
11603
|
+
name?: string;
|
|
11604
|
+
};
|
|
11605
|
+
PasskeyRegisterCompleteResponse: {
|
|
11606
|
+
/** Format: uuid */
|
|
11607
|
+
passkey_id?: string;
|
|
11608
|
+
credential_id?: string;
|
|
11609
|
+
name?: string;
|
|
11610
|
+
};
|
|
11393
11611
|
PasskeyTxAssertBeginRequest: {
|
|
11394
11612
|
/** @description 64-char hex SHA-256 of canonical send or swap params */
|
|
11395
11613
|
tx_digest: string;
|
|
@@ -12149,13 +12367,26 @@ export interface components {
|
|
|
12149
12367
|
public_tags?: string[];
|
|
12150
12368
|
};
|
|
12151
12369
|
SendChatMessageRequest: {
|
|
12152
|
-
message
|
|
12370
|
+
/** @description User message text. Optional when `messages` includes a user turn. */
|
|
12371
|
+
message?: string;
|
|
12153
12372
|
/** Format: uuid */
|
|
12154
12373
|
conversation_id?: string;
|
|
12155
12374
|
mode?: string;
|
|
12156
12375
|
model?: string;
|
|
12157
12376
|
provider?: string;
|
|
12377
|
+
/** @description Stored on new conversations when `conversation_id` is omitted. */
|
|
12158
12378
|
system_prompt?: string;
|
|
12379
|
+
/** @description Per-request system prompt alias (same precedence as `system_prompt_override`). */
|
|
12380
|
+
system?: string;
|
|
12381
|
+
/** @description Per-request override; highest precedence except inline `messages` system role. */
|
|
12382
|
+
system_prompt_override?: string;
|
|
12383
|
+
/** @description Optional OpenAI-shaped history. When set, used for LLM context instead of DB history. */
|
|
12384
|
+
messages?: {
|
|
12385
|
+
role: string;
|
|
12386
|
+
content: string;
|
|
12387
|
+
}[];
|
|
12388
|
+
llm_api_key_vault_id?: string;
|
|
12389
|
+
llm_api_key_path?: string;
|
|
12159
12390
|
};
|
|
12160
12391
|
ChatMessageResponse: {
|
|
12161
12392
|
/** Format: uuid */
|
|
@@ -17514,6 +17745,50 @@ export interface operations {
|
|
|
17514
17745
|
};
|
|
17515
17746
|
};
|
|
17516
17747
|
};
|
|
17748
|
+
getOnboardingStatus: {
|
|
17749
|
+
parameters: {
|
|
17750
|
+
query?: never;
|
|
17751
|
+
header?: never;
|
|
17752
|
+
path?: never;
|
|
17753
|
+
cookie?: never;
|
|
17754
|
+
};
|
|
17755
|
+
requestBody?: never;
|
|
17756
|
+
responses: {
|
|
17757
|
+
/** @description Onboarding status */
|
|
17758
|
+
200: {
|
|
17759
|
+
headers: {
|
|
17760
|
+
[name: string]: unknown;
|
|
17761
|
+
};
|
|
17762
|
+
content: {
|
|
17763
|
+
"application/json": components["schemas"]["OnboardingStatus"];
|
|
17764
|
+
};
|
|
17765
|
+
};
|
|
17766
|
+
};
|
|
17767
|
+
};
|
|
17768
|
+
provisionOnboarding: {
|
|
17769
|
+
parameters: {
|
|
17770
|
+
query?: never;
|
|
17771
|
+
header?: never;
|
|
17772
|
+
path?: never;
|
|
17773
|
+
cookie?: never;
|
|
17774
|
+
};
|
|
17775
|
+
requestBody?: {
|
|
17776
|
+
content: {
|
|
17777
|
+
"application/json": components["schemas"]["OnboardingProvisionRequest"];
|
|
17778
|
+
};
|
|
17779
|
+
};
|
|
17780
|
+
responses: {
|
|
17781
|
+
/** @description Provisioned resources */
|
|
17782
|
+
200: {
|
|
17783
|
+
headers: {
|
|
17784
|
+
[name: string]: unknown;
|
|
17785
|
+
};
|
|
17786
|
+
content: {
|
|
17787
|
+
"application/json": components["schemas"]["OnboardingProvisionResponse"];
|
|
17788
|
+
};
|
|
17789
|
+
};
|
|
17790
|
+
};
|
|
17791
|
+
};
|
|
17517
17792
|
getOrgStatus: {
|
|
17518
17793
|
parameters: {
|
|
17519
17794
|
query?: never;
|
|
@@ -20113,6 +20388,71 @@ export interface operations {
|
|
|
20113
20388
|
};
|
|
20114
20389
|
};
|
|
20115
20390
|
};
|
|
20391
|
+
listConnectionSigningKeys: {
|
|
20392
|
+
parameters: {
|
|
20393
|
+
query?: {
|
|
20394
|
+
agent_id?: string;
|
|
20395
|
+
};
|
|
20396
|
+
header?: never;
|
|
20397
|
+
path: {
|
|
20398
|
+
connectionId: string;
|
|
20399
|
+
};
|
|
20400
|
+
cookie?: never;
|
|
20401
|
+
};
|
|
20402
|
+
requestBody?: never;
|
|
20403
|
+
responses: {
|
|
20404
|
+
/** @description Signing keys for the connection agent */
|
|
20405
|
+
200: {
|
|
20406
|
+
headers: {
|
|
20407
|
+
[name: string]: unknown;
|
|
20408
|
+
};
|
|
20409
|
+
content: {
|
|
20410
|
+
"application/json": components["schemas"]["ConnectionSigningKeyListResponse"];
|
|
20411
|
+
};
|
|
20412
|
+
};
|
|
20413
|
+
/** @description Multiple agents — agent_id required */
|
|
20414
|
+
400: {
|
|
20415
|
+
headers: {
|
|
20416
|
+
[name: string]: unknown;
|
|
20417
|
+
};
|
|
20418
|
+
content?: never;
|
|
20419
|
+
};
|
|
20420
|
+
404: components["responses"]["NotFound"];
|
|
20421
|
+
};
|
|
20422
|
+
};
|
|
20423
|
+
getConnectionSigningKey: {
|
|
20424
|
+
parameters: {
|
|
20425
|
+
query?: {
|
|
20426
|
+
agent_id?: string;
|
|
20427
|
+
};
|
|
20428
|
+
header?: never;
|
|
20429
|
+
path: {
|
|
20430
|
+
connectionId: string;
|
|
20431
|
+
chain: string;
|
|
20432
|
+
};
|
|
20433
|
+
cookie?: never;
|
|
20434
|
+
};
|
|
20435
|
+
requestBody?: never;
|
|
20436
|
+
responses: {
|
|
20437
|
+
/** @description Signing key metadata */
|
|
20438
|
+
200: {
|
|
20439
|
+
headers: {
|
|
20440
|
+
[name: string]: unknown;
|
|
20441
|
+
};
|
|
20442
|
+
content: {
|
|
20443
|
+
"application/json": components["schemas"]["ConnectionSigningKeyDetailResponse"];
|
|
20444
|
+
};
|
|
20445
|
+
};
|
|
20446
|
+
/** @description Multiple agents — agent_id required */
|
|
20447
|
+
400: {
|
|
20448
|
+
headers: {
|
|
20449
|
+
[name: string]: unknown;
|
|
20450
|
+
};
|
|
20451
|
+
content?: never;
|
|
20452
|
+
};
|
|
20453
|
+
404: components["responses"]["NotFound"];
|
|
20454
|
+
};
|
|
20455
|
+
};
|
|
20116
20456
|
deactivateConnectionSigningKey: {
|
|
20117
20457
|
parameters: {
|
|
20118
20458
|
query?: {
|
|
@@ -20172,6 +20512,81 @@ export interface operations {
|
|
|
20172
20512
|
404: components["responses"]["NotFound"];
|
|
20173
20513
|
};
|
|
20174
20514
|
};
|
|
20515
|
+
getConnectionRuntime: {
|
|
20516
|
+
parameters: {
|
|
20517
|
+
query?: never;
|
|
20518
|
+
header?: never;
|
|
20519
|
+
path: {
|
|
20520
|
+
connectionId: string;
|
|
20521
|
+
runtimeId: string;
|
|
20522
|
+
};
|
|
20523
|
+
cookie?: never;
|
|
20524
|
+
};
|
|
20525
|
+
requestBody?: never;
|
|
20526
|
+
responses: {
|
|
20527
|
+
/** @description Runtime details */
|
|
20528
|
+
200: {
|
|
20529
|
+
headers: {
|
|
20530
|
+
[name: string]: unknown;
|
|
20531
|
+
};
|
|
20532
|
+
content: {
|
|
20533
|
+
"application/json": components["schemas"]["RuntimeResponse"];
|
|
20534
|
+
};
|
|
20535
|
+
};
|
|
20536
|
+
404: components["responses"]["NotFound"];
|
|
20537
|
+
};
|
|
20538
|
+
};
|
|
20539
|
+
connectionPasskeyEnrollBegin: {
|
|
20540
|
+
parameters: {
|
|
20541
|
+
query?: never;
|
|
20542
|
+
header?: never;
|
|
20543
|
+
path: {
|
|
20544
|
+
connectionId: string;
|
|
20545
|
+
};
|
|
20546
|
+
cookie?: never;
|
|
20547
|
+
};
|
|
20548
|
+
requestBody?: never;
|
|
20549
|
+
responses: {
|
|
20550
|
+
/** @description WebAuthn registration ceremony options */
|
|
20551
|
+
200: {
|
|
20552
|
+
headers: {
|
|
20553
|
+
[name: string]: unknown;
|
|
20554
|
+
};
|
|
20555
|
+
content: {
|
|
20556
|
+
"application/json": components["schemas"]["PasskeyRegisterBeginResponse"];
|
|
20557
|
+
};
|
|
20558
|
+
};
|
|
20559
|
+
404: components["responses"]["NotFound"];
|
|
20560
|
+
};
|
|
20561
|
+
};
|
|
20562
|
+
connectionPasskeyEnrollComplete: {
|
|
20563
|
+
parameters: {
|
|
20564
|
+
query?: never;
|
|
20565
|
+
header?: never;
|
|
20566
|
+
path: {
|
|
20567
|
+
connectionId: string;
|
|
20568
|
+
};
|
|
20569
|
+
cookie?: never;
|
|
20570
|
+
};
|
|
20571
|
+
requestBody: {
|
|
20572
|
+
content: {
|
|
20573
|
+
"application/json": components["schemas"]["PasskeyRegisterCompleteRequest"];
|
|
20574
|
+
};
|
|
20575
|
+
};
|
|
20576
|
+
responses: {
|
|
20577
|
+
/** @description Passkey registered */
|
|
20578
|
+
201: {
|
|
20579
|
+
headers: {
|
|
20580
|
+
[name: string]: unknown;
|
|
20581
|
+
};
|
|
20582
|
+
content: {
|
|
20583
|
+
"application/json": components["schemas"]["PasskeyRegisterCompleteResponse"];
|
|
20584
|
+
};
|
|
20585
|
+
};
|
|
20586
|
+
400: components["responses"]["BadRequest"];
|
|
20587
|
+
404: components["responses"]["NotFound"];
|
|
20588
|
+
};
|
|
20589
|
+
};
|
|
20175
20590
|
connectionAgentChat: {
|
|
20176
20591
|
parameters: {
|
|
20177
20592
|
query?: never;
|
|
@@ -20195,6 +20610,13 @@ export interface operations {
|
|
|
20195
20610
|
};
|
|
20196
20611
|
content?: never;
|
|
20197
20612
|
};
|
|
20613
|
+
/** @description Payment required (LLM billing / inference allowance) */
|
|
20614
|
+
402: {
|
|
20615
|
+
headers: {
|
|
20616
|
+
[name: string]: unknown;
|
|
20617
|
+
};
|
|
20618
|
+
content?: never;
|
|
20619
|
+
};
|
|
20198
20620
|
403: components["responses"]["Forbidden"];
|
|
20199
20621
|
404: components["responses"]["NotFound"];
|
|
20200
20622
|
};
|