kenso 0.1.40 → 0.1.42
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/dist/kenso.js +216 -95
- package/dist/operations.json +1 -1
- package/docs/README.md +1 -1
- package/docs/auth.md +5 -3
- package/docs/output-and-errors.md +9 -5
- package/docs/reference.md +66 -42
- package/docs/work.md +1 -1
- package/package.json +2 -2
- package/skill/kenso-cli/SKILL.md +2 -2
package/docs/README.md
CHANGED
|
@@ -22,7 +22,7 @@ To run it once without installing, use `npx kenso --version`.
|
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
echo $KEY | kenso auth login --with-key
|
|
25
|
-
kenso workspace list --
|
|
25
|
+
kenso workspace list --search acme
|
|
26
26
|
kenso workspace use 1234
|
|
27
27
|
kenso campaigns list --limit 5
|
|
28
28
|
kenso contacts import --campaign 812 --file leads.csv --dry-run
|
package/docs/auth.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The CLI calls the Kenso API with a Kenso API key (`ken_` plus 43 characters). It sends the key as `Authorization: Bearer <key>` and never prints it, logs it or puts it in an error.
|
|
4
4
|
|
|
5
|
+
`kenso login`, `kenso logout` and `kenso whoami` are the same commands as `kenso auth login`, `kenso auth logout` and `kenso auth status`.
|
|
6
|
+
|
|
5
7
|
## Log in with an API key
|
|
6
8
|
|
|
7
9
|
1. In app.ken.so, go to Settings > Integrations > API keys and create a key.
|
|
@@ -18,7 +20,7 @@ The CLI checks the key with `GET /v1/me`, then saves it to `~/.kenso/config.json
|
|
|
18
20
|
{"profile":"default","email":"you@acme.io","workspaceId":"1234","workspaceCount":1}
|
|
19
21
|
```
|
|
20
22
|
|
|
21
|
-
When the key reaches several workspaces and you did not pass `--workspace`, no workspace is saved and the output carries `"next":"kenso workspace list --
|
|
23
|
+
When the key reaches several workspaces and you did not pass `--workspace`, no workspace is saved and the output carries `"next":"kenso workspace list --search <name>"`. A key in the wrong format exits 2 (`invalid_key_format`). A key Kenso rejects exits 3.
|
|
22
24
|
|
|
23
25
|
## Browser login
|
|
24
26
|
|
|
@@ -56,12 +58,12 @@ A key reaches every workspace its user belongs to. Each command runs in one work
|
|
|
56
58
|
3. the workspace saved in the profile (`kenso workspace use`)
|
|
57
59
|
|
|
58
60
|
```bash
|
|
59
|
-
kenso workspace list --
|
|
61
|
+
kenso workspace list --search acme
|
|
60
62
|
kenso workspace use 1234
|
|
61
63
|
kenso campaigns list --workspace 5678
|
|
62
64
|
```
|
|
63
65
|
|
|
64
|
-
`workspace list` prints one page and says on stderr when there are more: add `--all` for every page. A command that needs a workspace when none is picked fails with `workspace_required` (exit 2) and `"next":"kenso workspace list --
|
|
66
|
+
`workspace list` prints one page and says on stderr when there are more: add `--all` for every page. A command that needs a workspace when none is picked fails with `workspace_required` (exit 2) and `"next":"kenso workspace list --search <name>"`.
|
|
65
67
|
|
|
66
68
|
## Profiles
|
|
67
69
|
|
|
@@ -6,7 +6,9 @@ Every command follows one contract, so a script or an agent can parse any of the
|
|
|
6
6
|
|
|
7
7
|
- **stdout carries data only.** Progress, warnings, notices and errors go to stderr.
|
|
8
8
|
- No colors, spinners or pagers. On a terminal you get readable tables; in a pipe you get JSON.
|
|
9
|
-
-
|
|
9
|
+
- A batch command (an import, update, remove, tag or `--each` write) takes `--yes`; without it, the command plans or refuses.
|
|
10
|
+
- A command that deletes, archives or removes, such as `kenso tags delete --tag-id 7`, `kenso campaigns archive` or `kenso api DELETE /v1/tags/7`, needs `--yes` too. Without it, a person at a terminal is asked to confirm; anywhere else (a pipe, a script, CI, a coding agent) it sends nothing and fails with `confirmation_required`, whose `next` is the same command with `--yes`.
|
|
11
|
+
- Any other single write, such as `kenso tags create` or a write through `kenso api` or `kenso mcp call`, sends at once: add `--dry-run` to print the request first (it sends nothing), then run the command without it.
|
|
10
12
|
- A command with no dry run, such as `kenso contacts export`, `kenso auth logout` or `kenso workspace use`, refuses `--dry-run` with `usage_error` (exit 2) and does nothing. Its help ends with `No --dry-run`, and `kenso describe <resource> <action>` shows `"dryRun": false`.
|
|
11
13
|
|
|
12
14
|
## Formats
|
|
@@ -18,7 +20,7 @@ Every command follows one contract, so a script or an agent can parse any of the
|
|
|
18
20
|
| A batch run | key-value lines | one JSON summary object |
|
|
19
21
|
| No content (HTTP 204) | nothing | nothing |
|
|
20
22
|
|
|
21
|
-
`-o` or `--output` picks the format: `json`, `ndjson`, `table` or `ids`.
|
|
23
|
+
`-o` or `--output` picks the format: `json`, `ndjson`, `table` or `ids`. `--json` is the same as `-o json`.
|
|
22
24
|
|
|
23
25
|
- `-o json` on a list prints one JSON array. On a terminal, `-o json` pretty-prints an object.
|
|
24
26
|
- `-o ids` prints one id per line, ready for `--ids -`. Items without an `id` are skipped with one warning.
|
|
@@ -32,7 +34,7 @@ kenso contacts list --campaign-id 812 --all -o ids
|
|
|
32
34
|
## Shape the output
|
|
33
35
|
|
|
34
36
|
- `--fields a,b.c` keeps only those fields (dots reach into nested objects).
|
|
35
|
-
- `--query <JMESPath>` filters or reshapes in-process, so you need no `jq`. On a list it sees the whole list.
|
|
37
|
+
- `--query <JMESPath>` filters or reshapes in-process, so you need no `jq`. On a list it sees the whole list. There is no `--jq`: `--query` takes JMESPath, not jq syntax.
|
|
36
38
|
- Neither applies to a batch summary, which always prints in full.
|
|
37
39
|
|
|
38
40
|
```bash
|
|
@@ -64,7 +66,7 @@ When stderr is not a terminal, an error is one JSON line on stderr:
|
|
|
64
66
|
| `message` | yes | One sentence for a person |
|
|
65
67
|
| `field` | no | The flag or input field at fault |
|
|
66
68
|
| `hint` | no | What to change |
|
|
67
|
-
| `next` | no | The exact command to run next, such as `kenso auth login`, `kenso workspace list --
|
|
69
|
+
| `next` | no | The exact command to run next, such as `kenso auth login`, `kenso workspace list --search <name>` or the same command with `--yes` |
|
|
68
70
|
| `httpStatus` | no | The API's HTTP status, when the API answered |
|
|
69
71
|
| `requestId` | no | The API's request id: quote it when you contact Kenso support |
|
|
70
72
|
|
|
@@ -85,7 +87,7 @@ The CLI looks at the HTTP status first, then at the API's own `error.code`, whic
|
|
|
85
87
|
| 5xx | `server_error`, after retries where they are safe | 8 |
|
|
86
88
|
| anything else | `http_error` | 1 |
|
|
87
89
|
|
|
88
|
-
Two API codes change the exit code: `workspace_required` exits 2 with `"next":"kenso workspace list --
|
|
90
|
+
Two API codes change the exit code: `workspace_required` exits 2 with `"next":"kenso workspace list --search <name>"`, and `limit_reached` (the plan's or the campaign's lead limit) exits 6.
|
|
89
91
|
|
|
90
92
|
### Errors from the CLI itself
|
|
91
93
|
|
|
@@ -95,6 +97,8 @@ Two API codes change the exit code: `workspace_required` exits 2 with `"next":"k
|
|
|
95
97
|
| `unknown_command` | 2 | No such command; `hint` suggests the closest one |
|
|
96
98
|
| `unknown_flag`, `invalid_flag`, `invalid_flag_value`, `unexpected_argument` | 2 | A flag or argument the command does not take |
|
|
97
99
|
| `invalid_query` | 2 | `--query` is not valid JMESPath |
|
|
100
|
+
| `confirmation_required` | 2 | A delete, archive or remove ran without `--yes` where nobody can confirm: nothing was sent; `next` adds `--yes` |
|
|
101
|
+
| `cancelled` | 2 | A person answered no to the confirmation: nothing was sent |
|
|
98
102
|
| `file_unreadable` | 2 | An input file is missing or cannot be parsed |
|
|
99
103
|
| `config_invalid` | 2 | `~/.kenso/config.json` is not valid JSON: fix or delete it |
|
|
100
104
|
| `feature_not_enabled` | 2 | Every action of the resource is a beta command your workspace has not enabled |
|
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.42 (API contracts 5dc7eaafef1a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1603 commands, one entry each: summary, API route, feature gate and flag names. Beta commands work only on workspaces with their feature flag; `kenso describe` hides the ones yours cannot use. Every command also takes the global flags below. A command's notes, flag descriptions, body schema and examples: `kenso <resource> <action> --help`, or `kenso describe <resource> <action>` as JSON.
|
|
6
6
|
|
|
7
7
|
## Global flags
|
|
8
8
|
|
|
@@ -11,10 +11,11 @@ Generated from kenso 0.1.40 (API contracts 5dc7eaafef1a) by `scripts/build-refer
|
|
|
11
11
|
| `--profile <name>` | Use a saved profile (or KENSO_PROFILE) |
|
|
12
12
|
| `--workspace <id>` | Workspace for this command (or KENSO_WORKSPACE_ID) |
|
|
13
13
|
| `-o, --output <format>` | json, ndjson, table or ids (default: table on a terminal, JSON when piped) |
|
|
14
|
+
| `--json` | Same as -o json |
|
|
14
15
|
| `--fields <a,b.c>` | Keep only these fields |
|
|
15
16
|
| `--query <JMESPath>` | Filter or reshape the output in-process |
|
|
16
17
|
| `-v, --verbose` | Print each request to stderr (keys redacted) |
|
|
17
|
-
| `-y, --yes` | Apply a write |
|
|
18
|
+
| `-y, --yes` | Apply a write; a delete, archive or remove needs it |
|
|
18
19
|
| `--dry-run` | Show what a write would do and change nothing |
|
|
19
20
|
| `--progress` | Print progress to stderr even when it is not a terminal |
|
|
20
21
|
| `--all-commands` | Show beta commands in help |
|
|
@@ -250,6 +251,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
250
251
|
- [linkedin-requests](#linkedin-requests) (2)
|
|
251
252
|
- [linkedin-sequences](#linkedin-sequences) (6)
|
|
252
253
|
- [lists](#lists) (3)
|
|
254
|
+
- [login](#login) (1)
|
|
255
|
+
- [logout](#logout) (1)
|
|
253
256
|
- [lookup-badges](#lookup-badges) (1)
|
|
254
257
|
- [lookups](#lookups) (1)
|
|
255
258
|
- [loopster-companies](#loopster-companies) (1)
|
|
@@ -413,6 +416,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
413
416
|
- [white-label-hostname](#white-label-hostname) (3)
|
|
414
417
|
- [white-label-intake-links](#white-label-intake-links) (3)
|
|
415
418
|
- [white-label-intake-submissions](#white-label-intake-submissions) (1)
|
|
419
|
+
- [whoami](#whoami) (1)
|
|
416
420
|
- [work](#work) (5)
|
|
417
421
|
- [workflow-builder](#workflow-builder) (6)
|
|
418
422
|
- [workflow-estimates](#workflow-estimates) (1)
|
|
@@ -692,7 +696,7 @@ Flags: `--account-id` (required), `--each`, `--concurrency`.
|
|
|
692
696
|
|
|
693
697
|
List accounts in the current workspace. `GET /v1/accounts` (a list). Beta: needs `accounts`.
|
|
694
698
|
|
|
695
|
-
Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--ids`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--
|
|
699
|
+
Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--ids`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--search`, `--sort`, `--stage`, `--stage-group`, `--tag-ids`, `--no-fits-icp`, `--no-has-open-opportunity`, `--no-is-customer`, `--all`, `--each`, `--concurrency`.
|
|
696
700
|
|
|
697
701
|
### kenso accounts merge
|
|
698
702
|
|
|
@@ -710,7 +714,7 @@ Flags: `--account-id` (required), `--force`, `--no-force`, `--data`, `--each`, `
|
|
|
710
714
|
|
|
711
715
|
Search accounts in the current workspace with filter conditions and AND / OR groups. `POST /v1/accounts/search`. Beta: needs `accounts`.
|
|
712
716
|
|
|
713
|
-
Flags: `--
|
|
717
|
+
Flags: `--search`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--time-zone`, `--include-import-only`, `--no-include-total`, `--no-include-import-only`, `--data`, `--each`, `--concurrency`.
|
|
714
718
|
|
|
715
719
|
### kenso accounts update
|
|
716
720
|
|
|
@@ -1664,7 +1668,7 @@ Flags: `--action`, `--cursor`, `--limit`, `--occurred-after`, `--occurred-before
|
|
|
1664
1668
|
|
|
1665
1669
|
### kenso auth login
|
|
1666
1670
|
|
|
1667
|
-
|
|
1671
|
+
Log in through the browser, or save an API key from stdin with --with-key. `GET /v1/me`.
|
|
1668
1672
|
|
|
1669
1673
|
Flags: `--device-name`, `--no-browser`, `--with-key`.
|
|
1670
1674
|
|
|
@@ -1774,7 +1778,7 @@ Flags: `--file`, `--reason`, `--data`, `--each`, `--concurrency`.
|
|
|
1774
1778
|
|
|
1775
1779
|
List blocklist entries. `GET /v1/blocklist-entries` (a list).
|
|
1776
1780
|
|
|
1777
|
-
Flags: `--cursor`, `--has-reason`, `--include-counts`, `--include-total`, `--limit`, `--
|
|
1781
|
+
Flags: `--cursor`, `--has-reason`, `--include-counts`, `--include-total`, `--limit`, `--search`, `--sort`, `--source`, `--type`, `--value`, `--no-has-reason`, `--no-include-counts`, `--no-include-total`, `--all`, `--each`, `--concurrency`.
|
|
1778
1782
|
|
|
1779
1783
|
### kenso blocklist-entries update
|
|
1780
1784
|
|
|
@@ -2050,7 +2054,7 @@ Flags: `--build-file-id` (required), `--each`, `--concurrency`.
|
|
|
2050
2054
|
|
|
2051
2055
|
Search parsed text in workspace build files. `GET /v1/build-sessions/files/search` (a list).
|
|
2052
2056
|
|
|
2053
|
-
Flags: `--cursor`, `--limit`, `--
|
|
2057
|
+
Flags: `--cursor`, `--limit`, `--search`, `--session-id`, `--all`, `--each`, `--concurrency`.
|
|
2054
2058
|
|
|
2055
2059
|
## build-sessions
|
|
2056
2060
|
|
|
@@ -2160,7 +2164,7 @@ Flags: `--provider` (required), `--each`, `--concurrency`.
|
|
|
2160
2164
|
|
|
2161
2165
|
### kenso calendar-connections get-availability
|
|
2162
2166
|
|
|
2163
|
-
Return open slots. With provider omitted or "ken", a member whose own Google or Outlook calendar is connected through Kenso Workspace, in a workspace with the meetings feature, gets slots from Kenso's availability engine, marked source "ken"
|
|
2167
|
+
Return open slots. With provider omitted or "ken", a member whose own Google or Outlook calendar is connected through Kenso Workspace, in a workspace with the meetings feature, gets slots from Kenso's availability engine, marked source "ken". A member whose Kenso Workspace calendar needs reconnecting gets status "unavailable" with reason "calendar_needs_reconnect" and source "ken". Anyone else, and any named provider, gets that provider's connection as before; a "ken" asked for by name that does not apply is a 400 that says what it needs. `GET /v1/calendar/availability`.
|
|
2164
2168
|
|
|
2165
2169
|
Flags: `--from`, `--meeting-length-minutes`, `--provider`, `--time-zone`, `--to`, `--each`, `--concurrency`.
|
|
2166
2170
|
|
|
@@ -2832,7 +2836,7 @@ Flags: `--campaign-id` (required), `--each`, `--concurrency`.
|
|
|
2832
2836
|
|
|
2833
2837
|
List campaigns. `GET /v1/campaigns` (a list).
|
|
2834
2838
|
|
|
2835
|
-
Flags: `--cursor`, `--include-tag-ids`, `--kind`, `--limit`, `--
|
|
2839
|
+
Flags: `--cursor`, `--include-tag-ids`, `--kind`, `--limit`, `--search`, `--status`, `--no-include-tag-ids`, `--all`, `--each`, `--concurrency`.
|
|
2836
2840
|
|
|
2837
2841
|
### kenso campaigns list-ai-workflows
|
|
2838
2842
|
|
|
@@ -2946,7 +2950,7 @@ Flags: `--campaign-id` (required), `--each`, `--concurrency`.
|
|
|
2946
2950
|
|
|
2947
2951
|
Update a campaign. `PATCH /v1/campaigns/{campaignId}`.
|
|
2948
2952
|
|
|
2949
|
-
Flags: `--campaign-id` (required), `--name`, `--contact-limit`, `--
|
|
2953
|
+
Flags: `--campaign-id` (required), `--name`, `--contact-limit`, `--sending-start-time`, `--sending-end-time`, `--sending-timezone`, `--max-emails-per-day`, `--owner-member-id`, `--stop-on-reply`, `--track-clicks`, `--track-opens`, `--unsubscribe-link`, `--send-as-plain-text`, `--protect-account-plays`, `--ramp-up-days`, `--stop-company-on-reply`, `--group-same-company-sends`, `--new-leads-first`, `--catch-all-lane-enabled`, `--booking-meeting-type-id`, `--reply-to`, `--role-id`, `--source-language`, `--language-mode`, `--language-fallback`, `--mode`, `--auto-launch-when-ready`, `--no-stop-on-reply`, `--no-track-clicks`, `--no-track-opens`, `--no-unsubscribe-link`, `--no-send-as-plain-text`, `--no-protect-account-plays`, `--no-stop-company-on-reply`, `--no-group-same-company-sends`, `--no-new-leads-first`, `--no-catch-all-lane-enabled`, `--no-auto-launch-when-ready`, `--data`, `--each`, `--concurrency`.
|
|
2950
2954
|
|
|
2951
2955
|
## checkout-sessions
|
|
2952
2956
|
|
|
@@ -3082,7 +3086,7 @@ Flags: `--provider` (required), `--file-id` (required), `--each`, `--concurrency
|
|
|
3082
3086
|
|
|
3083
3087
|
Search the caller's own Google Drive or OneDrive files. `GET /v1/cloud-files` (a list). Beta: needs `connected_app_reads`.
|
|
3084
3088
|
|
|
3085
|
-
Flags: `--cursor`, `--limit`, `--provider`, `--
|
|
3089
|
+
Flags: `--cursor`, `--limit`, `--provider`, `--search`, `--all`, `--each`, `--concurrency`.
|
|
3086
3090
|
|
|
3087
3091
|
## committee
|
|
3088
3092
|
|
|
@@ -3130,7 +3134,7 @@ Flags: `--company-id` (required), `--each`, `--concurrency`.
|
|
|
3130
3134
|
|
|
3131
3135
|
List companies. `GET /v1/companies` (a list).
|
|
3132
3136
|
|
|
3133
|
-
Flags: `--cursor`, `--domain`, `--limit`, `--
|
|
3137
|
+
Flags: `--cursor`, `--domain`, `--limit`, `--search`, `--all`, `--each`, `--concurrency`.
|
|
3134
3138
|
|
|
3135
3139
|
## company-data
|
|
3136
3140
|
|
|
@@ -3160,7 +3164,7 @@ Flags: `--export-id` (required), `--each`, `--concurrency`.
|
|
|
3160
3164
|
|
|
3161
3165
|
Create a contact export. `POST /v1/contact-exports`.
|
|
3162
3166
|
|
|
3163
|
-
Flags: `--kind`, `--campaign-id`, `--segment-id`, `--is-qualified`, `--has-valid-email`, `--do-not-contact`, `--
|
|
3167
|
+
Flags: `--kind`, `--campaign-id`, `--segment-id`, `--is-qualified`, `--has-valid-email`, `--do-not-contact`, `--search`, `--ready-only`, `--include-emails`, `--include-company`, `--include-click-events`, `--include-total-clicks`, `--occurred-after`, `--occurred-before`, `--list-id`, `--created-after`, `--created-before`, `--max-rows`, `--skip-rows`, `--no-is-qualified`, `--no-has-valid-email`, `--no-do-not-contact`, `--no-ready-only`, `--no-include-emails`, `--no-include-company`, `--no-include-click-events`, `--no-include-total-clicks`, `--data`, `--each`, `--concurrency`.
|
|
3164
3168
|
|
|
3165
3169
|
### kenso contact-exports google-sheet
|
|
3166
3170
|
|
|
@@ -3296,7 +3300,7 @@ Flags: `--campaign`, `--file`, `--map`, `--out`, `--server-import`, `--template`
|
|
|
3296
3300
|
|
|
3297
3301
|
List contacts. `GET /v1/contacts` (a list).
|
|
3298
3302
|
|
|
3299
|
-
Flags: `--campaign-id`, `--company-id`, `--created-after`, `--created-before`, `--cursor`, `--do-not-contact`, `--email`, `--is-qualified`, `--limit`, `--
|
|
3303
|
+
Flags: `--campaign-id`, `--company-id`, `--created-after`, `--created-before`, `--cursor`, `--do-not-contact`, `--email`, `--is-qualified`, `--limit`, `--search`, `--segment-id`, `--no-do-not-contact`, `--no-is-qualified`, `--all`, `--each`, `--concurrency`.
|
|
3300
3304
|
|
|
3301
3305
|
### kenso contacts list-website-pages
|
|
3302
3306
|
|
|
@@ -3338,7 +3342,7 @@ Flags: `--concurrency`, `--ids`, `--out`, `--where`.
|
|
|
3338
3342
|
|
|
3339
3343
|
Search contacts. `POST /v1/contacts/search`.
|
|
3340
3344
|
|
|
3341
|
-
Flags: `--company-id`, `--segment-id`, `--email`, `--
|
|
3345
|
+
Flags: `--company-id`, `--segment-id`, `--email`, `--search`, `--is-qualified`, `--do-not-contact`, `--created-after`, `--created-before`, `--ready-only`, `--awaiting-first-email`, `--sort`, `--direction`, `--limit`, `--cursor`, `--no-is-qualified`, `--no-do-not-contact`, `--no-ready-only`, `--no-awaiting-first-email`, `--data`, `--each`, `--concurrency`.
|
|
3342
3346
|
|
|
3343
3347
|
### kenso contacts tag
|
|
3344
3348
|
|
|
@@ -3380,7 +3384,7 @@ Flags: `--kind`, `--campaign-id`, `--target-leads`, `--sequence-steps`, `--perso
|
|
|
3380
3384
|
|
|
3381
3385
|
List credit ledger lines. `GET /v1/credits/ledger` (a list).
|
|
3382
3386
|
|
|
3383
|
-
Flags: `--account-id`, `--action`, `--actor-user-id`, `--campaign-id`, `--category`, `--chat-id`, `--contact-id`, `--cursor`, `--from`, `--limit`, `--list-id`, `--
|
|
3387
|
+
Flags: `--account-id`, `--action`, `--actor-user-id`, `--campaign-id`, `--category`, `--chat-id`, `--contact-id`, `--cursor`, `--from`, `--limit`, `--list-id`, `--search`, `--run-id`, `--to`, `--trigger`, `--workflow-id`, `--all`, `--each`, `--concurrency`.
|
|
3384
3388
|
|
|
3385
3389
|
## credit-model-usage
|
|
3386
3390
|
|
|
@@ -3544,7 +3548,7 @@ Flags: `--connection-id` (required), `--object-type` (required), `--external-id`
|
|
|
3544
3548
|
|
|
3545
3549
|
Search the CRM live. `GET /v1/crm-connections/{connectionId}/live-records`. Beta: needs `connected_app_reads`.
|
|
3546
3550
|
|
|
3547
|
-
Flags: `--connection-id` (required), `--limit`, `--object-type`, `--
|
|
3551
|
+
Flags: `--connection-id` (required), `--limit`, `--object-type`, `--search`, `--each`, `--concurrency`.
|
|
3548
3552
|
|
|
3549
3553
|
## crm-pipelines
|
|
3550
3554
|
|
|
@@ -3608,7 +3612,7 @@ Flags: `--campaign-id` (required), `--variable-key` (required), `--each`, `--con
|
|
|
3608
3612
|
|
|
3609
3613
|
List a campaign's custom variables. `GET /v1/campaigns/{campaignId}/custom-variables` (a list).
|
|
3610
3614
|
|
|
3611
|
-
Flags: `--campaign-id` (required), `--cursor`, `--limit`, `--
|
|
3615
|
+
Flags: `--campaign-id` (required), `--cursor`, `--limit`, `--search`, `--all`, `--each`, `--concurrency`.
|
|
3612
3616
|
|
|
3613
3617
|
### kenso custom-variables update
|
|
3614
3618
|
|
|
@@ -5134,7 +5138,7 @@ Flags: `--account-id`, `--account`, `--person-id`, `--skill`, `--purpose`, `--bu
|
|
|
5134
5138
|
|
|
5135
5139
|
Search Knowledge facts and their source text. `POST /v1/knowledge/search`. Beta: needs `knowledge`.
|
|
5136
5140
|
|
|
5137
|
-
Flags: `--
|
|
5141
|
+
Flags: `--search`, `--account-id`, `--person-id`, `--observed-after`, `--observed-before`, `--limit`, `--include-evidence`, `--no-include-evidence`, `--data`, `--each`, `--concurrency`.
|
|
5138
5142
|
|
|
5139
5143
|
## knowledge-changes
|
|
5140
5144
|
|
|
@@ -5226,7 +5230,7 @@ Flags: `--file-id` (required), `--base-version`, `--data`, `--each`, `--concurre
|
|
|
5226
5230
|
|
|
5227
5231
|
List files, newest first, without their bodies. `GET /v1/knowledge/files` (a list). Beta: needs `knowledge`.
|
|
5228
5232
|
|
|
5229
|
-
Flags: `--account-id`, `--active`, `--cursor`, `--folder-id`, `--level`, `--limit`, `--person-id`, `--
|
|
5233
|
+
Flags: `--account-id`, `--active`, `--cursor`, `--folder-id`, `--level`, `--limit`, `--person-id`, `--search`, `--status`, `--tag`, `--no-active`, `--all`, `--each`, `--concurrency`.
|
|
5230
5234
|
|
|
5231
5235
|
### kenso knowledge-files reset
|
|
5232
5236
|
|
|
@@ -5688,7 +5692,7 @@ Flags: `--linkedin-account-id` (required), `--display-name`, `--timezone`, `--wo
|
|
|
5688
5692
|
|
|
5689
5693
|
List the workspace's LinkedIn connections. `GET /v1/linkedin-connections` (a list). Beta: needs one of `linkedin_connections_import`, `linkedin_network`.
|
|
5690
5694
|
|
|
5691
|
-
Flags: `--company-domain`, `--cursor`, `--group`, `--icp-status`, `--import-status`, `--job-changed`, `--limit`, `--linkedin-account-id`, `--match-status`, `--
|
|
5695
|
+
Flags: `--company-domain`, `--cursor`, `--group`, `--icp-status`, `--import-status`, `--job-changed`, `--limit`, `--linkedin-account-id`, `--match-status`, `--search`, `--seniority`, `--sort`, `--tier`, `--warm-path`, `--no-job-changed`, `--no-warm-path`, `--all`, `--each`, `--concurrency`.
|
|
5692
5696
|
|
|
5693
5697
|
### kenso linkedin-connections promote
|
|
5694
5698
|
|
|
@@ -5860,6 +5864,20 @@ List a campaign's lists. `GET /v1/campaigns/{campaignId}/lists` (a list).
|
|
|
5860
5864
|
|
|
5861
5865
|
Flags: `--campaign-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
5862
5866
|
|
|
5867
|
+
## login
|
|
5868
|
+
|
|
5869
|
+
### kenso login
|
|
5870
|
+
|
|
5871
|
+
Log in through the browser, or save an API key from stdin with --with-key. `GET /v1/me`.
|
|
5872
|
+
|
|
5873
|
+
Flags: `--device-name`, `--no-browser`, `--with-key`.
|
|
5874
|
+
|
|
5875
|
+
## logout
|
|
5876
|
+
|
|
5877
|
+
### kenso logout
|
|
5878
|
+
|
|
5879
|
+
Remove a saved profile and its key.
|
|
5880
|
+
|
|
5863
5881
|
## lookup-badges
|
|
5864
5882
|
|
|
5865
5883
|
### kenso lookup-badges get
|
|
@@ -5912,7 +5930,7 @@ Flags: `--message-id` (required), `--each`, `--concurrency`.
|
|
|
5912
5930
|
|
|
5913
5931
|
Search your own mailbox. `GET /v1/mail/messages`. Beta: needs `connected_app_reads`.
|
|
5914
5932
|
|
|
5915
|
-
Flags: `--limit`, `--
|
|
5933
|
+
Flags: `--limit`, `--search`, `--each`, `--concurrency`.
|
|
5916
5934
|
|
|
5917
5935
|
## market-profile
|
|
5918
5936
|
|
|
@@ -5960,7 +5978,7 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
|
5960
5978
|
|
|
5961
5979
|
### kenso mcp call
|
|
5962
5980
|
|
|
5963
|
-
Call a hosted Kenso MCP tool, such as list_skills
|
|
5981
|
+
Call a hosted Kenso MCP tool, such as list_skills.
|
|
5964
5982
|
|
|
5965
5983
|
Arguments: `<tool>`.
|
|
5966
5984
|
|
|
@@ -6622,7 +6640,7 @@ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
|
|
|
6622
6640
|
|
|
6623
6641
|
List the meetings the caller can see. `GET /v1/meetings` (a list). Beta: needs `meetings`.
|
|
6624
6642
|
|
|
6625
|
-
Flags: `--account-id`, `--cursor`, `--from`, `--has-recording`, `--ids`, `--limit`, `--owner-member-id`, `--
|
|
6643
|
+
Flags: `--account-id`, `--cursor`, `--from`, `--has-recording`, `--ids`, `--limit`, `--owner-member-id`, `--search`, `--status`, `--to`, `--no-has-recording`, `--all`, `--each`, `--concurrency`.
|
|
6626
6644
|
|
|
6627
6645
|
### kenso meetings list-sources
|
|
6628
6646
|
|
|
@@ -7124,7 +7142,7 @@ Flags: `--opportunity-id` (required), `--body-dry-run`, `--no-body-dry-run`, `--
|
|
|
7124
7142
|
|
|
7125
7143
|
List opportunities in the current workspace. `GET /v1/opportunities` (a list). Beta: needs `opportunities`.
|
|
7126
7144
|
|
|
7127
|
-
Flags: `--account-id`, `--close-date-after`, `--close-date-before`, `--cursor`, `--limit`, `--owner-member-id`, `--
|
|
7145
|
+
Flags: `--account-id`, `--close-date-after`, `--close-date-before`, `--cursor`, `--limit`, `--owner-member-id`, `--search`, `--sort`, `--source-campaign-id`, `--stage`, `--stage-category`, `--stale-days`, `--all`, `--each`, `--concurrency`.
|
|
7128
7146
|
|
|
7129
7147
|
### kenso opportunities update
|
|
7130
7148
|
|
|
@@ -7442,7 +7460,7 @@ Flags: `--person-id` (required), `--each`, `--concurrency`.
|
|
|
7442
7460
|
|
|
7443
7461
|
Export the people the filters match as CSV. `POST /v1/people/export`. Beta: needs `accounts`.
|
|
7444
7462
|
|
|
7445
|
-
Flags: `--
|
|
7463
|
+
Flags: `--search`, `--on-account`, `--has-email`, `--owner-member-id`, `--has-suggestion`, `--include-import-only`, `--location`, `--sort`, `--no-has-email`, `--no-has-suggestion`, `--no-include-import-only`, `--data`, `--each`, `--concurrency`.
|
|
7446
7464
|
|
|
7447
7465
|
### kenso people find-emails
|
|
7448
7466
|
|
|
@@ -7496,7 +7514,7 @@ Flags: `--email`, `--linkedin-url`, `--full-name`, `--first-name`, `--last-name`
|
|
|
7496
7514
|
|
|
7497
7515
|
List people in the current workspace. `GET /v1/people` (a list). Beta: needs `accounts`.
|
|
7498
7516
|
|
|
7499
|
-
Flags: `--behavior-tags`, `--cursor`, `--email`, `--has-suggestion`, `--lead-status`, `--limit`, `--linkedin-url`, `--owner-member-id`, `--
|
|
7517
|
+
Flags: `--behavior-tags`, `--cursor`, `--email`, `--has-suggestion`, `--lead-status`, `--limit`, `--linkedin-url`, `--owner-member-id`, `--search`, `--relationship`, `--sort`, `--source`, `--suggested-relationship`, `--suggestion-kind`, `--tag-ids`, `--no-has-suggestion`, `--all`, `--each`, `--concurrency`.
|
|
7500
7518
|
|
|
7501
7519
|
### kenso people merge
|
|
7502
7520
|
|
|
@@ -7520,7 +7538,7 @@ Flags: `--person-id` (required), `--mode`, `--data`, `--each`, `--concurrency`.
|
|
|
7520
7538
|
|
|
7521
7539
|
Search people in the current workspace with filters. `POST /v1/people/search`. Beta: needs `accounts`.
|
|
7522
7540
|
|
|
7523
|
-
Flags: `--
|
|
7541
|
+
Flags: `--search`, `--on-account`, `--has-email`, `--owner-member-id`, `--has-suggestion`, `--include-import-only`, `--location`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-has-email`, `--no-has-suggestion`, `--no-include-import-only`, `--no-include-total`, `--data`, `--each`, `--concurrency`.
|
|
7524
7542
|
|
|
7525
7543
|
### kenso people set-instagram
|
|
7526
7544
|
|
|
@@ -7754,7 +7772,7 @@ Flags: `--template-id` (required), `--each`, `--concurrency`.
|
|
|
7754
7772
|
|
|
7755
7773
|
List prompt templates visible in the current workspace. `GET /v1/prompt-templates` (a list).
|
|
7756
7774
|
|
|
7757
|
-
Flags: `--cursor`, `--flow`, `--limit`, `--
|
|
7775
|
+
Flags: `--cursor`, `--flow`, `--limit`, `--search`, `--scope`, `--all`, `--each`, `--concurrency`.
|
|
7758
7776
|
|
|
7759
7777
|
### kenso prompt-templates update
|
|
7760
7778
|
|
|
@@ -7812,7 +7830,7 @@ Flags: `--prompt-id` (required), `--knowledge-prompt-id`, `--data`, `--each`, `-
|
|
|
7812
7830
|
|
|
7813
7831
|
List prompts. `GET /v1/prompts` (a list).
|
|
7814
7832
|
|
|
7815
|
-
Flags: `--campaign-id`, `--cursor`, `--flow`, `--limit`, `--
|
|
7833
|
+
Flags: `--campaign-id`, `--cursor`, `--flow`, `--limit`, `--search`, `--segment-id`, `--all`, `--each`, `--concurrency`.
|
|
7816
7834
|
|
|
7817
7835
|
### kenso prompts test
|
|
7818
7836
|
|
|
@@ -8162,7 +8180,7 @@ Flags: `--role-id` (required), `--each`, `--concurrency`.
|
|
|
8162
8180
|
|
|
8163
8181
|
List the workspace's roles. `GET /v1/roles` (a list). Beta: needs `recruiting`.
|
|
8164
8182
|
|
|
8165
|
-
Flags: `--cursor`, `--limit`, `--
|
|
8183
|
+
Flags: `--cursor`, `--limit`, `--search`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
8166
8184
|
|
|
8167
8185
|
### kenso roles update
|
|
8168
8186
|
|
|
@@ -8210,7 +8228,7 @@ Flags: `--token` (required), `--each`, `--concurrency`.
|
|
|
8210
8228
|
|
|
8211
8229
|
Search members across saved lists. `GET /v1/saved-list-members` (a list). Beta: needs `saved_lists`.
|
|
8212
8230
|
|
|
8213
|
-
Flags: `--cursor`, `--limit`, `--
|
|
8231
|
+
Flags: `--cursor`, `--limit`, `--search`, `--all`, `--each`, `--concurrency`.
|
|
8214
8232
|
|
|
8215
8233
|
## saved-lists
|
|
8216
8234
|
|
|
@@ -8272,7 +8290,7 @@ Flags: `--saved-list-id` (required), `--source-id` (required), `--each`, `--conc
|
|
|
8272
8290
|
|
|
8273
8291
|
List saved lists. `GET /v1/saved-lists` (a list). Beta: needs `saved_lists`.
|
|
8274
8292
|
|
|
8275
|
-
Flags: `--cursor`, `--icp-tag`, `--kind`, `--limit`, `--
|
|
8293
|
+
Flags: `--cursor`, `--icp-tag`, `--kind`, `--limit`, `--search`, `--scope`, `--slug`, `--all`, `--each`, `--concurrency`.
|
|
8276
8294
|
|
|
8277
8295
|
### kenso saved-lists list-grants
|
|
8278
8296
|
|
|
@@ -8284,7 +8302,7 @@ Flags: `--saved-list-id` (required), `--each`, `--concurrency`.
|
|
|
8284
8302
|
|
|
8285
8303
|
List a saved list's members. `GET /v1/saved-lists/{savedListId}/members` (a list). Beta: needs `saved_lists`.
|
|
8286
8304
|
|
|
8287
|
-
Flags: `--saved-list-id` (required), `--country`, `--cursor`, `--has-sendable-email`, `--headcount-band`, `--include-total`, `--industry`, `--limit`, `--
|
|
8305
|
+
Flags: `--saved-list-id` (required), `--country`, `--cursor`, `--has-sendable-email`, `--headcount-band`, `--include-total`, `--industry`, `--limit`, `--search`, `--seniority`, `--title`, `--no-has-sendable-email`, `--no-include-total`, `--all`, `--each`, `--concurrency`.
|
|
8288
8306
|
|
|
8289
8307
|
### kenso saved-lists refresh
|
|
8290
8308
|
|
|
@@ -8478,7 +8496,7 @@ Flags: `--import-id` (required), `--each`, `--concurrency`.
|
|
|
8478
8496
|
|
|
8479
8497
|
List filter values. `GET /v1/search/metadata` (a list).
|
|
8480
8498
|
|
|
8481
|
-
Flags: `--category`, `--cursor`, `--include-total`, `--limit`, `--
|
|
8499
|
+
Flags: `--category`, `--cursor`, `--include-total`, `--limit`, `--search`, `--no-include-total`, `--all`, `--each`, `--concurrency`.
|
|
8482
8500
|
|
|
8483
8501
|
### kenso search get-people-facets
|
|
8484
8502
|
|
|
@@ -8776,7 +8794,7 @@ Flags: `--segment-id` (required), `--version-id` (required), `--each`, `--concur
|
|
|
8776
8794
|
|
|
8777
8795
|
List a campaign's segments. `GET /v1/campaigns/{campaignId}/segments` (a list).
|
|
8778
8796
|
|
|
8779
|
-
Flags: `--campaign-id` (required), `--cursor`, `--include-metrics`, `--is-active`, `--limit`, `--
|
|
8797
|
+
Flags: `--campaign-id` (required), `--cursor`, `--include-metrics`, `--is-active`, `--limit`, `--search`, `--no-include-metrics`, `--no-is-active`, `--all`, `--each`, `--concurrency`.
|
|
8780
8798
|
|
|
8781
8799
|
### kenso segments list-versions
|
|
8782
8800
|
|
|
@@ -9204,7 +9222,7 @@ Flags: `--slug` (required), `--each`, `--concurrency`.
|
|
|
9204
9222
|
|
|
9205
9223
|
Search the Kenso template library. `GET /v1/studio/starters`. Beta: needs `studio`.
|
|
9206
9224
|
|
|
9207
|
-
Flags: `--category`, `--featured`, `--needs`, `--
|
|
9225
|
+
Flags: `--category`, `--featured`, `--needs`, `--search`, `--type`, `--no-featured`, `--each`, `--concurrency`.
|
|
9208
9226
|
|
|
9209
9227
|
## subscription
|
|
9210
9228
|
|
|
@@ -9438,7 +9456,7 @@ Flags: `--thread-id` (required), `--each`, `--concurrency`.
|
|
|
9438
9456
|
|
|
9439
9457
|
List threads. `GET /v1/threads` (a list).
|
|
9440
9458
|
|
|
9441
|
-
Flags: `--campaign-id`, `--channel`, `--contact-id`, `--cursor`, `--folder`, `--group-by`, `--has-reminder`, `--inbox-id`, `--interest`, `--is-archived`, `--is-read`, `--is-saved`, `--limit`, `--person-key`, `--
|
|
9459
|
+
Flags: `--campaign-id`, `--channel`, `--contact-id`, `--cursor`, `--folder`, `--group-by`, `--has-reminder`, `--inbox-id`, `--interest`, `--is-archived`, `--is-read`, `--is-saved`, `--limit`, `--person-key`, `--search`, `--sort`, `--source`, `--status`, `--tag-ids`, `--no-has-reminder`, `--no-is-archived`, `--no-is-read`, `--no-is-saved`, `--all`, `--each`, `--concurrency`.
|
|
9442
9460
|
|
|
9443
9461
|
### kenso threads list-messages
|
|
9444
9462
|
|
|
@@ -10336,6 +10354,12 @@ List what clients submitted through one intake link, newest first. `GET /v1/whit
|
|
|
10336
10354
|
|
|
10337
10355
|
Flags: `--intake-link-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
10338
10356
|
|
|
10357
|
+
## whoami
|
|
10358
|
+
|
|
10359
|
+
### kenso whoami
|
|
10360
|
+
|
|
10361
|
+
Show the key's user, workspace and expiry. API operations: `me.get`, `api-keys.list`.
|
|
10362
|
+
|
|
10339
10363
|
## work
|
|
10340
10364
|
|
|
10341
10365
|
### kenso work pull
|
|
@@ -10678,7 +10702,7 @@ Flags: `--workflow-id` (required), `--each`, `--concurrency`.
|
|
|
10678
10702
|
|
|
10679
10703
|
List the workspace's workflows, newest first. `GET /v1/workflows` (a list). Beta: needs `workflows`.
|
|
10680
10704
|
|
|
10681
|
-
Flags: `--campaign-id`, `--cursor`, `--default-key`, `--kind`, `--limit`, `--
|
|
10705
|
+
Flags: `--campaign-id`, `--cursor`, `--default-key`, `--kind`, `--limit`, `--search`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
10682
10706
|
|
|
10683
10707
|
### kenso workflows publish
|
|
10684
10708
|
|
|
@@ -10710,7 +10734,7 @@ Flags: `--workflow-id` (required), `--mode`, `--data`, `--each`, `--concurrency`
|
|
|
10710
10734
|
|
|
10711
10735
|
List the workspaces your key can use. `GET /v1/workspaces` (a list).
|
|
10712
10736
|
|
|
10713
|
-
Flags: `--all`, `--limit`, `--
|
|
10737
|
+
Flags: `--all`, `--limit`, `--search`.
|
|
10714
10738
|
|
|
10715
10739
|
### kenso workspace use
|
|
10716
10740
|
|
|
@@ -10798,7 +10822,7 @@ Flags: `--workspace-id` (required), `--each`, `--concurrency`.
|
|
|
10798
10822
|
|
|
10799
10823
|
List workspaces. `GET /v1/workspaces` (a list).
|
|
10800
10824
|
|
|
10801
|
-
Flags: `--cursor`, `--limit`, `--
|
|
10825
|
+
Flags: `--cursor`, `--limit`, `--search`, `--all`, `--each`, `--concurrency`.
|
|
10802
10826
|
|
|
10803
10827
|
### kenso workspaces list-own-domains
|
|
10804
10828
|
|
package/docs/work.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent work (beta)
|
|
2
2
|
|
|
3
|
-
Some Kenso AI work can wait for your own coding agent instead: personalization, qualification, segmentation, rewriting, meeting briefs, call briefs and workflow prompts. Set a kind to **My agent** and Kenso's AI no longer runs it. The work waits in a queue, your agent (Claude Code, Codex and others) writes it on your machine with your own AI plan, and Kenso stores each answer where its own AI would have. That work costs 0 Kenso
|
|
3
|
+
Some Kenso AI work can wait for your own coding agent instead: personalization, qualification, segmentation, rewriting, meeting briefs, call briefs and workflow prompts. Set a kind to **My agent** and Kenso's AI no longer runs it. The work waits in a queue, your agent (Claude Code, Codex and others) writes it on your machine with your own AI plan, and Kenso stores each answer where its own AI would have. That work costs 0 Kenso credits.
|
|
4
4
|
|
|
5
5
|
Switch it on per kind in the app: **Settings > AI work**, then pick **My agent** for a kind. Switch a kind back to **Kenso AI** and Kenso's AI runs its work again. The `kenso work` commands are beta: they need the `agent_work` feature on your workspace, and until it is on they answer `not_found` (exit 4).
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.42",
|
|
4
4
|
"description": "The Kenso CLI: bulk lead, CRM and Studio work for people and coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"typescript-eslint": "8.71.1",
|
|
45
45
|
"vitest": "5.0.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "381c3e47cf4b649d89205812f16430e66ffc51b8"
|
|
48
48
|
}
|
package/skill/kenso-cli/SKILL.md
CHANGED
|
@@ -3,10 +3,10 @@ name: kenso-cli
|
|
|
3
3
|
description: The Kenso CLI (kenso) for work from a file (of any size, even a few ids) or over about 50 records - import, update, remove (delete), pause, tag or export leads, import CRM accounts and people, edit Studio templates as local files and fill them, run an API operation per file row, resume an interrupted run, write the Kenso AI work a workspace gave to its own coding agent (My agent, with kenso work run, or work pull and submit with subagents), sign in with a key from a variable (pipe it to kenso auth login --with-key, no check first). For records listed in the message (under about 50), one record or a question, use the Kenso MCP.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
1. Every write runs first with `--dry-run`; apply with the plan's `next
|
|
6
|
+
1. Every write runs first with `--dry-run`; apply with the plan's `next` (a delete, archive or remove applies with `--yes`). `--yes` at once only to continue an interrupted run or apply what the person confirmed. A command with no dry run refuses `--dry-run` (exit 2, nothing ran): read its `--help`, then run it without.
|
|
7
7
|
2. Many rows: one command on the file as it is (`--file`, `--ids`, `--each`). Run kenso only: no python, awk or shell tests, not even on a file or variable.
|
|
8
8
|
3. Any output's `next` is the command to run; errors are JSON on stderr. `--force` only with the person's OK.
|
|
9
|
-
4. Ids are flags: `--campaign 812`
|
|
9
|
+
4. Ids are flags: `--campaign-id 812` (or `--campaign 812`, the same flag). `--workspace <id>`; by name `kenso workspace list --search acme`. `--json` is `-o json`; `--query` takes JMESPath (there is no `--jq`). Other commands: `kenso --help`; `kenso api <METHOD> <path>` only when none fits.
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
kenso contacts import --campaign 812 --file leads.csv --dry-run # skips leads already in; --map '{"Pain": "customVariables.pain_point", "Notes": null}'; over 200 MB --server-import
|