@limitry/cli 1.0.0-rc.12 → 1.0.0-rc.14
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/CHANGELOG.md +77 -0
- package/README.md +1 -1
- package/dist/limitry.mjs +378 -41
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,83 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in the Limitry CLI (`@limitry/cli`). Generated from the source on each release; newest first.
|
|
4
4
|
|
|
5
|
+
## 1.0.0-rc.14 (2026-11-09)
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Members and pending invitations now carry `seat`: the seat type a person
|
|
10
|
+
holds or will hold (`GET /v1/workspace/members`,
|
|
11
|
+
`GET /v1/workspace/invitations`). It is null for a guest, or where the
|
|
12
|
+
product has no seat types.
|
|
13
|
+
- `GET /v1/usage` and `GET /v1/usage/subjects` take a limit by its name, as
|
|
14
|
+
`limitName`, as well as by `limitId`. They also take a `period`, such as
|
|
15
|
+
`last_month` or `this_week`, instead of `from` and `to`.
|
|
16
|
+
|
|
17
|
+
`GET /v1/usage` returns the range's `total` (`used`, `allowed` and
|
|
18
|
+
`refused`) beside its buckets, and the range it covers as `from` and `to`.
|
|
19
|
+
|
|
20
|
+
`GET /v1/usage/subjects` lists who used a limit most in a past period when
|
|
21
|
+
you send `period`, or `from` and `to`. In that list, `remaining` is null.
|
|
22
|
+
Add `sort` as `refused` to list the most refused first. It also says when
|
|
23
|
+
the current window ends, as `resetsAt`.
|
|
24
|
+
|
|
25
|
+
Both responses include the limit's `limitName`, `unit`, `amount` and
|
|
26
|
+
`window`.
|
|
27
|
+
|
|
28
|
+
In the SDKs, `remaining` on `client.usage.subjects()` items is now typed
|
|
29
|
+
as a number or null, so check for null before using it. In the CLI, use
|
|
30
|
+
`--limit-name`, `--period` and `--sort`.
|
|
31
|
+
|
|
32
|
+
`GET /v1/usage/overview` is new: every active limit's usage in one answer,
|
|
33
|
+
with each limit's unit, amount, window, `total` and top subjects. It covers
|
|
34
|
+
each limit's current window, or a `period` or range you send. With `sort`
|
|
35
|
+
as `refused`, each limit lists only the subjects it refused. A balance
|
|
36
|
+
also lists the credits added to it and taken back in the range. In the SDKs
|
|
37
|
+
it's `client.usage.overview()`, and in the CLI `limitry usage overview`.
|
|
38
|
+
|
|
39
|
+
Every call about one limit takes the limit's name in place of its ID:
|
|
40
|
+
`GET`, `PATCH`, archive and restore on `/v1/limits/{limitId}`, and listing
|
|
41
|
+
and adding its credits. So does the `limit.credit` approval. A name
|
|
42
|
+
matches exactly, or else ignoring case. When two limits match ignoring
|
|
43
|
+
case, the call fails with a 400 that names both.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- A personal access token changes limits, subjects and credits only on its
|
|
48
|
+
person's side. An admin in a Developer seat changes test, and an admin in
|
|
49
|
+
an Operator seat changes live. The owner changes both. A change on the
|
|
50
|
+
other side returns 403 `forbidden`, and the message names who may make it.
|
|
51
|
+
Workspace API keys are not affected.
|
|
52
|
+
|
|
53
|
+
### Removed
|
|
54
|
+
|
|
55
|
+
- A limit no longer has a `version` field (`GET /v1/limits`,
|
|
56
|
+
`GET /v1/limits/{limitId}` and every response that returns a limit). Use
|
|
57
|
+
`updatedAt` to tell whether a limit has changed.
|
|
58
|
+
|
|
59
|
+
## 1.0.0-rc.13 (2026-11-07)
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- Lists can start from a date. `GET /v1/workspace/audit-events` and
|
|
64
|
+
`GET /v1/workspace/webhook-endpoints/{endpointId}/deliveries` take
|
|
65
|
+
`before`, an ISO time, and return the items older than it, newest first.
|
|
66
|
+
|
|
67
|
+
Audit events take two filters. `action` keeps one kind of event.
|
|
68
|
+
`actor` keeps what one person, key or token did: pass `user:` and an
|
|
69
|
+
item's `actor.id`, or `credential:` and its `credential.id`. Each audit
|
|
70
|
+
event now carries those ids.
|
|
71
|
+
|
|
72
|
+
Webhook deliveries take `status`: `pending`, `delivered` or `failed`.
|
|
73
|
+
|
|
74
|
+
### Changed
|
|
75
|
+
|
|
76
|
+
- `limitry.limits.credits.list()` and `limitry limits credits list` now page
|
|
77
|
+
like every other list (`GET /v1/limits/{limitId}/credits`). They return
|
|
78
|
+
one page of credits and a `nextCursor`, and take `limit`, `cursor` and
|
|
79
|
+
`before`. `subjectId` keeps one subject's credits. The list no longer
|
|
80
|
+
stops at the newest 200.
|
|
81
|
+
|
|
5
82
|
## 1.0.0-rc.12 (2026-11-07)
|
|
6
83
|
|
|
7
84
|
### Added
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The Limitry CLI sets up your limits and checks them from a terminal, a script or an agent: create a limit, try a check, and see who is using what, in test before live.
|
|
4
4
|
|
|
5
|
-
Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly
|
|
5
|
+
Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly request one call tells your code whether it may happen.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
package/dist/limitry.mjs
CHANGED
|
@@ -31,7 +31,7 @@ var brand_default = {
|
|
|
31
31
|
devDomain: "limitry.dev",
|
|
32
32
|
labs: ["lab"],
|
|
33
33
|
discordInvite: "https://discord.gg/Nb6QFd6ER4",
|
|
34
|
-
summary: "Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly
|
|
34
|
+
summary: "Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly request one call tells your code whether it may happen.",
|
|
35
35
|
expectedAssets: [
|
|
36
36
|
"logo.svg",
|
|
37
37
|
"logo-dark.svg",
|
|
@@ -1291,7 +1291,7 @@ function resources(client) {
|
|
|
1291
1291
|
),
|
|
1292
1292
|
list: (
|
|
1293
1293
|
/** List a balance's credits */
|
|
1294
|
-
(limitId, options) => call(client, { "method": "get", "path": "/limits/{limitId}/credits", "query": [], "hasBody": false }, { "limitId": limitId },
|
|
1294
|
+
(limitId, input, options) => call(client, { "method": "get", "path": "/limits/{limitId}/credits", "query": ["limit", "cursor", "before", "subjectId"], "hasBody": false }, { "limitId": limitId }, input, options)
|
|
1295
1295
|
)
|
|
1296
1296
|
},
|
|
1297
1297
|
get: (
|
|
@@ -1344,17 +1344,21 @@ function resources(client) {
|
|
|
1344
1344
|
)
|
|
1345
1345
|
},
|
|
1346
1346
|
usage: {
|
|
1347
|
+
overview: (
|
|
1348
|
+
/** Get every limit's usage at once */
|
|
1349
|
+
(input, options) => call(client, { "method": "get", "path": "/usage/overview", "query": ["period", "from", "to", "sort", "top"], "hasBody": false }, {}, input, options)
|
|
1350
|
+
),
|
|
1347
1351
|
query: (
|
|
1348
1352
|
/** Get a limit's usage over time */
|
|
1349
|
-
(input, options) => call(client, { "method": "get", "path": "/usage", "query": ["limitId", "subject", "from", "to", "granularity"], "hasBody": false }, {}, input, options)
|
|
1353
|
+
(input, options) => call(client, { "method": "get", "path": "/usage", "query": ["limitId", "limitName", "subject", "period", "from", "to", "granularity"], "hasBody": false }, {}, input, options)
|
|
1350
1354
|
),
|
|
1351
1355
|
standing: (
|
|
1352
1356
|
/** Get where a subject stands */
|
|
1353
1357
|
(input, options) => call(client, { "method": "get", "path": "/usage/standing", "query": ["subject", "shared"], "hasBody": false }, {}, input, options)
|
|
1354
1358
|
),
|
|
1355
1359
|
subjects: (
|
|
1356
|
-
/** List who is using a limit
|
|
1357
|
-
(input, options) => call(client, { "method": "get", "path": "/usage/subjects", "query": ["limitId", "limit"], "hasBody": false }, {}, input, options)
|
|
1360
|
+
/** List who is using a limit */
|
|
1361
|
+
(input, options) => call(client, { "method": "get", "path": "/usage/subjects", "query": ["limitId", "limitName", "period", "from", "to", "sort", "limit"], "hasBody": false }, {}, input, options)
|
|
1358
1362
|
)
|
|
1359
1363
|
},
|
|
1360
1364
|
user: {
|
|
@@ -1391,7 +1395,7 @@ function resources(client) {
|
|
|
1391
1395
|
auditEvents: {
|
|
1392
1396
|
list: (
|
|
1393
1397
|
/** List workspace audit events */
|
|
1394
|
-
(input, options) => call(client, { "method": "get", "path": "/workspace/audit-events", "query": ["limit", "cursor"], "hasBody": false }, {}, input, options)
|
|
1398
|
+
(input, options) => call(client, { "method": "get", "path": "/workspace/audit-events", "query": ["limit", "cursor", "before", "action", "actor"], "hasBody": false }, {}, input, options)
|
|
1395
1399
|
)
|
|
1396
1400
|
},
|
|
1397
1401
|
eventTypes: {
|
|
@@ -1429,7 +1433,7 @@ function resources(client) {
|
|
|
1429
1433
|
webhookDeliveries: {
|
|
1430
1434
|
list: (
|
|
1431
1435
|
/** List an endpoint's deliveries */
|
|
1432
|
-
(endpointId, input, options) => call(client, { "method": "get", "path": "/workspace/webhook-endpoints/{endpointId}/deliveries", "query": ["limit", "cursor"], "hasBody": false }, { "endpointId": endpointId }, input, options)
|
|
1436
|
+
(endpointId, input, options) => call(client, { "method": "get", "path": "/workspace/webhook-endpoints/{endpointId}/deliveries", "query": ["limit", "cursor", "before", "status"], "hasBody": false }, { "endpointId": endpointId }, input, options)
|
|
1433
1437
|
),
|
|
1434
1438
|
redeliver: (
|
|
1435
1439
|
/** Redeliver an event */
|
|
@@ -5677,11 +5681,11 @@ var OPERATIONS = [
|
|
|
5677
5681
|
"in": "path",
|
|
5678
5682
|
"type": "string",
|
|
5679
5683
|
"required": true,
|
|
5680
|
-
"description": "The limit's ID.",
|
|
5684
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
|
|
5681
5685
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
5682
5686
|
"schema": {
|
|
5683
5687
|
"type": "string",
|
|
5684
|
-
"description": "The limit's ID."
|
|
5688
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
|
|
5685
5689
|
}
|
|
5686
5690
|
}
|
|
5687
5691
|
],
|
|
@@ -5920,11 +5924,11 @@ var OPERATIONS = [
|
|
|
5920
5924
|
"in": "path",
|
|
5921
5925
|
"type": "string",
|
|
5922
5926
|
"required": true,
|
|
5923
|
-
"description": "The limit's ID.",
|
|
5927
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
|
|
5924
5928
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
5925
5929
|
"schema": {
|
|
5926
5930
|
"type": "string",
|
|
5927
|
-
"description": "The limit's ID."
|
|
5931
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
|
|
5928
5932
|
}
|
|
5929
5933
|
},
|
|
5930
5934
|
{
|
|
@@ -6010,18 +6014,71 @@ var OPERATIONS = [
|
|
|
6010
6014
|
"idempotentHint": true
|
|
6011
6015
|
}
|
|
6012
6016
|
},
|
|
6013
|
-
"description": "Lists the credits added to subjects' balances on this limit, including any taken back.
|
|
6017
|
+
"description": "Lists the credits added to subjects' balances on this limit, including any taken back, newest first. Page through them with the opaque `nextCursor`. `before` starts from a moment, and `subjectId` keeps one subject's credits.",
|
|
6014
6018
|
"fields": [
|
|
6015
6019
|
{
|
|
6016
6020
|
"name": "limitId",
|
|
6017
6021
|
"in": "path",
|
|
6018
6022
|
"type": "string",
|
|
6019
6023
|
"required": true,
|
|
6020
|
-
"description": "The limit's ID.",
|
|
6024
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
|
|
6021
6025
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
6022
6026
|
"schema": {
|
|
6023
6027
|
"type": "string",
|
|
6024
|
-
"description": "The limit's ID."
|
|
6028
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
|
|
6029
|
+
}
|
|
6030
|
+
},
|
|
6031
|
+
{
|
|
6032
|
+
"name": "limit",
|
|
6033
|
+
"in": "query",
|
|
6034
|
+
"type": "number",
|
|
6035
|
+
"required": false,
|
|
6036
|
+
"description": "Items per page, 1\u2013100 (default 25).",
|
|
6037
|
+
"example": 25,
|
|
6038
|
+
"schema": {
|
|
6039
|
+
"type": "integer",
|
|
6040
|
+
"minimum": 1,
|
|
6041
|
+
"maximum": 100,
|
|
6042
|
+
"default": 25,
|
|
6043
|
+
"description": "Items per page, 1\u2013100 (default 25)."
|
|
6044
|
+
}
|
|
6045
|
+
},
|
|
6046
|
+
{
|
|
6047
|
+
"name": "cursor",
|
|
6048
|
+
"in": "query",
|
|
6049
|
+
"type": "string",
|
|
6050
|
+
"required": false,
|
|
6051
|
+
"description": "Opaque token from a previous page's nextCursor.",
|
|
6052
|
+
"schema": {
|
|
6053
|
+
"type": "string",
|
|
6054
|
+
"description": "Opaque token from a previous page's nextCursor."
|
|
6055
|
+
}
|
|
6056
|
+
},
|
|
6057
|
+
{
|
|
6058
|
+
"name": "before",
|
|
6059
|
+
"in": "query",
|
|
6060
|
+
"type": "string",
|
|
6061
|
+
"required": false,
|
|
6062
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
6063
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
6064
|
+
"schema": {
|
|
6065
|
+
"type": "string",
|
|
6066
|
+
"format": "date-time",
|
|
6067
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
6068
|
+
}
|
|
6069
|
+
},
|
|
6070
|
+
{
|
|
6071
|
+
"name": "subjectId",
|
|
6072
|
+
"in": "query",
|
|
6073
|
+
"type": "string",
|
|
6074
|
+
"required": false,
|
|
6075
|
+
"description": "Only the credits for this subject.",
|
|
6076
|
+
"example": "team_42",
|
|
6077
|
+
"schema": {
|
|
6078
|
+
"type": "string",
|
|
6079
|
+
"minLength": 1,
|
|
6080
|
+
"maxLength": 200,
|
|
6081
|
+
"description": "Only the credits for this subject."
|
|
6025
6082
|
}
|
|
6026
6083
|
}
|
|
6027
6084
|
],
|
|
@@ -6058,11 +6115,11 @@ var OPERATIONS = [
|
|
|
6058
6115
|
"in": "path",
|
|
6059
6116
|
"type": "string",
|
|
6060
6117
|
"required": true,
|
|
6061
|
-
"description": "The limit's ID.",
|
|
6118
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
|
|
6062
6119
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
6063
6120
|
"schema": {
|
|
6064
6121
|
"type": "string",
|
|
6065
|
-
"description": "The limit's ID."
|
|
6122
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
|
|
6066
6123
|
}
|
|
6067
6124
|
}
|
|
6068
6125
|
],
|
|
@@ -6193,11 +6250,11 @@ var OPERATIONS = [
|
|
|
6193
6250
|
"in": "path",
|
|
6194
6251
|
"type": "string",
|
|
6195
6252
|
"required": true,
|
|
6196
|
-
"description": "The limit's ID.",
|
|
6253
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
|
|
6197
6254
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
6198
6255
|
"schema": {
|
|
6199
6256
|
"type": "string",
|
|
6200
|
-
"description": "The limit's ID."
|
|
6257
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
|
|
6201
6258
|
}
|
|
6202
6259
|
}
|
|
6203
6260
|
],
|
|
@@ -6330,11 +6387,11 @@ var OPERATIONS = [
|
|
|
6330
6387
|
"in": "path",
|
|
6331
6388
|
"type": "string",
|
|
6332
6389
|
"required": true,
|
|
6333
|
-
"description": "The limit's ID.",
|
|
6390
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
|
|
6334
6391
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
6335
6392
|
"schema": {
|
|
6336
6393
|
"type": "string",
|
|
6337
|
-
"description": "The limit's ID."
|
|
6394
|
+
"description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
|
|
6338
6395
|
}
|
|
6339
6396
|
},
|
|
6340
6397
|
{
|
|
@@ -6861,6 +6918,111 @@ var OPERATIONS = [
|
|
|
6861
6918
|
"acceptsApiKey": true,
|
|
6862
6919
|
"scope": "limits:write"
|
|
6863
6920
|
},
|
|
6921
|
+
{
|
|
6922
|
+
"operationId": "usage.overview",
|
|
6923
|
+
"method": "get",
|
|
6924
|
+
"path": "/usage/overview",
|
|
6925
|
+
"summary": "Get every limit's usage at once",
|
|
6926
|
+
"cli": {
|
|
6927
|
+
"command": "usage overview",
|
|
6928
|
+
"args": [],
|
|
6929
|
+
"confirm": false
|
|
6930
|
+
},
|
|
6931
|
+
"mcp": {
|
|
6932
|
+
"exposed": true,
|
|
6933
|
+
"name": "usage_overview",
|
|
6934
|
+
"hints": {
|
|
6935
|
+
"readOnlyHint": true,
|
|
6936
|
+
"destructiveHint": false,
|
|
6937
|
+
"idempotentHint": true
|
|
6938
|
+
}
|
|
6939
|
+
},
|
|
6940
|
+
"description": "Returns every active limit's usage in one answer, for a question that names no limit. Each limit comes with its name, unit, amount and window, its `total` (units used, checks allowed and refused) and its top subjects. By default, it covers each limit's current window, with exact amounts. For a past range, send `period`, such as `last_month`, or `from` and `to`. The totals and subjects then come from history, and each subject's `remaining` is null. Set `sort` to `refused` to list only the subjects each limit refused, the most refused first. A balance also lists the credits added to it in the range. Usage older than your plan's history isn't returned.",
|
|
6941
|
+
"fields": [
|
|
6942
|
+
{
|
|
6943
|
+
"name": "period",
|
|
6944
|
+
"in": "query",
|
|
6945
|
+
"type": "string",
|
|
6946
|
+
"required": false,
|
|
6947
|
+
"description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now.",
|
|
6948
|
+
"example": "last_month",
|
|
6949
|
+
"schema": {
|
|
6950
|
+
"type": "string",
|
|
6951
|
+
"enum": [
|
|
6952
|
+
"today",
|
|
6953
|
+
"this_week",
|
|
6954
|
+
"last_week",
|
|
6955
|
+
"this_month",
|
|
6956
|
+
"last_month"
|
|
6957
|
+
],
|
|
6958
|
+
"description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now."
|
|
6959
|
+
}
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"name": "from",
|
|
6963
|
+
"in": "query",
|
|
6964
|
+
"type": "string",
|
|
6965
|
+
"required": false,
|
|
6966
|
+
"description": "The start of the range, in ISO 8601.",
|
|
6967
|
+
"example": "2026-10-01T00:00:00Z",
|
|
6968
|
+
"schema": {
|
|
6969
|
+
"type": "string",
|
|
6970
|
+
"format": "date-time",
|
|
6971
|
+
"description": "The start of the range, in ISO 8601."
|
|
6972
|
+
}
|
|
6973
|
+
},
|
|
6974
|
+
{
|
|
6975
|
+
"name": "to",
|
|
6976
|
+
"in": "query",
|
|
6977
|
+
"type": "string",
|
|
6978
|
+
"required": false,
|
|
6979
|
+
"description": "The end of the range, in ISO 8601. Default: now.",
|
|
6980
|
+
"example": "2026-11-01T00:00:00Z",
|
|
6981
|
+
"schema": {
|
|
6982
|
+
"type": "string",
|
|
6983
|
+
"format": "date-time",
|
|
6984
|
+
"description": "The end of the range, in ISO 8601. Default: now."
|
|
6985
|
+
}
|
|
6986
|
+
},
|
|
6987
|
+
{
|
|
6988
|
+
"name": "sort",
|
|
6989
|
+
"in": "query",
|
|
6990
|
+
"type": "string",
|
|
6991
|
+
"required": false,
|
|
6992
|
+
"description": "`used` lists each limit's most used subjects first, and `refused` only its refused subjects, the most refused first. Default: used.",
|
|
6993
|
+
"schema": {
|
|
6994
|
+
"type": "string",
|
|
6995
|
+
"enum": [
|
|
6996
|
+
"used",
|
|
6997
|
+
"refused"
|
|
6998
|
+
],
|
|
6999
|
+
"default": "used",
|
|
7000
|
+
"description": "`used` lists each limit's most used subjects first, and `refused` only its refused subjects, the most refused first. Default: used."
|
|
7001
|
+
}
|
|
7002
|
+
},
|
|
7003
|
+
{
|
|
7004
|
+
"name": "top",
|
|
7005
|
+
"in": "query",
|
|
7006
|
+
"type": "number",
|
|
7007
|
+
"required": false,
|
|
7008
|
+
"description": "How many subjects to list for each limit, up to 20. Default: 5.",
|
|
7009
|
+
"schema": {
|
|
7010
|
+
"type": [
|
|
7011
|
+
"integer",
|
|
7012
|
+
"null"
|
|
7013
|
+
],
|
|
7014
|
+
"minimum": 0,
|
|
7015
|
+
"maximum": 20,
|
|
7016
|
+
"default": 5,
|
|
7017
|
+
"description": "How many subjects to list for each limit, up to 20. Default: 5."
|
|
7018
|
+
}
|
|
7019
|
+
}
|
|
7020
|
+
],
|
|
7021
|
+
"hasBody": false,
|
|
7022
|
+
"workspace": true,
|
|
7023
|
+
"acceptsApiKey": true,
|
|
7024
|
+
"scope": "limits:read"
|
|
7025
|
+
},
|
|
6864
7026
|
{
|
|
6865
7027
|
"operationId": "usage.query",
|
|
6866
7028
|
"method": "get",
|
|
@@ -6880,18 +7042,31 @@ var OPERATIONS = [
|
|
|
6880
7042
|
"idempotentHint": true
|
|
6881
7043
|
}
|
|
6882
7044
|
},
|
|
6883
|
-
"description": "Returns one limit's usage over time: the units used, and the checks allowed and refused. It covers every subject, or one subject named in `subject` as `kind:id`. Usage comes in hourly or daily buckets in UTC, and the response includes every bucket in the range. It can be up to about a minute behind live checks. By default, it covers the last 30 days, by day. A request returns at most 2,000 buckets. Usage older than your plan's history isn't returned.",
|
|
7045
|
+
"description": "Returns one limit's usage over time: the units used, and the checks allowed and refused, with the range's `total` beside the buckets. It covers every subject, or one subject named in `subject` as `kind:id`. Name the limit by `limitId` or `limitName`. Choose the range with `period` (such as `last_month`) or `from` and `to`. Usage comes in hourly or daily buckets in UTC, and the response includes every bucket in the range. It can be up to about a minute behind live checks. By default, it covers the last 30 days, by day. A request returns at most 2,000 buckets. Usage older than your plan's history isn't returned.",
|
|
6884
7046
|
"fields": [
|
|
6885
7047
|
{
|
|
6886
7048
|
"name": "limitId",
|
|
6887
7049
|
"in": "query",
|
|
6888
7050
|
"type": "string",
|
|
6889
|
-
"required":
|
|
6890
|
-
"description": "The limit's ID.",
|
|
7051
|
+
"required": false,
|
|
7052
|
+
"description": "The limit's ID. Send this or `limitName`.",
|
|
6891
7053
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
6892
7054
|
"schema": {
|
|
6893
7055
|
"type": "string",
|
|
6894
|
-
"description": "The limit's ID."
|
|
7056
|
+
"description": "The limit's ID. Send this or `limitName`."
|
|
7057
|
+
}
|
|
7058
|
+
},
|
|
7059
|
+
{
|
|
7060
|
+
"name": "limitName",
|
|
7061
|
+
"in": "query",
|
|
7062
|
+
"type": "string",
|
|
7063
|
+
"required": false,
|
|
7064
|
+
"description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case.",
|
|
7065
|
+
"example": "AI budget",
|
|
7066
|
+
"schema": {
|
|
7067
|
+
"type": "string",
|
|
7068
|
+
"maxLength": 200,
|
|
7069
|
+
"description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case."
|
|
6895
7070
|
}
|
|
6896
7071
|
},
|
|
6897
7072
|
{
|
|
@@ -6908,6 +7083,25 @@ var OPERATIONS = [
|
|
|
6908
7083
|
"description": "One subject, as `kind:id`, to see its usage instead of every subject's."
|
|
6909
7084
|
}
|
|
6910
7085
|
},
|
|
7086
|
+
{
|
|
7087
|
+
"name": "period",
|
|
7088
|
+
"in": "query",
|
|
7089
|
+
"type": "string",
|
|
7090
|
+
"required": false,
|
|
7091
|
+
"description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now.",
|
|
7092
|
+
"example": "last_month",
|
|
7093
|
+
"schema": {
|
|
7094
|
+
"type": "string",
|
|
7095
|
+
"enum": [
|
|
7096
|
+
"today",
|
|
7097
|
+
"this_week",
|
|
7098
|
+
"last_week",
|
|
7099
|
+
"this_month",
|
|
7100
|
+
"last_month"
|
|
7101
|
+
],
|
|
7102
|
+
"description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now."
|
|
7103
|
+
}
|
|
7104
|
+
},
|
|
6911
7105
|
{
|
|
6912
7106
|
"name": "from",
|
|
6913
7107
|
"in": "query",
|
|
@@ -6927,7 +7121,7 @@ var OPERATIONS = [
|
|
|
6927
7121
|
"type": "string",
|
|
6928
7122
|
"required": false,
|
|
6929
7123
|
"description": "The end of the range, in ISO 8601. Default: now.",
|
|
6930
|
-
"example": "2026-
|
|
7124
|
+
"example": "2026-11-01T00:00:00Z",
|
|
6931
7125
|
"schema": {
|
|
6932
7126
|
"type": "string",
|
|
6933
7127
|
"format": "date-time",
|
|
@@ -7013,7 +7207,7 @@ var OPERATIONS = [
|
|
|
7013
7207
|
"operationId": "usage.subjects",
|
|
7014
7208
|
"method": "get",
|
|
7015
7209
|
"path": "/usage/subjects",
|
|
7016
|
-
"summary": "List who is using a limit
|
|
7210
|
+
"summary": "List who is using a limit",
|
|
7017
7211
|
"cli": {
|
|
7018
7212
|
"command": "usage subjects",
|
|
7019
7213
|
"args": [],
|
|
@@ -7028,18 +7222,92 @@ var OPERATIONS = [
|
|
|
7028
7222
|
"idempotentHint": true
|
|
7029
7223
|
}
|
|
7030
7224
|
},
|
|
7031
|
-
"description": "Lists a limit's subjects in its current window, most used first. Each one shows the units used, what's left and how many checks the limit refused. The amounts are exact, but a subject first checked in the last minute may not appear yet. For a `concurrent` limit, it lists the slots each subject holds now, among the subjects checked in the last hour.",
|
|
7225
|
+
"description": "Lists a limit's subjects in its current window, most used first. Each one shows the units used, what's left and how many checks the limit refused. The amounts are exact, but a subject first checked in the last minute may not appear yet. For a `concurrent` limit, it lists the slots each subject holds now, among the subjects checked in the last hour. Name the limit by `limitId` or `limitName`. For a past range, send `period`, such as `last_month`, or `from` and `to`. The subjects are then ranked by their use in that range, from history. Each one's `remaining` is then null. Set `sort` to `refused` to list the most refused first. Usage older than your plan's history isn't returned.",
|
|
7032
7226
|
"fields": [
|
|
7033
7227
|
{
|
|
7034
7228
|
"name": "limitId",
|
|
7035
7229
|
"in": "query",
|
|
7036
7230
|
"type": "string",
|
|
7037
|
-
"required":
|
|
7038
|
-
"description": "The limit's ID.",
|
|
7231
|
+
"required": false,
|
|
7232
|
+
"description": "The limit's ID. Send this or `limitName`.",
|
|
7039
7233
|
"example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
|
|
7040
7234
|
"schema": {
|
|
7041
7235
|
"type": "string",
|
|
7042
|
-
"description": "The limit's ID."
|
|
7236
|
+
"description": "The limit's ID. Send this or `limitName`."
|
|
7237
|
+
}
|
|
7238
|
+
},
|
|
7239
|
+
{
|
|
7240
|
+
"name": "limitName",
|
|
7241
|
+
"in": "query",
|
|
7242
|
+
"type": "string",
|
|
7243
|
+
"required": false,
|
|
7244
|
+
"description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case.",
|
|
7245
|
+
"example": "AI budget",
|
|
7246
|
+
"schema": {
|
|
7247
|
+
"type": "string",
|
|
7248
|
+
"maxLength": 200,
|
|
7249
|
+
"description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case."
|
|
7250
|
+
}
|
|
7251
|
+
},
|
|
7252
|
+
{
|
|
7253
|
+
"name": "period",
|
|
7254
|
+
"in": "query",
|
|
7255
|
+
"type": "string",
|
|
7256
|
+
"required": false,
|
|
7257
|
+
"description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now.",
|
|
7258
|
+
"example": "last_month",
|
|
7259
|
+
"schema": {
|
|
7260
|
+
"type": "string",
|
|
7261
|
+
"enum": [
|
|
7262
|
+
"today",
|
|
7263
|
+
"this_week",
|
|
7264
|
+
"last_week",
|
|
7265
|
+
"this_month",
|
|
7266
|
+
"last_month"
|
|
7267
|
+
],
|
|
7268
|
+
"description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now."
|
|
7269
|
+
}
|
|
7270
|
+
},
|
|
7271
|
+
{
|
|
7272
|
+
"name": "from",
|
|
7273
|
+
"in": "query",
|
|
7274
|
+
"type": "string",
|
|
7275
|
+
"required": false,
|
|
7276
|
+
"description": "The start of the range, in ISO 8601.",
|
|
7277
|
+
"example": "2026-10-01T00:00:00Z",
|
|
7278
|
+
"schema": {
|
|
7279
|
+
"type": "string",
|
|
7280
|
+
"format": "date-time",
|
|
7281
|
+
"description": "The start of the range, in ISO 8601."
|
|
7282
|
+
}
|
|
7283
|
+
},
|
|
7284
|
+
{
|
|
7285
|
+
"name": "to",
|
|
7286
|
+
"in": "query",
|
|
7287
|
+
"type": "string",
|
|
7288
|
+
"required": false,
|
|
7289
|
+
"description": "The end of the range, in ISO 8601. Default: now.",
|
|
7290
|
+
"example": "2026-11-01T00:00:00Z",
|
|
7291
|
+
"schema": {
|
|
7292
|
+
"type": "string",
|
|
7293
|
+
"format": "date-time",
|
|
7294
|
+
"description": "The end of the range, in ISO 8601. Default: now."
|
|
7295
|
+
}
|
|
7296
|
+
},
|
|
7297
|
+
{
|
|
7298
|
+
"name": "sort",
|
|
7299
|
+
"in": "query",
|
|
7300
|
+
"type": "string",
|
|
7301
|
+
"required": false,
|
|
7302
|
+
"description": "`used` lists the most used first, and `refused` the most refused first. Default: used.",
|
|
7303
|
+
"schema": {
|
|
7304
|
+
"type": "string",
|
|
7305
|
+
"enum": [
|
|
7306
|
+
"used",
|
|
7307
|
+
"refused"
|
|
7308
|
+
],
|
|
7309
|
+
"default": "used",
|
|
7310
|
+
"description": "`used` lists the most used first, and `refused` the most refused first. Default: used."
|
|
7043
7311
|
}
|
|
7044
7312
|
},
|
|
7045
7313
|
{
|
|
@@ -7295,7 +7563,7 @@ var OPERATIONS = [
|
|
|
7295
7563
|
"idempotentHint": true
|
|
7296
7564
|
}
|
|
7297
7565
|
},
|
|
7298
|
-
"description": "Lists the workspace's audit events, newest first. Paginate with the opaque `nextCursor` token. `limit` takes 1 to 100 and defaults to 25. With a personal access token, only workspace owners can call this, as with the audit page in the app. A workspace API key always can, because it acts as the workspace itself.",
|
|
7566
|
+
"description": "Lists the workspace's audit events, newest first. Paginate with the opaque `nextCursor` token. `limit` takes 1 to 100 and defaults to 25. `before` starts from a moment. `action` keeps one kind of event, and `actor` what one person, key or token did. With a personal access token, only workspace owners can call this, as with the audit page in the app. A workspace API key always can, because it acts as the workspace itself.",
|
|
7299
7567
|
"fields": [
|
|
7300
7568
|
{
|
|
7301
7569
|
"name": "limit",
|
|
@@ -7322,6 +7590,45 @@ var OPERATIONS = [
|
|
|
7322
7590
|
"type": "string",
|
|
7323
7591
|
"description": "Opaque token from a previous page's nextCursor."
|
|
7324
7592
|
}
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
"name": "before",
|
|
7596
|
+
"in": "query",
|
|
7597
|
+
"type": "string",
|
|
7598
|
+
"required": false,
|
|
7599
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
7600
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
7601
|
+
"schema": {
|
|
7602
|
+
"type": "string",
|
|
7603
|
+
"format": "date-time",
|
|
7604
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
7605
|
+
}
|
|
7606
|
+
},
|
|
7607
|
+
{
|
|
7608
|
+
"name": "action",
|
|
7609
|
+
"in": "query",
|
|
7610
|
+
"type": "string",
|
|
7611
|
+
"required": false,
|
|
7612
|
+
"description": "Only events of this action.",
|
|
7613
|
+
"example": "workspace.member_invited",
|
|
7614
|
+
"schema": {
|
|
7615
|
+
"type": "string",
|
|
7616
|
+
"maxLength": 100,
|
|
7617
|
+
"description": "Only events of this action."
|
|
7618
|
+
}
|
|
7619
|
+
},
|
|
7620
|
+
{
|
|
7621
|
+
"name": "actor",
|
|
7622
|
+
"in": "query",
|
|
7623
|
+
"type": "string",
|
|
7624
|
+
"required": false,
|
|
7625
|
+
"description": "Only what one person did (`user:` and the item's `actor.id`), or one key or token (`credential:` and the item's `credential.id`).",
|
|
7626
|
+
"example": "user:usr_k3TAiF2ZP5sQ",
|
|
7627
|
+
"schema": {
|
|
7628
|
+
"type": "string",
|
|
7629
|
+
"pattern": "^(user|credential):[\\w-]+$",
|
|
7630
|
+
"description": "Only what one person did (`user:` and the item's `actor.id`), or one key or token (`credential:` and the item's `credential.id`)."
|
|
7631
|
+
}
|
|
7325
7632
|
}
|
|
7326
7633
|
],
|
|
7327
7634
|
"hasBody": false,
|
|
@@ -7587,7 +7894,7 @@ var OPERATIONS = [
|
|
|
7587
7894
|
"idempotentHint": true
|
|
7588
7895
|
}
|
|
7589
7896
|
},
|
|
7590
|
-
"description": "Lists one endpoint's delivery history, newest first. Each entry shows the event's status, attempts and last HTTP status. Payloads aren't included. We keep the history for 30 days. Paginate with the opaque `nextCursor`. With a personal access token, only workspace
|
|
7897
|
+
"description": "Lists one endpoint's delivery history, newest first. Each entry shows the event's status, attempts and last HTTP status. Payloads aren't included. We keep the history for 30 days. Paginate with the opaque `nextCursor`. `before` starts from a moment, and `status` keeps one kind of delivery. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7591
7898
|
"fields": [
|
|
7592
7899
|
{
|
|
7593
7900
|
"name": "endpointId",
|
|
@@ -7626,6 +7933,36 @@ var OPERATIONS = [
|
|
|
7626
7933
|
"type": "string",
|
|
7627
7934
|
"description": "Opaque token from a previous page's nextCursor."
|
|
7628
7935
|
}
|
|
7936
|
+
},
|
|
7937
|
+
{
|
|
7938
|
+
"name": "before",
|
|
7939
|
+
"in": "query",
|
|
7940
|
+
"type": "string",
|
|
7941
|
+
"required": false,
|
|
7942
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
7943
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
7944
|
+
"schema": {
|
|
7945
|
+
"type": "string",
|
|
7946
|
+
"format": "date-time",
|
|
7947
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
7948
|
+
}
|
|
7949
|
+
},
|
|
7950
|
+
{
|
|
7951
|
+
"name": "status",
|
|
7952
|
+
"in": "query",
|
|
7953
|
+
"type": "string",
|
|
7954
|
+
"required": false,
|
|
7955
|
+
"description": "Only deliveries with this status.",
|
|
7956
|
+
"example": "failed",
|
|
7957
|
+
"schema": {
|
|
7958
|
+
"type": "string",
|
|
7959
|
+
"enum": [
|
|
7960
|
+
"pending",
|
|
7961
|
+
"delivered",
|
|
7962
|
+
"failed"
|
|
7963
|
+
],
|
|
7964
|
+
"description": "Only deliveries with this status."
|
|
7965
|
+
}
|
|
7629
7966
|
}
|
|
7630
7967
|
],
|
|
7631
7968
|
"hasBody": false,
|
|
@@ -7655,7 +7992,7 @@ var OPERATIONS = [
|
|
|
7655
7992
|
"idempotentHint": false
|
|
7656
7993
|
}
|
|
7657
7994
|
},
|
|
7658
|
-
"description": "Sends a recorded delivery's event again, as a new delivery. The new delivery gets its own history entry. The event id stays the same, so receivers can deduplicate. Redelivery only works on an enabled endpoint. With a personal access token, only workspace
|
|
7995
|
+
"description": "Sends a recorded delivery's event again, as a new delivery. The new delivery gets its own history entry. The event id stays the same, so receivers can deduplicate. Redelivery only works on an enabled endpoint. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7659
7996
|
"fields": [
|
|
7660
7997
|
{
|
|
7661
7998
|
"name": "endpointId",
|
|
@@ -7701,7 +8038,7 @@ var OPERATIONS = [
|
|
|
7701
8038
|
"exposed": false,
|
|
7702
8039
|
"reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
|
|
7703
8040
|
},
|
|
7704
|
-
"description": "Registers an HTTPS URL to receive the workspace's events. Deliveries use the same signature format as Svix. The response includes the endpoint's signing secret (`whsec_\u2026`). You see it only once, so store it to verify deliveries. The API refuses private hosts and hosts without HTTPS. A workspace can have at most 10 endpoints. With a personal access token, only workspace
|
|
8041
|
+
"description": "Registers an HTTPS URL to receive the workspace's events. Deliveries use the same signature format as Svix. The response includes the endpoint's signing secret (`whsec_\u2026`). You see it only once, so store it to verify deliveries. The API refuses private hosts and hosts without HTTPS. A workspace can have at most 10 endpoints. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7705
8042
|
"fields": [
|
|
7706
8043
|
{
|
|
7707
8044
|
"name": "url",
|
|
@@ -7769,7 +8106,7 @@ var OPERATIONS = [
|
|
|
7769
8106
|
"exposed": false,
|
|
7770
8107
|
"reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
|
|
7771
8108
|
},
|
|
7772
|
-
"description": "Deletes the endpoint and its signing secret. All deliveries to the endpoint stop. Its delivery history goes with it. With a personal access token, only workspace
|
|
8109
|
+
"description": "Deletes the endpoint and its signing secret. All deliveries to the endpoint stop. Its delivery history goes with it. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7773
8110
|
"fields": [
|
|
7774
8111
|
{
|
|
7775
8112
|
"name": "endpointId",
|
|
@@ -7805,7 +8142,7 @@ var OPERATIONS = [
|
|
|
7805
8142
|
"exposed": false,
|
|
7806
8143
|
"reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
|
|
7807
8144
|
},
|
|
7808
|
-
"description": "Resumes deliveries to an endpoint that stopped after repeated failures. The endpoint keeps its signing secret. Its failure count resets. With a personal access token, only workspace
|
|
8145
|
+
"description": "Resumes deliveries to an endpoint that stopped after repeated failures. The endpoint keeps its signing secret. Its failure count resets. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7809
8146
|
"fields": [
|
|
7810
8147
|
{
|
|
7811
8148
|
"name": "endpointId",
|
|
@@ -7846,7 +8183,7 @@ var OPERATIONS = [
|
|
|
7846
8183
|
"idempotentHint": true
|
|
7847
8184
|
}
|
|
7848
8185
|
},
|
|
7849
|
-
"description": "Returns one endpoint without its signing secret. It shows whether the endpoint is on, its consecutive failures and its last delivery status. With a personal access token, only workspace
|
|
8186
|
+
"description": "Returns one endpoint without its signing secret. It shows whether the endpoint is on, its consecutive failures and its last delivery status. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7850
8187
|
"fields": [
|
|
7851
8188
|
{
|
|
7852
8189
|
"name": "endpointId",
|
|
@@ -7885,7 +8222,7 @@ var OPERATIONS = [
|
|
|
7885
8222
|
"idempotentHint": true
|
|
7886
8223
|
}
|
|
7887
8224
|
},
|
|
7888
|
-
"description": "Lists the workspace's outgoing webhook endpoints, newest first. The list leaves out their signing secrets. A workspace has at most 10 endpoints, so the list is a single page. Its `nextCursor` is null. With a personal access token, only workspace
|
|
8225
|
+
"description": "Lists the workspace's outgoing webhook endpoints, newest first. The list leaves out their signing secrets. A workspace has at most 10 endpoints, so the list is a single page. Its `nextCursor` is null. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7889
8226
|
"fields": [],
|
|
7890
8227
|
"hasBody": false,
|
|
7891
8228
|
"workspace": true,
|
|
@@ -7913,7 +8250,7 @@ var OPERATIONS = [
|
|
|
7913
8250
|
"idempotentHint": false
|
|
7914
8251
|
}
|
|
7915
8252
|
},
|
|
7916
|
-
"description": "Sends a `ping` event to the endpoint, signed like every delivery. Use it to check that an integration verifies and accepts deliveries. With a personal access token, only workspace
|
|
8253
|
+
"description": "Sends a `ping` event to the endpoint, signed like every delivery. Use it to check that an integration verifies and accepts deliveries. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7917
8254
|
"fields": [
|
|
7918
8255
|
{
|
|
7919
8256
|
"name": "endpointId",
|
|
@@ -7949,7 +8286,7 @@ var OPERATIONS = [
|
|
|
7949
8286
|
"exposed": false,
|
|
7950
8287
|
"reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
|
|
7951
8288
|
},
|
|
7952
|
-
"description": "Changes an endpoint's URL, description or event types in place. Only the fields you send change. The endpoint keeps its signing secret, so receivers keep verifying deliveries. A new URL must pass the same checks as on create. It must use HTTPS and can't be a private host. With a personal access token, only workspace
|
|
8289
|
+
"description": "Changes an endpoint's URL, description or event types in place. Only the fields you send change. The endpoint keeps its signing secret, so receivers keep verifying deliveries. A new URL must pass the same checks as on create. It must use HTTPS and can't be a private host. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
|
|
7953
8290
|
"fields": [
|
|
7954
8291
|
{
|
|
7955
8292
|
"name": "endpointId",
|
|
@@ -8437,7 +8774,7 @@ function tokenEnvVar() {
|
|
|
8437
8774
|
function build(io) {
|
|
8438
8775
|
let actedIn = null;
|
|
8439
8776
|
let sending;
|
|
8440
|
-
const program2 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.
|
|
8777
|
+
const program2 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.14").addHelpText(
|
|
8441
8778
|
"after",
|
|
8442
8779
|
`
|
|
8443
8780
|
Token: \`${brand.name} login\` stores it in ~/.config/${brand.name}/; ${tokenEnvVar()} overrides.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limitry/cli",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.14",
|
|
4
4
|
"description": "Limitry command line",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"typecheck": "tsc --noEmit"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@limitry/sdk": "1.0.0-rc.
|
|
20
|
+
"@limitry/sdk": "1.0.0-rc.14",
|
|
21
21
|
"@types/node": "26.6.6",
|
|
22
22
|
"commander": "15.0.0",
|
|
23
23
|
"esbuild": "0.28.2",
|