current-cli 0.1.52__tar.gz → 0.1.54__tar.gz
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.
- {current_cli-0.1.52 → current_cli-0.1.54}/PKG-INFO +1 -1
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/schema.yml +242 -9
- {current_cli-0.1.52 → current_cli-0.1.54}/llms.txt +50 -3
- {current_cli-0.1.52 → current_cli-0.1.54}/pyproject.toml +1 -1
- {current_cli-0.1.52 → current_cli-0.1.54}/.gitignore +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/README.md +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/__init__.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/build.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/config.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/docs.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/http.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/main.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/current_cli/schema.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/scripts/bump_version.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/__init__.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/conftest.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/test_auth.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/test_docs.py +0 -0
- {current_cli-0.1.52 → current_cli-0.1.54}/tests/test_requests.py +0 -0
|
@@ -1482,7 +1482,23 @@ paths:
|
|
|
1482
1482
|
quick-capture (source=user). No update or delete — content is immutable
|
|
1483
1483
|
and annotations belong to agents. ``project=`` is the project audit log,
|
|
1484
1484
|
newest happening first.
|
|
1485
|
+
|
|
1486
|
+
``source``, ``since`` and ``until`` narrow the stream to one kind of
|
|
1487
|
+
activity in one window of world time; ``by-project`` answers "which
|
|
1488
|
+
projects" over that same window in one call, instead of paging every row
|
|
1489
|
+
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
1490
|
+
for.
|
|
1485
1491
|
parameters:
|
|
1492
|
+
- in: query
|
|
1493
|
+
name: facets
|
|
1494
|
+
schema:
|
|
1495
|
+
type: string
|
|
1496
|
+
enum:
|
|
1497
|
+
- source
|
|
1498
|
+
description: 'Add ''by_source'' to the response: how many matching observations
|
|
1499
|
+
each source holds. Costs one extra grouped query, so it is opt-in — ask
|
|
1500
|
+
for it when you need to know this workspace''s actual mix rather than assume
|
|
1501
|
+
one.'
|
|
1486
1502
|
- in: query
|
|
1487
1503
|
name: ids
|
|
1488
1504
|
schema:
|
|
@@ -1500,16 +1516,67 @@ paths:
|
|
|
1500
1516
|
description: The initial index from which to return the results.
|
|
1501
1517
|
schema:
|
|
1502
1518
|
type: integer
|
|
1519
|
+
- in: query
|
|
1520
|
+
name: order
|
|
1521
|
+
schema:
|
|
1522
|
+
type: string
|
|
1523
|
+
enum:
|
|
1524
|
+
- -observed_at
|
|
1525
|
+
- -occurred_at
|
|
1526
|
+
- observed_at
|
|
1527
|
+
- occurred_at
|
|
1528
|
+
description: Sort key. Defaults to -occurred_at when project, since or until
|
|
1529
|
+
is given, because a window is a question about world time, and to -observed_at
|
|
1530
|
+
otherwise, because the stream is a work queue ordered by when Current learned
|
|
1531
|
+
of things.
|
|
1503
1532
|
- in: query
|
|
1504
1533
|
name: project
|
|
1505
1534
|
schema:
|
|
1506
1535
|
type: string
|
|
1507
1536
|
description: Filter by project UUID
|
|
1537
|
+
- in: query
|
|
1538
|
+
name: revisions
|
|
1539
|
+
schema:
|
|
1540
|
+
type: string
|
|
1541
|
+
enum:
|
|
1542
|
+
- all
|
|
1543
|
+
- current
|
|
1544
|
+
description: Observations are immutable, so an edited Chatter post is a second
|
|
1545
|
+
row sharing payload.record_key. 'all' (default) returns every revision,
|
|
1546
|
+
which is what the project audit log shows. 'current' returns only the latest
|
|
1547
|
+
revision of each post or comment, which is what a count of what people said
|
|
1548
|
+
means.
|
|
1549
|
+
- in: query
|
|
1550
|
+
name: since
|
|
1551
|
+
schema:
|
|
1552
|
+
type: string
|
|
1553
|
+
description: Keep observations that happened at or after this instant. Bounds
|
|
1554
|
+
occurred_at (when it happened in the world), not observed_at (when Current
|
|
1555
|
+
learned of it). ISO-8601; a bare date means the START of that day. A value
|
|
1556
|
+
with no offset is read in the workspace's timezone when exactly one workspace
|
|
1557
|
+
is in scope, otherwise UTC.
|
|
1558
|
+
- in: query
|
|
1559
|
+
name: source
|
|
1560
|
+
schema:
|
|
1561
|
+
type: array
|
|
1562
|
+
items:
|
|
1563
|
+
type: string
|
|
1564
|
+
description: 'Keep only observations from this source; repeat to accept several.
|
|
1565
|
+
Common names work as well as the stored value: ''chatter'' finds ''sitetracker_feed''.
|
|
1566
|
+
An unknown source is refused with the recorded ones named, because an empty
|
|
1567
|
+
page would read as ''nothing happened''.'
|
|
1508
1568
|
- in: query
|
|
1509
1569
|
name: status
|
|
1510
1570
|
schema:
|
|
1511
1571
|
type: string
|
|
1512
1572
|
description: Filter by status (pending/ingested)
|
|
1573
|
+
- in: query
|
|
1574
|
+
name: until
|
|
1575
|
+
schema:
|
|
1576
|
+
type: string
|
|
1577
|
+
description: Keep observations that happened at or before this instant, inclusive.
|
|
1578
|
+
A bare date means the END of that day, so since=2026-09-01&until=2026-09-14
|
|
1579
|
+
is the fourteen days a person means by that.
|
|
1513
1580
|
- in: query
|
|
1514
1581
|
name: workspace
|
|
1515
1582
|
schema:
|
|
@@ -1534,6 +1601,12 @@ paths:
|
|
|
1534
1601
|
quick-capture (source=user). No update or delete — content is immutable
|
|
1535
1602
|
and annotations belong to agents. ``project=`` is the project audit log,
|
|
1536
1603
|
newest happening first.
|
|
1604
|
+
|
|
1605
|
+
``source``, ``since`` and ``until`` narrow the stream to one kind of
|
|
1606
|
+
activity in one window of world time; ``by-project`` answers "which
|
|
1607
|
+
projects" over that same window in one call, instead of paging every row
|
|
1608
|
+
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
1609
|
+
for.
|
|
1537
1610
|
tags:
|
|
1538
1611
|
- observations
|
|
1539
1612
|
requestBody:
|
|
@@ -1566,6 +1639,12 @@ paths:
|
|
|
1566
1639
|
quick-capture (source=user). No update or delete — content is immutable
|
|
1567
1640
|
and annotations belong to agents. ``project=`` is the project audit log,
|
|
1568
1641
|
newest happening first.
|
|
1642
|
+
|
|
1643
|
+
``source``, ``since`` and ``until`` narrow the stream to one kind of
|
|
1644
|
+
activity in one window of world time; ``by-project`` answers "which
|
|
1645
|
+
projects" over that same window in one call, instead of paging every row
|
|
1646
|
+
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
1647
|
+
for.
|
|
1569
1648
|
parameters:
|
|
1570
1649
|
- in: path
|
|
1571
1650
|
name: id
|
|
@@ -1586,6 +1665,105 @@ paths:
|
|
|
1586
1665
|
schema:
|
|
1587
1666
|
$ref: '#/components/schemas/Observation'
|
|
1588
1667
|
description: ''
|
|
1668
|
+
/api/observations/observations/by-project/:
|
|
1669
|
+
get:
|
|
1670
|
+
operationId: observations_observations_by_project_retrieve
|
|
1671
|
+
description: Which projects hold the matching observations, and how many each
|
|
1672
|
+
holds. Takes the same filters as the list. Answers 'which projects have activity
|
|
1673
|
+
of this kind in this window' in one call — paging every matching row and grouping
|
|
1674
|
+
them by hand is the same question asked badly, and it miscounts. Projects
|
|
1675
|
+
are ordered by count and capped; narrow the window rather than expect every
|
|
1676
|
+
project back.
|
|
1677
|
+
parameters:
|
|
1678
|
+
- in: query
|
|
1679
|
+
name: facets
|
|
1680
|
+
schema:
|
|
1681
|
+
type: string
|
|
1682
|
+
enum:
|
|
1683
|
+
- source
|
|
1684
|
+
description: 'Add ''by_source'' to the response: how many matching observations
|
|
1685
|
+
each source holds. Costs one extra grouped query, so it is opt-in — ask
|
|
1686
|
+
for it when you need to know this workspace''s actual mix rather than assume
|
|
1687
|
+
one.'
|
|
1688
|
+
- in: query
|
|
1689
|
+
name: ids
|
|
1690
|
+
schema:
|
|
1691
|
+
type: string
|
|
1692
|
+
description: Comma-separated observation UUIDs
|
|
1693
|
+
- in: query
|
|
1694
|
+
name: order
|
|
1695
|
+
schema:
|
|
1696
|
+
type: string
|
|
1697
|
+
enum:
|
|
1698
|
+
- -observed_at
|
|
1699
|
+
- -occurred_at
|
|
1700
|
+
- observed_at
|
|
1701
|
+
- occurred_at
|
|
1702
|
+
description: Sort key. Defaults to -occurred_at when project, since or until
|
|
1703
|
+
is given, because a window is a question about world time, and to -observed_at
|
|
1704
|
+
otherwise, because the stream is a work queue ordered by when Current learned
|
|
1705
|
+
of things.
|
|
1706
|
+
- in: query
|
|
1707
|
+
name: project
|
|
1708
|
+
schema:
|
|
1709
|
+
type: string
|
|
1710
|
+
description: Filter by project UUID
|
|
1711
|
+
- in: query
|
|
1712
|
+
name: revisions
|
|
1713
|
+
schema:
|
|
1714
|
+
type: string
|
|
1715
|
+
enum:
|
|
1716
|
+
- all
|
|
1717
|
+
- current
|
|
1718
|
+
description: Observations are immutable, so an edited Chatter post is a second
|
|
1719
|
+
row sharing payload.record_key. 'all' (default) returns every revision,
|
|
1720
|
+
which is what the project audit log shows. 'current' returns only the latest
|
|
1721
|
+
revision of each post or comment, which is what a count of what people said
|
|
1722
|
+
means.
|
|
1723
|
+
- in: query
|
|
1724
|
+
name: since
|
|
1725
|
+
schema:
|
|
1726
|
+
type: string
|
|
1727
|
+
description: Keep observations that happened at or after this instant. Bounds
|
|
1728
|
+
occurred_at (when it happened in the world), not observed_at (when Current
|
|
1729
|
+
learned of it). ISO-8601; a bare date means the START of that day. A value
|
|
1730
|
+
with no offset is read in the workspace's timezone when exactly one workspace
|
|
1731
|
+
is in scope, otherwise UTC.
|
|
1732
|
+
- in: query
|
|
1733
|
+
name: source
|
|
1734
|
+
schema:
|
|
1735
|
+
type: array
|
|
1736
|
+
items:
|
|
1737
|
+
type: string
|
|
1738
|
+
description: 'Keep only observations from this source; repeat to accept several.
|
|
1739
|
+
Common names work as well as the stored value: ''chatter'' finds ''sitetracker_feed''.
|
|
1740
|
+
An unknown source is refused with the recorded ones named, because an empty
|
|
1741
|
+
page would read as ''nothing happened''.'
|
|
1742
|
+
- in: query
|
|
1743
|
+
name: status
|
|
1744
|
+
schema:
|
|
1745
|
+
type: string
|
|
1746
|
+
description: Filter by status (pending/ingested)
|
|
1747
|
+
- in: query
|
|
1748
|
+
name: until
|
|
1749
|
+
schema:
|
|
1750
|
+
type: string
|
|
1751
|
+
description: Keep observations that happened at or before this instant, inclusive.
|
|
1752
|
+
A bare date means the END of that day, so since=2026-09-01&until=2026-09-14
|
|
1753
|
+
is the fourteen days a person means by that.
|
|
1754
|
+
- in: query
|
|
1755
|
+
name: workspace
|
|
1756
|
+
schema:
|
|
1757
|
+
type: string
|
|
1758
|
+
description: Filter by workspace UUID
|
|
1759
|
+
tags:
|
|
1760
|
+
- observations
|
|
1761
|
+
security:
|
|
1762
|
+
- MessagingJobTokenAuth: []
|
|
1763
|
+
- tokenAuth: []
|
|
1764
|
+
responses:
|
|
1765
|
+
'200':
|
|
1766
|
+
description: No response body
|
|
1589
1767
|
/api/projects/field-definitions/:
|
|
1590
1768
|
get:
|
|
1591
1769
|
operationId: projects_field_definitions_list
|
|
@@ -3392,6 +3570,16 @@ paths:
|
|
|
3392
3570
|
description: Vendors across the caller's workspaces. Any member can create and
|
|
3393
3571
|
edit.
|
|
3394
3572
|
parameters:
|
|
3573
|
+
- in: query
|
|
3574
|
+
name: limit
|
|
3575
|
+
schema:
|
|
3576
|
+
type: integer
|
|
3577
|
+
description: Max vendors per page (default 25, cap 100)
|
|
3578
|
+
- in: query
|
|
3579
|
+
name: offset
|
|
3580
|
+
schema:
|
|
3581
|
+
type: integer
|
|
3582
|
+
description: Page offset (default 0)
|
|
3395
3583
|
- in: query
|
|
3396
3584
|
name: project
|
|
3397
3585
|
schema:
|
|
@@ -3412,9 +3600,7 @@ paths:
|
|
|
3412
3600
|
content:
|
|
3413
3601
|
application/json:
|
|
3414
3602
|
schema:
|
|
3415
|
-
|
|
3416
|
-
items:
|
|
3417
|
-
$ref: '#/components/schemas/Vendor'
|
|
3603
|
+
$ref: '#/components/schemas/VendorListResponse'
|
|
3418
3604
|
description: ''
|
|
3419
3605
|
post:
|
|
3420
3606
|
operationId: vendors_vendors_create
|
|
@@ -3651,9 +3837,10 @@ paths:
|
|
|
3651
3837
|
get:
|
|
3652
3838
|
operationId: workflows_runs_list
|
|
3653
3839
|
description: |-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3840
|
+
An offset/limit page. A run carries its transitions inline, so the
|
|
3841
|
+
unpaged history was the largest payload this API could return and
|
|
3842
|
+
grew without bound; a reader now sees a page and the true ``total``
|
|
3843
|
+
rather than whatever fit.
|
|
3657
3844
|
parameters:
|
|
3658
3845
|
- in: query
|
|
3659
3846
|
name: archived
|
|
@@ -3665,6 +3852,16 @@ paths:
|
|
|
3665
3852
|
schema:
|
|
3666
3853
|
type: string
|
|
3667
3854
|
description: Filter by definition UUID
|
|
3855
|
+
- in: query
|
|
3856
|
+
name: limit
|
|
3857
|
+
schema:
|
|
3858
|
+
type: integer
|
|
3859
|
+
description: Max runs per page (default 25, cap 100)
|
|
3860
|
+
- in: query
|
|
3861
|
+
name: offset
|
|
3862
|
+
schema:
|
|
3863
|
+
type: integer
|
|
3864
|
+
description: Page offset (default 0)
|
|
3668
3865
|
- in: query
|
|
3669
3866
|
name: project
|
|
3670
3867
|
schema:
|
|
@@ -3690,9 +3887,7 @@ paths:
|
|
|
3690
3887
|
content:
|
|
3691
3888
|
application/json:
|
|
3692
3889
|
schema:
|
|
3693
|
-
|
|
3694
|
-
items:
|
|
3695
|
-
$ref: '#/components/schemas/WorkflowRun'
|
|
3890
|
+
$ref: '#/components/schemas/WorkflowRunListResponse'
|
|
3696
3891
|
description: ''
|
|
3697
3892
|
post:
|
|
3698
3893
|
operationId: workflows_runs_create
|
|
@@ -6133,6 +6328,11 @@ components:
|
|
|
6133
6328
|
type: string
|
|
6134
6329
|
format: uuid
|
|
6135
6330
|
readOnly: true
|
|
6331
|
+
project:
|
|
6332
|
+
type: string
|
|
6333
|
+
format: uuid
|
|
6334
|
+
readOnly: true
|
|
6335
|
+
nullable: true
|
|
6136
6336
|
source:
|
|
6137
6337
|
type: string
|
|
6138
6338
|
readOnly: true
|
|
@@ -6169,6 +6369,7 @@ components:
|
|
|
6169
6369
|
- observed_at
|
|
6170
6370
|
- occurred_at
|
|
6171
6371
|
- payload
|
|
6372
|
+
- project
|
|
6172
6373
|
- source
|
|
6173
6374
|
- status
|
|
6174
6375
|
- workspace
|
|
@@ -7846,6 +8047,22 @@ components:
|
|
|
7846
8047
|
- name
|
|
7847
8048
|
- updated_at
|
|
7848
8049
|
- workspace
|
|
8050
|
+
VendorListResponse:
|
|
8051
|
+
type: object
|
|
8052
|
+
properties:
|
|
8053
|
+
items:
|
|
8054
|
+
type: array
|
|
8055
|
+
items:
|
|
8056
|
+
$ref: '#/components/schemas/Vendor'
|
|
8057
|
+
total:
|
|
8058
|
+
type: integer
|
|
8059
|
+
next_offset:
|
|
8060
|
+
type: integer
|
|
8061
|
+
nullable: true
|
|
8062
|
+
required:
|
|
8063
|
+
- items
|
|
8064
|
+
- next_offset
|
|
8065
|
+
- total
|
|
7849
8066
|
VendorRequest:
|
|
7850
8067
|
type: object
|
|
7851
8068
|
properties:
|
|
@@ -8288,6 +8505,22 @@ components:
|
|
|
8288
8505
|
- triggered_by_name
|
|
8289
8506
|
- workflow
|
|
8290
8507
|
- workflow_name
|
|
8508
|
+
WorkflowRunListResponse:
|
|
8509
|
+
type: object
|
|
8510
|
+
properties:
|
|
8511
|
+
items:
|
|
8512
|
+
type: array
|
|
8513
|
+
items:
|
|
8514
|
+
$ref: '#/components/schemas/WorkflowRun'
|
|
8515
|
+
total:
|
|
8516
|
+
type: integer
|
|
8517
|
+
next_offset:
|
|
8518
|
+
type: integer
|
|
8519
|
+
nullable: true
|
|
8520
|
+
required:
|
|
8521
|
+
- items
|
|
8522
|
+
- next_offset
|
|
8523
|
+
- total
|
|
8291
8524
|
WorkflowRunStatusEnum:
|
|
8292
8525
|
enum:
|
|
8293
8526
|
- queued
|
|
@@ -565,6 +565,24 @@ Sign in with a magic link and store the auth token.
|
|
|
565
565
|
|
|
566
566
|
Invalidate the auth token on the server and forget it locally.
|
|
567
567
|
|
|
568
|
+
### current observations by-project retrieve
|
|
569
|
+
|
|
570
|
+
Which projects hold the matching observations, and how many each holds. Takes the same filters as the list. Answers 'which projects have activity of this kind in this window' in one call — paging every matching row and grouping them by hand is the same question asked badly, and it miscounts. Projects are ordered by count and capped; narrow the window rather than expect every project back.
|
|
571
|
+
|
|
572
|
+
GET /api/observations/observations/by-project/
|
|
573
|
+
|
|
574
|
+
Options:
|
|
575
|
+
- `--facets` - Add 'by_source' to the response: how many matching observations each source holds. Costs one extra grouped query, so it is opt-in — ask for it when you need to know this workspace's actual mix rather than assume one.
|
|
576
|
+
- `--ids` - Comma-separated observation UUIDs
|
|
577
|
+
- `--order` - Sort key. Defaults to -occurred_at when project, since or until is given, because a window is a question about world time, and to -observed_at otherwise, because the stream is a work queue ordered by when Current learned of things.
|
|
578
|
+
- `--project` - Filter by project UUID
|
|
579
|
+
- `--revisions` - Observations are immutable, so an edited Chatter post is a second row sharing payload.record_key. 'all' (default) returns every revision, which is what the project audit log shows. 'current' returns only the latest revision of each post or comment, which is what a count of what people said means.
|
|
580
|
+
- `--since` - Keep observations that happened at or after this instant. Bounds occurred_at (when it happened in the world), not observed_at (when Current learned of it). ISO-8601; a bare date means the START of that day. A value with no offset is read in the workspace's timezone when exactly one workspace is in scope, otherwise UTC.
|
|
581
|
+
- `--source` - Keep only observations from this source; repeat to accept several. Common names work as well as the stored value: 'chatter' finds 'sitetracker_feed'. An unknown source is refused with the recorded ones named, because an empty page would read as 'nothing happened'.
|
|
582
|
+
- `--status` - Filter by status (pending/ingested)
|
|
583
|
+
- `--until` - Keep observations that happened at or before this instant, inclusive. A bare date means the END of that day, so since=2026-09-01&until=2026-09-14 is the fourteen days a person means by that.
|
|
584
|
+
- `--workspace` - Filter by workspace UUID
|
|
585
|
+
|
|
568
586
|
### current observations create
|
|
569
587
|
|
|
570
588
|
The workspace observation stream. List/retrieve for members; create is
|
|
@@ -572,6 +590,12 @@ quick-capture (source=user). No update or delete — content is immutable
|
|
|
572
590
|
and annotations belong to agents. ``project=`` is the project audit log,
|
|
573
591
|
newest happening first.
|
|
574
592
|
|
|
593
|
+
``source``, ``since`` and ``until`` narrow the stream to one kind of
|
|
594
|
+
activity in one window of world time; ``by-project`` answers "which
|
|
595
|
+
projects" over that same window in one call, instead of paging every row
|
|
596
|
+
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
597
|
+
for.
|
|
598
|
+
|
|
575
599
|
POST /api/observations/observations/
|
|
576
600
|
|
|
577
601
|
Options:
|
|
@@ -584,14 +608,26 @@ quick-capture (source=user). No update or delete — content is immutable
|
|
|
584
608
|
and annotations belong to agents. ``project=`` is the project audit log,
|
|
585
609
|
newest happening first.
|
|
586
610
|
|
|
611
|
+
``source``, ``since`` and ``until`` narrow the stream to one kind of
|
|
612
|
+
activity in one window of world time; ``by-project`` answers "which
|
|
613
|
+
projects" over that same window in one call, instead of paging every row
|
|
614
|
+
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
615
|
+
for.
|
|
616
|
+
|
|
587
617
|
GET /api/observations/observations/
|
|
588
618
|
|
|
589
619
|
Options:
|
|
620
|
+
- `--facets` - Add 'by_source' to the response: how many matching observations each source holds. Costs one extra grouped query, so it is opt-in — ask for it when you need to know this workspace's actual mix rather than assume one.
|
|
590
621
|
- `--ids` - Comma-separated observation UUIDs
|
|
591
622
|
- `--limit` - Number of results to return per page.
|
|
592
623
|
- `--offset` - The initial index from which to return the results.
|
|
624
|
+
- `--order` - Sort key. Defaults to -occurred_at when project, since or until is given, because a window is a question about world time, and to -observed_at otherwise, because the stream is a work queue ordered by when Current learned of things.
|
|
593
625
|
- `--project` - Filter by project UUID
|
|
626
|
+
- `--revisions` - Observations are immutable, so an edited Chatter post is a second row sharing payload.record_key. 'all' (default) returns every revision, which is what the project audit log shows. 'current' returns only the latest revision of each post or comment, which is what a count of what people said means.
|
|
627
|
+
- `--since` - Keep observations that happened at or after this instant. Bounds occurred_at (when it happened in the world), not observed_at (when Current learned of it). ISO-8601; a bare date means the START of that day. A value with no offset is read in the workspace's timezone when exactly one workspace is in scope, otherwise UTC.
|
|
628
|
+
- `--source` - Keep only observations from this source; repeat to accept several. Common names work as well as the stored value: 'chatter' finds 'sitetracker_feed'. An unknown source is refused with the recorded ones named, because an empty page would read as 'nothing happened'.
|
|
594
629
|
- `--status` - Filter by status (pending/ingested)
|
|
630
|
+
- `--until` - Keep observations that happened at or before this instant, inclusive. A bare date means the END of that day, so since=2026-09-01&until=2026-09-14 is the fourteen days a person means by that.
|
|
595
631
|
- `--workspace` - Filter by workspace UUID
|
|
596
632
|
|
|
597
633
|
### current observations retrieve <id>
|
|
@@ -601,6 +637,12 @@ quick-capture (source=user). No update or delete — content is immutable
|
|
|
601
637
|
and annotations belong to agents. ``project=`` is the project audit log,
|
|
602
638
|
newest happening first.
|
|
603
639
|
|
|
640
|
+
``source``, ``since`` and ``until`` narrow the stream to one kind of
|
|
641
|
+
activity in one window of world time; ``by-project`` answers "which
|
|
642
|
+
projects" over that same window in one call, instead of paging every row
|
|
643
|
+
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
644
|
+
for.
|
|
645
|
+
|
|
604
646
|
GET /api/observations/observations/{id}/
|
|
605
647
|
|
|
606
648
|
### current projects closeout retrieve <id>
|
|
@@ -1153,6 +1195,8 @@ Vendors across the caller's workspaces. Any member can create and edit.
|
|
|
1153
1195
|
GET /api/vendors/vendors/
|
|
1154
1196
|
|
|
1155
1197
|
Options:
|
|
1198
|
+
- `--limit` - Max vendors per page (default 25, cap 100)
|
|
1199
|
+
- `--offset` - Page offset (default 0)
|
|
1156
1200
|
- `--project` - Filter by linked project UUID
|
|
1157
1201
|
- `--workspace` - Filter by workspace UUID
|
|
1158
1202
|
|
|
@@ -1325,15 +1369,18 @@ Options:
|
|
|
1325
1369
|
|
|
1326
1370
|
### current workflows runs list
|
|
1327
1371
|
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1372
|
+
An offset/limit page. A run carries its transitions inline, so the
|
|
1373
|
+
unpaged history was the largest payload this API could return and
|
|
1374
|
+
grew without bound; a reader now sees a page and the true ``total``
|
|
1375
|
+
rather than whatever fit.
|
|
1331
1376
|
|
|
1332
1377
|
GET /api/workflows/runs/
|
|
1333
1378
|
|
|
1334
1379
|
Options:
|
|
1335
1380
|
- `--archived` - Filter by archived state. Defaults to false (hides archived runs).
|
|
1336
1381
|
- `--definition` - Filter by definition UUID
|
|
1382
|
+
- `--limit` - Max runs per page (default 25, cap 100)
|
|
1383
|
+
- `--offset` - Page offset (default 0)
|
|
1337
1384
|
- `--project` - Filter by project UUID
|
|
1338
1385
|
- `--workflow` - Filter by workflow UUID
|
|
1339
1386
|
- `--workspace` - Filter by workspace UUID
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|