-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-coverage.toml
More file actions
281 lines (214 loc) · 10.6 KB
/
Copy pathapi-coverage.toml
File metadata and controls
281 lines (214 loc) · 10.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
# Reviewed against the live public OpenAPI catalog by scripts/audit_api_coverage.py.
# Every published operation must either reach a first-class CLI command or have a reason here.
[snapshot]
catalog_url = "https://api.coval.dev/v1/openapi"
reviewed_at = "2026-08-04"
published_operations = 174
cli_supported_operations = 118
[[allowed_extra]]
operation = "POST /test-cases/{test_case_id}/media:upload-url"
reason = "Implemented by the public API but currently omitted from its published OpenAPI specs."
# The public API renamed its published spec from monitors-v1 to alerts-v1 in
# coval-ai/backend#6368. The /v1/monitors routes were deliberately retained as a
# serving legacy alias rather than removed, so `coval monitors` is not broken.
# Verified against production on 2026-08-04: every /v1/monitors route below still
# reaches its Lambda and returns a Coval-shaped response, while an unrouted path
# returns API Gateway's own {"message":"Not Found"}. These entries keep the CLI's
# existing command surface reviewed until it moves to the canonical /v1/alerts
# paths; see the matching alerts known_gap entries below.
[[allowed_extra]]
operation = "GET /monitors"
reason = "Retained legacy alias for the published GET /alerts operation."
[[allowed_extra]]
operation = "POST /monitors"
reason = "Retained legacy alias for the published POST /alerts operation."
[[allowed_extra]]
operation = "GET /monitors/{id}"
reason = "Retained legacy alias for the published GET /alerts/{alert_id} operation."
[[allowed_extra]]
operation = "PATCH /monitors/{id}"
reason = "Retained legacy alias for the published PATCH /alerts/{alert_id} operation."
[[allowed_extra]]
operation = "DELETE /monitors/{id}"
reason = "Retained legacy alias for the published DELETE /alerts/{alert_id} operation."
[[allowed_extra]]
operation = "GET /monitors/{monitor_id}/events"
reason = "Retained legacy alias for the published GET /alerts/{alert_id}/events operation."
[[allowed_extra]]
operation = "POST /monitors/{monitor_id}/test-evaluate"
reason = "Retained legacy alias for the published POST /alerts/{alert_id}/test-evaluate operation."
[[known_gap]]
operation = "GET /agents/{agent_id}/versions"
reason = "Agent version history remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /agents/{agent_id}/versions/{version_id}/revert"
reason = "Agent version rollback remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /agents/{agent_id}/duplicate"
reason = "Agent duplication remains to be modeled under COVAL-2079."
# Alerts is the canonical published surface after coval-ai/backend#6368. The
# behaviour is already reachable from the CLI today via `coval monitors`, which
# calls the retained /v1/monitors legacy alias, so these are naming gaps rather
# than missing functionality. Closing them means pointing the CLI at the
# canonical /v1/alerts paths and renaming the command to `coval alerts` with
# `monitors` kept as an alias, which is a deliberate follow-up rather than part
# of this reconciliation.
[[known_gap]]
operation = "GET /alerts"
reason = "Served today by `coval monitors list` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "POST /alerts"
reason = "Served today by `coval monitors create` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "GET /alerts/{alert_id}"
reason = "Served today by `coval monitors get` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "PATCH /alerts/{alert_id}"
reason = "Served today by `coval monitors update` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "DELETE /alerts/{alert_id}"
reason = "Served today by `coval monitors delete` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "GET /alerts/{alert_id}/events"
reason = "Served today by `coval monitors events` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "POST /alerts/{alert_id}/test-evaluate"
reason = "Served today by `coval monitors test-evaluate` through the retained /v1/monitors alias; a first-class `coval alerts` surface is a follow-up."
[[known_gap]]
operation = "POST /audio:upload"
reason = "Generic audio upload has not yet been given a CLI file-upload workflow."
[[known_gap]]
operation = "GET /metrics/flows"
reason = "Metric-flow resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /metrics/flows"
reason = "Metric-flow resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "PATCH /metrics/flows/{flow_id}"
reason = "Metric-flow resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "DELETE /metrics/flows/{flow_id}"
reason = "Metric-flow resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /metrics/recently-deleted"
reason = "Metric restore discovery remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /metrics/{metric_id}/restore"
reason = "Metric restore remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /metrics/sql-schema"
reason = "SQL metric authoring helpers remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /metrics/sql:test"
reason = "SQL metric authoring helpers remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /metrics/tags"
reason = "Metric tag-value discovery remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /metrics/template-variables"
reason = "Metric template-variable discovery remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /metrics/outputs:batchGet"
reason = "Batch metric-output reads remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /metrics/{metric_id}/baselines/{baseline_id}/history"
reason = "Metric baseline history remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /metrics/{metric_id}/versions/{version_id}/revert"
reason = "Metric version rollback remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /organization/conversation-metrics"
reason = "Organization monitoring configuration remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "PATCH /organization/conversation-metrics"
reason = "Organization monitoring configuration remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /organization/monitoring-metrics"
reason = "Organization monitoring configuration remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "PATCH /organization/monitoring-metrics"
reason = "Organization monitoring configuration remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /personas/tags"
reason = "Persona tag-value discovery remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /personas/{persona_id}/versions"
reason = "Persona version history remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /personas/{persona_id}/versions/{version_id}/revert"
reason = "Persona version rollback remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /personas/{persona_id}/duplicate"
reason = "Persona duplication remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /review-annotations:withMetricOutputs"
reason = "Advanced review reads remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /review-annotations/metric-health-stats"
reason = "Review analytics remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /review-projects/{project_id}/insights"
reason = "Review analytics remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /review-projects/{project_id}/metric-agreement"
reason = "Review analytics remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /review-projects/{project_id}/progress"
reason = "Review analytics remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /review-projects/disagreement-state"
reason = "Review analytics remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /runs/tags"
reason = "Run tag-value discovery remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /scheduled-runs/{scheduled_run_id}/runs"
reason = "Scheduled-run execution history remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /simulations:rerunMetrics"
reason = "Batch metric reruns need a dedicated confirmation-aware CLI workflow."
[[known_gap]]
operation = "GET /integrations/slack"
reason = "Slack integration lifecycle remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /integrations/slack/connect"
reason = "Slack integration lifecycle remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "DELETE /integrations/slack"
reason = "Slack integration lifecycle remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /test-sets/{test_set_id}/agents"
reason = "Test-set agent associations remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /test-sets/{test_set_id}/agents:add"
reason = "Test-set agent associations remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "DELETE /test-sets/{test_set_id}/agents/{agent_id}"
reason = "Test-set agent associations remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /test-sets/{test_set_id}/records"
reason = "Test-set record export remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "GET /test-sets/{test_set_id}/versions"
reason = "Test-set version history remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /test-sets/{test_set_id}/versions/{version_id}/revert"
reason = "Test-set version rollback remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /test-sets/{test_set_id}/duplicate"
reason = "Test-set duplication remains to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /traces"
reason = "OTLP ingestion is intentionally delegated to OpenTelemetry SDKs rather than JSON CLI input."
[[known_gap]]
operation = "GET /webhooks"
reason = "Webhook resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "POST /webhooks"
reason = "Webhook resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "PATCH /webhooks/{webhook_id}"
reason = "Webhook resources remain to be modeled under COVAL-2079."
[[known_gap]]
operation = "DELETE /webhooks/{webhook_id}"
reason = "Webhook resources remain to be modeled under COVAL-2079."