@1claw/openapi-spec 0.61.15 → 0.61.17
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 +86 -2
- package/openapi.yaml +50 -2
- 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.17",
|
|
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"
|
|
@@ -28410,6 +28410,70 @@
|
|
|
28410
28410
|
"totp",
|
|
28411
28411
|
"passkey"
|
|
28412
28412
|
]
|
|
28413
|
+
},
|
|
28414
|
+
"agent_id": {
|
|
28415
|
+
"type": "string",
|
|
28416
|
+
"format": "uuid",
|
|
28417
|
+
"description": "Agent token exchange only — the resolved agent id."
|
|
28418
|
+
},
|
|
28419
|
+
"vault_ids": {
|
|
28420
|
+
"type": "array",
|
|
28421
|
+
"items": {
|
|
28422
|
+
"type": "string",
|
|
28423
|
+
"format": "uuid"
|
|
28424
|
+
},
|
|
28425
|
+
"description": "Agent token exchange only — vaults the agent is bound to."
|
|
28426
|
+
},
|
|
28427
|
+
"entitlements": {
|
|
28428
|
+
"$ref": "#/components/schemas/AgentEntitlements"
|
|
28429
|
+
}
|
|
28430
|
+
}
|
|
28431
|
+
},
|
|
28432
|
+
"AgentEntitlements": {
|
|
28433
|
+
"type": "object",
|
|
28434
|
+
"description": "Returned on agent token exchange. The flags a client needs to decide which tools to offer, as of the moment the token was minted. treasury_signer and has_delegations are derived from the agent's treasury signer rows and active delegations and are not present on the agent profile.",
|
|
28435
|
+
"required": [
|
|
28436
|
+
"intents_api",
|
|
28437
|
+
"execution_intents",
|
|
28438
|
+
"execution_require_tee",
|
|
28439
|
+
"intents_require_tee",
|
|
28440
|
+
"cards",
|
|
28441
|
+
"memory",
|
|
28442
|
+
"shroud",
|
|
28443
|
+
"discoverable",
|
|
28444
|
+
"treasury_signer",
|
|
28445
|
+
"has_delegations"
|
|
28446
|
+
],
|
|
28447
|
+
"properties": {
|
|
28448
|
+
"intents_api": {
|
|
28449
|
+
"type": "boolean"
|
|
28450
|
+
},
|
|
28451
|
+
"execution_intents": {
|
|
28452
|
+
"type": "boolean"
|
|
28453
|
+
},
|
|
28454
|
+
"execution_require_tee": {
|
|
28455
|
+
"type": "boolean"
|
|
28456
|
+
},
|
|
28457
|
+
"intents_require_tee": {
|
|
28458
|
+
"type": "boolean"
|
|
28459
|
+
},
|
|
28460
|
+
"cards": {
|
|
28461
|
+
"type": "boolean"
|
|
28462
|
+
},
|
|
28463
|
+
"memory": {
|
|
28464
|
+
"type": "boolean"
|
|
28465
|
+
},
|
|
28466
|
+
"shroud": {
|
|
28467
|
+
"type": "boolean"
|
|
28468
|
+
},
|
|
28469
|
+
"discoverable": {
|
|
28470
|
+
"type": "boolean"
|
|
28471
|
+
},
|
|
28472
|
+
"treasury_signer": {
|
|
28473
|
+
"type": "boolean"
|
|
28474
|
+
},
|
|
28475
|
+
"has_delegations": {
|
|
28476
|
+
"type": "boolean"
|
|
28413
28477
|
}
|
|
28414
28478
|
}
|
|
28415
28479
|
},
|
|
@@ -33381,12 +33445,25 @@
|
|
|
33381
33445
|
"LlmTokenBillingStatus": {
|
|
33382
33446
|
"type": "object",
|
|
33383
33447
|
"required": [
|
|
33384
|
-
"enabled"
|
|
33448
|
+
"enabled",
|
|
33449
|
+
"billing_model",
|
|
33450
|
+
"inference_allowed"
|
|
33385
33451
|
],
|
|
33386
33452
|
"properties": {
|
|
33387
33453
|
"enabled": {
|
|
33388
33454
|
"type": "boolean"
|
|
33389
33455
|
},
|
|
33456
|
+
"billing_model": {
|
|
33457
|
+
"type": "string",
|
|
33458
|
+
"enum": [
|
|
33459
|
+
"postpaid_metered"
|
|
33460
|
+
],
|
|
33461
|
+
"description": "Usage accrues on the Stripe subscription and is invoiced at the end of the\nbilling period. `credit_balance` is Stripe's prepaid credit-grant balance,\nwhich is 0 unless a credit grant was issued; a 0 there does not block inference.\n"
|
|
33462
|
+
},
|
|
33463
|
+
"inference_allowed": {
|
|
33464
|
+
"type": "boolean",
|
|
33465
|
+
"description": "Enabled and the subscription is not canceled/unpaid/expired."
|
|
33466
|
+
},
|
|
33390
33467
|
"subscription_status": {
|
|
33391
33468
|
"type": "string",
|
|
33392
33469
|
"enum": [
|
|
@@ -37577,6 +37654,13 @@
|
|
|
37577
37654
|
"type": "string",
|
|
37578
37655
|
"format": "uuid"
|
|
37579
37656
|
},
|
|
37657
|
+
"email": {
|
|
37658
|
+
"type": "string",
|
|
37659
|
+
"description": "The connected user's email, as returned by the upsert. Use it to recognise a returning user and begin a passkey ceremony from the connection alone."
|
|
37660
|
+
},
|
|
37661
|
+
"display_name": {
|
|
37662
|
+
"type": "string"
|
|
37663
|
+
},
|
|
37580
37664
|
"status": {
|
|
37581
37665
|
"type": "string"
|
|
37582
37666
|
},
|
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.17"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -18160,6 +18160,39 @@ components:
|
|
|
18160
18160
|
mfa_method:
|
|
18161
18161
|
type: string
|
|
18162
18162
|
enum: [totp, passkey]
|
|
18163
|
+
agent_id:
|
|
18164
|
+
type: string
|
|
18165
|
+
format: uuid
|
|
18166
|
+
description: Agent token exchange only — the resolved agent id.
|
|
18167
|
+
vault_ids:
|
|
18168
|
+
type: array
|
|
18169
|
+
items: { type: string, format: uuid }
|
|
18170
|
+
description: Agent token exchange only — vaults the agent is bound to.
|
|
18171
|
+
entitlements:
|
|
18172
|
+
$ref: "#/components/schemas/AgentEntitlements"
|
|
18173
|
+
|
|
18174
|
+
AgentEntitlements:
|
|
18175
|
+
type: object
|
|
18176
|
+
description: >-
|
|
18177
|
+
Returned on agent token exchange. The flags a client needs to
|
|
18178
|
+
decide which tools to offer, as of the moment the token was
|
|
18179
|
+
minted. treasury_signer and has_delegations are derived from the
|
|
18180
|
+
agent's treasury signer rows and active delegations and are not
|
|
18181
|
+
present on the agent profile.
|
|
18182
|
+
required:
|
|
18183
|
+
[intents_api, execution_intents, execution_require_tee, intents_require_tee,
|
|
18184
|
+
cards, memory, shroud, discoverable, treasury_signer, has_delegations]
|
|
18185
|
+
properties:
|
|
18186
|
+
intents_api: { type: boolean }
|
|
18187
|
+
execution_intents: { type: boolean }
|
|
18188
|
+
execution_require_tee: { type: boolean }
|
|
18189
|
+
intents_require_tee: { type: boolean }
|
|
18190
|
+
cards: { type: boolean }
|
|
18191
|
+
memory: { type: boolean }
|
|
18192
|
+
shroud: { type: boolean }
|
|
18193
|
+
discoverable: { type: boolean }
|
|
18194
|
+
treasury_signer: { type: boolean }
|
|
18195
|
+
has_delegations: { type: boolean }
|
|
18163
18196
|
|
|
18164
18197
|
AgentTokenRequest:
|
|
18165
18198
|
type: object
|
|
@@ -21805,10 +21838,20 @@ components:
|
|
|
21805
21838
|
|
|
21806
21839
|
LlmTokenBillingStatus:
|
|
21807
21840
|
type: object
|
|
21808
|
-
required: [enabled]
|
|
21841
|
+
required: [enabled, billing_model, inference_allowed]
|
|
21809
21842
|
properties:
|
|
21810
21843
|
enabled:
|
|
21811
21844
|
type: boolean
|
|
21845
|
+
billing_model:
|
|
21846
|
+
type: string
|
|
21847
|
+
enum: [postpaid_metered]
|
|
21848
|
+
description: |
|
|
21849
|
+
Usage accrues on the Stripe subscription and is invoiced at the end of the
|
|
21850
|
+
billing period. `credit_balance` is Stripe's prepaid credit-grant balance,
|
|
21851
|
+
which is 0 unless a credit grant was issued; a 0 there does not block inference.
|
|
21852
|
+
inference_allowed:
|
|
21853
|
+
type: boolean
|
|
21854
|
+
description: Enabled and the subscription is not canceled/unpaid/expired.
|
|
21812
21855
|
subscription_status:
|
|
21813
21856
|
type: string
|
|
21814
21857
|
enum: [active, inactive]
|
|
@@ -24534,6 +24577,11 @@ components:
|
|
|
24534
24577
|
user_id:
|
|
24535
24578
|
type: string
|
|
24536
24579
|
format: uuid
|
|
24580
|
+
email:
|
|
24581
|
+
type: string
|
|
24582
|
+
description: The connected user's email, as returned by the upsert. Use it to recognise a returning user and begin a passkey ceremony from the connection alone.
|
|
24583
|
+
display_name:
|
|
24584
|
+
type: string
|
|
24537
24585
|
status:
|
|
24538
24586
|
type: string
|
|
24539
24587
|
entitlement_status:
|