current-cli 0.1.82__tar.gz → 0.1.84__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.82 → current_cli-0.1.84}/PKG-INFO +1 -1
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/schema.yml +252 -4
- {current_cli-0.1.82 → current_cli-0.1.84}/llms.txt +39 -2
- {current_cli-0.1.82 → current_cli-0.1.84}/pyproject.toml +1 -1
- {current_cli-0.1.82 → current_cli-0.1.84}/.gitignore +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/README.md +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/__init__.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/build.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/config.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/docs.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/http.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/main.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/current_cli/schema.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/scripts/bump_version.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/__init__.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/conftest.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/test_auth.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/test_docs.py +0 -0
- {current_cli-0.1.82 → current_cli-0.1.84}/tests/test_requests.py +0 -0
|
@@ -1592,6 +1592,40 @@ paths:
|
|
|
1592
1592
|
schema:
|
|
1593
1593
|
$ref: '#/components/schemas/PromoteResponse'
|
|
1594
1594
|
description: ''
|
|
1595
|
+
/api/integrations/messaging/flag/:
|
|
1596
|
+
post:
|
|
1597
|
+
operationId: integrations_messaging_flag
|
|
1598
|
+
description: |-
|
|
1599
|
+
File a Linear triage ticket for Orin Labs, because a person asked the
|
|
1600
|
+
agent to flag something for the team that builds Current — see
|
|
1601
|
+
:mod:`integrations.flags`.
|
|
1602
|
+
|
|
1603
|
+
The agent writes the title and the details; the platform adds the
|
|
1604
|
+
workspace, the reporter and its own ids, and masks contact details, so a
|
|
1605
|
+
ticket never depends on the model to keep personal data out.
|
|
1606
|
+
tags:
|
|
1607
|
+
- integrations
|
|
1608
|
+
requestBody:
|
|
1609
|
+
content:
|
|
1610
|
+
application/json:
|
|
1611
|
+
schema:
|
|
1612
|
+
$ref: '#/components/schemas/MessagingFlagRequestRequest'
|
|
1613
|
+
application/x-www-form-urlencoded:
|
|
1614
|
+
schema:
|
|
1615
|
+
$ref: '#/components/schemas/MessagingFlagRequestRequest'
|
|
1616
|
+
multipart/form-data:
|
|
1617
|
+
schema:
|
|
1618
|
+
$ref: '#/components/schemas/MessagingFlagRequestRequest'
|
|
1619
|
+
required: true
|
|
1620
|
+
security:
|
|
1621
|
+
- MessagingJobTokenAuth: []
|
|
1622
|
+
responses:
|
|
1623
|
+
'200':
|
|
1624
|
+
content:
|
|
1625
|
+
application/json:
|
|
1626
|
+
schema:
|
|
1627
|
+
$ref: '#/components/schemas/MessagingFlagResponse'
|
|
1628
|
+
description: ''
|
|
1595
1629
|
/api/integrations/messaging/history/:
|
|
1596
1630
|
post:
|
|
1597
1631
|
operationId: integrations_messaging_history
|
|
@@ -1932,11 +1966,30 @@ paths:
|
|
|
1932
1966
|
and grouping them by eye. Page size is capped at 200 whatever you ask
|
|
1933
1967
|
for.
|
|
1934
1968
|
parameters:
|
|
1969
|
+
- in: query
|
|
1970
|
+
name: author_contact
|
|
1971
|
+
schema:
|
|
1972
|
+
type: array
|
|
1973
|
+
items:
|
|
1974
|
+
type: string
|
|
1975
|
+
description: Author contact UUIDs. Exact identity matches only.
|
|
1976
|
+
- in: query
|
|
1977
|
+
name: author_status
|
|
1978
|
+
schema:
|
|
1979
|
+
type: string
|
|
1980
|
+
description: resolved, unresolved, conflict, or platform
|
|
1981
|
+
- in: query
|
|
1982
|
+
name: bounds
|
|
1983
|
+
schema:
|
|
1984
|
+
type: string
|
|
1985
|
+
description: inclusive (legacy default) or half_open
|
|
1935
1986
|
- in: query
|
|
1936
1987
|
name: facets
|
|
1937
1988
|
schema:
|
|
1938
1989
|
type: string
|
|
1939
1990
|
enum:
|
|
1991
|
+
- coverage
|
|
1992
|
+
- kind
|
|
1940
1993
|
- source
|
|
1941
1994
|
description: 'Add ''by_source'' to the response: how many matching observations
|
|
1942
1995
|
each source holds. Costs one extra grouped query, so it is opt-in — ask
|
|
@@ -1947,6 +2000,14 @@ paths:
|
|
|
1947
2000
|
schema:
|
|
1948
2001
|
type: string
|
|
1949
2002
|
description: Comma-separated observation UUIDs
|
|
2003
|
+
- in: query
|
|
2004
|
+
name: kind
|
|
2005
|
+
schema:
|
|
2006
|
+
type: array
|
|
2007
|
+
items:
|
|
2008
|
+
type: string
|
|
2009
|
+
description: Recorded kind, including post, comment, project_comment, message,
|
|
2010
|
+
email, note, event. chatter and project_comments are aliases.
|
|
1950
2011
|
- name: limit
|
|
1951
2012
|
required: false
|
|
1952
2013
|
in: query
|
|
@@ -1975,8 +2036,25 @@ paths:
|
|
|
1975
2036
|
- in: query
|
|
1976
2037
|
name: project
|
|
1977
2038
|
schema:
|
|
1978
|
-
type:
|
|
1979
|
-
|
|
2039
|
+
type: array
|
|
2040
|
+
items:
|
|
2041
|
+
type: string
|
|
2042
|
+
description: Filter by project UUIDs (OR)
|
|
2043
|
+
- in: query
|
|
2044
|
+
name: related_contact
|
|
2045
|
+
schema:
|
|
2046
|
+
type: array
|
|
2047
|
+
items:
|
|
2048
|
+
type: string
|
|
2049
|
+
description: Contact UUIDs for mentions, recipients, references, or involvement.
|
|
2050
|
+
- in: query
|
|
2051
|
+
name: relationship
|
|
2052
|
+
schema:
|
|
2053
|
+
type: array
|
|
2054
|
+
items:
|
|
2055
|
+
type: string
|
|
2056
|
+
description: mention, to, cc, text, possible, author; defaults to all except
|
|
2057
|
+
author.
|
|
1980
2058
|
- in: query
|
|
1981
2059
|
name: revisions
|
|
1982
2060
|
schema:
|
|
@@ -1998,6 +2076,11 @@ paths:
|
|
|
1998
2076
|
learned of it). ISO-8601; a bare date means the START of that day. A value
|
|
1999
2077
|
with no offset is read in the workspace's timezone when exactly one workspace
|
|
2000
2078
|
is in scope, otherwise UTC.
|
|
2079
|
+
- in: query
|
|
2080
|
+
name: snapshot
|
|
2081
|
+
schema:
|
|
2082
|
+
type: string
|
|
2083
|
+
description: Echo the response snapshot across pages.
|
|
2001
2084
|
- in: query
|
|
2002
2085
|
name: source
|
|
2003
2086
|
schema:
|
|
@@ -2013,6 +2096,21 @@ paths:
|
|
|
2013
2096
|
schema:
|
|
2014
2097
|
type: string
|
|
2015
2098
|
description: Filter by status (pending/ingested)
|
|
2099
|
+
- in: query
|
|
2100
|
+
name: text
|
|
2101
|
+
schema:
|
|
2102
|
+
type: string
|
|
2103
|
+
description: Whole-word body text; optional trailing * for prefix search.
|
|
2104
|
+
- in: query
|
|
2105
|
+
name: thread
|
|
2106
|
+
schema:
|
|
2107
|
+
type: string
|
|
2108
|
+
description: Source thread identifier.
|
|
2109
|
+
- in: query
|
|
2110
|
+
name: timezone
|
|
2111
|
+
schema:
|
|
2112
|
+
type: string
|
|
2113
|
+
description: IANA timezone; defaults to workspace timezone.
|
|
2016
2114
|
- in: query
|
|
2017
2115
|
name: until
|
|
2018
2116
|
schema:
|
|
@@ -2020,6 +2118,11 @@ paths:
|
|
|
2020
2118
|
description: Keep observations that happened at or before this instant, inclusive.
|
|
2021
2119
|
A bare date means the END of that day, so since=2026-09-01&until=2026-09-14
|
|
2022
2120
|
is the fourteen days a person means by that.
|
|
2121
|
+
- in: query
|
|
2122
|
+
name: window
|
|
2123
|
+
schema:
|
|
2124
|
+
type: string
|
|
2125
|
+
description: last_two_days (48 hours) or last_week (previous Monday to Monday).
|
|
2023
2126
|
- in: query
|
|
2024
2127
|
name: workspace
|
|
2025
2128
|
schema:
|
|
@@ -2119,11 +2222,30 @@ paths:
|
|
|
2119
2222
|
by subtracting a recent one. Pages by project: read total_projects and follow
|
|
2120
2223
|
next_offset.'
|
|
2121
2224
|
parameters:
|
|
2225
|
+
- in: query
|
|
2226
|
+
name: author_contact
|
|
2227
|
+
schema:
|
|
2228
|
+
type: array
|
|
2229
|
+
items:
|
|
2230
|
+
type: string
|
|
2231
|
+
description: Author contact UUIDs. Exact identity matches only.
|
|
2232
|
+
- in: query
|
|
2233
|
+
name: author_status
|
|
2234
|
+
schema:
|
|
2235
|
+
type: string
|
|
2236
|
+
description: resolved, unresolved, conflict, or platform
|
|
2237
|
+
- in: query
|
|
2238
|
+
name: bounds
|
|
2239
|
+
schema:
|
|
2240
|
+
type: string
|
|
2241
|
+
description: inclusive (legacy default) or half_open
|
|
2122
2242
|
- in: query
|
|
2123
2243
|
name: facets
|
|
2124
2244
|
schema:
|
|
2125
2245
|
type: string
|
|
2126
2246
|
enum:
|
|
2247
|
+
- coverage
|
|
2248
|
+
- kind
|
|
2127
2249
|
- source
|
|
2128
2250
|
description: 'Add ''by_source'' to the response: how many matching observations
|
|
2129
2251
|
each source holds. Costs one extra grouped query, so it is opt-in — ask
|
|
@@ -2134,6 +2256,14 @@ paths:
|
|
|
2134
2256
|
schema:
|
|
2135
2257
|
type: string
|
|
2136
2258
|
description: Comma-separated observation UUIDs
|
|
2259
|
+
- in: query
|
|
2260
|
+
name: kind
|
|
2261
|
+
schema:
|
|
2262
|
+
type: array
|
|
2263
|
+
items:
|
|
2264
|
+
type: string
|
|
2265
|
+
description: Recorded kind, including post, comment, project_comment, message,
|
|
2266
|
+
email, note, event. chatter and project_comments are aliases.
|
|
2137
2267
|
- in: query
|
|
2138
2268
|
name: limit
|
|
2139
2269
|
schema:
|
|
@@ -2160,8 +2290,25 @@ paths:
|
|
|
2160
2290
|
- in: query
|
|
2161
2291
|
name: project
|
|
2162
2292
|
schema:
|
|
2163
|
-
type:
|
|
2164
|
-
|
|
2293
|
+
type: array
|
|
2294
|
+
items:
|
|
2295
|
+
type: string
|
|
2296
|
+
description: Filter by project UUIDs (OR)
|
|
2297
|
+
- in: query
|
|
2298
|
+
name: related_contact
|
|
2299
|
+
schema:
|
|
2300
|
+
type: array
|
|
2301
|
+
items:
|
|
2302
|
+
type: string
|
|
2303
|
+
description: Contact UUIDs for mentions, recipients, references, or involvement.
|
|
2304
|
+
- in: query
|
|
2305
|
+
name: relationship
|
|
2306
|
+
schema:
|
|
2307
|
+
type: array
|
|
2308
|
+
items:
|
|
2309
|
+
type: string
|
|
2310
|
+
description: mention, to, cc, text, possible, author; defaults to all except
|
|
2311
|
+
author.
|
|
2165
2312
|
- in: query
|
|
2166
2313
|
name: revisions
|
|
2167
2314
|
schema:
|
|
@@ -2183,6 +2330,11 @@ paths:
|
|
|
2183
2330
|
learned of it). ISO-8601; a bare date means the START of that day. A value
|
|
2184
2331
|
with no offset is read in the workspace's timezone when exactly one workspace
|
|
2185
2332
|
is in scope, otherwise UTC.
|
|
2333
|
+
- in: query
|
|
2334
|
+
name: snapshot
|
|
2335
|
+
schema:
|
|
2336
|
+
type: string
|
|
2337
|
+
description: Echo the response snapshot across pages.
|
|
2186
2338
|
- in: query
|
|
2187
2339
|
name: sort
|
|
2188
2340
|
schema:
|
|
@@ -2209,6 +2361,21 @@ paths:
|
|
|
2209
2361
|
schema:
|
|
2210
2362
|
type: string
|
|
2211
2363
|
description: Filter by status (pending/ingested)
|
|
2364
|
+
- in: query
|
|
2365
|
+
name: text
|
|
2366
|
+
schema:
|
|
2367
|
+
type: string
|
|
2368
|
+
description: Whole-word body text; optional trailing * for prefix search.
|
|
2369
|
+
- in: query
|
|
2370
|
+
name: thread
|
|
2371
|
+
schema:
|
|
2372
|
+
type: string
|
|
2373
|
+
description: Source thread identifier.
|
|
2374
|
+
- in: query
|
|
2375
|
+
name: timezone
|
|
2376
|
+
schema:
|
|
2377
|
+
type: string
|
|
2378
|
+
description: IANA timezone; defaults to workspace timezone.
|
|
2212
2379
|
- in: query
|
|
2213
2380
|
name: until
|
|
2214
2381
|
schema:
|
|
@@ -2216,6 +2383,11 @@ paths:
|
|
|
2216
2383
|
description: Keep observations that happened at or before this instant, inclusive.
|
|
2217
2384
|
A bare date means the END of that day, so since=2026-09-01&until=2026-09-14
|
|
2218
2385
|
is the fourteen days a person means by that.
|
|
2386
|
+
- in: query
|
|
2387
|
+
name: window
|
|
2388
|
+
schema:
|
|
2389
|
+
type: string
|
|
2390
|
+
description: last_two_days (48 hours) or last_week (previous Monday to Monday).
|
|
2219
2391
|
- in: query
|
|
2220
2392
|
name: workspace
|
|
2221
2393
|
schema:
|
|
@@ -9498,6 +9670,39 @@ components:
|
|
|
9498
9670
|
- role
|
|
9499
9671
|
- workspace_id
|
|
9500
9672
|
- workspace_name
|
|
9673
|
+
MessagingFlagRequestRequest:
|
|
9674
|
+
type: object
|
|
9675
|
+
properties:
|
|
9676
|
+
workspace:
|
|
9677
|
+
type: string
|
|
9678
|
+
format: uuid
|
|
9679
|
+
reply_ref: {}
|
|
9680
|
+
title:
|
|
9681
|
+
type: string
|
|
9682
|
+
minLength: 1
|
|
9683
|
+
maxLength: 200
|
|
9684
|
+
details:
|
|
9685
|
+
type: string
|
|
9686
|
+
minLength: 1
|
|
9687
|
+
maxLength: 10000
|
|
9688
|
+
project:
|
|
9689
|
+
type: string
|
|
9690
|
+
format: uuid
|
|
9691
|
+
required:
|
|
9692
|
+
- details
|
|
9693
|
+
- reply_ref
|
|
9694
|
+
- title
|
|
9695
|
+
- workspace
|
|
9696
|
+
MessagingFlagResponse:
|
|
9697
|
+
type: object
|
|
9698
|
+
properties:
|
|
9699
|
+
ok:
|
|
9700
|
+
type: boolean
|
|
9701
|
+
detail:
|
|
9702
|
+
type: string
|
|
9703
|
+
required:
|
|
9704
|
+
- detail
|
|
9705
|
+
- ok
|
|
9501
9706
|
MessagingHistoryRequestRequest:
|
|
9502
9707
|
type: object
|
|
9503
9708
|
properties:
|
|
@@ -9755,6 +9960,40 @@ components:
|
|
|
9755
9960
|
source:
|
|
9756
9961
|
type: string
|
|
9757
9962
|
readOnly: true
|
|
9963
|
+
author_contact:
|
|
9964
|
+
type: string
|
|
9965
|
+
format: uuid
|
|
9966
|
+
readOnly: true
|
|
9967
|
+
nullable: true
|
|
9968
|
+
author_name:
|
|
9969
|
+
type: string
|
|
9970
|
+
readOnly: true
|
|
9971
|
+
author_status:
|
|
9972
|
+
type: string
|
|
9973
|
+
readOnly: true
|
|
9974
|
+
actor_kind:
|
|
9975
|
+
type: string
|
|
9976
|
+
readOnly: true
|
|
9977
|
+
mention_status:
|
|
9978
|
+
type: string
|
|
9979
|
+
readOnly: true
|
|
9980
|
+
time_precision:
|
|
9981
|
+
type: string
|
|
9982
|
+
readOnly: true
|
|
9983
|
+
occurred_until:
|
|
9984
|
+
type: string
|
|
9985
|
+
format: date-time
|
|
9986
|
+
readOnly: true
|
|
9987
|
+
nullable: true
|
|
9988
|
+
match_reasons:
|
|
9989
|
+
type: array
|
|
9990
|
+
items:
|
|
9991
|
+
type: object
|
|
9992
|
+
additionalProperties: {}
|
|
9993
|
+
readOnly: true
|
|
9994
|
+
snippet:
|
|
9995
|
+
type: string
|
|
9996
|
+
readOnly: true
|
|
9758
9997
|
body:
|
|
9759
9998
|
type: string
|
|
9760
9999
|
readOnly: true
|
|
@@ -9781,16 +10020,25 @@ components:
|
|
|
9781
10020
|
readOnly: true
|
|
9782
10021
|
nullable: true
|
|
9783
10022
|
required:
|
|
10023
|
+
- actor_kind
|
|
10024
|
+
- author_contact
|
|
10025
|
+
- author_name
|
|
10026
|
+
- author_status
|
|
9784
10027
|
- body
|
|
9785
10028
|
- description
|
|
9786
10029
|
- id
|
|
9787
10030
|
- ingested_at
|
|
10031
|
+
- match_reasons
|
|
10032
|
+
- mention_status
|
|
9788
10033
|
- observed_at
|
|
9789
10034
|
- occurred_at
|
|
10035
|
+
- occurred_until
|
|
9790
10036
|
- payload
|
|
9791
10037
|
- project
|
|
10038
|
+
- snippet
|
|
9792
10039
|
- source
|
|
9793
10040
|
- status
|
|
10041
|
+
- time_precision
|
|
9794
10042
|
- workspace
|
|
9795
10043
|
ObservationStatusEnum:
|
|
9796
10044
|
enum:
|
|
@@ -545,6 +545,21 @@ POST /api/integrations/messaging/files/upload-urls/
|
|
|
545
545
|
Options:
|
|
546
546
|
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
547
547
|
|
|
548
|
+
### current integrations messaging flag post
|
|
549
|
+
|
|
550
|
+
File a Linear triage ticket for Orin Labs, because a person asked the
|
|
551
|
+
agent to flag something for the team that builds Current — see
|
|
552
|
+
:mod:`integrations.flags`.
|
|
553
|
+
|
|
554
|
+
The agent writes the title and the details; the platform adds the
|
|
555
|
+
workspace, the reporter and its own ids, and masks contact details, so a
|
|
556
|
+
ticket never depends on the model to keep personal data out.
|
|
557
|
+
|
|
558
|
+
POST /api/integrations/messaging/flag/
|
|
559
|
+
|
|
560
|
+
Options:
|
|
561
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
562
|
+
|
|
548
563
|
### current integrations messaging history post
|
|
549
564
|
|
|
550
565
|
What was already said in this conversation, oldest last.
|
|
@@ -695,18 +710,29 @@ Which projects hold the matching observations: how many each holds and when the
|
|
|
695
710
|
GET /api/observations/observations/by-project/
|
|
696
711
|
|
|
697
712
|
Options:
|
|
713
|
+
- `--author-contact` - Author contact UUIDs. Exact identity matches only.
|
|
714
|
+
- `--author-status` - resolved, unresolved, conflict, or platform
|
|
715
|
+
- `--bounds` - inclusive (legacy default) or half_open
|
|
698
716
|
- `--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.
|
|
699
717
|
- `--ids` - Comma-separated observation UUIDs
|
|
718
|
+
- `--kind` - Recorded kind, including post, comment, project_comment, message, email, note, event. chatter and project_comments are aliases.
|
|
700
719
|
- `--limit` - Projects per page (default 100, cap 200)
|
|
701
720
|
- `--offset` - Project page offset (default 0)
|
|
702
721
|
- `--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.
|
|
703
|
-
- `--project` - Filter by project
|
|
722
|
+
- `--project` - Filter by project UUIDs (OR)
|
|
723
|
+
- `--related-contact` - Contact UUIDs for mentions, recipients, references, or involvement.
|
|
724
|
+
- `--relationship` - mention, to, cc, text, possible, author; defaults to all except author.
|
|
704
725
|
- `--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.
|
|
705
726
|
- `--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.
|
|
727
|
+
- `--snapshot` - Echo the response snapshot across pages.
|
|
706
728
|
- `--sort` - Project order. '-count' (default) puts the busiest first. 'latest_occurred_at' puts the quietest first: the projects whose most recent matching activity is oldest.
|
|
707
729
|
- `--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'.
|
|
708
730
|
- `--status` - Filter by status (pending/ingested)
|
|
731
|
+
- `--text` - Whole-word body text; optional trailing * for prefix search.
|
|
732
|
+
- `--thread` - Source thread identifier.
|
|
733
|
+
- `--timezone` - IANA timezone; defaults to workspace timezone.
|
|
709
734
|
- `--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.
|
|
735
|
+
- `--window` - last_two_days (48 hours) or last_week (previous Monday to Monday).
|
|
710
736
|
- `--workspace` - Filter by workspace UUID
|
|
711
737
|
|
|
712
738
|
### current observations create
|
|
@@ -743,17 +769,28 @@ for.
|
|
|
743
769
|
GET /api/observations/observations/
|
|
744
770
|
|
|
745
771
|
Options:
|
|
772
|
+
- `--author-contact` - Author contact UUIDs. Exact identity matches only.
|
|
773
|
+
- `--author-status` - resolved, unresolved, conflict, or platform
|
|
774
|
+
- `--bounds` - inclusive (legacy default) or half_open
|
|
746
775
|
- `--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.
|
|
747
776
|
- `--ids` - Comma-separated observation UUIDs
|
|
777
|
+
- `--kind` - Recorded kind, including post, comment, project_comment, message, email, note, event. chatter and project_comments are aliases.
|
|
748
778
|
- `--limit` - Number of results to return per page.
|
|
749
779
|
- `--offset` - The initial index from which to return the results.
|
|
750
780
|
- `--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.
|
|
751
|
-
- `--project` - Filter by project
|
|
781
|
+
- `--project` - Filter by project UUIDs (OR)
|
|
782
|
+
- `--related-contact` - Contact UUIDs for mentions, recipients, references, or involvement.
|
|
783
|
+
- `--relationship` - mention, to, cc, text, possible, author; defaults to all except author.
|
|
752
784
|
- `--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.
|
|
753
785
|
- `--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.
|
|
786
|
+
- `--snapshot` - Echo the response snapshot across pages.
|
|
754
787
|
- `--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'.
|
|
755
788
|
- `--status` - Filter by status (pending/ingested)
|
|
789
|
+
- `--text` - Whole-word body text; optional trailing * for prefix search.
|
|
790
|
+
- `--thread` - Source thread identifier.
|
|
791
|
+
- `--timezone` - IANA timezone; defaults to workspace timezone.
|
|
756
792
|
- `--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.
|
|
793
|
+
- `--window` - last_two_days (48 hours) or last_week (previous Monday to Monday).
|
|
757
794
|
- `--workspace` - Filter by workspace UUID
|
|
758
795
|
|
|
759
796
|
### current observations retrieve <id>
|
|
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
|