@1claw/openapi-spec 0.61.0 → 0.61.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.
Files changed (3) hide show
  1. package/openapi.json +178 -8
  2. package/openapi.yaml +149 -6
  3. package/package.json +1 -1
package/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "1Claw API",
5
- "version": "0.61.0",
5
+ "version": "0.61.2",
6
6
  "description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging. Automations (workflow_spec,\nwebhook tokens, event triggers, Assist), cloud runtimes with\ninteractive shell sessions, agent memory, and discovery.\n\n## Domains\n\n`api.1claw.co` is canonical: it is the OIDC issuer, the `aud` the API\nmints, and the first entry in `servers` — a generated client takes its\nbase URL from there, and the previous ordering pointed every SDK at the\ndomain the issuer had already left. `api.1claw.xyz` still answers and is\nstill accepted on token validation, because tokens minted before the\nmove carry it; it is never minted now.\n\nOne deliberate exception: the Shroud attestation identity token is\nrequested from GCP with `audience: https://api.1claw.xyz`, so\n`/v1/shroud/attestation` reports that as its `expected_audience`. That\nis accurate rather than stale — the audience is a verification contract\nwith anyone already checking the token, and moving it is a breaking\nchange for them, not a rename.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
7
7
  "contact": {
8
8
  "email": "ops@1claw.co"
@@ -26896,17 +26896,25 @@
26896
26896
  },
26897
26897
  "AgentTokenRequest": {
26898
26898
  "type": "object",
26899
- "required": [
26900
- "api_key"
26901
- ],
26899
+ "description": "Exactly one credential, decided by the agent's auth_method: api_key for api_key agents, oidc_token for oidc_client_credentials agents. mTLS agents send neither and present a client certificate through the TLS terminator.",
26902
26900
  "properties": {
26903
26901
  "agent_id": {
26904
26902
  "type": "string",
26905
26903
  "format": "uuid",
26906
- "description": "Optional when using key-only auth (ocv_ keys auto-resolve agent)"
26904
+ "description": "Optional for api_key agents (ocv_ keys auto-resolve from their prefix). Required for OIDC and mTLS agents, which have no key to look up by."
26907
26905
  },
26908
26906
  "api_key": {
26909
- "type": "string"
26907
+ "type": "string",
26908
+ "description": "The ocv_ key, for auth_method api_key."
26909
+ },
26910
+ "oidc_token": {
26911
+ "type": "string",
26912
+ "description": "Token minted by the agent's OIDC provider, for auth_method oidc_client_credentials. Verified against the issuer and audience on the agent record, so nothing long-lived is stored where the agent runs."
26913
+ },
26914
+ "dpop_jwk": {
26915
+ "type": "object",
26916
+ "additionalProperties": true,
26917
+ "description": "Optional DPoP public key (JWK) binding the issued JWT to a client keypair."
26910
26918
  }
26911
26919
  }
26912
26920
  },
@@ -28049,6 +28057,57 @@
28049
28057
  "name"
28050
28058
  ],
28051
28059
  "properties": {
28060
+ "default_llm_provider": {
28061
+ "type": "string",
28062
+ "description": "Default LLM provider for automations and Shroud."
28063
+ },
28064
+ "default_llm_model": {
28065
+ "type": "string",
28066
+ "description": "Default LLM model for automations and Shroud."
28067
+ },
28068
+ "discoverable": {
28069
+ "type": "boolean",
28070
+ "description": "List this agent in the cross-org agent directory."
28071
+ },
28072
+ "public_description": {
28073
+ "type": "string",
28074
+ "description": "Description shown on the public directory listing."
28075
+ },
28076
+ "public_tags": {
28077
+ "type": "array",
28078
+ "items": {
28079
+ "type": "string"
28080
+ },
28081
+ "description": "Tags shown on the public directory listing."
28082
+ },
28083
+ "skip_default_policy": {
28084
+ "type": "boolean",
28085
+ "description": "Skip creating the default access policy for this agent."
28086
+ },
28087
+ "address_screening_policy": {
28088
+ "type": "object",
28089
+ "additionalProperties": true,
28090
+ "description": "Address screening policy applied to transaction recipients."
28091
+ },
28092
+ "memory_enabled": {
28093
+ "type": "boolean",
28094
+ "description": "Enable durable key-value and semantic memory for this agent. Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key} will accept a write; without it that endpoint returns 403."
28095
+ },
28096
+ "memory_namespace_allowlist": {
28097
+ "type": "array",
28098
+ "items": {
28099
+ "type": "string"
28100
+ },
28101
+ "description": "Namespaces this agent may use. Empty or omitted means unrestricted."
28102
+ },
28103
+ "memory_max_entry_bytes": {
28104
+ "type": [
28105
+ "integer",
28106
+ "null"
28107
+ ],
28108
+ "format": "int32",
28109
+ "description": "Maximum size of a single memory entry value. Null uses the platform default (64 KiB)."
28110
+ },
28052
28111
  "name": {
28053
28112
  "type": "string"
28054
28113
  },
@@ -28351,6 +28410,96 @@
28351
28410
  "UpdateAgentRequest": {
28352
28411
  "type": "object",
28353
28412
  "properties": {
28413
+ "smart_account_address": {
28414
+ "type": "string",
28415
+ "description": "Smart account address associated with this agent."
28416
+ },
28417
+ "smart_account_chain": {
28418
+ "type": "string",
28419
+ "description": "Chain name for the smart account."
28420
+ },
28421
+ "smart_account_chain_id": {
28422
+ "type": "integer",
28423
+ "format": "int32",
28424
+ "description": "EVM chain id for the smart account."
28425
+ },
28426
+ "smart_account_nonce": {
28427
+ "type": "string",
28428
+ "description": "Smart account deployment nonce."
28429
+ },
28430
+ "smart_account_init_data": {
28431
+ "type": "object",
28432
+ "additionalProperties": true,
28433
+ "description": "Smart account initialisation data."
28434
+ },
28435
+ "message_signing_enabled": {
28436
+ "type": "boolean",
28437
+ "description": "Allow this agent to sign arbitrary messages."
28438
+ },
28439
+ "eip712_domain_allowlist": {
28440
+ "type": "object",
28441
+ "additionalProperties": true,
28442
+ "description": "EIP-712 domains this agent may sign under."
28443
+ },
28444
+ "eip712_default_policy": {
28445
+ "type": "string",
28446
+ "description": "Default policy applied to EIP-712 signing requests."
28447
+ },
28448
+ "raw_signing_enabled": {
28449
+ "type": "boolean",
28450
+ "description": "Allow this agent to sign raw digests."
28451
+ },
28452
+ "default_llm_provider": {
28453
+ "type": [
28454
+ "string",
28455
+ "null"
28456
+ ],
28457
+ "description": "Default LLM provider for automations and Shroud."
28458
+ },
28459
+ "default_llm_model": {
28460
+ "type": [
28461
+ "string",
28462
+ "null"
28463
+ ],
28464
+ "description": "Default LLM model for automations and Shroud."
28465
+ },
28466
+ "discoverable": {
28467
+ "type": "boolean",
28468
+ "description": "List this agent in the cross-org agent directory."
28469
+ },
28470
+ "public_description": {
28471
+ "type": [
28472
+ "string",
28473
+ "null"
28474
+ ],
28475
+ "description": "Description shown on the public directory listing."
28476
+ },
28477
+ "public_tags": {
28478
+ "type": "array",
28479
+ "items": {
28480
+ "type": "string"
28481
+ },
28482
+ "description": "Tags shown on the public directory listing."
28483
+ },
28484
+ "memory_enabled": {
28485
+ "type": "boolean",
28486
+ "description": "Enable durable key-value and semantic memory for this agent. Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key} will accept a write; without it that endpoint returns 403."
28487
+ },
28488
+ "memory_namespace_allowlist": {
28489
+ "type": "array",
28490
+ "items": {
28491
+ "type": "string"
28492
+ },
28493
+ "description": "Namespaces this agent may use. Empty or omitted means unrestricted."
28494
+ },
28495
+ "memory_max_entry_bytes": {
28496
+ "type": [
28497
+ "integer",
28498
+ "null"
28499
+ ],
28500
+ "format": "int32",
28501
+ "description": "Maximum size of a single memory entry value. Null uses the platform default (64 KiB)."
28502
+ },
28354
28503
  "name": {
28355
28504
  "type": "string"
28356
28505
  },
@@ -28665,6 +28814,25 @@
28665
28814
  "created_at"
28666
28815
  ],
28667
28816
  "properties": {
28817
+ "memory_enabled": {
28818
+ "type": "boolean",
28819
+ "description": "Whether durable key-value and semantic memory is enabled. Omitted when false: the server skips serializing this field unless it is true, so an absent key means disabled."
28820
+ },
28821
+ "memory_namespace_allowlist": {
28822
+ "type": "array",
28823
+ "items": {
28824
+ "type": "string"
28825
+ },
28826
+ "description": "Namespaces this agent may use. Omitted when empty, which means unrestricted."
28827
+ },
28828
+ "memory_max_entry_bytes": {
28829
+ "type": [
28830
+ "integer",
28831
+ "null"
28832
+ ],
28833
+ "format": "int32",
28834
+ "description": "Maximum size of a single memory entry value. Omitted when unset, which means the platform default (64 KiB)."
28835
+ },
28668
28836
  "id": {
28669
28837
  "type": "string",
28670
28838
  "format": "uuid"
@@ -38426,8 +38594,10 @@
38426
38594
  "type": "string"
38427
38595
  },
38428
38596
  "public_description": {
38429
- "type": "string",
38430
- "nullable": true
38597
+ "type": [
38598
+ "string",
38599
+ "null"
38600
+ ]
38431
38601
  },
38432
38602
  "public_tags": {
38433
38603
  "type": "array",
package/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
 
3
3
  info:
4
4
  title: 1Claw API
5
- version: "0.61.0"
5
+ version: "0.61.2"
6
6
  description: |
7
7
  Secure secret management for AI agents. Provides vaults, secrets,
8
8
  policy-based access control, agent identity, Intents API,
@@ -17267,15 +17267,35 @@ components:
17267
17267
 
17268
17268
  AgentTokenRequest:
17269
17269
  type: object
17270
- required: [api_key]
17270
+ description: >-
17271
+ Exactly one credential, decided by the agent's auth_method:
17272
+ api_key for api_key agents, oidc_token for
17273
+ oidc_client_credentials agents. mTLS agents send neither and
17274
+ present a client certificate through the TLS terminator.
17271
17275
  properties:
17272
17276
  agent_id:
17273
17277
  type: string
17274
17278
  format: uuid
17275
- description: Optional when using key-only auth (ocv_ keys auto-resolve agent)
17279
+ description: >-
17280
+ Optional for api_key agents (ocv_ keys auto-resolve from
17281
+ their prefix). Required for OIDC and mTLS agents, which
17282
+ have no key to look up by.
17276
17283
  api_key:
17277
17284
  type: string
17278
-
17285
+ description: The ocv_ key, for auth_method api_key.
17286
+ oidc_token:
17287
+ type: string
17288
+ description: >-
17289
+ Token minted by the agent's OIDC provider, for
17290
+ auth_method oidc_client_credentials. Verified against the
17291
+ issuer and audience on the agent record, so nothing
17292
+ long-lived is stored where the agent runs.
17293
+ dpop_jwk:
17294
+ type: object
17295
+ additionalProperties: true
17296
+ description: >-
17297
+ Optional DPoP public key (JWK) binding the issued JWT to
17298
+ a client keypair.
17279
17299
  UserApiKeyTokenRequest:
17280
17300
  type: object
17281
17301
  required: [api_key]
@@ -18083,6 +18103,47 @@ components:
18083
18103
  type: object
18084
18104
  required: [name]
18085
18105
  properties:
18106
+ default_llm_provider:
18107
+ type: string
18108
+ description: Default LLM provider for automations and Shroud.
18109
+ default_llm_model:
18110
+ type: string
18111
+ description: Default LLM model for automations and Shroud.
18112
+ discoverable:
18113
+ type: boolean
18114
+ description: List this agent in the cross-org agent directory.
18115
+ public_description:
18116
+ type: string
18117
+ description: Description shown on the public directory listing.
18118
+ public_tags:
18119
+ type: array
18120
+ items:
18121
+ type: string
18122
+ description: Tags shown on the public directory listing.
18123
+ skip_default_policy:
18124
+ type: boolean
18125
+ description: Skip creating the default access policy for this agent.
18126
+ address_screening_policy:
18127
+ type: object
18128
+ additionalProperties: true
18129
+ description: Address screening policy applied to transaction recipients.
18130
+ memory_enabled:
18131
+ type: boolean
18132
+ description: >-
18133
+ Enable durable key-value and semantic memory for this agent.
18134
+ Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key}
18135
+ will accept a write; without it that endpoint returns 403.
18136
+ memory_namespace_allowlist:
18137
+ type: array
18138
+ items:
18139
+ type: string
18140
+ description: Namespaces this agent may use. Empty or omitted means unrestricted.
18141
+ memory_max_entry_bytes:
18142
+ type: [integer, "null"]
18143
+ format: int32
18144
+ description: >-
18145
+ Maximum size of a single memory entry value. Null uses the
18146
+ platform default (64 KiB).
18086
18147
  name:
18087
18148
  type: string
18088
18149
  description:
@@ -18323,6 +18384,70 @@ components:
18323
18384
  UpdateAgentRequest:
18324
18385
  type: object
18325
18386
  properties:
18387
+ smart_account_address:
18388
+ type: string
18389
+ description: Smart account address associated with this agent.
18390
+ smart_account_chain:
18391
+ type: string
18392
+ description: Chain name for the smart account.
18393
+ smart_account_chain_id:
18394
+ type: integer
18395
+ format: int32
18396
+ description: EVM chain id for the smart account.
18397
+ smart_account_nonce:
18398
+ type: string
18399
+ description: Smart account deployment nonce.
18400
+ smart_account_init_data:
18401
+ type: object
18402
+ additionalProperties: true
18403
+ description: Smart account initialisation data.
18404
+ message_signing_enabled:
18405
+ type: boolean
18406
+ description: Allow this agent to sign arbitrary messages.
18407
+ eip712_domain_allowlist:
18408
+ type: object
18409
+ additionalProperties: true
18410
+ description: EIP-712 domains this agent may sign under.
18411
+ eip712_default_policy:
18412
+ type: string
18413
+ description: Default policy applied to EIP-712 signing requests.
18414
+ raw_signing_enabled:
18415
+ type: boolean
18416
+ description: Allow this agent to sign raw digests.
18417
+ default_llm_provider:
18418
+ type: [string, "null"]
18419
+ description: Default LLM provider for automations and Shroud.
18420
+ default_llm_model:
18421
+ type: [string, "null"]
18422
+ description: Default LLM model for automations and Shroud.
18423
+ discoverable:
18424
+ type: boolean
18425
+ description: List this agent in the cross-org agent directory.
18426
+ public_description:
18427
+ type: [string, "null"]
18428
+ description: Description shown on the public directory listing.
18429
+ public_tags:
18430
+ type: array
18431
+ items:
18432
+ type: string
18433
+ description: Tags shown on the public directory listing.
18434
+ memory_enabled:
18435
+ type: boolean
18436
+ description: >-
18437
+ Enable durable key-value and semantic memory for this agent.
18438
+ Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key}
18439
+ will accept a write; without it that endpoint returns 403.
18440
+ memory_namespace_allowlist:
18441
+ type: array
18442
+ items:
18443
+ type: string
18444
+ description: Namespaces this agent may use. Empty or omitted means unrestricted.
18445
+ memory_max_entry_bytes:
18446
+ type: [integer, "null"]
18447
+ format: int32
18448
+ description: >-
18449
+ Maximum size of a single memory entry value. Null uses the
18450
+ platform default (64 KiB).
18326
18451
  name:
18327
18452
  type: string
18328
18453
  scopes:
@@ -18586,6 +18711,25 @@ components:
18586
18711
  created_at,
18587
18712
  ]
18588
18713
  properties:
18714
+ memory_enabled:
18715
+ type: boolean
18716
+ description: >-
18717
+ Whether durable key-value and semantic memory is enabled.
18718
+ Omitted when false: the server skips serializing this field
18719
+ unless it is true, so an absent key means disabled.
18720
+ memory_namespace_allowlist:
18721
+ type: array
18722
+ items:
18723
+ type: string
18724
+ description: >-
18725
+ Namespaces this agent may use. Omitted when empty, which
18726
+ means unrestricted.
18727
+ memory_max_entry_bytes:
18728
+ type: [integer, "null"]
18729
+ format: int32
18730
+ description: >-
18731
+ Maximum size of a single memory entry value. Omitted when
18732
+ unset, which means the platform default (64 KiB).
18589
18733
  id:
18590
18734
  type: string
18591
18735
  format: uuid
@@ -25132,8 +25276,7 @@ components:
25132
25276
  name:
25133
25277
  type: string
25134
25278
  public_description:
25135
- type: string
25136
- nullable: true
25279
+ type: [string, "null"]
25137
25280
  public_tags:
25138
25281
  type: array
25139
25282
  items:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.61.0",
3
+ "version": "0.61.2",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API \u2014 generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {