@roarkanalytics/cli 0.1.0

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.
Files changed (99) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +225 -0
  3. package/bin.d.ts +2 -0
  4. package/bin.js +14 -0
  5. package/commands.d.ts +5 -0
  6. package/commands.js +3553 -0
  7. package/completions.d.ts +1 -0
  8. package/completions.js +13 -0
  9. package/index.d.ts +6 -0
  10. package/index.js +26 -0
  11. package/man/roark-agent-create.1 +99 -0
  12. package/man/roark-agent-endpoint-create.1 +108 -0
  13. package/man/roark-agent-endpoint-get.1 +93 -0
  14. package/man/roark-agent-endpoint-list.1 +102 -0
  15. package/man/roark-agent-endpoint-update.1 +103 -0
  16. package/man/roark-agent-get.1 +93 -0
  17. package/man/roark-agent-list.1 +99 -0
  18. package/man/roark-agent-update.1 +100 -0
  19. package/man/roark-call-create.1 +150 -0
  20. package/man/roark-call-get.1 +93 -0
  21. package/man/roark-call-list.1 +111 -0
  22. package/man/roark-call-metric-list.1 +100 -0
  23. package/man/roark-call-sentiment-run-list.1 +93 -0
  24. package/man/roark-call-transcript-get.1 +97 -0
  25. package/man/roark-config-apply.1 +96 -0
  26. package/man/roark-config-diff.1 +96 -0
  27. package/man/roark-customer-flow-create.1 +97 -0
  28. package/man/roark-customer-flow-delete.1 +93 -0
  29. package/man/roark-customer-flow-edge-case-create.1 +112 -0
  30. package/man/roark-customer-flow-edge-case-delete.1 +96 -0
  31. package/man/roark-customer-flow-edge-case-promote.1 +96 -0
  32. package/man/roark-customer-flow-edge-case-update.1 +118 -0
  33. package/man/roark-customer-flow-get.1 +93 -0
  34. package/man/roark-customer-flow-graph-replace.1 +100 -0
  35. package/man/roark-customer-flow-happy-path-update.1 +115 -0
  36. package/man/roark-customer-flow-list.1 +105 -0
  37. package/man/roark-customer-flow-update.1 +109 -0
  38. package/man/roark-health.1 +89 -0
  39. package/man/roark-http-request-definition-create.1 +108 -0
  40. package/man/roark-http-request-definition-get.1 +93 -0
  41. package/man/roark-http-request-definition-list.1 +96 -0
  42. package/man/roark-http-request-definition-update.1 +109 -0
  43. package/man/roark-metric-collection-job-create.1 +99 -0
  44. package/man/roark-metric-collection-job-get.1 +93 -0
  45. package/man/roark-metric-collection-job-list.1 +99 -0
  46. package/man/roark-metric-definition-create.1 +100 -0
  47. package/man/roark-metric-definition-list.1 +89 -0
  48. package/man/roark-metric-policy-create.1 +105 -0
  49. package/man/roark-metric-policy-delete.1 +93 -0
  50. package/man/roark-metric-policy-get.1 +93 -0
  51. package/man/roark-metric-policy-list.1 +99 -0
  52. package/man/roark-metric-policy-update.1 +106 -0
  53. package/man/roark-simulation-environment-get.1 +93 -0
  54. package/man/roark-simulation-environment-list.1 +96 -0
  55. package/man/roark-simulation-job-get.1 +93 -0
  56. package/man/roark-simulation-job-lookup.1 +96 -0
  57. package/man/roark-simulation-persona-create.1 +156 -0
  58. package/man/roark-simulation-persona-get.1 +93 -0
  59. package/man/roark-simulation-persona-list.1 +99 -0
  60. package/man/roark-simulation-persona-update.1 +160 -0
  61. package/man/roark-simulation-plan-create.1 +138 -0
  62. package/man/roark-simulation-plan-delete.1 +93 -0
  63. package/man/roark-simulation-plan-get.1 +93 -0
  64. package/man/roark-simulation-plan-job-get.1 +93 -0
  65. package/man/roark-simulation-plan-job-list.1 +108 -0
  66. package/man/roark-simulation-plan-job-start.1 +97 -0
  67. package/man/roark-simulation-plan-list.1 +102 -0
  68. package/man/roark-simulation-plan-update.1 +142 -0
  69. package/man/roark-simulation-run.1 +97 -0
  70. package/man/roark-webhook-create.1 +102 -0
  71. package/man/roark-webhook-delete.1 +93 -0
  72. package/man/roark-webhook-get.1 +93 -0
  73. package/man/roark-webhook-list.1 +96 -0
  74. package/man/roark.1 +287 -0
  75. package/package.json +102 -0
  76. package/runtime/commands/api.d.ts +26 -0
  77. package/runtime/commands/api.js +85 -0
  78. package/runtime/commands/auth.d.ts +9 -0
  79. package/runtime/commands/auth.js +111 -0
  80. package/runtime/commands/completion.d.ts +9 -0
  81. package/runtime/commands/completion.js +42 -0
  82. package/runtime/commands/config.d.ts +15 -0
  83. package/runtime/commands/config.js +125 -0
  84. package/runtime/config.d.ts +65 -0
  85. package/runtime/config.js +163 -0
  86. package/runtime/confirm.d.ts +16 -0
  87. package/runtime/confirm.js +34 -0
  88. package/runtime/errors.d.ts +45 -0
  89. package/runtime/errors.js +91 -0
  90. package/runtime/input.d.ts +52 -0
  91. package/runtime/input.js +211 -0
  92. package/runtime/output.d.ts +41 -0
  93. package/runtime/output.js +90 -0
  94. package/runtime/program.d.ts +45 -0
  95. package/runtime/program.js +305 -0
  96. package/runtime/types.d.ts +53 -0
  97. package/runtime/types.js +10 -0
  98. package/version.d.ts +1 -0
  99. package/version.js +8 -0
@@ -0,0 +1,160 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PERSONA\-UPDATE" "1" "" "roark-simulation-persona-update" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-persona\-update \- Update a persona
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation persona update
7
+ \fIpersona\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Updates an existing persona by its ID.
10
+ .SH "API"
11
+ PUT /v1/persona/{personaId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIpersona\-id\fR
15
+ The ID of the persona to update
16
+ .SH "OPTIONS"
17
+ .TP
18
+ \fB\-\-name\fR \fI<value>\fR
19
+ The name the agent will identify as during conversations Optional.
20
+ .TP
21
+ \fB\-\-description\fR \fI<value>\fR
22
+ Human\-readable description of the persona Optional.
23
+ .TP
24
+ \fB\-\-language\fR \fI<value>\fR
25
+ Primary language ISO 639\-1 code for the persona One of: EN, ES, DE, HI, FR, NL, AR, EL, IT, ID, TH, JA, TL, MS, ZH, TR, PT, HE. Optional.
26
+ .TP
27
+ \fB\-\-secondary\-language\fR \fI<value>\fR
28
+ Secondary language ISO 639\-1 code for code\-switching (e.g., Hinglish, Spanglish) One of: EN. Optional.
29
+ .TP
30
+ \fB\-\-understood\-languages\fR \fI<value>\fR
31
+ Languages the persona can understand. Multilingual combinations are limited by multilingual speech recognition support. One of: EN, ES, DE, HI, FR, NL, AR, EL, IT, ID, TH, JA, TL, MS, ZH, TR, PT, HE. Repeatable. Optional.
32
+ .TP
33
+ \fB\-\-accent\fR \fI<value>\fR
34
+ Accent of the persona, defined using ISO 3166\-1 alpha\-2 country codes with optional variants One of: US, US_X_SOUTH, GB, ES, DE, IN, FR, NL, SA, GR, AU, IT, ID, TH, JP, NZ, PH, SG, MY, HK, TR, PT, IL. Optional.
35
+ .TP
36
+ \fB\-\-gender\fR \fI<value>\fR
37
+ Gender of the persona One of: MALE, FEMALE. Optional.
38
+ .TP
39
+ \fB\-\-background\-noise\fR \fI<value>\fR
40
+ Background noise setting One of: NONE, AIRPORT, CHILDREN_PLAYING, CITY, COFFEE_SHOP, DRIVING, OFFICE, THUNDERSTORM. Optional.
41
+ .TP
42
+ \fB\-\-speech\-pace\fR \fI<value>\fR
43
+ Speech pace of the persona One of: SUPER_SLOW, SLOW, NORMAL, FAST, SUPER_FAST. Optional.
44
+ .TP
45
+ \fB\-\-speech\-clarity\fR \fI<value>\fR
46
+ Speech clarity of the persona One of: CLEAR, VAGUE, RAMBLING. Optional.
47
+ .TP
48
+ \fB\-\-has\-disfluencies\fR
49
+ Whether the persona uses filler words like "um" and "uh" Optional.
50
+ .TP
51
+ \fB\-\-base\-emotion\fR \fI<value>\fR
52
+ Base emotional state of the persona One of: NEUTRAL, CHEERFUL, CONFUSED, FRUSTRATED, SKEPTICAL, RUSHED, DISTRACTED. Optional.
53
+ .TP
54
+ \fB\-\-intent\-clarity\fR \fI<value>\fR
55
+ How clearly the persona expresses their intentions One of: CLEAR, INDIRECT, VAGUE. Optional.
56
+ .TP
57
+ \fB\-\-confirmation\-style\fR \fI<value>\fR
58
+ How the persona confirms information One of: EXPLICIT, VAGUE. Optional.
59
+ .TP
60
+ \fB\-\-memory\-reliability\fR \fI<value>\fR
61
+ How reliable the persona's memory is One of: HIGH, LOW. Optional.
62
+ .TP
63
+ \fB\-\-response\-timing\fR \fI<value>\fR
64
+ Controls how quickly the persona responds to pauses in conversation (QUICK, NORMAL, RELAXED) One of: RELAXED, NORMAL, QUICK. Optional.
65
+ .TP
66
+ \fB\-\-backstory\-prompt\fR \fI<value>\fR
67
+ Background story and behavioral patterns for the persona Optional.
68
+ .TP
69
+ \fB\-\-idle\-messages\fR \fI<value>\fR
70
+ Messages the persona will say when the agent goes silent during a call. null = "Automatic": language\-appropriate defaults are used at call time. Repeatable. Optional.
71
+ .TP
72
+ \fB\-\-idle\-timeout\-seconds\fR \fI<value>\fR
73
+ Seconds of silence before the persona sends an idle message Optional.
74
+ .TP
75
+ \fB\-\-idle\-message\-max\-spoken\-count\fR \fI<value>\fR
76
+ Maximum number of idle messages the persona will send before giving up Optional.
77
+ .TP
78
+ \fB\-\-idle\-message\-reset\-count\-on\-user\-speech\-enabled\fR
79
+ Whether the idle message counter resets when the agent speaks Optional.
80
+ .TP
81
+ \fB\-\-properties\fR \fI<value>\fR
82
+ Additional custom properties about the persona Optional.
83
+ .SH "GLOBAL OPTIONS"
84
+ .TP
85
+ \fB\-\-data\fR \fI<json>\fR
86
+ Request body as JSON, or @file to read one (@\- for stdin).
87
+ .TP
88
+ \fB\-y\fR, \fB\-\-yes\fR
89
+ Skip confirmation prompts.
90
+ .TP
91
+ \fB\-\-no\-input\fR
92
+ Never prompt; fail instead.
93
+ .TP
94
+ \fB\-\-base\-url\fR \fI<url>\fR
95
+ API base URL.
96
+ .TP
97
+ \fB\-\-token\fR \fI<token>\fR
98
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
99
+ .TP
100
+ \fB\-\-timeout\fR \fI<ms>\fR
101
+ Request timeout in milliseconds.
102
+ .TP
103
+ \fB\-\-max\-retries\fR \fI<count>\fR
104
+ Retries for retryable failures.
105
+ .TP
106
+ \fB\-\-format\fR \fI<format>\fR
107
+ Output format: auto, json, jsonl, plain.
108
+ .TP
109
+ \fB\-\-json\fR
110
+ Shorthand for \-\-format json.
111
+ .TP
112
+ \fB\-\-no\-color\fR
113
+ Disable colour.
114
+ .TP
115
+ \fB\-q\fR, \fB\-\-quiet\fR
116
+ Suppress non\-essential output.
117
+ .TP
118
+ \fB\-\-allow\-project\-base\-url\fR
119
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
120
+ .SH "EXAMPLES"
121
+ .PP
122
+ .RS 4
123
+ .nf
124
+ roark simulation persona update <persona\-id>
125
+ .fi
126
+ .RE
127
+ .SH "ENVIRONMENT"
128
+ .TP
129
+ \fBROARK_API_BEARER_TOKEN\fR
130
+ Bearer token used when \-\-token is not given.
131
+ .TP
132
+ \fBROARK_BASE_URL\fR
133
+ API base URL.
134
+ .TP
135
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
136
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
137
+ .TP
138
+ \fBNO_COLOR\fR
139
+ Disables colour when set to any value.
140
+ .SH "EXIT STATUS"
141
+ .TP
142
+ \fB0\fR
143
+ The command succeeded.
144
+ .TP
145
+ \fB1\fR
146
+ The API rejected the request.
147
+ .TP
148
+ \fB2\fR
149
+ The command line was wrong.
150
+ .TP
151
+ \fB3\fR
152
+ No credential, or the credential was refused.
153
+ .TP
154
+ \fB4\fR
155
+ The addressed resource does not exist.
156
+ .TP
157
+ \fB5\fR
158
+ The request never completed: connection, timeout, or abort.
159
+ .SH "SEE ALSO"
160
+ .BR roark (1)
@@ -0,0 +1,138 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PLAN\-CREATE" "1" "" "roark-simulation-plan-create" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-plan\-create \- Create a run plan
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation plan create
7
+ [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Creates a new simulation run plan. To run a simulation, use POST /v1/simulation/run instead: it starts a run from a plan or from an inline configuration, and takes runtime variables. Create a plan here when you want a reusable, named one to run later.
10
+ .SH "API"
11
+ POST /v1/simulation/plan
12
+ .SH "OPTIONS"
13
+ .TP
14
+ \fB\-\-name\fR \fI<value>\fR
15
+ Name of the run plan Required.
16
+ .TP
17
+ \fB\-\-description\fR \fI<value>\fR
18
+ Description of the run plan Optional.
19
+ .TP
20
+ \fB\-\-direction\fR \fI<value>\fR
21
+ Direction of the simulation (INBOUND or OUTBOUND) One of: INBOUND, OUTBOUND. Required.
22
+ .TP
23
+ \fB\-\-iteration\-count\fR \fI<value>\fR
24
+ Number of iterations to run for each test case (1\-10000) Optional.
25
+ .TP
26
+ \fB\-\-max\-concurrent\-jobs\fR \fI<value>\fR
27
+ Maximum number of concurrent simulation jobs Optional.
28
+ .TP
29
+ \fB\-\-max\-simulation\-duration\-seconds\fR \fI<value>\fR
30
+ Maximum duration in seconds for each simulation Required.
31
+ .TP
32
+ \fB\-\-silence\-timeout\-seconds\fR \fI<value>\fR
33
+ Timeout in seconds for silence detection Optional.
34
+ .TP
35
+ \fB\-\-end\-call\-phrases\fR \fI<value>\fR
36
+ Phrases that trigger end of call. Empty array disables the feature. Repeatable. Optional.
37
+ .TP
38
+ \fB\-\-end\-call\-reasons\fR \fI<value>\fR
39
+ Semantic conditions that trigger end of call. The LLM evaluates the conversation against these conditions. Empty array disables the feature. Repeatable. Optional.
40
+ .TP
41
+ \fB\-\-execution\-mode\fR \fI<value>\fR
42
+ Execution mode (PARALLEL or SEQUENTIAL) One of: PARALLEL, SEQUENTIAL_SAME_RUN_PLAN, SEQUENTIAL_PROJECT. Optional.
43
+ .TP
44
+ \fB\-\-scenarios\fR \fI<value>\fR
45
+ Deprecated: use `flows` instead. Scenarios to include in this run plan. The same scenario ID can appear multiple times with different variables. Optional.
46
+ .TP
47
+ \fB\-\-flows\fR \fI<value>\fR
48
+ Customer flows to include in this run plan. The same flow can appear more than once with a different persona override or different variables. Optional.
49
+ .TP
50
+ \fB\-\-personas\fR \fI<value>\fR
51
+ Personas to include in this run plan. Required with `scenarios`; ignored with `flows`, where each variant carries its own persona. Optional.
52
+ .TP
53
+ \fB\-\-agent\-endpoints\fR \fI<value>\fR
54
+ Agent endpoints to include in this run plan Required.
55
+ .TP
56
+ \fB\-\-metrics\fR \fI<value>\fR
57
+ Metric definitions to include in this run plan. Reference each by `id` (UUID) or `slug`. Required.
58
+ .TP
59
+ \fB\-\-auto\-run\fR
60
+ Deprecated: use POST /v1/simulation/run, which starts a run and accepts runtime `variables` as well. This flag runs the plan with only the values pinned on it. Optional.
61
+ .SH "GLOBAL OPTIONS"
62
+ .TP
63
+ \fB\-\-data\fR \fI<json>\fR
64
+ Request body as JSON, or @file to read one (@\- for stdin).
65
+ .TP
66
+ \fB\-y\fR, \fB\-\-yes\fR
67
+ Skip confirmation prompts.
68
+ .TP
69
+ \fB\-\-no\-input\fR
70
+ Never prompt; fail instead.
71
+ .TP
72
+ \fB\-\-base\-url\fR \fI<url>\fR
73
+ API base URL.
74
+ .TP
75
+ \fB\-\-token\fR \fI<token>\fR
76
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
77
+ .TP
78
+ \fB\-\-timeout\fR \fI<ms>\fR
79
+ Request timeout in milliseconds.
80
+ .TP
81
+ \fB\-\-max\-retries\fR \fI<count>\fR
82
+ Retries for retryable failures.
83
+ .TP
84
+ \fB\-\-format\fR \fI<format>\fR
85
+ Output format: auto, json, jsonl, plain.
86
+ .TP
87
+ \fB\-\-json\fR
88
+ Shorthand for \-\-format json.
89
+ .TP
90
+ \fB\-\-no\-color\fR
91
+ Disable colour.
92
+ .TP
93
+ \fB\-q\fR, \fB\-\-quiet\fR
94
+ Suppress non\-essential output.
95
+ .TP
96
+ \fB\-\-allow\-project\-base\-url\fR
97
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
98
+ .SH "EXAMPLES"
99
+ .PP
100
+ .RS 4
101
+ .nf
102
+ roark simulation plan create \-\-name <value> \-\-direction <value> \-\-max\-simulation\-duration\-seconds <value> \-\-agent\-endpoints <value> \-\-metrics <value>
103
+ .fi
104
+ .RE
105
+ .SH "ENVIRONMENT"
106
+ .TP
107
+ \fBROARK_API_BEARER_TOKEN\fR
108
+ Bearer token used when \-\-token is not given.
109
+ .TP
110
+ \fBROARK_BASE_URL\fR
111
+ API base URL.
112
+ .TP
113
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
114
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
115
+ .TP
116
+ \fBNO_COLOR\fR
117
+ Disables colour when set to any value.
118
+ .SH "EXIT STATUS"
119
+ .TP
120
+ \fB0\fR
121
+ The command succeeded.
122
+ .TP
123
+ \fB1\fR
124
+ The API rejected the request.
125
+ .TP
126
+ \fB2\fR
127
+ The command line was wrong.
128
+ .TP
129
+ \fB3\fR
130
+ No credential, or the credential was refused.
131
+ .TP
132
+ \fB4\fR
133
+ The addressed resource does not exist.
134
+ .TP
135
+ \fB5\fR
136
+ The request never completed: connection, timeout, or abort.
137
+ .SH "SEE ALSO"
138
+ .BR roark (1)
@@ -0,0 +1,93 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PLAN\-DELETE" "1" "" "roark-simulation-plan-delete" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-plan\-delete \- Delete a run plan
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation plan delete
7
+ \fIplan\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Soft\-deletes a simulation run plan by its ID.
10
+ .SH "API"
11
+ DELETE /v1/simulation/plan/{planId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIplan\-id\fR
15
+ The ID of the run plan to delete
16
+ .SH "GLOBAL OPTIONS"
17
+ .TP
18
+ \fB\-\-data\fR \fI<json>\fR
19
+ Request body as JSON, or @file to read one (@\- for stdin).
20
+ .TP
21
+ \fB\-y\fR, \fB\-\-yes\fR
22
+ Skip confirmation prompts.
23
+ .TP
24
+ \fB\-\-no\-input\fR
25
+ Never prompt; fail instead.
26
+ .TP
27
+ \fB\-\-base\-url\fR \fI<url>\fR
28
+ API base URL.
29
+ .TP
30
+ \fB\-\-token\fR \fI<token>\fR
31
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
32
+ .TP
33
+ \fB\-\-timeout\fR \fI<ms>\fR
34
+ Request timeout in milliseconds.
35
+ .TP
36
+ \fB\-\-max\-retries\fR \fI<count>\fR
37
+ Retries for retryable failures.
38
+ .TP
39
+ \fB\-\-format\fR \fI<format>\fR
40
+ Output format: auto, json, jsonl, plain.
41
+ .TP
42
+ \fB\-\-json\fR
43
+ Shorthand for \-\-format json.
44
+ .TP
45
+ \fB\-\-no\-color\fR
46
+ Disable colour.
47
+ .TP
48
+ \fB\-q\fR, \fB\-\-quiet\fR
49
+ Suppress non\-essential output.
50
+ .TP
51
+ \fB\-\-allow\-project\-base\-url\fR
52
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
53
+ .SH "EXAMPLES"
54
+ .PP
55
+ .RS 4
56
+ .nf
57
+ roark simulation plan delete <plan\-id>
58
+ .fi
59
+ .RE
60
+ .SH "ENVIRONMENT"
61
+ .TP
62
+ \fBROARK_API_BEARER_TOKEN\fR
63
+ Bearer token used when \-\-token is not given.
64
+ .TP
65
+ \fBROARK_BASE_URL\fR
66
+ API base URL.
67
+ .TP
68
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
69
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
70
+ .TP
71
+ \fBNO_COLOR\fR
72
+ Disables colour when set to any value.
73
+ .SH "EXIT STATUS"
74
+ .TP
75
+ \fB0\fR
76
+ The command succeeded.
77
+ .TP
78
+ \fB1\fR
79
+ The API rejected the request.
80
+ .TP
81
+ \fB2\fR
82
+ The command line was wrong.
83
+ .TP
84
+ \fB3\fR
85
+ No credential, or the credential was refused.
86
+ .TP
87
+ \fB4\fR
88
+ The addressed resource does not exist.
89
+ .TP
90
+ \fB5\fR
91
+ The request never completed: connection, timeout, or abort.
92
+ .SH "SEE ALSO"
93
+ .BR roark (1)
@@ -0,0 +1,93 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PLAN\-GET" "1" "" "roark-simulation-plan-get" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-plan\-get \- Get run plan by ID
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation plan get
7
+ \fIplan\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Returns a specific simulation run plan by its ID.
10
+ .SH "API"
11
+ GET /v1/simulation/plan/{planId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIplan\-id\fR
15
+ The ID of the run plan to retrieve
16
+ .SH "GLOBAL OPTIONS"
17
+ .TP
18
+ \fB\-\-data\fR \fI<json>\fR
19
+ Request body as JSON, or @file to read one (@\- for stdin).
20
+ .TP
21
+ \fB\-y\fR, \fB\-\-yes\fR
22
+ Skip confirmation prompts.
23
+ .TP
24
+ \fB\-\-no\-input\fR
25
+ Never prompt; fail instead.
26
+ .TP
27
+ \fB\-\-base\-url\fR \fI<url>\fR
28
+ API base URL.
29
+ .TP
30
+ \fB\-\-token\fR \fI<token>\fR
31
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
32
+ .TP
33
+ \fB\-\-timeout\fR \fI<ms>\fR
34
+ Request timeout in milliseconds.
35
+ .TP
36
+ \fB\-\-max\-retries\fR \fI<count>\fR
37
+ Retries for retryable failures.
38
+ .TP
39
+ \fB\-\-format\fR \fI<format>\fR
40
+ Output format: auto, json, jsonl, plain.
41
+ .TP
42
+ \fB\-\-json\fR
43
+ Shorthand for \-\-format json.
44
+ .TP
45
+ \fB\-\-no\-color\fR
46
+ Disable colour.
47
+ .TP
48
+ \fB\-q\fR, \fB\-\-quiet\fR
49
+ Suppress non\-essential output.
50
+ .TP
51
+ \fB\-\-allow\-project\-base\-url\fR
52
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
53
+ .SH "EXAMPLES"
54
+ .PP
55
+ .RS 4
56
+ .nf
57
+ roark simulation plan get <plan\-id>
58
+ .fi
59
+ .RE
60
+ .SH "ENVIRONMENT"
61
+ .TP
62
+ \fBROARK_API_BEARER_TOKEN\fR
63
+ Bearer token used when \-\-token is not given.
64
+ .TP
65
+ \fBROARK_BASE_URL\fR
66
+ API base URL.
67
+ .TP
68
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
69
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
70
+ .TP
71
+ \fBNO_COLOR\fR
72
+ Disables colour when set to any value.
73
+ .SH "EXIT STATUS"
74
+ .TP
75
+ \fB0\fR
76
+ The command succeeded.
77
+ .TP
78
+ \fB1\fR
79
+ The API rejected the request.
80
+ .TP
81
+ \fB2\fR
82
+ The command line was wrong.
83
+ .TP
84
+ \fB3\fR
85
+ No credential, or the credential was refused.
86
+ .TP
87
+ \fB4\fR
88
+ The addressed resource does not exist.
89
+ .TP
90
+ \fB5\fR
91
+ The request never completed: connection, timeout, or abort.
92
+ .SH "SEE ALSO"
93
+ .BR roark (1)
@@ -0,0 +1,93 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PLAN\-JOB\-GET" "1" "" "roark-simulation-plan-job-get" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-plan\-job\-get \- Get simulation plan job
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation plan job get
7
+ \fIjob\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Retrieve details of a simulation plan job including all associated simulation jobs (calls)
10
+ .SH "API"
11
+ GET /v1/simulation/plan/job/{jobId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIjob\-id\fR
15
+ Simulation run plan job ID
16
+ .SH "GLOBAL OPTIONS"
17
+ .TP
18
+ \fB\-\-data\fR \fI<json>\fR
19
+ Request body as JSON, or @file to read one (@\- for stdin).
20
+ .TP
21
+ \fB\-y\fR, \fB\-\-yes\fR
22
+ Skip confirmation prompts.
23
+ .TP
24
+ \fB\-\-no\-input\fR
25
+ Never prompt; fail instead.
26
+ .TP
27
+ \fB\-\-base\-url\fR \fI<url>\fR
28
+ API base URL.
29
+ .TP
30
+ \fB\-\-token\fR \fI<token>\fR
31
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
32
+ .TP
33
+ \fB\-\-timeout\fR \fI<ms>\fR
34
+ Request timeout in milliseconds.
35
+ .TP
36
+ \fB\-\-max\-retries\fR \fI<count>\fR
37
+ Retries for retryable failures.
38
+ .TP
39
+ \fB\-\-format\fR \fI<format>\fR
40
+ Output format: auto, json, jsonl, plain.
41
+ .TP
42
+ \fB\-\-json\fR
43
+ Shorthand for \-\-format json.
44
+ .TP
45
+ \fB\-\-no\-color\fR
46
+ Disable colour.
47
+ .TP
48
+ \fB\-q\fR, \fB\-\-quiet\fR
49
+ Suppress non\-essential output.
50
+ .TP
51
+ \fB\-\-allow\-project\-base\-url\fR
52
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
53
+ .SH "EXAMPLES"
54
+ .PP
55
+ .RS 4
56
+ .nf
57
+ roark simulation plan job get <job\-id>
58
+ .fi
59
+ .RE
60
+ .SH "ENVIRONMENT"
61
+ .TP
62
+ \fBROARK_API_BEARER_TOKEN\fR
63
+ Bearer token used when \-\-token is not given.
64
+ .TP
65
+ \fBROARK_BASE_URL\fR
66
+ API base URL.
67
+ .TP
68
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
69
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
70
+ .TP
71
+ \fBNO_COLOR\fR
72
+ Disables colour when set to any value.
73
+ .SH "EXIT STATUS"
74
+ .TP
75
+ \fB0\fR
76
+ The command succeeded.
77
+ .TP
78
+ \fB1\fR
79
+ The API rejected the request.
80
+ .TP
81
+ \fB2\fR
82
+ The command line was wrong.
83
+ .TP
84
+ \fB3\fR
85
+ No credential, or the credential was refused.
86
+ .TP
87
+ \fB4\fR
88
+ The addressed resource does not exist.
89
+ .TP
90
+ \fB5\fR
91
+ The request never completed: connection, timeout, or abort.
92
+ .SH "SEE ALSO"
93
+ .BR roark (1)
@@ -0,0 +1,108 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PLAN\-JOB\-LIST" "1" "" "roark-simulation-plan-job-list" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-plan\-job\-list \- List simulation plan jobs
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation plan job list
7
+ [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Returns a paginated list of simulation run plan jobs. Filter by status, plan ID, or label to find specific simulation batches.
10
+ .SH "API"
11
+ GET /v1/simulation/plan/jobs
12
+ .SH "OPTIONS"
13
+ .TP
14
+ \fB\-\-limit\fR \fI<value>\fR
15
+ Maximum number of plan jobs to return (default: 20, max: 50) Optional.
16
+ .TP
17
+ \fB\-\-after\fR \fI<value>\fR
18
+ Cursor for pagination \- use the nextCursor value from a previous response Optional.
19
+ .TP
20
+ \fB\-\-status\fR \fI<value>\fR
21
+ Filter by plan job status (PENDING, QUEUED, CREATING_SNAPSHOTS, CREATING_SIMULATIONS, PREPARING_CAPACITY, RUNNING_SIMULATIONS, COMPLETED, FAILED, TIMED_OUT, CANCELLED, CANCELLING, ENDING_SIMULATIONS) One of: PENDING, QUEUED, CREATING_SNAPSHOTS, CREATING_SIMULATIONS, PREPARING_CAPACITY, RUNNING_SIMULATIONS, COMPLETED, FAILED, TIMED_OUT, CANCELLED, CANCELLING, ENDING_SIMULATIONS. Optional.
22
+ .TP
23
+ \fB\-\-simulation\-run\-plan\-id\fR \fI<value>\fR
24
+ Filter by simulation run plan ID Optional.
25
+ .TP
26
+ \fB\-\-label\-id\fR \fI<value>\fR
27
+ Filter by label ID attached to the plan job. Use this if you know the label ID. Optional.
28
+ .TP
29
+ \fB\-\-label\-name\fR \fI<value>\fR
30
+ Filter by label name attached to the plan job. More user\-friendly alternative to labelId. Case\-insensitive. Optional.
31
+ .SH "GLOBAL OPTIONS"
32
+ .TP
33
+ \fB\-\-data\fR \fI<json>\fR
34
+ Request body as JSON, or @file to read one (@\- for stdin).
35
+ .TP
36
+ \fB\-y\fR, \fB\-\-yes\fR
37
+ Skip confirmation prompts.
38
+ .TP
39
+ \fB\-\-no\-input\fR
40
+ Never prompt; fail instead.
41
+ .TP
42
+ \fB\-\-base\-url\fR \fI<url>\fR
43
+ API base URL.
44
+ .TP
45
+ \fB\-\-token\fR \fI<token>\fR
46
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
47
+ .TP
48
+ \fB\-\-timeout\fR \fI<ms>\fR
49
+ Request timeout in milliseconds.
50
+ .TP
51
+ \fB\-\-max\-retries\fR \fI<count>\fR
52
+ Retries for retryable failures.
53
+ .TP
54
+ \fB\-\-format\fR \fI<format>\fR
55
+ Output format: auto, json, jsonl, plain.
56
+ .TP
57
+ \fB\-\-json\fR
58
+ Shorthand for \-\-format json.
59
+ .TP
60
+ \fB\-\-no\-color\fR
61
+ Disable colour.
62
+ .TP
63
+ \fB\-q\fR, \fB\-\-quiet\fR
64
+ Suppress non\-essential output.
65
+ .TP
66
+ \fB\-\-allow\-project\-base\-url\fR
67
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
68
+ .SH "EXAMPLES"
69
+ .PP
70
+ .RS 4
71
+ .nf
72
+ roark simulation plan job list
73
+ .fi
74
+ .RE
75
+ .SH "ENVIRONMENT"
76
+ .TP
77
+ \fBROARK_API_BEARER_TOKEN\fR
78
+ Bearer token used when \-\-token is not given.
79
+ .TP
80
+ \fBROARK_BASE_URL\fR
81
+ API base URL.
82
+ .TP
83
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
84
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
85
+ .TP
86
+ \fBNO_COLOR\fR
87
+ Disables colour when set to any value.
88
+ .SH "EXIT STATUS"
89
+ .TP
90
+ \fB0\fR
91
+ The command succeeded.
92
+ .TP
93
+ \fB1\fR
94
+ The API rejected the request.
95
+ .TP
96
+ \fB2\fR
97
+ The command line was wrong.
98
+ .TP
99
+ \fB3\fR
100
+ No credential, or the credential was refused.
101
+ .TP
102
+ \fB4\fR
103
+ The addressed resource does not exist.
104
+ .TP
105
+ \fB5\fR
106
+ The request never completed: connection, timeout, or abort.
107
+ .SH "SEE ALSO"
108
+ .BR roark (1)