@1claw/openapi-spec 0.61.0 → 0.61.1
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/openapi.json +165 -3
- package/openapi.yaml +126 -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.
|
|
5
|
+
"version": "0.61.1",
|
|
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"
|
|
@@ -28049,6 +28049,57 @@
|
|
|
28049
28049
|
"name"
|
|
28050
28050
|
],
|
|
28051
28051
|
"properties": {
|
|
28052
|
+
"default_llm_provider": {
|
|
28053
|
+
"type": "string",
|
|
28054
|
+
"description": "Default LLM provider for automations and Shroud."
|
|
28055
|
+
},
|
|
28056
|
+
"default_llm_model": {
|
|
28057
|
+
"type": "string",
|
|
28058
|
+
"description": "Default LLM model for automations and Shroud."
|
|
28059
|
+
},
|
|
28060
|
+
"discoverable": {
|
|
28061
|
+
"type": "boolean",
|
|
28062
|
+
"description": "List this agent in the cross-org agent directory."
|
|
28063
|
+
},
|
|
28064
|
+
"public_description": {
|
|
28065
|
+
"type": "string",
|
|
28066
|
+
"description": "Description shown on the public directory listing."
|
|
28067
|
+
},
|
|
28068
|
+
"public_tags": {
|
|
28069
|
+
"type": "array",
|
|
28070
|
+
"items": {
|
|
28071
|
+
"type": "string"
|
|
28072
|
+
},
|
|
28073
|
+
"description": "Tags shown on the public directory listing."
|
|
28074
|
+
},
|
|
28075
|
+
"skip_default_policy": {
|
|
28076
|
+
"type": "boolean",
|
|
28077
|
+
"description": "Skip creating the default access policy for this agent."
|
|
28078
|
+
},
|
|
28079
|
+
"address_screening_policy": {
|
|
28080
|
+
"type": "object",
|
|
28081
|
+
"additionalProperties": true,
|
|
28082
|
+
"description": "Address screening policy applied to transaction recipients."
|
|
28083
|
+
},
|
|
28084
|
+
"memory_enabled": {
|
|
28085
|
+
"type": "boolean",
|
|
28086
|
+
"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."
|
|
28087
|
+
},
|
|
28088
|
+
"memory_namespace_allowlist": {
|
|
28089
|
+
"type": "array",
|
|
28090
|
+
"items": {
|
|
28091
|
+
"type": "string"
|
|
28092
|
+
},
|
|
28093
|
+
"description": "Namespaces this agent may use. Empty or omitted means unrestricted."
|
|
28094
|
+
},
|
|
28095
|
+
"memory_max_entry_bytes": {
|
|
28096
|
+
"type": [
|
|
28097
|
+
"integer",
|
|
28098
|
+
"null"
|
|
28099
|
+
],
|
|
28100
|
+
"format": "int32",
|
|
28101
|
+
"description": "Maximum size of a single memory entry value. Null uses the platform default (64 KiB)."
|
|
28102
|
+
},
|
|
28052
28103
|
"name": {
|
|
28053
28104
|
"type": "string"
|
|
28054
28105
|
},
|
|
@@ -28351,6 +28402,96 @@
|
|
|
28351
28402
|
"UpdateAgentRequest": {
|
|
28352
28403
|
"type": "object",
|
|
28353
28404
|
"properties": {
|
|
28405
|
+
"smart_account_address": {
|
|
28406
|
+
"type": "string",
|
|
28407
|
+
"description": "Smart account address associated with this agent."
|
|
28408
|
+
},
|
|
28409
|
+
"smart_account_chain": {
|
|
28410
|
+
"type": "string",
|
|
28411
|
+
"description": "Chain name for the smart account."
|
|
28412
|
+
},
|
|
28413
|
+
"smart_account_chain_id": {
|
|
28414
|
+
"type": "integer",
|
|
28415
|
+
"format": "int32",
|
|
28416
|
+
"description": "EVM chain id for the smart account."
|
|
28417
|
+
},
|
|
28418
|
+
"smart_account_nonce": {
|
|
28419
|
+
"type": "string",
|
|
28420
|
+
"description": "Smart account deployment nonce."
|
|
28421
|
+
},
|
|
28422
|
+
"smart_account_init_data": {
|
|
28423
|
+
"type": "object",
|
|
28424
|
+
"additionalProperties": true,
|
|
28425
|
+
"description": "Smart account initialisation data."
|
|
28426
|
+
},
|
|
28427
|
+
"message_signing_enabled": {
|
|
28428
|
+
"type": "boolean",
|
|
28429
|
+
"description": "Allow this agent to sign arbitrary messages."
|
|
28430
|
+
},
|
|
28431
|
+
"eip712_domain_allowlist": {
|
|
28432
|
+
"type": "object",
|
|
28433
|
+
"additionalProperties": true,
|
|
28434
|
+
"description": "EIP-712 domains this agent may sign under."
|
|
28435
|
+
},
|
|
28436
|
+
"eip712_default_policy": {
|
|
28437
|
+
"type": "string",
|
|
28438
|
+
"description": "Default policy applied to EIP-712 signing requests."
|
|
28439
|
+
},
|
|
28440
|
+
"raw_signing_enabled": {
|
|
28441
|
+
"type": "boolean",
|
|
28442
|
+
"description": "Allow this agent to sign raw digests."
|
|
28443
|
+
},
|
|
28444
|
+
"default_llm_provider": {
|
|
28445
|
+
"type": [
|
|
28446
|
+
"string",
|
|
28447
|
+
"null"
|
|
28448
|
+
],
|
|
28449
|
+
"description": "Default LLM provider for automations and Shroud."
|
|
28450
|
+
},
|
|
28451
|
+
"default_llm_model": {
|
|
28452
|
+
"type": [
|
|
28453
|
+
"string",
|
|
28454
|
+
"null"
|
|
28455
|
+
],
|
|
28456
|
+
"description": "Default LLM model for automations and Shroud."
|
|
28457
|
+
},
|
|
28458
|
+
"discoverable": {
|
|
28459
|
+
"type": "boolean",
|
|
28460
|
+
"description": "List this agent in the cross-org agent directory."
|
|
28461
|
+
},
|
|
28462
|
+
"public_description": {
|
|
28463
|
+
"type": [
|
|
28464
|
+
"string",
|
|
28465
|
+
"null"
|
|
28466
|
+
],
|
|
28467
|
+
"description": "Description shown on the public directory listing."
|
|
28468
|
+
},
|
|
28469
|
+
"public_tags": {
|
|
28470
|
+
"type": "array",
|
|
28471
|
+
"items": {
|
|
28472
|
+
"type": "string"
|
|
28473
|
+
},
|
|
28474
|
+
"description": "Tags shown on the public directory listing."
|
|
28475
|
+
},
|
|
28476
|
+
"memory_enabled": {
|
|
28477
|
+
"type": "boolean",
|
|
28478
|
+
"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."
|
|
28479
|
+
},
|
|
28480
|
+
"memory_namespace_allowlist": {
|
|
28481
|
+
"type": "array",
|
|
28482
|
+
"items": {
|
|
28483
|
+
"type": "string"
|
|
28484
|
+
},
|
|
28485
|
+
"description": "Namespaces this agent may use. Empty or omitted means unrestricted."
|
|
28486
|
+
},
|
|
28487
|
+
"memory_max_entry_bytes": {
|
|
28488
|
+
"type": [
|
|
28489
|
+
"integer",
|
|
28490
|
+
"null"
|
|
28491
|
+
],
|
|
28492
|
+
"format": "int32",
|
|
28493
|
+
"description": "Maximum size of a single memory entry value. Null uses the platform default (64 KiB)."
|
|
28494
|
+
},
|
|
28354
28495
|
"name": {
|
|
28355
28496
|
"type": "string"
|
|
28356
28497
|
},
|
|
@@ -28665,6 +28806,25 @@
|
|
|
28665
28806
|
"created_at"
|
|
28666
28807
|
],
|
|
28667
28808
|
"properties": {
|
|
28809
|
+
"memory_enabled": {
|
|
28810
|
+
"type": "boolean",
|
|
28811
|
+
"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."
|
|
28812
|
+
},
|
|
28813
|
+
"memory_namespace_allowlist": {
|
|
28814
|
+
"type": "array",
|
|
28815
|
+
"items": {
|
|
28816
|
+
"type": "string"
|
|
28817
|
+
},
|
|
28818
|
+
"description": "Namespaces this agent may use. Omitted when empty, which means unrestricted."
|
|
28819
|
+
},
|
|
28820
|
+
"memory_max_entry_bytes": {
|
|
28821
|
+
"type": [
|
|
28822
|
+
"integer",
|
|
28823
|
+
"null"
|
|
28824
|
+
],
|
|
28825
|
+
"format": "int32",
|
|
28826
|
+
"description": "Maximum size of a single memory entry value. Omitted when unset, which means the platform default (64 KiB)."
|
|
28827
|
+
},
|
|
28668
28828
|
"id": {
|
|
28669
28829
|
"type": "string",
|
|
28670
28830
|
"format": "uuid"
|
|
@@ -38426,8 +38586,10 @@
|
|
|
38426
38586
|
"type": "string"
|
|
38427
38587
|
},
|
|
38428
38588
|
"public_description": {
|
|
38429
|
-
"type":
|
|
38430
|
-
|
|
38589
|
+
"type": [
|
|
38590
|
+
"string",
|
|
38591
|
+
"null"
|
|
38592
|
+
]
|
|
38431
38593
|
},
|
|
38432
38594
|
"public_tags": {
|
|
38433
38595
|
"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.
|
|
5
|
+
version: "0.61.1"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -18083,6 +18083,47 @@ components:
|
|
|
18083
18083
|
type: object
|
|
18084
18084
|
required: [name]
|
|
18085
18085
|
properties:
|
|
18086
|
+
default_llm_provider:
|
|
18087
|
+
type: string
|
|
18088
|
+
description: Default LLM provider for automations and Shroud.
|
|
18089
|
+
default_llm_model:
|
|
18090
|
+
type: string
|
|
18091
|
+
description: Default LLM model for automations and Shroud.
|
|
18092
|
+
discoverable:
|
|
18093
|
+
type: boolean
|
|
18094
|
+
description: List this agent in the cross-org agent directory.
|
|
18095
|
+
public_description:
|
|
18096
|
+
type: string
|
|
18097
|
+
description: Description shown on the public directory listing.
|
|
18098
|
+
public_tags:
|
|
18099
|
+
type: array
|
|
18100
|
+
items:
|
|
18101
|
+
type: string
|
|
18102
|
+
description: Tags shown on the public directory listing.
|
|
18103
|
+
skip_default_policy:
|
|
18104
|
+
type: boolean
|
|
18105
|
+
description: Skip creating the default access policy for this agent.
|
|
18106
|
+
address_screening_policy:
|
|
18107
|
+
type: object
|
|
18108
|
+
additionalProperties: true
|
|
18109
|
+
description: Address screening policy applied to transaction recipients.
|
|
18110
|
+
memory_enabled:
|
|
18111
|
+
type: boolean
|
|
18112
|
+
description: >-
|
|
18113
|
+
Enable durable key-value and semantic memory for this agent.
|
|
18114
|
+
Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key}
|
|
18115
|
+
will accept a write; without it that endpoint returns 403.
|
|
18116
|
+
memory_namespace_allowlist:
|
|
18117
|
+
type: array
|
|
18118
|
+
items:
|
|
18119
|
+
type: string
|
|
18120
|
+
description: Namespaces this agent may use. Empty or omitted means unrestricted.
|
|
18121
|
+
memory_max_entry_bytes:
|
|
18122
|
+
type: [integer, "null"]
|
|
18123
|
+
format: int32
|
|
18124
|
+
description: >-
|
|
18125
|
+
Maximum size of a single memory entry value. Null uses the
|
|
18126
|
+
platform default (64 KiB).
|
|
18086
18127
|
name:
|
|
18087
18128
|
type: string
|
|
18088
18129
|
description:
|
|
@@ -18323,6 +18364,70 @@ components:
|
|
|
18323
18364
|
UpdateAgentRequest:
|
|
18324
18365
|
type: object
|
|
18325
18366
|
properties:
|
|
18367
|
+
smart_account_address:
|
|
18368
|
+
type: string
|
|
18369
|
+
description: Smart account address associated with this agent.
|
|
18370
|
+
smart_account_chain:
|
|
18371
|
+
type: string
|
|
18372
|
+
description: Chain name for the smart account.
|
|
18373
|
+
smart_account_chain_id:
|
|
18374
|
+
type: integer
|
|
18375
|
+
format: int32
|
|
18376
|
+
description: EVM chain id for the smart account.
|
|
18377
|
+
smart_account_nonce:
|
|
18378
|
+
type: string
|
|
18379
|
+
description: Smart account deployment nonce.
|
|
18380
|
+
smart_account_init_data:
|
|
18381
|
+
type: object
|
|
18382
|
+
additionalProperties: true
|
|
18383
|
+
description: Smart account initialisation data.
|
|
18384
|
+
message_signing_enabled:
|
|
18385
|
+
type: boolean
|
|
18386
|
+
description: Allow this agent to sign arbitrary messages.
|
|
18387
|
+
eip712_domain_allowlist:
|
|
18388
|
+
type: object
|
|
18389
|
+
additionalProperties: true
|
|
18390
|
+
description: EIP-712 domains this agent may sign under.
|
|
18391
|
+
eip712_default_policy:
|
|
18392
|
+
type: string
|
|
18393
|
+
description: Default policy applied to EIP-712 signing requests.
|
|
18394
|
+
raw_signing_enabled:
|
|
18395
|
+
type: boolean
|
|
18396
|
+
description: Allow this agent to sign raw digests.
|
|
18397
|
+
default_llm_provider:
|
|
18398
|
+
type: [string, "null"]
|
|
18399
|
+
description: Default LLM provider for automations and Shroud.
|
|
18400
|
+
default_llm_model:
|
|
18401
|
+
type: [string, "null"]
|
|
18402
|
+
description: Default LLM model for automations and Shroud.
|
|
18403
|
+
discoverable:
|
|
18404
|
+
type: boolean
|
|
18405
|
+
description: List this agent in the cross-org agent directory.
|
|
18406
|
+
public_description:
|
|
18407
|
+
type: [string, "null"]
|
|
18408
|
+
description: Description shown on the public directory listing.
|
|
18409
|
+
public_tags:
|
|
18410
|
+
type: array
|
|
18411
|
+
items:
|
|
18412
|
+
type: string
|
|
18413
|
+
description: Tags shown on the public directory listing.
|
|
18414
|
+
memory_enabled:
|
|
18415
|
+
type: boolean
|
|
18416
|
+
description: >-
|
|
18417
|
+
Enable durable key-value and semantic memory for this agent.
|
|
18418
|
+
Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key}
|
|
18419
|
+
will accept a write; without it that endpoint returns 403.
|
|
18420
|
+
memory_namespace_allowlist:
|
|
18421
|
+
type: array
|
|
18422
|
+
items:
|
|
18423
|
+
type: string
|
|
18424
|
+
description: Namespaces this agent may use. Empty or omitted means unrestricted.
|
|
18425
|
+
memory_max_entry_bytes:
|
|
18426
|
+
type: [integer, "null"]
|
|
18427
|
+
format: int32
|
|
18428
|
+
description: >-
|
|
18429
|
+
Maximum size of a single memory entry value. Null uses the
|
|
18430
|
+
platform default (64 KiB).
|
|
18326
18431
|
name:
|
|
18327
18432
|
type: string
|
|
18328
18433
|
scopes:
|
|
@@ -18586,6 +18691,25 @@ components:
|
|
|
18586
18691
|
created_at,
|
|
18587
18692
|
]
|
|
18588
18693
|
properties:
|
|
18694
|
+
memory_enabled:
|
|
18695
|
+
type: boolean
|
|
18696
|
+
description: >-
|
|
18697
|
+
Whether durable key-value and semantic memory is enabled.
|
|
18698
|
+
Omitted when false: the server skips serializing this field
|
|
18699
|
+
unless it is true, so an absent key means disabled.
|
|
18700
|
+
memory_namespace_allowlist:
|
|
18701
|
+
type: array
|
|
18702
|
+
items:
|
|
18703
|
+
type: string
|
|
18704
|
+
description: >-
|
|
18705
|
+
Namespaces this agent may use. Omitted when empty, which
|
|
18706
|
+
means unrestricted.
|
|
18707
|
+
memory_max_entry_bytes:
|
|
18708
|
+
type: [integer, "null"]
|
|
18709
|
+
format: int32
|
|
18710
|
+
description: >-
|
|
18711
|
+
Maximum size of a single memory entry value. Omitted when
|
|
18712
|
+
unset, which means the platform default (64 KiB).
|
|
18589
18713
|
id:
|
|
18590
18714
|
type: string
|
|
18591
18715
|
format: uuid
|
|
@@ -25132,8 +25256,7 @@ components:
|
|
|
25132
25256
|
name:
|
|
25133
25257
|
type: string
|
|
25134
25258
|
public_description:
|
|
25135
|
-
type: string
|
|
25136
|
-
nullable: true
|
|
25259
|
+
type: [string, "null"]
|
|
25137
25260
|
public_tags:
|
|
25138
25261
|
type: array
|
|
25139
25262
|
items:
|