@1claw/openapi-spec 0.61.14 → 0.61.16
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 +63 -2
- package/openapi.yaml +48 -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.16",
|
|
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"
|
|
@@ -13500,6 +13500,47 @@
|
|
|
13500
13500
|
"$ref": "#/components/responses/NotFound"
|
|
13501
13501
|
}
|
|
13502
13502
|
}
|
|
13503
|
+
},
|
|
13504
|
+
"delete": {
|
|
13505
|
+
"tags": [
|
|
13506
|
+
"Platform"
|
|
13507
|
+
],
|
|
13508
|
+
"summary": "Delete a connection runtime (plt_ scoped)",
|
|
13509
|
+
"description": "Removes a runtime the app provisioned on this connection. A running\nruntime is stopped at the provider first and any runtime add-on\nsubscription is cancelled before the record is removed. Scoped like\nthe GET: the connection must belong to the app and list the runtime.\nThis is the cleanup path for a mis-provisioned runtime;\n`DELETE /v1/runtimes/{id}` does not accept a plt_ key.\n",
|
|
13510
|
+
"operationId": "deleteConnectionRuntime",
|
|
13511
|
+
"security": [
|
|
13512
|
+
{
|
|
13513
|
+
"BearerAuth": []
|
|
13514
|
+
}
|
|
13515
|
+
],
|
|
13516
|
+
"parameters": [
|
|
13517
|
+
{
|
|
13518
|
+
"in": "path",
|
|
13519
|
+
"name": "connectionId",
|
|
13520
|
+
"required": true,
|
|
13521
|
+
"schema": {
|
|
13522
|
+
"type": "string",
|
|
13523
|
+
"format": "uuid"
|
|
13524
|
+
}
|
|
13525
|
+
},
|
|
13526
|
+
{
|
|
13527
|
+
"in": "path",
|
|
13528
|
+
"name": "runtimeId",
|
|
13529
|
+
"required": true,
|
|
13530
|
+
"schema": {
|
|
13531
|
+
"type": "string",
|
|
13532
|
+
"format": "uuid"
|
|
13533
|
+
}
|
|
13534
|
+
}
|
|
13535
|
+
],
|
|
13536
|
+
"responses": {
|
|
13537
|
+
"204": {
|
|
13538
|
+
"description": "Runtime deleted"
|
|
13539
|
+
},
|
|
13540
|
+
"404": {
|
|
13541
|
+
"$ref": "#/components/responses/NotFound"
|
|
13542
|
+
}
|
|
13543
|
+
}
|
|
13503
13544
|
}
|
|
13504
13545
|
},
|
|
13505
13546
|
"/v1/platform/connections/{connectionId}/passkeys/enroll/begin": {
|
|
@@ -33340,12 +33381,25 @@
|
|
|
33340
33381
|
"LlmTokenBillingStatus": {
|
|
33341
33382
|
"type": "object",
|
|
33342
33383
|
"required": [
|
|
33343
|
-
"enabled"
|
|
33384
|
+
"enabled",
|
|
33385
|
+
"billing_model",
|
|
33386
|
+
"inference_allowed"
|
|
33344
33387
|
],
|
|
33345
33388
|
"properties": {
|
|
33346
33389
|
"enabled": {
|
|
33347
33390
|
"type": "boolean"
|
|
33348
33391
|
},
|
|
33392
|
+
"billing_model": {
|
|
33393
|
+
"type": "string",
|
|
33394
|
+
"enum": [
|
|
33395
|
+
"postpaid_metered"
|
|
33396
|
+
],
|
|
33397
|
+
"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"
|
|
33398
|
+
},
|
|
33399
|
+
"inference_allowed": {
|
|
33400
|
+
"type": "boolean",
|
|
33401
|
+
"description": "Enabled and the subscription is not canceled/unpaid/expired."
|
|
33402
|
+
},
|
|
33349
33403
|
"subscription_status": {
|
|
33350
33404
|
"type": "string",
|
|
33351
33405
|
"enum": [
|
|
@@ -37536,6 +37590,13 @@
|
|
|
37536
37590
|
"type": "string",
|
|
37537
37591
|
"format": "uuid"
|
|
37538
37592
|
},
|
|
37593
|
+
"email": {
|
|
37594
|
+
"type": "string",
|
|
37595
|
+
"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."
|
|
37596
|
+
},
|
|
37597
|
+
"display_name": {
|
|
37598
|
+
"type": "string"
|
|
37599
|
+
},
|
|
37539
37600
|
"status": {
|
|
37540
37601
|
"type": "string"
|
|
37541
37602
|
},
|
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.16"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -8685,6 +8685,37 @@ paths:
|
|
|
8685
8685
|
$ref: "#/components/schemas/RuntimeResponse"
|
|
8686
8686
|
"404":
|
|
8687
8687
|
$ref: "#/components/responses/NotFound"
|
|
8688
|
+
delete:
|
|
8689
|
+
tags: [Platform]
|
|
8690
|
+
summary: Delete a connection runtime (plt_ scoped)
|
|
8691
|
+
description: |
|
|
8692
|
+
Removes a runtime the app provisioned on this connection. A running
|
|
8693
|
+
runtime is stopped at the provider first and any runtime add-on
|
|
8694
|
+
subscription is cancelled before the record is removed. Scoped like
|
|
8695
|
+
the GET: the connection must belong to the app and list the runtime.
|
|
8696
|
+
This is the cleanup path for a mis-provisioned runtime;
|
|
8697
|
+
`DELETE /v1/runtimes/{id}` does not accept a plt_ key.
|
|
8698
|
+
operationId: deleteConnectionRuntime
|
|
8699
|
+
security:
|
|
8700
|
+
- BearerAuth: []
|
|
8701
|
+
parameters:
|
|
8702
|
+
- in: path
|
|
8703
|
+
name: connectionId
|
|
8704
|
+
required: true
|
|
8705
|
+
schema:
|
|
8706
|
+
type: string
|
|
8707
|
+
format: uuid
|
|
8708
|
+
- in: path
|
|
8709
|
+
name: runtimeId
|
|
8710
|
+
required: true
|
|
8711
|
+
schema:
|
|
8712
|
+
type: string
|
|
8713
|
+
format: uuid
|
|
8714
|
+
responses:
|
|
8715
|
+
"204":
|
|
8716
|
+
description: Runtime deleted
|
|
8717
|
+
"404":
|
|
8718
|
+
$ref: "#/components/responses/NotFound"
|
|
8688
8719
|
|
|
8689
8720
|
/v1/platform/connections/{connectionId}/passkeys/enroll/begin:
|
|
8690
8721
|
post:
|
|
@@ -21774,10 +21805,20 @@ components:
|
|
|
21774
21805
|
|
|
21775
21806
|
LlmTokenBillingStatus:
|
|
21776
21807
|
type: object
|
|
21777
|
-
required: [enabled]
|
|
21808
|
+
required: [enabled, billing_model, inference_allowed]
|
|
21778
21809
|
properties:
|
|
21779
21810
|
enabled:
|
|
21780
21811
|
type: boolean
|
|
21812
|
+
billing_model:
|
|
21813
|
+
type: string
|
|
21814
|
+
enum: [postpaid_metered]
|
|
21815
|
+
description: |
|
|
21816
|
+
Usage accrues on the Stripe subscription and is invoiced at the end of the
|
|
21817
|
+
billing period. `credit_balance` is Stripe's prepaid credit-grant balance,
|
|
21818
|
+
which is 0 unless a credit grant was issued; a 0 there does not block inference.
|
|
21819
|
+
inference_allowed:
|
|
21820
|
+
type: boolean
|
|
21821
|
+
description: Enabled and the subscription is not canceled/unpaid/expired.
|
|
21781
21822
|
subscription_status:
|
|
21782
21823
|
type: string
|
|
21783
21824
|
enum: [active, inactive]
|
|
@@ -24503,6 +24544,11 @@ components:
|
|
|
24503
24544
|
user_id:
|
|
24504
24545
|
type: string
|
|
24505
24546
|
format: uuid
|
|
24547
|
+
email:
|
|
24548
|
+
type: string
|
|
24549
|
+
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.
|
|
24550
|
+
display_name:
|
|
24551
|
+
type: string
|
|
24506
24552
|
status:
|
|
24507
24553
|
type: string
|
|
24508
24554
|
entitlement_status:
|