@1claw/openapi-spec 0.61.12 → 0.61.13
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 +50 -1
- package/openapi.yaml +31 -1
- 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.13",
|
|
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"
|
|
@@ -6015,6 +6015,55 @@
|
|
|
6015
6015
|
}
|
|
6016
6016
|
}
|
|
6017
6017
|
},
|
|
6018
|
+
"/v1/admin/kms/relevel": {
|
|
6019
|
+
"post": {
|
|
6020
|
+
"tags": [
|
|
6021
|
+
"Admin"
|
|
6022
|
+
],
|
|
6023
|
+
"summary": "Move orgs onto the KEK protection level their tier and payment call for",
|
|
6024
|
+
"description": "Platform admins only. Examines up to `limit` orgs whose stored KEK level disagrees with the target (Pro earns HSM only with an active subscription; Team, Business and Enterprise keep HSM; the platform org is always software) and starts a migration for each: a new key at the right level, every secret and every org-scoped row re-wrapped, the old key released from the keep set 30 days after completion. The nightly consolidation job runs the same pass, 25 orgs at a time.",
|
|
6025
|
+
"operationId": "adminKmsRelevel",
|
|
6026
|
+
"parameters": [
|
|
6027
|
+
{
|
|
6028
|
+
"name": "limit",
|
|
6029
|
+
"in": "query",
|
|
6030
|
+
"required": false,
|
|
6031
|
+
"schema": {
|
|
6032
|
+
"type": "integer",
|
|
6033
|
+
"minimum": 1,
|
|
6034
|
+
"maximum": 500,
|
|
6035
|
+
"default": 25
|
|
6036
|
+
}
|
|
6037
|
+
}
|
|
6038
|
+
],
|
|
6039
|
+
"responses": {
|
|
6040
|
+
"200": {
|
|
6041
|
+
"description": "Orgs examined and migrations started",
|
|
6042
|
+
"content": {
|
|
6043
|
+
"application/json": {
|
|
6044
|
+
"schema": {
|
|
6045
|
+
"type": "object",
|
|
6046
|
+
"properties": {
|
|
6047
|
+
"examined": {
|
|
6048
|
+
"type": "integer"
|
|
6049
|
+
},
|
|
6050
|
+
"migrations_started": {
|
|
6051
|
+
"type": "integer"
|
|
6052
|
+
},
|
|
6053
|
+
"limit": {
|
|
6054
|
+
"type": "integer"
|
|
6055
|
+
}
|
|
6056
|
+
}
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
}
|
|
6060
|
+
},
|
|
6061
|
+
"403": {
|
|
6062
|
+
"description": "Not a platform admin"
|
|
6063
|
+
}
|
|
6064
|
+
}
|
|
6065
|
+
}
|
|
6066
|
+
},
|
|
6018
6067
|
"/v1/admin/chains": {
|
|
6019
6068
|
"get": {
|
|
6020
6069
|
"tags": [
|
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.13"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -3907,6 +3907,36 @@ paths:
|
|
|
3907
3907
|
'400': { description: Unknown tier }
|
|
3908
3908
|
'403': { description: Not a platform admin }
|
|
3909
3909
|
'404': { description: Agent not found }
|
|
3910
|
+
/v1/admin/kms/relevel:
|
|
3911
|
+
post:
|
|
3912
|
+
tags: [Admin]
|
|
3913
|
+
summary: Move orgs onto the KEK protection level their tier and payment call for
|
|
3914
|
+
description: >-
|
|
3915
|
+
Platform admins only. Examines up to `limit` orgs whose stored KEK
|
|
3916
|
+
level disagrees with the target (Pro earns HSM only with an active
|
|
3917
|
+
subscription; Team, Business and Enterprise keep HSM; the platform
|
|
3918
|
+
org is always software) and starts a migration for each: a new key
|
|
3919
|
+
at the right level, every secret and every org-scoped row re-wrapped,
|
|
3920
|
+
the old key released from the keep set 30 days after completion.
|
|
3921
|
+
The nightly consolidation job runs the same pass, 25 orgs at a time.
|
|
3922
|
+
operationId: adminKmsRelevel
|
|
3923
|
+
parameters:
|
|
3924
|
+
- name: limit
|
|
3925
|
+
in: query
|
|
3926
|
+
required: false
|
|
3927
|
+
schema: { type: integer, minimum: 1, maximum: 500, default: 25 }
|
|
3928
|
+
responses:
|
|
3929
|
+
'200':
|
|
3930
|
+
description: Orgs examined and migrations started
|
|
3931
|
+
content:
|
|
3932
|
+
application/json:
|
|
3933
|
+
schema:
|
|
3934
|
+
type: object
|
|
3935
|
+
properties:
|
|
3936
|
+
examined: { type: integer }
|
|
3937
|
+
migrations_started: { type: integer }
|
|
3938
|
+
limit: { type: integer }
|
|
3939
|
+
'403': { description: Not a platform admin }
|
|
3910
3940
|
/v1/admin/chains:
|
|
3911
3941
|
get:
|
|
3912
3942
|
tags: [Chains]
|