@1claw/openapi-spec 0.61.1 → 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.
- package/openapi.json +14 -6
- package/openapi.yaml +24 -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.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
|
-
"
|
|
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
|
|
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
|
},
|
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.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
|
-
|
|
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:
|
|
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]
|