@1claw/openapi-spec 0.61.51 → 0.61.53

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "1Claw API",
5
- "version": "0.61.51",
5
+ "version": "0.61.53",
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"
@@ -7034,6 +7034,28 @@
7034
7034
  "summary": "Your own referral link and signups",
7035
7035
  "description": "The caller's referral code, the link to share, how many signups it has\nproduced, and a recent list.\n\nUsers only — a referral link belongs to a person, so an agent principal\ngets 403.\n\nThe link's host comes from the brand the request arrived on, the same\nway the SIWE domain and the WebAuthn rpId do: someone on 1claw.co must\nnot be handed a 1claw.xyz link to post.\n\n`recent[].referred_hint` is masked (`a**@example.com`) — enough to\nrecognise someone you did invite, not enough to contact someone you did\nnot. Neither the referred address nor its user id is returned.\n",
7036
7036
  "operationId": "getMyReferrals",
7037
+ "parameters": [
7038
+ {
7039
+ "in": "query",
7040
+ "name": "from",
7041
+ "required": false,
7042
+ "schema": {
7043
+ "type": "string",
7044
+ "format": "date-time"
7045
+ },
7046
+ "description": "Start of a half-open window `[from, to)` on when the referral was made.\nSame boundary rule as the admin leaderboard, so the two cannot disagree\nabout a referral landing on the edge. Omit for no lower bound.\n"
7047
+ },
7048
+ {
7049
+ "in": "query",
7050
+ "name": "to",
7051
+ "required": false,
7052
+ "schema": {
7053
+ "type": "string",
7054
+ "format": "date-time"
7055
+ },
7056
+ "description": "End of the window, exclusive. A contest run \"through the 31st\" passes the\n1st of the next month. Omit for no upper bound.\n"
7057
+ }
7058
+ ],
7037
7059
  "responses": {
7038
7060
  "200": {
7039
7061
  "description": "The caller's referral code, link and signup count",
@@ -32962,6 +32984,7 @@
32962
32984
  "code",
32963
32985
  "link",
32964
32986
  "total",
32987
+ "qualified",
32965
32988
  "recent"
32966
32989
  ],
32967
32990
  "properties": {
@@ -32979,7 +33002,21 @@
32979
33002
  "total": {
32980
33003
  "type": "integer",
32981
33004
  "format": "int64",
32982
- "description": "Countable signups attributed to this code."
33005
+ "description": "Countable signups attributed to this code, one per person."
33006
+ },
33007
+ "qualified": {
33008
+ "type": "integer",
33009
+ "format": "int64",
33010
+ "description": "Of those, the ones on a live paid subscription — what a contest settles\non. Always <= `total`.\n"
33011
+ },
33012
+ "from": {
33013
+ "type": "string",
33014
+ "format": "date-time",
33015
+ "description": "Echoed back when a window was requested, so a caller can confirm which window produced these numbers."
33016
+ },
33017
+ "to": {
33018
+ "type": "string",
33019
+ "format": "date-time"
32983
33020
  },
32984
33021
  "recent": {
32985
33022
  "type": "array",
@@ -35403,6 +35440,10 @@
35403
35440
  "type": "string",
35404
35441
  "description": "Maximum cumulative USD spent ordering cards per rolling 24h window."
35405
35442
  },
35443
+ "usdc_daily_limit_usd": {
35444
+ "type": "string",
35445
+ "description": "One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay and card orders together. Calendar day, UTC. Omit for no cap. Applied **in addition to** the per-route caps, never instead of them: `tx_*` bounds signing and submitting, `pay_*` bounds POST /v1/pay, and `card_*` bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend."
35446
+ },
35406
35447
  "card_payto_allowlist": {
35407
35448
  "type": "array",
35408
35449
  "items": {
@@ -35773,6 +35814,13 @@
35773
35814
  ],
35774
35815
  "description": "Maximum cumulative USD spent ordering cards per rolling 24h window. null clears."
35775
35816
  },
35817
+ "usdc_daily_limit_usd": {
35818
+ "type": [
35819
+ "string",
35820
+ "null"
35821
+ ],
35822
+ "description": "One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay and card orders together. Calendar day, UTC. null clears it. Applied **in addition to** the per-route caps, never instead of them: `tx_*` bounds signing and submitting, `pay_*` bounds POST /v1/pay, and `card_*` bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend."
35823
+ },
35776
35824
  "card_payto_allowlist": {
35777
35825
  "type": "array",
35778
35826
  "items": {
@@ -36186,6 +36234,10 @@
36186
36234
  "type": "string",
36187
36235
  "description": "Maximum cumulative USD spent ordering cards per rolling 24h window."
36188
36236
  },
36237
+ "usdc_daily_limit_usd": {
36238
+ "type": "string",
36239
+ "description": "One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay and card orders together. Calendar day, UTC. Omit for no cap. Applied **in addition to** the per-route caps, never instead of them: `tx_*` bounds signing and submitting, `pay_*` bounds POST /v1/pay, and `card_*` bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend."
36240
+ },
36189
36241
  "card_payto_allowlist": {
36190
36242
  "type": "array",
36191
36243
  "items": {
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.51"
5
+ version: "0.61.53"
6
6
  description: |
7
7
  Secure secret management for AI agents. Provides vaults, secrets,
8
8
  policy-based access control, agent identity, Intents API,
@@ -4549,6 +4549,22 @@ paths:
4549
4549
  recognise someone you did invite, not enough to contact someone you did
4550
4550
  not. Neither the referred address nor its user id is returned.
4551
4551
  operationId: getMyReferrals
4552
+ parameters:
4553
+ - in: query
4554
+ name: from
4555
+ required: false
4556
+ schema: { type: string, format: date-time }
4557
+ description: |
4558
+ Start of a half-open window `[from, to)` on when the referral was made.
4559
+ Same boundary rule as the admin leaderboard, so the two cannot disagree
4560
+ about a referral landing on the edge. Omit for no lower bound.
4561
+ - in: query
4562
+ name: to
4563
+ required: false
4564
+ schema: { type: string, format: date-time }
4565
+ description: |
4566
+ End of the window, exclusive. A contest run "through the 31st" passes the
4567
+ 1st of the next month. Omit for no upper bound.
4552
4568
  responses:
4553
4569
  "200":
4554
4570
  description: The caller's referral code, link and signup count
@@ -21156,7 +21172,7 @@ components:
21156
21172
  schemas:
21157
21173
  MyReferralsResponse:
21158
21174
  type: object
21159
- required: [code, link, total, recent]
21175
+ required: [code, link, total, qualified, recent]
21160
21176
  properties:
21161
21177
  code:
21162
21178
  type: string
@@ -21170,7 +21186,20 @@ components:
21170
21186
  total:
21171
21187
  type: integer
21172
21188
  format: int64
21173
- description: Countable signups attributed to this code.
21189
+ description: Countable signups attributed to this code, one per person.
21190
+ qualified:
21191
+ type: integer
21192
+ format: int64
21193
+ description: |
21194
+ Of those, the ones on a live paid subscription — what a contest settles
21195
+ on. Always <= `total`.
21196
+ from:
21197
+ type: string
21198
+ format: date-time
21199
+ description: Echoed back when a window was requested, so a caller can confirm which window produced these numbers.
21200
+ to:
21201
+ type: string
21202
+ format: date-time
21174
21203
  recent:
21175
21204
  type: array
21176
21205
  items:
@@ -22714,6 +22743,12 @@ components:
22714
22743
  card_daily_limit_usd:
22715
22744
  type: string
22716
22745
  description: Maximum cumulative USD spent ordering cards per rolling 24h window.
22746
+ usdc_daily_limit_usd:
22747
+ type: string
22748
+ description: >-
22749
+ One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay
22750
+ and card orders together. Calendar day, UTC. Omit for no cap.
22751
+ Applied **in addition to** the per-route caps, never instead of them: `tx_*` bounds signing and submitting, `pay_*` bounds POST /v1/pay, and `card_*` bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend.
22717
22752
  card_payto_allowlist:
22718
22753
  type: array
22719
22754
  items:
@@ -22963,6 +22998,12 @@ components:
22963
22998
  card_daily_limit_usd:
22964
22999
  type: [string, "null"]
22965
23000
  description: Maximum cumulative USD spent ordering cards per rolling 24h window. null clears.
23001
+ usdc_daily_limit_usd:
23002
+ type: [string, "null"]
23003
+ description: >-
23004
+ One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay
23005
+ and card orders together. Calendar day, UTC. null clears it.
23006
+ Applied **in addition to** the per-route caps, never instead of them: `tx_*` bounds signing and submitting, `pay_*` bounds POST /v1/pay, and `card_*` bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend.
22966
23007
  card_payto_allowlist:
22967
23008
  type: array
22968
23009
  items:
@@ -23262,6 +23303,12 @@ components:
23262
23303
  card_daily_limit_usd:
23263
23304
  type: string
23264
23305
  description: Maximum cumulative USD spent ordering cards per rolling 24h window.
23306
+ usdc_daily_limit_usd:
23307
+ type: string
23308
+ description: >-
23309
+ One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay
23310
+ and card orders together. Calendar day, UTC. Omit for no cap.
23311
+ Applied **in addition to** the per-route caps, never instead of them: `tx_*` bounds signing and submitting, `pay_*` bounds POST /v1/pay, and `card_*` bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend.
23265
23312
  card_payto_allowlist:
23266
23313
  type: array
23267
23314
  items:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.61.51",
3
+ "version": "0.61.53",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API \u2014 generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {