@1claw/openapi-spec 0.61.60 → 0.61.61
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 +9 -4
- package/openapi.yaml +47 -4
- 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.61",
|
|
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"
|
|
@@ -5952,7 +5952,7 @@
|
|
|
5952
5952
|
"$ref": "#/components/responses/BadRequest"
|
|
5953
5953
|
},
|
|
5954
5954
|
"403": {
|
|
5955
|
-
"description": "Guardrail violation or permission denied",
|
|
5955
|
+
"description": "Guardrail violation or permission denied. From 2026-10-11 this also covers a resume_after_approval_id that does not name an approved, agent-bound, unused approval — including one that is still pending, and including a second use of one already spent. Such a request previously executed.\n",
|
|
5956
5956
|
"content": {
|
|
5957
5957
|
"application/json": {
|
|
5958
5958
|
"schema": {
|
|
@@ -26837,7 +26837,7 @@
|
|
|
26837
26837
|
"Pending Approvals"
|
|
26838
26838
|
],
|
|
26839
26839
|
"summary": "Execute an approved action",
|
|
26840
|
-
"description": "Human-only. Marks the approval as executed after verifying signatures.",
|
|
26840
|
+
"description": "Human-only. Marks the approval as executed after verifying signatures.\n\nExecuting mints the single-use token that satisfies the signing gate, so from 2026-10-11 it requires the same org role the consensus policy requires for approving. Where a policy sets approval.required_roles, a member whose role is not listed now gets 403 where it previously succeeded. Policies that do not set required_roles are unchanged.\n",
|
|
26841
26841
|
"operationId": "executePendingApproval",
|
|
26842
26842
|
"security": [
|
|
26843
26843
|
{
|
|
@@ -37484,6 +37484,11 @@
|
|
|
37484
37484
|
"format": "uuid",
|
|
37485
37485
|
"description": "Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.\n"
|
|
37486
37486
|
},
|
|
37487
|
+
"resume_tx_id": {
|
|
37488
|
+
"type": "string",
|
|
37489
|
+
"format": "uuid",
|
|
37490
|
+
"description": "Resume signing a transaction that is already waiting on human approval. Send the transaction_id returned with the 202 awaiting_approval response, after a human has approved it.\n\nDocumented here because it is accepted from the wire and was not in this spec before 2026-10-11. It must reference an approval that a human set to approved, raised for this agent and this transaction, and not already used. Anything else is 403, including an approval that is still pending — which previously succeeded, because the only check was that the transaction row was still awaiting_approval, a state the caller reaches by submitting in the first place.\n\nSingle-use. A second resume of the same approval is 403.\n"
|
|
37491
|
+
},
|
|
37487
37492
|
"raw_transaction": {
|
|
37488
37493
|
"type": "string",
|
|
37489
37494
|
"description": "Pre-built raw transaction as a base64-encoded byte string. When provided, the handler decodes and deep-inspects the transaction for policy evaluation before signing. Supported for non-EVM chains where the client constructs the transaction payload.\n"
|
|
@@ -46056,7 +46061,7 @@
|
|
|
46056
46061
|
"resume_after_approval_id": {
|
|
46057
46062
|
"type": "string",
|
|
46058
46063
|
"format": "uuid",
|
|
46059
|
-
"description": "
|
|
46064
|
+
"description": "Resume execution after a human approved it. Send the approval_id returned with the 202 approval_required response.\n\nDescribed here as \"server-injected\" until 2026-10-11, which was not enforced: the field is accepted from the wire and the gate checked only whether it was present, so any UUID skipped the approval requirement. It is now verified against an approved, agent-bound, unused approval and is single-use. Anything else, including a second use of the same approval, is 403.\n"
|
|
46060
46065
|
}
|
|
46061
46066
|
}
|
|
46062
46067
|
},
|
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.61"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -3877,7 +3877,12 @@ paths:
|
|
|
3877
3877
|
"400":
|
|
3878
3878
|
$ref: "#/components/responses/BadRequest"
|
|
3879
3879
|
"403":
|
|
3880
|
-
description:
|
|
3880
|
+
description: >
|
|
3881
|
+
Guardrail violation or permission denied. From 2026-10-11 this
|
|
3882
|
+
also covers a resume_after_approval_id that does not name an
|
|
3883
|
+
approved, agent-bound, unused approval — including one that is
|
|
3884
|
+
still pending, and including a second use of one already spent.
|
|
3885
|
+
Such a request previously executed.
|
|
3881
3886
|
content:
|
|
3882
3887
|
application/json:
|
|
3883
3888
|
schema:
|
|
@@ -17261,7 +17266,15 @@ paths:
|
|
|
17261
17266
|
post:
|
|
17262
17267
|
tags: [Pending Approvals]
|
|
17263
17268
|
summary: Execute an approved action
|
|
17264
|
-
description:
|
|
17269
|
+
description: >
|
|
17270
|
+
Human-only. Marks the approval as executed after verifying signatures.
|
|
17271
|
+
|
|
17272
|
+
|
|
17273
|
+
Executing mints the single-use token that satisfies the signing gate,
|
|
17274
|
+
so from 2026-10-11 it requires the same org role the consensus policy
|
|
17275
|
+
requires for approving. Where a policy sets approval.required_roles,
|
|
17276
|
+
a member whose role is not listed now gets 403 where it previously
|
|
17277
|
+
succeeded. Policies that do not set required_roles are unchanged.
|
|
17265
17278
|
operationId: executePendingApproval
|
|
17266
17279
|
security:
|
|
17267
17280
|
- BearerAuth: []
|
|
@@ -24175,6 +24188,26 @@ components:
|
|
|
24175
24188
|
Optional pending approval ID. When consensus policies match,
|
|
24176
24189
|
clients resubmit with this field set to bypass the 202 gate
|
|
24177
24190
|
after the approval has been executed.
|
|
24191
|
+
resume_tx_id:
|
|
24192
|
+
type: string
|
|
24193
|
+
format: uuid
|
|
24194
|
+
description: >
|
|
24195
|
+
Resume signing a transaction that is already waiting on human
|
|
24196
|
+
approval. Send the transaction_id returned with the 202
|
|
24197
|
+
awaiting_approval response, after a human has approved it.
|
|
24198
|
+
|
|
24199
|
+
|
|
24200
|
+
Documented here because it is accepted from the wire and was
|
|
24201
|
+
not in this spec before 2026-10-11. It must reference an
|
|
24202
|
+
approval that a human set to approved, raised for this agent
|
|
24203
|
+
and this transaction, and not already used. Anything else is
|
|
24204
|
+
403, including an approval that is still pending — which
|
|
24205
|
+
previously succeeded, because the only check was that the
|
|
24206
|
+
transaction row was still awaiting_approval, a state the
|
|
24207
|
+
caller reaches by submitting in the first place.
|
|
24208
|
+
|
|
24209
|
+
|
|
24210
|
+
Single-use. A second resume of the same approval is 403.
|
|
24178
24211
|
raw_transaction:
|
|
24179
24212
|
type: string
|
|
24180
24213
|
description: >
|
|
@@ -29485,7 +29518,17 @@ components:
|
|
|
29485
29518
|
resume_after_approval_id:
|
|
29486
29519
|
type: string
|
|
29487
29520
|
format: uuid
|
|
29488
|
-
description:
|
|
29521
|
+
description: >
|
|
29522
|
+
Resume execution after a human approved it. Send the
|
|
29523
|
+
approval_id returned with the 202 approval_required response.
|
|
29524
|
+
|
|
29525
|
+
|
|
29526
|
+
Described here as "server-injected" until 2026-10-11, which was
|
|
29527
|
+
not enforced: the field is accepted from the wire and the gate
|
|
29528
|
+
checked only whether it was present, so any UUID skipped the
|
|
29529
|
+
approval requirement. It is now verified against an approved,
|
|
29530
|
+
agent-bound, unused approval and is single-use. Anything else,
|
|
29531
|
+
including a second use of the same approval, is 403.
|
|
29489
29532
|
|
|
29490
29533
|
ExecutionApprovalRequired:
|
|
29491
29534
|
type: object
|