@1claw/openapi-spec 0.59.0 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- # @1claw/openapi-spec (v0.58.0)
1
+ # @1claw/openapi-spec (v0.59.2)
2
2
 
3
3
  OpenAPI 3.1.0 specification for the [1Claw Vault API](https://1claw.xyz). Use this package to generate API clients in any language.
4
4
 
package/openapi.json CHANGED
@@ -6218,6 +6218,60 @@
6218
6218
  }
6219
6219
  }
6220
6220
  },
6221
+ "/v1/org/onboarding/status": {
6222
+ "get": {
6223
+ "tags": [
6224
+ "Organization"
6225
+ ],
6226
+ "summary": "Onboarding funnel status",
6227
+ "description": "Returns welcome-bundle and MCP connection progress for the connect wizard.",
6228
+ "operationId": "getOnboardingStatus",
6229
+ "responses": {
6230
+ "200": {
6231
+ "description": "Onboarding status",
6232
+ "content": {
6233
+ "application/json": {
6234
+ "schema": {
6235
+ "$ref": "#/components/schemas/OnboardingStatus"
6236
+ }
6237
+ }
6238
+ }
6239
+ }
6240
+ }
6241
+ }
6242
+ },
6243
+ "/v1/onboarding/provision": {
6244
+ "post": {
6245
+ "tags": [
6246
+ "Organization"
6247
+ ],
6248
+ "summary": "Provision MCP onboarding bundle",
6249
+ "description": "Creates welcome vault + sample secret, MCP agent, and default ** policy. Returns one-time API key and stdio MCP config.",
6250
+ "operationId": "provisionOnboarding",
6251
+ "requestBody": {
6252
+ "required": false,
6253
+ "content": {
6254
+ "application/json": {
6255
+ "schema": {
6256
+ "$ref": "#/components/schemas/OnboardingProvisionRequest"
6257
+ }
6258
+ }
6259
+ }
6260
+ },
6261
+ "responses": {
6262
+ "200": {
6263
+ "description": "Provisioned resources",
6264
+ "content": {
6265
+ "application/json": {
6266
+ "schema": {
6267
+ "$ref": "#/components/schemas/OnboardingProvisionResponse"
6268
+ }
6269
+ }
6270
+ }
6271
+ }
6272
+ }
6273
+ }
6274
+ },
6221
6275
  "/v1/org/status": {
6222
6276
  "get": {
6223
6277
  "tags": [
@@ -11821,7 +11875,119 @@
11821
11875
  }
11822
11876
  }
11823
11877
  },
11878
+ "/v1/platform/connections/{connectionId}/signing-keys": {
11879
+ "get": {
11880
+ "tags": [
11881
+ "Platform"
11882
+ ],
11883
+ "summary": "List signing keys for a connection agent",
11884
+ "description": "Returns public signing-key metadata (chain, address, public_key, curve) for\nagent(s) provisioned on the connection. Never includes private keys.\nWhen multiple agents exist, pass `agent_id` query param. plt_ auth only.\n",
11885
+ "operationId": "listConnectionSigningKeys",
11886
+ "security": [
11887
+ {
11888
+ "BearerAuth": []
11889
+ }
11890
+ ],
11891
+ "parameters": [
11892
+ {
11893
+ "in": "path",
11894
+ "name": "connectionId",
11895
+ "required": true,
11896
+ "schema": {
11897
+ "type": "string",
11898
+ "format": "uuid"
11899
+ }
11900
+ },
11901
+ {
11902
+ "in": "query",
11903
+ "name": "agent_id",
11904
+ "required": false,
11905
+ "schema": {
11906
+ "type": "string",
11907
+ "format": "uuid"
11908
+ }
11909
+ }
11910
+ ],
11911
+ "responses": {
11912
+ "200": {
11913
+ "description": "Signing keys for the connection agent",
11914
+ "content": {
11915
+ "application/json": {
11916
+ "schema": {
11917
+ "$ref": "#/components/schemas/ConnectionSigningKeyListResponse"
11918
+ }
11919
+ }
11920
+ }
11921
+ },
11922
+ "400": {
11923
+ "description": "Multiple agents — agent_id required"
11924
+ },
11925
+ "404": {
11926
+ "$ref": "#/components/responses/NotFound"
11927
+ }
11928
+ }
11929
+ }
11930
+ },
11824
11931
  "/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
11932
+ "get": {
11933
+ "tags": [
11934
+ "Platform"
11935
+ ],
11936
+ "summary": "Get a signing key for a connection agent by chain",
11937
+ "description": "Returns public signing-key metadata for one chain on a connection agent.\nNever includes private keys. plt_ auth only.\n",
11938
+ "operationId": "getConnectionSigningKey",
11939
+ "security": [
11940
+ {
11941
+ "BearerAuth": []
11942
+ }
11943
+ ],
11944
+ "parameters": [
11945
+ {
11946
+ "in": "path",
11947
+ "name": "connectionId",
11948
+ "required": true,
11949
+ "schema": {
11950
+ "type": "string",
11951
+ "format": "uuid"
11952
+ }
11953
+ },
11954
+ {
11955
+ "in": "path",
11956
+ "name": "chain",
11957
+ "required": true,
11958
+ "schema": {
11959
+ "type": "string"
11960
+ }
11961
+ },
11962
+ {
11963
+ "in": "query",
11964
+ "name": "agent_id",
11965
+ "required": false,
11966
+ "schema": {
11967
+ "type": "string",
11968
+ "format": "uuid"
11969
+ }
11970
+ }
11971
+ ],
11972
+ "responses": {
11973
+ "200": {
11974
+ "description": "Signing key metadata",
11975
+ "content": {
11976
+ "application/json": {
11977
+ "schema": {
11978
+ "$ref": "#/components/schemas/ConnectionSigningKeyDetailResponse"
11979
+ }
11980
+ }
11981
+ }
11982
+ },
11983
+ "400": {
11984
+ "description": "Multiple agents — agent_id required"
11985
+ },
11986
+ "404": {
11987
+ "$ref": "#/components/responses/NotFound"
11988
+ }
11989
+ }
11990
+ },
11825
11991
  "delete": {
11826
11992
  "tags": [
11827
11993
  "Platform"
@@ -22758,6 +22924,59 @@
22758
22924
  }
22759
22925
  }
22760
22926
  },
22927
+ "ConnectionSigningKeyPublic": {
22928
+ "type": "object",
22929
+ "properties": {
22930
+ "chain": {
22931
+ "type": "string"
22932
+ },
22933
+ "address": {
22934
+ "type": "string"
22935
+ },
22936
+ "public_key": {
22937
+ "type": "string"
22938
+ },
22939
+ "curve": {
22940
+ "type": "string"
22941
+ }
22942
+ }
22943
+ },
22944
+ "ConnectionSigningKeyListResponse": {
22945
+ "type": "object",
22946
+ "properties": {
22947
+ "agent_id": {
22948
+ "type": "string",
22949
+ "format": "uuid"
22950
+ },
22951
+ "keys": {
22952
+ "type": "array",
22953
+ "items": {
22954
+ "$ref": "#/components/schemas/ConnectionSigningKeyPublic"
22955
+ }
22956
+ }
22957
+ }
22958
+ },
22959
+ "ConnectionSigningKeyDetailResponse": {
22960
+ "type": "object",
22961
+ "properties": {
22962
+ "agent_id": {
22963
+ "type": "string",
22964
+ "format": "uuid"
22965
+ },
22966
+ "chain": {
22967
+ "type": "string"
22968
+ },
22969
+ "address": {
22970
+ "type": "string"
22971
+ },
22972
+ "public_key": {
22973
+ "type": "string"
22974
+ },
22975
+ "curve": {
22976
+ "type": "string"
22977
+ }
22978
+ }
22979
+ },
22761
22980
  "LeaseBankrKeyRequest": {
22762
22981
  "type": "object",
22763
22982
  "properties": {
@@ -23725,6 +23944,82 @@
23725
23944
  }
23726
23945
  }
23727
23946
  },
23947
+ "OnboardingStatus": {
23948
+ "type": "object",
23949
+ "required": [
23950
+ "has_vault",
23951
+ "has_agent",
23952
+ "has_policy",
23953
+ "has_sample_secret",
23954
+ "first_secret_read",
23955
+ "welcome_bundle_complete"
23956
+ ],
23957
+ "properties": {
23958
+ "has_vault": {
23959
+ "type": "boolean"
23960
+ },
23961
+ "has_agent": {
23962
+ "type": "boolean"
23963
+ },
23964
+ "has_policy": {
23965
+ "type": "boolean"
23966
+ },
23967
+ "has_sample_secret": {
23968
+ "type": "boolean"
23969
+ },
23970
+ "first_secret_read": {
23971
+ "type": "boolean"
23972
+ },
23973
+ "welcome_bundle_complete": {
23974
+ "type": "boolean"
23975
+ },
23976
+ "default_vault_id": {
23977
+ "type": "string",
23978
+ "format": "uuid",
23979
+ "nullable": true
23980
+ }
23981
+ }
23982
+ },
23983
+ "OnboardingProvisionRequest": {
23984
+ "type": "object",
23985
+ "properties": {
23986
+ "agent_name": {
23987
+ "type": "string"
23988
+ },
23989
+ "client": {
23990
+ "type": "string"
23991
+ }
23992
+ }
23993
+ },
23994
+ "OnboardingProvisionResponse": {
23995
+ "type": "object",
23996
+ "required": [
23997
+ "agent_id",
23998
+ "api_key",
23999
+ "vault_id",
24000
+ "mcp_stdio_config",
24001
+ "verify_prompt"
24002
+ ],
24003
+ "properties": {
24004
+ "agent_id": {
24005
+ "type": "string",
24006
+ "format": "uuid"
24007
+ },
24008
+ "api_key": {
24009
+ "type": "string"
24010
+ },
24011
+ "vault_id": {
24012
+ "type": "string",
24013
+ "format": "uuid"
24014
+ },
24015
+ "mcp_stdio_config": {
24016
+ "type": "object"
24017
+ },
24018
+ "verify_prompt": {
24019
+ "type": "string"
24020
+ }
24021
+ }
24022
+ },
23728
24023
  "AgentKeysVaultResponse": {
23729
24024
  "type": "object",
23730
24025
  "properties": {
@@ -25915,6 +26210,11 @@
25915
26210
  "format": "date-time",
25916
26211
  "nullable": true,
25917
26212
  "description": "Optional expiration time for the platform API key. Set to null to clear."
26213
+ },
26214
+ "siwe_domain": {
26215
+ "type": "string",
26216
+ "nullable": true,
26217
+ "description": "Hostname allowed in SIWE messages for wallet sign-in (EIP-4361)."
25918
26218
  }
25919
26219
  }
25920
26220
  },
@@ -26055,6 +26355,11 @@
26055
26355
  "nullable": true,
26056
26356
  "description": "When the platform API key was last rotated."
26057
26357
  },
26358
+ "siwe_domain": {
26359
+ "type": "string",
26360
+ "nullable": true,
26361
+ "description": "Hostname allowed in SIWE messages for wallet sign-in (EIP-4361)."
26362
+ },
26058
26363
  "created_at": {
26059
26364
  "type": "string",
26060
26365
  "format": "date-time"
@@ -26099,7 +26404,7 @@
26099
26404
  },
26100
26405
  "spec": {
26101
26406
  "type": "object",
26102
- "description": "Template specification defining vault, agents, policies, and signing keys to bootstrap.\nTop-level fields: `vault` (object with name, description), `agents` (array of agent specs\nwith name, description, shroud_enabled, intents, shroud_config), `policies` (array with\nvault_ref, principal_ref, paths, permissions, conditions), and `signing_keys` (array of\n`{ chain }` objects — supported chains: ethereum, bitcoin, solana, xrp, cardano, tron).\nWhen `signing_keys` is present, HSM-backed signing keys are auto-provisioned for the\nbootstrapped agent.\n"
26407
+ "description": "Template specification defining vault, agents, policies, and signing keys to bootstrap.\nTop-level fields: `vault` (object with name, description), `agents` (array of agent specs),\n`policies` (array with vault_ref, principal_ref, paths, permissions, conditions), and\n`signing_keys` (array of `{ chain }` objects — supported chains: ethereum, bitcoin, solana,\nxrp, cardano, tron). When `signing_keys` is present, HSM-backed signing keys are\nauto-provisioned for the bootstrapped agent.\n\nEach agent entry accepts Intents API and Execution Intents flags under any of these aliases\n(direct API field name, boolean shorthand, or `{ enabled: true }` object):\n- Intents API → `intents_api_enabled`, `intents: true`, or `intents: { enabled: true }`\n (maps to `agents.intents_api_enabled`)\n- Execution Intents → `execution_intents_enabled`, `execution: true`, or\n `execution: { enabled: true }` (maps to `agents.execution_intents_enabled`)\n\nOther agent fields: `name`, `description`, `shroud_enabled`, `shroud_config`, `system_prompt`,\n`environment`, `signing_keys`, `provision_eoa`, `memory`, `runtime`, `default_llm_provider`.\n"
26103
26408
  }
26104
26409
  }
26105
26410
  },
package/openapi.yaml CHANGED
@@ -4018,6 +4018,40 @@ paths:
4018
4018
  "404":
4019
4019
  description: Agent-keys vault not found
4020
4020
 
4021
+ /v1/org/onboarding/status:
4022
+ get:
4023
+ tags: [Organization]
4024
+ summary: Onboarding funnel status
4025
+ description: Returns welcome-bundle and MCP connection progress for the connect wizard.
4026
+ operationId: getOnboardingStatus
4027
+ responses:
4028
+ "200":
4029
+ description: Onboarding status
4030
+ content:
4031
+ application/json:
4032
+ schema:
4033
+ $ref: "#/components/schemas/OnboardingStatus"
4034
+
4035
+ /v1/onboarding/provision:
4036
+ post:
4037
+ tags: [Organization]
4038
+ summary: Provision MCP onboarding bundle
4039
+ description: Creates welcome vault + sample secret, MCP agent, and default ** policy. Returns one-time API key and stdio MCP config.
4040
+ operationId: provisionOnboarding
4041
+ requestBody:
4042
+ required: false
4043
+ content:
4044
+ application/json:
4045
+ schema:
4046
+ $ref: "#/components/schemas/OnboardingProvisionRequest"
4047
+ responses:
4048
+ "200":
4049
+ description: Provisioned resources
4050
+ content:
4051
+ application/json:
4052
+ schema:
4053
+ $ref: "#/components/schemas/OnboardingProvisionResponse"
4054
+
4021
4055
  /v1/org/status:
4022
4056
  get:
4023
4057
  tags: [Organization]
@@ -7578,7 +7612,81 @@ paths:
7578
7612
  "409":
7579
7613
  description: Already decided
7580
7614
 
7615
+ /v1/platform/connections/{connectionId}/signing-keys:
7616
+ get:
7617
+ tags: [Platform]
7618
+ summary: List signing keys for a connection agent
7619
+ description: |
7620
+ Returns public signing-key metadata (chain, address, public_key, curve) for
7621
+ agent(s) provisioned on the connection. Never includes private keys.
7622
+ When multiple agents exist, pass `agent_id` query param. plt_ auth only.
7623
+ operationId: listConnectionSigningKeys
7624
+ security:
7625
+ - BearerAuth: []
7626
+ parameters:
7627
+ - in: path
7628
+ name: connectionId
7629
+ required: true
7630
+ schema:
7631
+ type: string
7632
+ format: uuid
7633
+ - in: query
7634
+ name: agent_id
7635
+ required: false
7636
+ schema:
7637
+ type: string
7638
+ format: uuid
7639
+ responses:
7640
+ "200":
7641
+ description: Signing keys for the connection agent
7642
+ content:
7643
+ application/json:
7644
+ schema:
7645
+ $ref: "#/components/schemas/ConnectionSigningKeyListResponse"
7646
+ "400":
7647
+ description: Multiple agents — agent_id required
7648
+ "404":
7649
+ $ref: "#/components/responses/NotFound"
7650
+
7581
7651
  /v1/platform/connections/{connectionId}/signing-keys/{chain}:
7652
+ get:
7653
+ tags: [Platform]
7654
+ summary: Get a signing key for a connection agent by chain
7655
+ description: |
7656
+ Returns public signing-key metadata for one chain on a connection agent.
7657
+ Never includes private keys. plt_ auth only.
7658
+ operationId: getConnectionSigningKey
7659
+ security:
7660
+ - BearerAuth: []
7661
+ parameters:
7662
+ - in: path
7663
+ name: connectionId
7664
+ required: true
7665
+ schema:
7666
+ type: string
7667
+ format: uuid
7668
+ - in: path
7669
+ name: chain
7670
+ required: true
7671
+ schema:
7672
+ type: string
7673
+ - in: query
7674
+ name: agent_id
7675
+ required: false
7676
+ schema:
7677
+ type: string
7678
+ format: uuid
7679
+ responses:
7680
+ "200":
7681
+ description: Signing key metadata
7682
+ content:
7683
+ application/json:
7684
+ schema:
7685
+ $ref: "#/components/schemas/ConnectionSigningKeyDetailResponse"
7686
+ "400":
7687
+ description: Multiple agents — agent_id required
7688
+ "404":
7689
+ $ref: "#/components/responses/NotFound"
7582
7690
  delete:
7583
7691
  tags: [Platform]
7584
7692
  summary: Deactivate a signing key for a connection agent
@@ -14813,6 +14921,44 @@ components:
14813
14921
  items:
14814
14922
  $ref: "#/components/schemas/SigningKeyResponse"
14815
14923
 
14924
+ ConnectionSigningKeyPublic:
14925
+ type: object
14926
+ properties:
14927
+ chain:
14928
+ type: string
14929
+ address:
14930
+ type: string
14931
+ public_key:
14932
+ type: string
14933
+ curve:
14934
+ type: string
14935
+
14936
+ ConnectionSigningKeyListResponse:
14937
+ type: object
14938
+ properties:
14939
+ agent_id:
14940
+ type: string
14941
+ format: uuid
14942
+ keys:
14943
+ type: array
14944
+ items:
14945
+ $ref: "#/components/schemas/ConnectionSigningKeyPublic"
14946
+
14947
+ ConnectionSigningKeyDetailResponse:
14948
+ type: object
14949
+ properties:
14950
+ agent_id:
14951
+ type: string
14952
+ format: uuid
14953
+ chain:
14954
+ type: string
14955
+ address:
14956
+ type: string
14957
+ public_key:
14958
+ type: string
14959
+ curve:
14960
+ type: string
14961
+
14816
14962
  # Bankr Dynamic Key Vending
14817
14963
  LeaseBankrKeyRequest:
14818
14964
  type: object
@@ -15512,6 +15658,58 @@ components:
15512
15658
  email:
15513
15659
  type: string
15514
15660
 
15661
+ OnboardingStatus:
15662
+ type: object
15663
+ required:
15664
+ - has_vault
15665
+ - has_agent
15666
+ - has_policy
15667
+ - has_sample_secret
15668
+ - first_secret_read
15669
+ - welcome_bundle_complete
15670
+ properties:
15671
+ has_vault:
15672
+ type: boolean
15673
+ has_agent:
15674
+ type: boolean
15675
+ has_policy:
15676
+ type: boolean
15677
+ has_sample_secret:
15678
+ type: boolean
15679
+ first_secret_read:
15680
+ type: boolean
15681
+ welcome_bundle_complete:
15682
+ type: boolean
15683
+ default_vault_id:
15684
+ type: string
15685
+ format: uuid
15686
+ nullable: true
15687
+
15688
+ OnboardingProvisionRequest:
15689
+ type: object
15690
+ properties:
15691
+ agent_name:
15692
+ type: string
15693
+ client:
15694
+ type: string
15695
+
15696
+ OnboardingProvisionResponse:
15697
+ type: object
15698
+ required: [agent_id, api_key, vault_id, mcp_stdio_config, verify_prompt]
15699
+ properties:
15700
+ agent_id:
15701
+ type: string
15702
+ format: uuid
15703
+ api_key:
15704
+ type: string
15705
+ vault_id:
15706
+ type: string
15707
+ format: uuid
15708
+ mcp_stdio_config:
15709
+ type: object
15710
+ verify_prompt:
15711
+ type: string
15712
+
15515
15713
  AgentKeysVaultResponse:
15516
15714
  type: object
15517
15715
  properties:
@@ -17011,6 +17209,10 @@ components:
17011
17209
  format: date-time
17012
17210
  nullable: true
17013
17211
  description: Optional expiration time for the platform API key. Set to null to clear.
17212
+ siwe_domain:
17213
+ type: string
17214
+ nullable: true
17215
+ description: Hostname allowed in SIWE messages for wallet sign-in (EIP-4361).
17014
17216
 
17015
17217
  PlatformAppDeleteResponse:
17016
17218
  type: object
@@ -17107,6 +17309,10 @@ components:
17107
17309
  format: date-time
17108
17310
  nullable: true
17109
17311
  description: When the platform API key was last rotated.
17312
+ siwe_domain:
17313
+ type: string
17314
+ nullable: true
17315
+ description: Hostname allowed in SIWE messages for wallet sign-in (EIP-4361).
17110
17316
  created_at:
17111
17317
  type: string
17112
17318
  format: date-time
@@ -17136,12 +17342,21 @@ components:
17136
17342
  type: object
17137
17343
  description: |
17138
17344
  Template specification defining vault, agents, policies, and signing keys to bootstrap.
17139
- Top-level fields: `vault` (object with name, description), `agents` (array of agent specs
17140
- with name, description, shroud_enabled, intents, shroud_config), `policies` (array with
17141
- vault_ref, principal_ref, paths, permissions, conditions), and `signing_keys` (array of
17142
- `{ chain }` objects supported chains: ethereum, bitcoin, solana, xrp, cardano, tron).
17143
- When `signing_keys` is present, HSM-backed signing keys are auto-provisioned for the
17144
- bootstrapped agent.
17345
+ Top-level fields: `vault` (object with name, description), `agents` (array of agent specs),
17346
+ `policies` (array with vault_ref, principal_ref, paths, permissions, conditions), and
17347
+ `signing_keys` (array of `{ chain }` objects — supported chains: ethereum, bitcoin, solana,
17348
+ xrp, cardano, tron). When `signing_keys` is present, HSM-backed signing keys are
17349
+ auto-provisioned for the bootstrapped agent.
17350
+
17351
+ Each agent entry accepts Intents API and Execution Intents flags under any of these aliases
17352
+ (direct API field name, boolean shorthand, or `{ enabled: true }` object):
17353
+ - Intents API → `intents_api_enabled`, `intents: true`, or `intents: { enabled: true }`
17354
+ (maps to `agents.intents_api_enabled`)
17355
+ - Execution Intents → `execution_intents_enabled`, `execution: true`, or
17356
+ `execution: { enabled: true }` (maps to `agents.execution_intents_enabled`)
17357
+
17358
+ Other agent fields: `name`, `description`, `shroud_enabled`, `shroud_config`, `system_prompt`,
17359
+ `environment`, `signing_keys`, `provision_eoa`, `memory`, `runtime`, `default_llm_provider`.
17145
17360
 
17146
17361
  PlatformTemplateResponse:
17147
17362
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.59.0",
3
+ "version": "0.59.2",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API — generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {