@1claw/openapi-spec 0.40.0 → 0.40.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 +73 -1
- package/openapi.yaml +44 -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": "2.
|
|
5
|
+
"version": "2.27.0",
|
|
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.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.xyz"
|
|
@@ -4116,6 +4116,66 @@
|
|
|
4116
4116
|
}
|
|
4117
4117
|
}
|
|
4118
4118
|
},
|
|
4119
|
+
"/v1/agents/{agent_id}/bindings/{binding_id}/rotate-credential": {
|
|
4120
|
+
"post": {
|
|
4121
|
+
"tags": [
|
|
4122
|
+
"Execution Intents"
|
|
4123
|
+
],
|
|
4124
|
+
"summary": "Rotate a binding credential",
|
|
4125
|
+
"description": "Overwrite the stored credential for a binding without touching its config or guardrails. Human-only. The credential value is never returned.",
|
|
4126
|
+
"operationId": "rotateBindingCredential",
|
|
4127
|
+
"parameters": [
|
|
4128
|
+
{
|
|
4129
|
+
"$ref": "#/components/parameters/AgentId"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
"name": "binding_id",
|
|
4133
|
+
"in": "path",
|
|
4134
|
+
"required": true,
|
|
4135
|
+
"schema": {
|
|
4136
|
+
"type": "string",
|
|
4137
|
+
"format": "uuid"
|
|
4138
|
+
}
|
|
4139
|
+
}
|
|
4140
|
+
],
|
|
4141
|
+
"requestBody": {
|
|
4142
|
+
"required": true,
|
|
4143
|
+
"content": {
|
|
4144
|
+
"application/json": {
|
|
4145
|
+
"schema": {
|
|
4146
|
+
"type": "object",
|
|
4147
|
+
"required": [
|
|
4148
|
+
"credential"
|
|
4149
|
+
],
|
|
4150
|
+
"properties": {
|
|
4151
|
+
"credential": {
|
|
4152
|
+
"description": "New credential material (object or string). Stored server-side."
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
}
|
|
4156
|
+
}
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
"responses": {
|
|
4160
|
+
"200": {
|
|
4161
|
+
"description": "Updated binding",
|
|
4162
|
+
"content": {
|
|
4163
|
+
"application/json": {
|
|
4164
|
+
"schema": {
|
|
4165
|
+
"$ref": "#/components/schemas/BindingResponse"
|
|
4166
|
+
}
|
|
4167
|
+
}
|
|
4168
|
+
}
|
|
4169
|
+
},
|
|
4170
|
+
"403": {
|
|
4171
|
+
"$ref": "#/components/responses/Forbidden"
|
|
4172
|
+
},
|
|
4173
|
+
"404": {
|
|
4174
|
+
"$ref": "#/components/responses/NotFound"
|
|
4175
|
+
}
|
|
4176
|
+
}
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
4119
4179
|
"/v1/agents/{agent_id}/execute": {
|
|
4120
4180
|
"post": {
|
|
4121
4181
|
"tags": [
|
|
@@ -17146,6 +17206,10 @@
|
|
|
17146
17206
|
"is_active": {
|
|
17147
17207
|
"type": "boolean"
|
|
17148
17208
|
},
|
|
17209
|
+
"credential_set": {
|
|
17210
|
+
"type": "boolean",
|
|
17211
|
+
"description": "Whether a credential is stored for this binding. The value itself is never returned."
|
|
17212
|
+
},
|
|
17149
17213
|
"created_at": {
|
|
17150
17214
|
"type": "string",
|
|
17151
17215
|
"format": "date-time"
|
|
@@ -17237,6 +17301,14 @@
|
|
|
17237
17301
|
},
|
|
17238
17302
|
"redactions_applied": {
|
|
17239
17303
|
"type": "integer"
|
|
17304
|
+
},
|
|
17305
|
+
"execution_surface": {
|
|
17306
|
+
"type": "string",
|
|
17307
|
+
"enum": [
|
|
17308
|
+
"vault",
|
|
17309
|
+
"tee"
|
|
17310
|
+
],
|
|
17311
|
+
"description": "Where the intent actually ran. Reported truthfully — never claims TEE when it ran in the Vault."
|
|
17240
17312
|
}
|
|
17241
17313
|
}
|
|
17242
17314
|
},
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
|
|
3
3
|
info:
|
|
4
4
|
title: 1Claw API
|
|
5
|
-
version: 2.
|
|
5
|
+
version: 2.27.0
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -2689,6 +2689,42 @@ paths:
|
|
|
2689
2689
|
"404":
|
|
2690
2690
|
$ref: "#/components/responses/NotFound"
|
|
2691
2691
|
|
|
2692
|
+
/v1/agents/{agent_id}/bindings/{binding_id}/rotate-credential:
|
|
2693
|
+
post:
|
|
2694
|
+
tags: [Execution Intents]
|
|
2695
|
+
summary: Rotate a binding credential
|
|
2696
|
+
description: Overwrite the stored credential for a binding without touching its config or guardrails. Human-only. The credential value is never returned.
|
|
2697
|
+
operationId: rotateBindingCredential
|
|
2698
|
+
parameters:
|
|
2699
|
+
- $ref: "#/components/parameters/AgentId"
|
|
2700
|
+
- name: binding_id
|
|
2701
|
+
in: path
|
|
2702
|
+
required: true
|
|
2703
|
+
schema:
|
|
2704
|
+
type: string
|
|
2705
|
+
format: uuid
|
|
2706
|
+
requestBody:
|
|
2707
|
+
required: true
|
|
2708
|
+
content:
|
|
2709
|
+
application/json:
|
|
2710
|
+
schema:
|
|
2711
|
+
type: object
|
|
2712
|
+
required: [credential]
|
|
2713
|
+
properties:
|
|
2714
|
+
credential:
|
|
2715
|
+
description: New credential material (object or string). Stored server-side.
|
|
2716
|
+
responses:
|
|
2717
|
+
"200":
|
|
2718
|
+
description: Updated binding
|
|
2719
|
+
content:
|
|
2720
|
+
application/json:
|
|
2721
|
+
schema:
|
|
2722
|
+
$ref: "#/components/schemas/BindingResponse"
|
|
2723
|
+
"403":
|
|
2724
|
+
$ref: "#/components/responses/Forbidden"
|
|
2725
|
+
"404":
|
|
2726
|
+
$ref: "#/components/responses/NotFound"
|
|
2727
|
+
|
|
2692
2728
|
/v1/agents/{agent_id}/execute:
|
|
2693
2729
|
post:
|
|
2694
2730
|
tags: [Execution Intents]
|
|
@@ -11321,6 +11357,9 @@ components:
|
|
|
11321
11357
|
additionalProperties: true
|
|
11322
11358
|
is_active:
|
|
11323
11359
|
type: boolean
|
|
11360
|
+
credential_set:
|
|
11361
|
+
type: boolean
|
|
11362
|
+
description: Whether a credential is stored for this binding. The value itself is never returned.
|
|
11324
11363
|
created_at:
|
|
11325
11364
|
type: string
|
|
11326
11365
|
format: date-time
|
|
@@ -11380,6 +11419,10 @@ components:
|
|
|
11380
11419
|
type: integer
|
|
11381
11420
|
redactions_applied:
|
|
11382
11421
|
type: integer
|
|
11422
|
+
execution_surface:
|
|
11423
|
+
type: string
|
|
11424
|
+
enum: [vault, tee]
|
|
11425
|
+
description: Where the intent actually ran. Reported truthfully — never claims TEE when it ran in the Vault.
|
|
11383
11426
|
|
|
11384
11427
|
ExecutionEventResponse:
|
|
11385
11428
|
type: object
|