@constellationspace/client 0.0.0-stage → 0.7.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.
@@ -0,0 +1,4406 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ interface paths {
6
+ "/account/state": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** Get Account State */
14
+ get: operations["get_account_state_account_state_get"];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ "/assets/satellites": {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ /**
31
+ * Search Satellites
32
+ * @description Catalog satellites, one per NORAD id with its downlink bands: words starting with q first,
33
+ * then those holding it, each by name.
34
+ */
35
+ get: operations["search_satellites_assets_satellites_get"];
36
+ put?: never;
37
+ post?: never;
38
+ delete?: never;
39
+ options?: never;
40
+ head?: never;
41
+ patch?: never;
42
+ trace?: never;
43
+ };
44
+ "/assets/stations": {
45
+ parameters: {
46
+ query?: never;
47
+ header?: never;
48
+ path?: never;
49
+ cookie?: never;
50
+ };
51
+ /**
52
+ * Search Stations
53
+ * @description Catalog ground stations, one per id with their receive bands, by id; with near, those
54
+ * with coordinates within within_km, nearest first.
55
+ */
56
+ get: operations["search_stations_assets_stations_get"];
57
+ put?: never;
58
+ post?: never;
59
+ delete?: never;
60
+ options?: never;
61
+ head?: never;
62
+ patch?: never;
63
+ trace?: never;
64
+ };
65
+ "/health": {
66
+ parameters: {
67
+ query?: never;
68
+ header?: never;
69
+ path?: never;
70
+ cookie?: never;
71
+ };
72
+ /** Health */
73
+ get: operations["health_health_get"];
74
+ put?: never;
75
+ post?: never;
76
+ delete?: never;
77
+ options?: never;
78
+ head?: never;
79
+ patch?: never;
80
+ trace?: never;
81
+ };
82
+ "/ingest/webhooks/{dataset_id}": {
83
+ parameters: {
84
+ query?: never;
85
+ header?: never;
86
+ path?: never;
87
+ cookie?: never;
88
+ };
89
+ get?: never;
90
+ put?: never;
91
+ /** Ingest Webhook */
92
+ post: operations["ingest_webhook_ingest_webhooks__dataset_id__post"];
93
+ delete?: never;
94
+ options?: never;
95
+ head?: never;
96
+ patch?: never;
97
+ trace?: never;
98
+ };
99
+ "/predictions": {
100
+ parameters: {
101
+ query?: never;
102
+ header?: never;
103
+ path?: never;
104
+ cookie?: never;
105
+ };
106
+ /** Get Predictions */
107
+ get: operations["get_predictions_predictions_get"];
108
+ put?: never;
109
+ /**
110
+ * Start Run
111
+ * @description Start a run: 202 with its `run_id`. Send an `Idempotency-Key` header (up to 255
112
+ * characters) so a retried or double submit starts one run: the same key and request from the
113
+ * same account within 30 days (the life of a run's record) answers 200 with the first run's
114
+ * `run_id` and its status now, and the same key with a different request is 409
115
+ * `idempotency_key_reused`. A submit answered 503 frees its key for a retry.
116
+ */
117
+ post: operations["start_run_predictions_post"];
118
+ delete?: never;
119
+ options?: never;
120
+ head?: never;
121
+ patch?: never;
122
+ trace?: never;
123
+ };
124
+ "/predictions/actions": {
125
+ parameters: {
126
+ query?: never;
127
+ header?: never;
128
+ path?: never;
129
+ cookie?: never;
130
+ };
131
+ /**
132
+ * List Actions
133
+ * @description The actions the workflow's current run holds for approval, each pending, approved,
134
+ * rejected or expired. A run holds an action when a policy step in approve mode follows the
135
+ * step that suggested it. Only the newest run that delivered is listed, never a test run. A
136
+ * decision belongs to the action, not the run: when the next run suggests the same action on
137
+ * the same pass, it is listed as it was decided.
138
+ */
139
+ get: operations["list_actions_predictions_actions_get"];
140
+ put?: never;
141
+ post?: never;
142
+ delete?: never;
143
+ options?: never;
144
+ head?: never;
145
+ patch?: never;
146
+ trace?: never;
147
+ };
148
+ "/predictions/actions/decisions": {
149
+ parameters: {
150
+ query?: never;
151
+ header?: never;
152
+ path?: never;
153
+ cookie?: never;
154
+ };
155
+ /**
156
+ * List Decisions
157
+ * @description Every decision on the workflow's held actions, newest first, kept 30 days whether or not
158
+ * a run still holds the action: who decided what, when, and on which run, pass and target. A
159
+ * decision made before decisions carried the run, entity, target and action has them null.
160
+ */
161
+ get: operations["list_decisions_predictions_actions_decisions_get"];
162
+ put?: never;
163
+ post?: never;
164
+ delete?: never;
165
+ options?: never;
166
+ head?: never;
167
+ patch?: never;
168
+ trace?: never;
169
+ };
170
+ "/predictions/actions/{run_id}/{item_id}/approve": {
171
+ parameters: {
172
+ query?: never;
173
+ header?: never;
174
+ path?: never;
175
+ cookie?: never;
176
+ };
177
+ get?: never;
178
+ put?: never;
179
+ /**
180
+ * Approve Action
181
+ * @description Approve an action a run holds: it is published to the workflow's feed outputs as an
182
+ * instruction for the connected mission control to carry out, and it cannot be rejected
183
+ * afterwards. The approval stands for the same action on the workflow's later runs. Asking
184
+ * again is safe: it answers the same feed cursor, or publishes if the first try did not.
185
+ * Refused on a plan without Act, even for an action held while the account had it.
186
+ */
187
+ post: operations["approve_action_predictions_actions__run_id___item_id__approve_post"];
188
+ delete?: never;
189
+ options?: never;
190
+ head?: never;
191
+ patch?: never;
192
+ trace?: never;
193
+ };
194
+ "/predictions/actions/{run_id}/{item_id}/reject": {
195
+ parameters: {
196
+ query?: never;
197
+ header?: never;
198
+ path?: never;
199
+ cookie?: never;
200
+ };
201
+ get?: never;
202
+ put?: never;
203
+ /**
204
+ * Reject Action
205
+ * @description Reject an action a run holds: nothing is published, it cannot be decided again, and the
206
+ * workflow's later runs hold the same action back as rejected.
207
+ */
208
+ post: operations["reject_action_predictions_actions__run_id___item_id__reject_post"];
209
+ delete?: never;
210
+ options?: never;
211
+ head?: never;
212
+ patch?: never;
213
+ trace?: never;
214
+ };
215
+ "/predictions/connectors": {
216
+ parameters: {
217
+ query?: never;
218
+ header?: never;
219
+ path?: never;
220
+ cookie?: never;
221
+ };
222
+ /**
223
+ * Connectors
224
+ * @description The systems a feed output can deliver to, with what each mapping may say and the default
225
+ * mapping and Forecast page layout per template; and the account's own custom connectors, each
226
+ * pending or approved.
227
+ */
228
+ get: operations["connectors_predictions_connectors_get"];
229
+ put?: never;
230
+ post?: never;
231
+ delete?: never;
232
+ options?: never;
233
+ head?: never;
234
+ patch?: never;
235
+ trace?: never;
236
+ };
237
+ "/predictions/connectors/{name}": {
238
+ parameters: {
239
+ query?: never;
240
+ header?: never;
241
+ path?: never;
242
+ cookie?: never;
243
+ };
244
+ get?: never;
245
+ put?: never;
246
+ post?: never;
247
+ /**
248
+ * Remove Connector
249
+ * @description Forgets a custom connector; it registers pending again the next time its bridge checks in.
250
+ */
251
+ delete: operations["remove_connector_predictions_connectors__name__delete"];
252
+ options?: never;
253
+ head?: never;
254
+ patch?: never;
255
+ trace?: never;
256
+ };
257
+ "/predictions/connectors/{name}/approve": {
258
+ parameters: {
259
+ query?: never;
260
+ header?: never;
261
+ path?: never;
262
+ cookie?: never;
263
+ };
264
+ get?: never;
265
+ put?: never;
266
+ /**
267
+ * Approve Connector
268
+ * @description Lets the account's workflows feed this custom connector, with the manifest the approver
269
+ * saw: 409 when the bridge has checked in with another since, which is shown and approved
270
+ * afresh.
271
+ */
272
+ post: operations["approve_connector_predictions_connectors__name__approve_post"];
273
+ delete?: never;
274
+ options?: never;
275
+ head?: never;
276
+ patch?: never;
277
+ trace?: never;
278
+ };
279
+ "/predictions/contract-minimum": {
280
+ parameters: {
281
+ query?: never;
282
+ header?: never;
283
+ path?: never;
284
+ cookie?: never;
285
+ };
286
+ /**
287
+ * Get Contract Minimum
288
+ * @description The workspace's contract minimum: the GB each pass must deliver, which the Platform
289
+ * checks each pass's p10 against, and who set it when. All null until someone sets one.
290
+ */
291
+ get: operations["get_contract_minimum_predictions_contract_minimum_get"];
292
+ /**
293
+ * Put Contract Minimum
294
+ * @description Set the workspace's contract minimum for everyone in it, or clear it with null.
295
+ */
296
+ put: operations["put_contract_minimum_predictions_contract_minimum_put"];
297
+ post?: never;
298
+ delete?: never;
299
+ options?: never;
300
+ head?: never;
301
+ patch?: never;
302
+ trace?: never;
303
+ };
304
+ "/predictions/feed": {
305
+ parameters: {
306
+ query?: never;
307
+ header?: never;
308
+ path?: never;
309
+ cookie?: never;
310
+ };
311
+ /**
312
+ * Feed
313
+ * @description Finished runs' items as OTLP log requests, oldest first, after a cursor. A plugin inside a
314
+ * customer's mission control polls this from their side and keeps the last cursor it applied;
315
+ * naming itself (consumer) lets the platform show when it last pulled, and gets it only the
316
+ * resources of feed outputs to its connection: a run's entry repeats its items per output.
317
+ *
318
+ * A bridge that pages (`page_records`) gets an entry with more records than that in pages:
319
+ * the first here, with `next_page`, and the rest from `cursor=<the entry>&page=<n>`, which it
320
+ * joins before applying the run. A bridge that does not page always gets whole entries.
321
+ *
322
+ * A page also stops at FEED_PAGE_BYTES encoded, so `entries` can hold fewer than `limit`:
323
+ * continue from `next`. An entry alone over that is returned alone with `oversized: true`;
324
+ * name `page_records` to read it in pages.
325
+ *
326
+ * `from=latest` is where a first start reads from, without reading a run: no entries, and
327
+ * `next` just before the newest run with something for `consumer` (the newest entry when none
328
+ * has), so reading on from it applies that run and none older.
329
+ *
330
+ * `oldest` is the oldest entry the feed still holds (null when it holds none): entries expire
331
+ * FEED_TTL after they were published, so a bridge whose cursor sorts before `oldest` may have
332
+ * missed entries that expired while it was offline.
333
+ */
334
+ get: operations["feed_predictions_feed_get"];
335
+ put?: never;
336
+ post?: never;
337
+ delete?: never;
338
+ options?: never;
339
+ head?: never;
340
+ patch?: never;
341
+ trace?: never;
342
+ };
343
+ "/predictions/feed/checkin": {
344
+ parameters: {
345
+ query?: never;
346
+ header?: never;
347
+ path?: never;
348
+ cookie?: never;
349
+ };
350
+ get?: never;
351
+ put?: never;
352
+ /**
353
+ * Check In
354
+ * @description Records what a bridge found on its side. A custom bridge's manifest registers it with the
355
+ * account, pending until someone who may edit workflows approves it; a changed manifest waits
356
+ * for approval again, so a bridge's key can propose a connector but never enable one. A Lattice
357
+ * or COSMOS bridge checks in only on the plan its output needs.
358
+ */
359
+ post: operations["check_in_predictions_feed_checkin_post"];
360
+ delete?: never;
361
+ options?: never;
362
+ head?: never;
363
+ patch?: never;
364
+ trace?: never;
365
+ };
366
+ "/predictions/feed/deliveries": {
367
+ parameters: {
368
+ query?: never;
369
+ header?: never;
370
+ path?: never;
371
+ cookie?: never;
372
+ };
373
+ get?: never;
374
+ put?: never;
375
+ /**
376
+ * Deliver
377
+ * @description What a plugin wrote into mission control for one of the tenant's runs.
378
+ */
379
+ post: operations["deliver_predictions_feed_deliveries_post"];
380
+ delete?: never;
381
+ options?: never;
382
+ head?: never;
383
+ patch?: never;
384
+ trace?: never;
385
+ };
386
+ "/predictions/feed/readers": {
387
+ parameters: {
388
+ query?: never;
389
+ header?: never;
390
+ path?: never;
391
+ cookie?: never;
392
+ };
393
+ /**
394
+ * Readers
395
+ * @description Every plugin that pulls this tenant's feed, with when it last pulled and, once it has
396
+ * checked in, what it found on its side (`checkin`).
397
+ */
398
+ get: operations["readers_predictions_feed_readers_get"];
399
+ put?: never;
400
+ post?: never;
401
+ delete?: never;
402
+ options?: never;
403
+ head?: never;
404
+ patch?: never;
405
+ trace?: never;
406
+ };
407
+ "/predictions/runs": {
408
+ parameters: {
409
+ query?: never;
410
+ header?: never;
411
+ path?: never;
412
+ cookie?: never;
413
+ };
414
+ /**
415
+ * List Runs
416
+ * @description The workflow's runs of every status and version, newest first (to the second): a failed or cancelled run,
417
+ * or one of a version since edited, shows here though GET /predictions?workflow= answers only
418
+ * the newest finished run. next_before pages on while older runs may be left.
419
+ */
420
+ get: operations["list_runs_predictions_runs_get"];
421
+ put?: never;
422
+ post?: never;
423
+ delete?: never;
424
+ options?: never;
425
+ head?: never;
426
+ patch?: never;
427
+ trace?: never;
428
+ };
429
+ "/predictions/runs/{run_id}/cancel": {
430
+ parameters: {
431
+ query?: never;
432
+ header?: never;
433
+ path?: never;
434
+ cookie?: never;
435
+ };
436
+ get?: never;
437
+ put?: never;
438
+ /**
439
+ * Cancel Run
440
+ * @description Stop a queued or running run: its record says cancelled, by whom and when, and its
441
+ * Temporal workflow is cancelled. A cancelled run never publishes or sends: every delivery step
442
+ * first reports its stage, which a cancelled run refuses. Asking again answers the cancelled
443
+ * run and asks Temporal again, in case the first ask never reached it; a run that finished, or
444
+ * is already publishing or sending, is 409.
445
+ */
446
+ post: operations["cancel_run_predictions_runs__run_id__cancel_post"];
447
+ delete?: never;
448
+ options?: never;
449
+ head?: never;
450
+ patch?: never;
451
+ trace?: never;
452
+ };
453
+ "/predictions/views": {
454
+ parameters: {
455
+ query?: never;
456
+ header?: never;
457
+ path?: never;
458
+ cookie?: never;
459
+ };
460
+ /**
461
+ * List Views
462
+ * @description The views saved to the key's workspace, oldest first, and how many it may hold.
463
+ */
464
+ get: operations["list_views_predictions_views_get"];
465
+ put?: never;
466
+ /** Save View */
467
+ post: operations["save_view_predictions_views_post"];
468
+ delete?: never;
469
+ options?: never;
470
+ head?: never;
471
+ patch?: never;
472
+ trace?: never;
473
+ };
474
+ "/predictions/views/{view_id}": {
475
+ parameters: {
476
+ query?: never;
477
+ header?: never;
478
+ path?: never;
479
+ cookie?: never;
480
+ };
481
+ get?: never;
482
+ /**
483
+ * Update View
484
+ * @description Renames a view, points it at another address or run, or makes it its tab's default.
485
+ */
486
+ put: operations["update_view_predictions_views__view_id__put"];
487
+ post?: never;
488
+ /** Delete View */
489
+ delete: operations["delete_view_predictions_views__view_id__delete"];
490
+ options?: never;
491
+ head?: never;
492
+ patch?: never;
493
+ trace?: never;
494
+ };
495
+ "/predictions/workflows": {
496
+ parameters: {
497
+ query?: never;
498
+ header?: never;
499
+ path?: never;
500
+ cookie?: never;
501
+ };
502
+ /**
503
+ * List Workflows
504
+ * @description The caller's workflows, the latest version of each; with templates=true, the read-only
505
+ * templates instead, which a caller copies by saving one's graph under its own slug, and every
506
+ * lane with whether a run prices it here and, where not, why.
507
+ */
508
+ get: operations["list_workflows_predictions_workflows_get"];
509
+ put?: never;
510
+ post?: never;
511
+ delete?: never;
512
+ options?: never;
513
+ head?: never;
514
+ patch?: never;
515
+ trace?: never;
516
+ };
517
+ "/predictions/workflows/{slug}": {
518
+ parameters: {
519
+ query?: never;
520
+ header?: never;
521
+ path?: never;
522
+ cookie?: never;
523
+ };
524
+ /** Get Workflow */
525
+ get: operations["get_workflow_predictions_workflows__slug__get"];
526
+ /**
527
+ * Put Workflow
528
+ * @description Save a workflow's name and graph as the slug's next version. A graph the validator finds
529
+ * issues with is refused whole, with every issue.
530
+ */
531
+ put: operations["put_workflow_predictions_workflows__slug__put"];
532
+ post?: never;
533
+ delete?: never;
534
+ options?: never;
535
+ head?: never;
536
+ patch?: never;
537
+ trace?: never;
538
+ };
539
+ "/predictions/workflows/{slug}/validate": {
540
+ parameters: {
541
+ query?: never;
542
+ header?: never;
543
+ path?: never;
544
+ cookie?: never;
545
+ };
546
+ get?: never;
547
+ put?: never;
548
+ /**
549
+ * Validate Workflow
550
+ * @description The issues saving this graph under the slug would meet, each naming its node or edge, a
551
+ * feature beyond the account's plan among them; nothing is saved.
552
+ */
553
+ post: operations["validate_workflow_predictions_workflows__slug__validate_post"];
554
+ delete?: never;
555
+ options?: never;
556
+ head?: never;
557
+ patch?: never;
558
+ trace?: never;
559
+ };
560
+ "/telemetry": {
561
+ parameters: {
562
+ query?: never;
563
+ header?: never;
564
+ path?: never;
565
+ cookie?: never;
566
+ };
567
+ get?: never;
568
+ put?: never;
569
+ /**
570
+ * Post Telemetry V2
571
+ * @description Telemetry records, each checked against the latest network config.
572
+ */
573
+ post: operations["post_telemetry_v2_telemetry_post"];
574
+ delete?: never;
575
+ options?: never;
576
+ head?: never;
577
+ patch?: never;
578
+ trace?: never;
579
+ };
580
+ "/telemetry/files": {
581
+ parameters: {
582
+ query?: never;
583
+ header?: never;
584
+ path?: never;
585
+ cookie?: never;
586
+ };
587
+ /**
588
+ * List Raw Data
589
+ * @description The caller's own files in S3 key order. ``since`` filters each page, so
590
+ * a page can come back short or empty with a ``next`` still to follow.
591
+ */
592
+ get: operations["list_raw_data_telemetry_files_get"];
593
+ put?: never;
594
+ post?: never;
595
+ delete?: never;
596
+ options?: never;
597
+ head?: never;
598
+ patch?: never;
599
+ trace?: never;
600
+ };
601
+ "/telemetry/files/whoami": {
602
+ parameters: {
603
+ query?: never;
604
+ header?: never;
605
+ path?: never;
606
+ cookie?: never;
607
+ };
608
+ /** Whoami */
609
+ get: operations["whoami_telemetry_files_whoami_get"];
610
+ put?: never;
611
+ post?: never;
612
+ delete?: never;
613
+ options?: never;
614
+ head?: never;
615
+ patch?: never;
616
+ trace?: never;
617
+ };
618
+ "/telemetry/files/{source}/{name}": {
619
+ parameters: {
620
+ query?: never;
621
+ header?: never;
622
+ path?: never;
623
+ cookie?: never;
624
+ };
625
+ get?: never;
626
+ /**
627
+ * Put Raw Data
628
+ * @description Store the body as one file. Never overwrites: the received_at prefix
629
+ * makes every key unique.
630
+ */
631
+ put: operations["put_raw_data_telemetry_files__source___name__put"];
632
+ post?: never;
633
+ delete?: never;
634
+ options?: never;
635
+ head?: never;
636
+ patch?: never;
637
+ trace?: never;
638
+ };
639
+ "/telemetry/pass-logs": {
640
+ parameters: {
641
+ query?: never;
642
+ header?: never;
643
+ path?: never;
644
+ cookie?: never;
645
+ };
646
+ get?: never;
647
+ put?: never;
648
+ /**
649
+ * Post Pass Log
650
+ * @description A CSV of flown passes (satellite_id, antenna_id, aos_utc, los_utc, bytes_delivered, status;
651
+ * any column order), written as v2 records tagged dataset=audit.
652
+ */
653
+ post: operations["post_pass_log_telemetry_pass_logs_post"];
654
+ delete?: never;
655
+ options?: never;
656
+ head?: never;
657
+ patch?: never;
658
+ trace?: never;
659
+ };
660
+ "/telemetry/pass-logs/demo-sample": {
661
+ parameters: {
662
+ query?: never;
663
+ header?: never;
664
+ path?: never;
665
+ cookie?: never;
666
+ };
667
+ /**
668
+ * Demo Sample Pass Log
669
+ * @description A pass log of the past week for SAMPLE_SATELLITES, one row inside each pass an
670
+ * audit-ledger run of that week finds (the same sightings, on a run's step), as sample_passes
671
+ * tells it. Only for an account whose network config holds those satellites as the demo's
672
+ * (demo_network.demo_entities).
673
+ */
674
+ get: operations["demo_sample_pass_log_telemetry_pass_logs_demo_sample_get"];
675
+ put?: never;
676
+ post?: never;
677
+ delete?: never;
678
+ options?: never;
679
+ head?: never;
680
+ patch?: never;
681
+ trace?: never;
682
+ };
683
+ "/topology": {
684
+ parameters: {
685
+ query?: never;
686
+ header?: never;
687
+ path?: never;
688
+ cookie?: never;
689
+ };
690
+ /**
691
+ * Get Topology
692
+ * @description The fleet as declared (the latest network config, as /topology/config holds it) and as
693
+ * observed (the newest value of each field per antenna and satellite in the window, `field_times`
694
+ * giving each field's own time), with the
695
+ * entities of the context layers `layers` names in `state`: each station's rain and fade
696
+ * (contacts/context). `declined` names a layer that has none and why, e.g. ssa while no model
697
+ * serves it. `config`
698
+ * is null when there is no network config, or when the key may not read it (no config:read,
699
+ * config:write or workflows:write): topology:read alone still reads the observed state and the
700
+ * layers.
701
+ */
702
+ get: operations["get_topology_topology_get"];
703
+ put?: never;
704
+ post?: never;
705
+ delete?: never;
706
+ options?: never;
707
+ head?: never;
708
+ patch?: never;
709
+ trace?: never;
710
+ };
711
+ "/topology/config": {
712
+ parameters: {
713
+ query?: never;
714
+ header?: never;
715
+ path?: never;
716
+ cookie?: never;
717
+ };
718
+ /** Get Network Config */
719
+ get: operations["get_network_config_topology_config_get"];
720
+ /** Put Network Config */
721
+ put: operations["put_network_config_topology_config_put"];
722
+ post?: never;
723
+ delete?: never;
724
+ options?: never;
725
+ head?: never;
726
+ /** Patch Network Config */
727
+ patch: operations["patch_network_config_topology_config_patch"];
728
+ trace?: never;
729
+ };
730
+ "/topology/demo-fleet": {
731
+ parameters: {
732
+ query?: never;
733
+ header?: never;
734
+ path?: never;
735
+ cookie?: never;
736
+ };
737
+ get?: never;
738
+ put?: never;
739
+ /**
740
+ * Load Demo Fleet
741
+ * @description Load the demo fleet into the caller's account: demo_network_config.json (5 ground
742
+ * stations, 6 antennas and 5 sun-synchronous Earth observation satellites) as its network
743
+ * config, then the telemetry of its passes in the last two hours, then the demo workflows
744
+ * with a first run of each. Safe to repeat: a config that holds the demo is kept, the
745
+ * telemetry rewritten, and a workflow already saved under a demo slug left as it is.
746
+ */
747
+ post: operations["load_demo_fleet_topology_demo_fleet_post"];
748
+ delete?: never;
749
+ options?: never;
750
+ head?: never;
751
+ patch?: never;
752
+ trace?: never;
753
+ };
754
+ "/topology/passes": {
755
+ parameters: {
756
+ query?: never;
757
+ header?: never;
758
+ path?: never;
759
+ cookie?: never;
760
+ };
761
+ /**
762
+ * List Topology Passes
763
+ * @description Every pass between from and to in the latest network config, computed from the fleet's
764
+ * element sets and antenna masks and sampled every step_s from `from`, as a run samples it. Each
765
+ * pass carries the pass_id a run's item for it carries. Below the satellites feature it covers
766
+ * at most FREE_SATELLITES of the tenant's own, as a test run does; the demo fleet's are free.
767
+ */
768
+ get: operations["list_topology_passes_topology_passes_get"];
769
+ put?: never;
770
+ post?: never;
771
+ delete?: never;
772
+ options?: never;
773
+ head?: never;
774
+ patch?: never;
775
+ trace?: never;
776
+ };
777
+ "/topology/scenarios": {
778
+ parameters: {
779
+ query?: never;
780
+ header?: never;
781
+ path?: never;
782
+ cookie?: never;
783
+ };
784
+ /** List Scenarios */
785
+ get: operations["list_scenarios_topology_scenarios_get"];
786
+ put?: never;
787
+ /** Create Scenario */
788
+ post: operations["create_scenario_topology_scenarios_post"];
789
+ delete?: never;
790
+ options?: never;
791
+ head?: never;
792
+ patch?: never;
793
+ trace?: never;
794
+ };
795
+ "/topology/series": {
796
+ parameters: {
797
+ query?: never;
798
+ header?: never;
799
+ path?: never;
800
+ cookie?: never;
801
+ };
802
+ /** Get Telemetry V2 */
803
+ get: operations["get_telemetry_v2_topology_series_get"];
804
+ put?: never;
805
+ post?: never;
806
+ delete?: never;
807
+ options?: never;
808
+ head?: never;
809
+ patch?: never;
810
+ trace?: never;
811
+ };
812
+ }
813
+ interface components {
814
+ schemas: {
815
+ /** AccountEntitlements */
816
+ AccountEntitlements: {
817
+ /** Live Ingest */
818
+ live_ingest: boolean;
819
+ /** Minting */
820
+ minting: boolean;
821
+ quotas: components["schemas"]["QuotaDescriptor"];
822
+ /** Usage */
823
+ usage?: components["schemas"]["UsageDescriptor"][];
824
+ };
825
+ /** AccountStateDescriptor */
826
+ AccountStateDescriptor: {
827
+ academic?: components["schemas"]["constellation__platform__api__entitlements__models__AcademicView"] | null;
828
+ /** Account Id */
829
+ account_id: string;
830
+ /** Account Type */
831
+ account_type: string;
832
+ /**
833
+ * Act Mode
834
+ * @default off
835
+ * @enum {string}
836
+ */
837
+ act_mode?: "live" | "shadow" | "off";
838
+ audit_trial?: components["schemas"]["AuditTrialView"] | null;
839
+ entitlements: components["schemas"]["AccountEntitlements"];
840
+ /** Plan */
841
+ plan: string;
842
+ promo?: components["schemas"]["PromoView"] | null;
843
+ /** Trial Ends At */
844
+ trial_ends_at?: string | null;
845
+ };
846
+ /** Approval */
847
+ Approval: {
848
+ /** Manifest Sha256 */
849
+ manifest_sha256: string;
850
+ };
851
+ /**
852
+ * AuditTrialView
853
+ * @description Explore's free audit (store.FREE_AUDIT_HOURS from its first audit run): not started yet
854
+ * while ``started_at`` is None, and ``active`` until ``ends_at``.
855
+ */
856
+ AuditTrialView: {
857
+ /** Active */
858
+ active: boolean;
859
+ /** Ends At */
860
+ ends_at: string | null;
861
+ /** Started At */
862
+ started_at: string | null;
863
+ };
864
+ /**
865
+ * CheckIn
866
+ * @description What a bridge found on its side when it started: which system, what it may write there,
867
+ * and whether the Constellation Forecast widget is installed. Holds no credentials.
868
+ */
869
+ CheckIn: {
870
+ /** Bridge Version */
871
+ bridge_version?: string | null;
872
+ can?: components["schemas"]["Grants"];
873
+ /** Consumer */
874
+ consumer: string;
875
+ manifest?: components["schemas"]["ConnectorManifest"] | null;
876
+ /** Mapping Versions */
877
+ mapping_versions?: number[];
878
+ /**
879
+ * System
880
+ * @enum {string}
881
+ */
882
+ system: "yamcs" | "lattice" | "cosmos" | "custom";
883
+ /** System Version */
884
+ system_version?: string | null;
885
+ /**
886
+ * Target
887
+ * @default
888
+ */
889
+ target?: string;
890
+ widget?: components["schemas"]["Installed"];
891
+ };
892
+ /** ConnectorManifest */
893
+ ConnectorManifest: {
894
+ /**
895
+ * Description
896
+ * @default
897
+ */
898
+ description?: string;
899
+ /** Name */
900
+ name: string;
901
+ /** Settings */
902
+ settings?: {
903
+ [key: string]: components["schemas"]["Setting"];
904
+ };
905
+ /** Title */
906
+ title: string;
907
+ };
908
+ /** ContractMinimum */
909
+ ContractMinimum: {
910
+ /** Min Gb */
911
+ min_gb: number | null;
912
+ };
913
+ /**
914
+ * Delivery
915
+ * @description What a plugin wrote into mission control for one run, e.g. {"timeline_items": 540}.
916
+ */
917
+ Delivery: {
918
+ /** Applied */
919
+ applied?: {
920
+ [key: string]: number;
921
+ };
922
+ /** Consumer */
923
+ consumer: string;
924
+ /** Cursor */
925
+ cursor: string;
926
+ /** Run Id */
927
+ run_id: string;
928
+ /**
929
+ * Target
930
+ * @default
931
+ */
932
+ target?: string;
933
+ };
934
+ /** Edge */
935
+ Edge: {
936
+ from: components["schemas"]["constellation__platform__api__contacts__graph__Port"];
937
+ /** Id */
938
+ id: string;
939
+ to: components["schemas"]["constellation__platform__api__contacts__graph__Port"];
940
+ };
941
+ /**
942
+ * Grants
943
+ * @description What the bridge's account in its system may write there.
944
+ */
945
+ Grants: {
946
+ /**
947
+ * Buckets
948
+ * @default false
949
+ */
950
+ buckets?: boolean;
951
+ /**
952
+ * Events
953
+ * @default false
954
+ */
955
+ events?: boolean;
956
+ /**
957
+ * Parameters
958
+ * @default false
959
+ */
960
+ parameters?: boolean;
961
+ /**
962
+ * Timeline
963
+ * @default false
964
+ */
965
+ timeline?: boolean;
966
+ };
967
+ /** Graph */
968
+ Graph: {
969
+ /** Edges */
970
+ edges?: components["schemas"]["Edge"][];
971
+ /** Nodes */
972
+ nodes: components["schemas"]["Node"][];
973
+ };
974
+ /** HTTPValidationError */
975
+ HTTPValidationError: {
976
+ /** Detail */
977
+ detail?: components["schemas"]["ValidationError"][];
978
+ };
979
+ /** HealthCheck */
980
+ HealthCheck: {
981
+ /** Detail */
982
+ detail?: string | null;
983
+ /** Ok */
984
+ ok: boolean;
985
+ };
986
+ /** HealthStatus */
987
+ HealthStatus: {
988
+ /** Checks */
989
+ checks: {
990
+ [key: string]: components["schemas"]["HealthCheck"];
991
+ };
992
+ /** Status */
993
+ status: string;
994
+ };
995
+ /** Installed */
996
+ Installed: {
997
+ /**
998
+ * Installed
999
+ * @default false
1000
+ */
1001
+ installed?: boolean;
1002
+ /** Version */
1003
+ version?: string | null;
1004
+ };
1005
+ /** Node */
1006
+ Node: {
1007
+ /** Id */
1008
+ id: string;
1009
+ /**
1010
+ * Kind
1011
+ * @enum {string}
1012
+ */
1013
+ kind: "input" | "lane" | "transform" | "condition" | "output";
1014
+ /** Params */
1015
+ params?: {
1016
+ [key: string]: unknown;
1017
+ };
1018
+ position?: components["schemas"]["constellation__platform__api__contacts__graph__Position"];
1019
+ /** Ref */
1020
+ ref: string;
1021
+ };
1022
+ /** PromoView */
1023
+ PromoView: {
1024
+ /** Accepted At */
1025
+ accepted_at: string;
1026
+ /** Code */
1027
+ code: string;
1028
+ /** Expires At */
1029
+ expires_at: string;
1030
+ /** Program */
1031
+ program: string;
1032
+ /** Terms Version */
1033
+ terms_version: string;
1034
+ };
1035
+ /** QuotaDescriptor */
1036
+ QuotaDescriptor: {
1037
+ /** Limit */
1038
+ limit: number | null;
1039
+ /** Period */
1040
+ period: string;
1041
+ /** Remaining */
1042
+ remaining: number | null;
1043
+ /** Resets At */
1044
+ resets_at: string;
1045
+ /** Unit */
1046
+ unit: string;
1047
+ /** Used */
1048
+ used: number | null;
1049
+ };
1050
+ /** RawDataItem */
1051
+ RawDataItem: {
1052
+ /** Key */
1053
+ key: string;
1054
+ /** Name */
1055
+ name: string;
1056
+ /** Received At */
1057
+ received_at: string;
1058
+ /** Size */
1059
+ size: number;
1060
+ /** Source */
1061
+ source: string;
1062
+ };
1063
+ /** RawDataPage */
1064
+ RawDataPage: {
1065
+ /** Items */
1066
+ items: components["schemas"]["RawDataItem"][];
1067
+ /** Next */
1068
+ next: string | null;
1069
+ };
1070
+ /**
1071
+ * Rejection
1072
+ * @description One problem with one record of a write: `field` names the id or field at fault.
1073
+ */
1074
+ Rejection: {
1075
+ /** Field */
1076
+ field: string;
1077
+ /** Index */
1078
+ index: number;
1079
+ /** Reason */
1080
+ reason: string;
1081
+ };
1082
+ /** RunRequest */
1083
+ RunRequest: {
1084
+ /** At */
1085
+ at?: string | null;
1086
+ /** Dataset */
1087
+ dataset?: string | null;
1088
+ /**
1089
+ * Deliver
1090
+ * @default true
1091
+ */
1092
+ deliver?: boolean;
1093
+ /** From */
1094
+ from?: string | null;
1095
+ /** Network Config Version */
1096
+ network_config_version?: number | null;
1097
+ /** Scenario Id */
1098
+ scenario_id?: string | null;
1099
+ /** To */
1100
+ to?: string | null;
1101
+ /** Workflow */
1102
+ workflow: string;
1103
+ /** Workflow Version */
1104
+ workflow_version?: number | null;
1105
+ };
1106
+ /** Scenario */
1107
+ Scenario: {
1108
+ /** Add Antennas */
1109
+ add_antennas?: {
1110
+ [key: string]: {
1111
+ [key: string]: {
1112
+ [key: string]: unknown;
1113
+ };
1114
+ };
1115
+ };
1116
+ /** Add Satellites */
1117
+ add_satellites?: {
1118
+ [key: string]: {
1119
+ [key: string]: unknown;
1120
+ };
1121
+ };
1122
+ /** Antennas Down */
1123
+ antennas_down?: string[];
1124
+ /** Extra Attenuation Db */
1125
+ extra_attenuation_db?: {
1126
+ [key: string]: number;
1127
+ };
1128
+ /** Name */
1129
+ name: string;
1130
+ /** Stations Down */
1131
+ stations_down?: string[];
1132
+ /** Weather Quantile */
1133
+ weather_quantile?: ("p50" | "p90") | null;
1134
+ };
1135
+ /** Setting */
1136
+ Setting: {
1137
+ /** Default */
1138
+ default: boolean | number | string;
1139
+ /**
1140
+ * Description
1141
+ * @default
1142
+ */
1143
+ description?: string;
1144
+ /** Max Length */
1145
+ max_length?: number | null;
1146
+ /** Maximum */
1147
+ maximum?: number | null;
1148
+ /** Minimum */
1149
+ minimum?: number | null;
1150
+ /** Options */
1151
+ options?: string[] | null;
1152
+ /** Title */
1153
+ title: string;
1154
+ /**
1155
+ * Type
1156
+ * @enum {string}
1157
+ */
1158
+ type: "number" | "integer" | "boolean" | "string" | "enum";
1159
+ };
1160
+ /** TelemetryRecord */
1161
+ TelemetryRecord: {
1162
+ /** Fields */
1163
+ fields?: {
1164
+ [key: string]: components["schemas"]["TelemetryValue"];
1165
+ };
1166
+ /** Measurement */
1167
+ measurement: string;
1168
+ /** Tags */
1169
+ tags?: {
1170
+ [key: string]: string;
1171
+ };
1172
+ /**
1173
+ * Time
1174
+ * Format: date-time
1175
+ */
1176
+ time: string;
1177
+ };
1178
+ /** TelemetryRecordV2 */
1179
+ TelemetryRecordV2: {
1180
+ /** Contact Id */
1181
+ contact_id?: string | null;
1182
+ /** Dataset */
1183
+ dataset?: ("live" | "audit" | "sim") | null;
1184
+ /** Fields */
1185
+ fields: {
1186
+ [key: string]: components["schemas"]["TelemetryValue"];
1187
+ };
1188
+ /** Ground Antenna Id */
1189
+ ground_antenna_id: string;
1190
+ /** Ground Station Id */
1191
+ ground_station_id: string;
1192
+ /** Radio Id */
1193
+ radio_id?: string | null;
1194
+ /** Satellite Id */
1195
+ satellite_id: string;
1196
+ /**
1197
+ * Time
1198
+ * Format: date-time
1199
+ */
1200
+ time: string;
1201
+ };
1202
+ TelemetryValue: boolean | number | string;
1203
+ /** TelemetryWriteAck */
1204
+ TelemetryWriteAck: {
1205
+ /** Accepted Count */
1206
+ accepted_count: number;
1207
+ /** Rejected Count */
1208
+ rejected_count: number;
1209
+ /** Rejected Indices */
1210
+ rejected_indices?: number[] | null;
1211
+ /** Rejections */
1212
+ rejections?: components["schemas"]["Rejection"][] | null;
1213
+ /** Write Id */
1214
+ write_id: string;
1215
+ };
1216
+ /** UploadResult */
1217
+ UploadResult: {
1218
+ /** Key */
1219
+ key: string;
1220
+ /** Received At */
1221
+ received_at: string;
1222
+ /** Sha256 */
1223
+ sha256: string;
1224
+ /** Size */
1225
+ size: number;
1226
+ };
1227
+ /** UsageDescriptor */
1228
+ UsageDescriptor: {
1229
+ /** Limit */
1230
+ limit: number | null;
1231
+ /** Period */
1232
+ period: string;
1233
+ /** Remaining */
1234
+ remaining: number | null;
1235
+ /** Resets At */
1236
+ resets_at: string;
1237
+ /** Unit */
1238
+ unit: string;
1239
+ /** Used */
1240
+ used: number | null;
1241
+ };
1242
+ /** ValidationError */
1243
+ ValidationError: {
1244
+ /** Context */
1245
+ ctx?: Record<string, never>;
1246
+ /** Input */
1247
+ input?: unknown;
1248
+ /** Location */
1249
+ loc: (string | number)[];
1250
+ /** Message */
1251
+ msg: string;
1252
+ /** Error Type */
1253
+ type: string;
1254
+ };
1255
+ /**
1256
+ * ViewBody
1257
+ * @description A view is the Platform address that holds it (its tab, workflow, scope, window and what is
1258
+ * open) and, when it pins one, the run it reads; without one it follows the latest run.
1259
+ */
1260
+ ViewBody: {
1261
+ /**
1262
+ * Default
1263
+ * @default false
1264
+ */
1265
+ default?: boolean;
1266
+ /** Name */
1267
+ name: string;
1268
+ /** Run Id */
1269
+ run_id?: string | null;
1270
+ /** To */
1271
+ to: string;
1272
+ };
1273
+ /** WhoAmI */
1274
+ WhoAmI: {
1275
+ /** Account */
1276
+ account: string;
1277
+ /** Sftp Host */
1278
+ sftp_host: string | null;
1279
+ };
1280
+ /** WorkflowDefinition */
1281
+ WorkflowDefinition: {
1282
+ /**
1283
+ * Demo
1284
+ * @default false
1285
+ */
1286
+ demo?: boolean;
1287
+ graph: components["schemas"]["Graph"];
1288
+ /** Name */
1289
+ name: string;
1290
+ };
1291
+ /** Port */
1292
+ constellation__platform__api__contacts__graph__Port: {
1293
+ /** Node */
1294
+ node: string;
1295
+ /**
1296
+ * Port
1297
+ * @default rows
1298
+ */
1299
+ port?: string;
1300
+ };
1301
+ /** Position */
1302
+ constellation__platform__api__contacts__graph__Position: {
1303
+ /**
1304
+ * X
1305
+ * @default 0
1306
+ */
1307
+ x?: number;
1308
+ /**
1309
+ * Y
1310
+ * @default 0
1311
+ */
1312
+ y?: number;
1313
+ };
1314
+ /** AcademicView */
1315
+ constellation__platform__api__entitlements__models__AcademicView: {
1316
+ /** Accepted At */
1317
+ accepted_at: string;
1318
+ /** Institution Domain */
1319
+ institution_domain: string;
1320
+ /** Linked Email */
1321
+ linked_email?: string | null;
1322
+ /** Terms Version */
1323
+ terms_version: string;
1324
+ };
1325
+ };
1326
+ responses: never;
1327
+ parameters: never;
1328
+ requestBodies: never;
1329
+ headers: never;
1330
+ pathItems: never;
1331
+ }
1332
+ interface operations {
1333
+ get_account_state_account_state_get: {
1334
+ parameters: {
1335
+ query?: never;
1336
+ header?: never;
1337
+ path?: never;
1338
+ cookie?: never;
1339
+ };
1340
+ requestBody?: never;
1341
+ responses: {
1342
+ /** @description Successful Response */
1343
+ 200: {
1344
+ headers: {
1345
+ [name: string]: unknown;
1346
+ };
1347
+ content: {
1348
+ "application/json": components["schemas"]["AccountStateDescriptor"];
1349
+ };
1350
+ };
1351
+ };
1352
+ };
1353
+ search_satellites_assets_satellites_get: {
1354
+ parameters: {
1355
+ query?: {
1356
+ /** @description Name, id or operator, any case. */
1357
+ q?: string;
1358
+ operator?: string | null;
1359
+ fleet?: string | null;
1360
+ band?: ("S" | "X" | "Ka") | null;
1361
+ limit?: number;
1362
+ /** @description next_cursor of the previous page. */
1363
+ cursor?: string | null;
1364
+ };
1365
+ header?: never;
1366
+ path?: never;
1367
+ cookie?: never;
1368
+ };
1369
+ requestBody?: never;
1370
+ responses: {
1371
+ /** @description Successful Response */
1372
+ 200: {
1373
+ headers: {
1374
+ [name: string]: unknown;
1375
+ };
1376
+ content: {
1377
+ "application/json": unknown;
1378
+ };
1379
+ };
1380
+ /** @description The catalog has not changed since the If-None-Match ETag. */
1381
+ 304: {
1382
+ headers: {
1383
+ [name: string]: unknown;
1384
+ };
1385
+ content?: never;
1386
+ };
1387
+ /** @description A filter is malformed: near is not lat,lon, or the cursor is not one. */
1388
+ 422: {
1389
+ headers: {
1390
+ [name: string]: unknown;
1391
+ };
1392
+ content?: never;
1393
+ };
1394
+ };
1395
+ };
1396
+ search_stations_assets_stations_get: {
1397
+ parameters: {
1398
+ query?: {
1399
+ /** @description Name, id or operator, any case. */
1400
+ q?: string;
1401
+ /** @description The station's owner. */
1402
+ operator?: string | null;
1403
+ band?: ("S" | "X" | "Ka") | null;
1404
+ /** @description lat,lon in degrees. */
1405
+ near?: string | null;
1406
+ within_km?: number;
1407
+ limit?: number;
1408
+ /** @description next_cursor of the previous page. */
1409
+ cursor?: string | null;
1410
+ };
1411
+ header?: never;
1412
+ path?: never;
1413
+ cookie?: never;
1414
+ };
1415
+ requestBody?: never;
1416
+ responses: {
1417
+ /** @description Successful Response */
1418
+ 200: {
1419
+ headers: {
1420
+ [name: string]: unknown;
1421
+ };
1422
+ content: {
1423
+ "application/json": unknown;
1424
+ };
1425
+ };
1426
+ /** @description The catalog has not changed since the If-None-Match ETag. */
1427
+ 304: {
1428
+ headers: {
1429
+ [name: string]: unknown;
1430
+ };
1431
+ content?: never;
1432
+ };
1433
+ /** @description A filter is malformed: near is not lat,lon, or the cursor is not one. */
1434
+ 422: {
1435
+ headers: {
1436
+ [name: string]: unknown;
1437
+ };
1438
+ content?: never;
1439
+ };
1440
+ };
1441
+ };
1442
+ health_health_get: {
1443
+ parameters: {
1444
+ query?: never;
1445
+ header?: never;
1446
+ path?: never;
1447
+ cookie?: never;
1448
+ };
1449
+ requestBody?: never;
1450
+ responses: {
1451
+ /** @description Successful Response */
1452
+ 200: {
1453
+ headers: {
1454
+ [name: string]: unknown;
1455
+ };
1456
+ content: {
1457
+ "application/json": components["schemas"]["HealthStatus"];
1458
+ };
1459
+ };
1460
+ };
1461
+ };
1462
+ ingest_webhook_ingest_webhooks__dataset_id__post: {
1463
+ parameters: {
1464
+ query?: never;
1465
+ header?: never;
1466
+ path: {
1467
+ dataset_id: string;
1468
+ };
1469
+ cookie?: never;
1470
+ };
1471
+ requestBody?: never;
1472
+ responses: {
1473
+ /** @description Payload accepted for ingest. */
1474
+ 202: {
1475
+ headers: {
1476
+ [name: string]: unknown;
1477
+ };
1478
+ content: {
1479
+ "application/json": unknown;
1480
+ };
1481
+ };
1482
+ /** @description Body is not valid JSON. */
1483
+ 400: {
1484
+ headers: {
1485
+ [name: string]: unknown;
1486
+ };
1487
+ content?: never;
1488
+ };
1489
+ /** @description Missing, stale, or invalid signature. */
1490
+ 401: {
1491
+ headers: {
1492
+ [name: string]: unknown;
1493
+ };
1494
+ content?: never;
1495
+ };
1496
+ /** @description No webhook dataset with this id. */
1497
+ 404: {
1498
+ headers: {
1499
+ [name: string]: unknown;
1500
+ };
1501
+ content?: never;
1502
+ };
1503
+ /** @description The dataset is paused. */
1504
+ 409: {
1505
+ headers: {
1506
+ [name: string]: unknown;
1507
+ };
1508
+ content?: never;
1509
+ };
1510
+ /** @description Validation Error */
1511
+ 422: {
1512
+ headers: {
1513
+ [name: string]: unknown;
1514
+ };
1515
+ content: {
1516
+ "application/json": components["schemas"]["HTTPValidationError"];
1517
+ };
1518
+ };
1519
+ /** @description Dataset store, secret store, or ingest runtime unavailable. */
1520
+ 503: {
1521
+ headers: {
1522
+ [name: string]: unknown;
1523
+ };
1524
+ content?: never;
1525
+ };
1526
+ };
1527
+ };
1528
+ get_predictions_predictions_get: {
1529
+ parameters: {
1530
+ query?: {
1531
+ model_family?: string;
1532
+ link_ids?: string[] | null;
1533
+ horizon_minutes?: number | null;
1534
+ as_of_utc?: string | null;
1535
+ ground_station_id?: string | null;
1536
+ satellite_id?: string | null;
1537
+ ground_antenna_id?: string[] | null;
1538
+ at?: string | null;
1539
+ /** @description A workflow run's id: answers the run (status, stage or items, deliveries); satellite_id, antenna_id, station_id and pass_id narrow its items. */
1540
+ run_id?: string | null;
1541
+ /** @description A workflow's name: answers its newest finished run (409 when it has none; POST /predictions starts one), or with as_of_utc the newest finished by then. A read never starts a run; workflow_version pins a version, scenario_id a scenario, and satellite_id, antenna_id, station_id and pass_id narrow. */
1542
+ workflow?: string | null;
1543
+ workflow_version?: number | null;
1544
+ from?: string | null;
1545
+ to?: string | null;
1546
+ scenario_id?: string | null;
1547
+ station_id?: string[] | null;
1548
+ antenna_id?: string[] | null;
1549
+ pass_id?: string[] | null;
1550
+ /** @description A run's items in pages of this many, with next_page while more are left. */
1551
+ page_records?: number | null;
1552
+ /** @description Which page of page_records items. */
1553
+ page?: number;
1554
+ /** @description records (default): each family's own prediction records. items: the item shape workflow runs answer in (entity, target_at, value p10/p50/p90, explain). */
1555
+ format?: "records" | "items";
1556
+ /** @description With workflow: the newest finished run that read this telemetry dataset (live, audit or sim), so a pass-log audit never stands in for a live review. */
1557
+ dataset?: string | null;
1558
+ };
1559
+ header?: never;
1560
+ path?: never;
1561
+ cookie?: never;
1562
+ };
1563
+ requestBody?: never;
1564
+ responses: {
1565
+ /** @description Successful Response */
1566
+ 200: {
1567
+ headers: {
1568
+ [name: string]: unknown;
1569
+ };
1570
+ content: {
1571
+ "application/json": unknown;
1572
+ };
1573
+ };
1574
+ /** @description Missing, invalid, or retired query parameter. */
1575
+ 400: {
1576
+ headers: {
1577
+ [name: string]: unknown;
1578
+ };
1579
+ content?: never;
1580
+ };
1581
+ /** @description Credential scopes do not permit predictions:read. */
1582
+ 403: {
1583
+ headers: {
1584
+ [name: string]: unknown;
1585
+ };
1586
+ content?: never;
1587
+ };
1588
+ /** @description Prediction serving is not enabled in this deployment, or the model family is not served to this tenant (model_family_not_available). */
1589
+ 404: {
1590
+ headers: {
1591
+ [name: string]: unknown;
1592
+ };
1593
+ content?: never;
1594
+ };
1595
+ /** @description Validation Error */
1596
+ 422: {
1597
+ headers: {
1598
+ [name: string]: unknown;
1599
+ };
1600
+ content: {
1601
+ "application/json": components["schemas"]["HTTPValidationError"];
1602
+ };
1603
+ };
1604
+ /** @description The durable prediction store returned an unexpected error. */
1605
+ 500: {
1606
+ headers: {
1607
+ [name: string]: unknown;
1608
+ };
1609
+ content?: never;
1610
+ };
1611
+ /** @description The prediction store is temporarily unreadable; retry later. */
1612
+ 503: {
1613
+ headers: {
1614
+ [name: string]: unknown;
1615
+ };
1616
+ content?: never;
1617
+ };
1618
+ };
1619
+ };
1620
+ start_run_predictions_post: {
1621
+ parameters: {
1622
+ query?: never;
1623
+ header?: {
1624
+ "idempotency-key"?: string | null;
1625
+ };
1626
+ path?: never;
1627
+ cookie?: never;
1628
+ };
1629
+ requestBody: {
1630
+ content: {
1631
+ "application/json": components["schemas"]["RunRequest"];
1632
+ };
1633
+ };
1634
+ responses: {
1635
+ /** @description A repeat of an Idempotency-Key: the run it started, not a new one. */
1636
+ 200: {
1637
+ headers: {
1638
+ [name: string]: unknown;
1639
+ };
1640
+ content?: never;
1641
+ };
1642
+ /** @description Successful Response */
1643
+ 202: {
1644
+ headers: {
1645
+ [name: string]: unknown;
1646
+ };
1647
+ content: {
1648
+ "application/json": unknown;
1649
+ };
1650
+ };
1651
+ /** @description Malformed request body (not valid JSON). */
1652
+ 400: {
1653
+ headers: {
1654
+ [name: string]: unknown;
1655
+ };
1656
+ content?: never;
1657
+ };
1658
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
1659
+ 403: {
1660
+ headers: {
1661
+ [name: string]: unknown;
1662
+ };
1663
+ content?: never;
1664
+ };
1665
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
1666
+ 404: {
1667
+ headers: {
1668
+ [name: string]: unknown;
1669
+ };
1670
+ content?: never;
1671
+ };
1672
+ /** @description The Idempotency-Key was used with a different request. */
1673
+ 409: {
1674
+ headers: {
1675
+ [name: string]: unknown;
1676
+ };
1677
+ content?: never;
1678
+ };
1679
+ /** @description The run's stored data has expired (run_data_expired). */
1680
+ 410: {
1681
+ headers: {
1682
+ [name: string]: unknown;
1683
+ };
1684
+ content?: never;
1685
+ };
1686
+ /** @description Validation Error */
1687
+ 422: {
1688
+ headers: {
1689
+ [name: string]: unknown;
1690
+ };
1691
+ content: {
1692
+ "application/json": components["schemas"]["HTTPValidationError"];
1693
+ };
1694
+ };
1695
+ /** @description Too many feed consumers for this account (too_many_consumers). */
1696
+ 429: {
1697
+ headers: {
1698
+ [name: string]: unknown;
1699
+ };
1700
+ content?: never;
1701
+ };
1702
+ /** @description Temporal is not wired here or did not answer in time. */
1703
+ 503: {
1704
+ headers: {
1705
+ [name: string]: unknown;
1706
+ };
1707
+ content?: never;
1708
+ };
1709
+ };
1710
+ };
1711
+ list_actions_predictions_actions_get: {
1712
+ parameters: {
1713
+ query: {
1714
+ workflow: string;
1715
+ };
1716
+ header?: never;
1717
+ path?: never;
1718
+ cookie?: never;
1719
+ };
1720
+ requestBody?: never;
1721
+ responses: {
1722
+ /** @description Successful Response */
1723
+ 200: {
1724
+ headers: {
1725
+ [name: string]: unknown;
1726
+ };
1727
+ content: {
1728
+ "application/json": {
1729
+ [key: string]: unknown;
1730
+ };
1731
+ };
1732
+ };
1733
+ /** @description Malformed request body (not valid JSON). */
1734
+ 400: {
1735
+ headers: {
1736
+ [name: string]: unknown;
1737
+ };
1738
+ content?: never;
1739
+ };
1740
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
1741
+ 403: {
1742
+ headers: {
1743
+ [name: string]: unknown;
1744
+ };
1745
+ content?: never;
1746
+ };
1747
+ /** @description Workflows are off here, or the workflow is unknown. */
1748
+ 404: {
1749
+ headers: {
1750
+ [name: string]: unknown;
1751
+ };
1752
+ content?: never;
1753
+ };
1754
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
1755
+ 409: {
1756
+ headers: {
1757
+ [name: string]: unknown;
1758
+ };
1759
+ content?: never;
1760
+ };
1761
+ /** @description The run's stored data has expired (run_data_expired). */
1762
+ 410: {
1763
+ headers: {
1764
+ [name: string]: unknown;
1765
+ };
1766
+ content?: never;
1767
+ };
1768
+ /** @description Validation Error */
1769
+ 422: {
1770
+ headers: {
1771
+ [name: string]: unknown;
1772
+ };
1773
+ content: {
1774
+ "application/json": components["schemas"]["HTTPValidationError"];
1775
+ };
1776
+ };
1777
+ /** @description Too many feed consumers for this account (too_many_consumers). */
1778
+ 429: {
1779
+ headers: {
1780
+ [name: string]: unknown;
1781
+ };
1782
+ content?: never;
1783
+ };
1784
+ };
1785
+ };
1786
+ list_decisions_predictions_actions_decisions_get: {
1787
+ parameters: {
1788
+ query: {
1789
+ workflow: string;
1790
+ };
1791
+ header?: never;
1792
+ path?: never;
1793
+ cookie?: never;
1794
+ };
1795
+ requestBody?: never;
1796
+ responses: {
1797
+ /** @description Successful Response */
1798
+ 200: {
1799
+ headers: {
1800
+ [name: string]: unknown;
1801
+ };
1802
+ content: {
1803
+ "application/json": {
1804
+ [key: string]: unknown;
1805
+ };
1806
+ };
1807
+ };
1808
+ /** @description Malformed request body (not valid JSON). */
1809
+ 400: {
1810
+ headers: {
1811
+ [name: string]: unknown;
1812
+ };
1813
+ content?: never;
1814
+ };
1815
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
1816
+ 403: {
1817
+ headers: {
1818
+ [name: string]: unknown;
1819
+ };
1820
+ content?: never;
1821
+ };
1822
+ /** @description Workflows are off here, or the workflow is unknown. */
1823
+ 404: {
1824
+ headers: {
1825
+ [name: string]: unknown;
1826
+ };
1827
+ content?: never;
1828
+ };
1829
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
1830
+ 409: {
1831
+ headers: {
1832
+ [name: string]: unknown;
1833
+ };
1834
+ content?: never;
1835
+ };
1836
+ /** @description The run's stored data has expired (run_data_expired). */
1837
+ 410: {
1838
+ headers: {
1839
+ [name: string]: unknown;
1840
+ };
1841
+ content?: never;
1842
+ };
1843
+ /** @description Validation Error */
1844
+ 422: {
1845
+ headers: {
1846
+ [name: string]: unknown;
1847
+ };
1848
+ content: {
1849
+ "application/json": components["schemas"]["HTTPValidationError"];
1850
+ };
1851
+ };
1852
+ /** @description Too many feed consumers for this account (too_many_consumers). */
1853
+ 429: {
1854
+ headers: {
1855
+ [name: string]: unknown;
1856
+ };
1857
+ content?: never;
1858
+ };
1859
+ };
1860
+ };
1861
+ approve_action_predictions_actions__run_id___item_id__approve_post: {
1862
+ parameters: {
1863
+ query?: never;
1864
+ header?: never;
1865
+ path: {
1866
+ run_id: string;
1867
+ item_id: string;
1868
+ };
1869
+ cookie?: never;
1870
+ };
1871
+ requestBody?: never;
1872
+ responses: {
1873
+ /** @description Successful Response */
1874
+ 200: {
1875
+ headers: {
1876
+ [name: string]: unknown;
1877
+ };
1878
+ content: {
1879
+ "application/json": unknown;
1880
+ };
1881
+ };
1882
+ /** @description Malformed request body (not valid JSON). */
1883
+ 400: {
1884
+ headers: {
1885
+ [name: string]: unknown;
1886
+ };
1887
+ content?: never;
1888
+ };
1889
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
1890
+ 403: {
1891
+ headers: {
1892
+ [name: string]: unknown;
1893
+ };
1894
+ content?: never;
1895
+ };
1896
+ /** @description Workflows are off here, or no such run or held action. */
1897
+ 404: {
1898
+ headers: {
1899
+ [name: string]: unknown;
1900
+ };
1901
+ content?: never;
1902
+ };
1903
+ /** @description The action was decided already (action_decided; approving an approved action again is not an error), its deadline has passed (action_expired), a newer run or a newer version of the workflow answers it now (action_stale), the run was cancelled (run_cancelled), or the run published to no mission control connection (no_feed_output). */
1904
+ 409: {
1905
+ headers: {
1906
+ [name: string]: unknown;
1907
+ };
1908
+ content?: never;
1909
+ };
1910
+ /** @description The run's stored data has expired (run_data_expired). */
1911
+ 410: {
1912
+ headers: {
1913
+ [name: string]: unknown;
1914
+ };
1915
+ content?: never;
1916
+ };
1917
+ /** @description Validation Error */
1918
+ 422: {
1919
+ headers: {
1920
+ [name: string]: unknown;
1921
+ };
1922
+ content: {
1923
+ "application/json": components["schemas"]["HTTPValidationError"];
1924
+ };
1925
+ };
1926
+ /** @description Too many feed consumers for this account (too_many_consumers). */
1927
+ 429: {
1928
+ headers: {
1929
+ [name: string]: unknown;
1930
+ };
1931
+ content?: never;
1932
+ };
1933
+ };
1934
+ };
1935
+ reject_action_predictions_actions__run_id___item_id__reject_post: {
1936
+ parameters: {
1937
+ query?: never;
1938
+ header?: never;
1939
+ path: {
1940
+ run_id: string;
1941
+ item_id: string;
1942
+ };
1943
+ cookie?: never;
1944
+ };
1945
+ requestBody?: never;
1946
+ responses: {
1947
+ /** @description Successful Response */
1948
+ 200: {
1949
+ headers: {
1950
+ [name: string]: unknown;
1951
+ };
1952
+ content: {
1953
+ "application/json": {
1954
+ [key: string]: unknown;
1955
+ };
1956
+ };
1957
+ };
1958
+ /** @description Malformed request body (not valid JSON). */
1959
+ 400: {
1960
+ headers: {
1961
+ [name: string]: unknown;
1962
+ };
1963
+ content?: never;
1964
+ };
1965
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
1966
+ 403: {
1967
+ headers: {
1968
+ [name: string]: unknown;
1969
+ };
1970
+ content?: never;
1971
+ };
1972
+ /** @description Workflows are off here, or no such run or held action. */
1973
+ 404: {
1974
+ headers: {
1975
+ [name: string]: unknown;
1976
+ };
1977
+ content?: never;
1978
+ };
1979
+ /** @description The action was decided already (action_decided; approving an approved action again is not an error), its deadline has passed (action_expired), a newer run or a newer version of the workflow answers it now (action_stale), the run was cancelled (run_cancelled), or the run published to no mission control connection (no_feed_output). */
1980
+ 409: {
1981
+ headers: {
1982
+ [name: string]: unknown;
1983
+ };
1984
+ content?: never;
1985
+ };
1986
+ /** @description The run's stored data has expired (run_data_expired). */
1987
+ 410: {
1988
+ headers: {
1989
+ [name: string]: unknown;
1990
+ };
1991
+ content?: never;
1992
+ };
1993
+ /** @description Validation Error */
1994
+ 422: {
1995
+ headers: {
1996
+ [name: string]: unknown;
1997
+ };
1998
+ content: {
1999
+ "application/json": components["schemas"]["HTTPValidationError"];
2000
+ };
2001
+ };
2002
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2003
+ 429: {
2004
+ headers: {
2005
+ [name: string]: unknown;
2006
+ };
2007
+ content?: never;
2008
+ };
2009
+ };
2010
+ };
2011
+ connectors_predictions_connectors_get: {
2012
+ parameters: {
2013
+ query?: never;
2014
+ header?: never;
2015
+ path?: never;
2016
+ cookie?: never;
2017
+ };
2018
+ requestBody?: never;
2019
+ responses: {
2020
+ /** @description Successful Response */
2021
+ 200: {
2022
+ headers: {
2023
+ [name: string]: unknown;
2024
+ };
2025
+ content: {
2026
+ "application/json": {
2027
+ [key: string]: unknown;
2028
+ };
2029
+ };
2030
+ };
2031
+ /** @description Malformed request body (not valid JSON). */
2032
+ 400: {
2033
+ headers: {
2034
+ [name: string]: unknown;
2035
+ };
2036
+ content?: never;
2037
+ };
2038
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2039
+ 403: {
2040
+ headers: {
2041
+ [name: string]: unknown;
2042
+ };
2043
+ content?: never;
2044
+ };
2045
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2046
+ 404: {
2047
+ headers: {
2048
+ [name: string]: unknown;
2049
+ };
2050
+ content?: never;
2051
+ };
2052
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2053
+ 409: {
2054
+ headers: {
2055
+ [name: string]: unknown;
2056
+ };
2057
+ content?: never;
2058
+ };
2059
+ /** @description The run's stored data has expired (run_data_expired). */
2060
+ 410: {
2061
+ headers: {
2062
+ [name: string]: unknown;
2063
+ };
2064
+ content?: never;
2065
+ };
2066
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2067
+ 429: {
2068
+ headers: {
2069
+ [name: string]: unknown;
2070
+ };
2071
+ content?: never;
2072
+ };
2073
+ };
2074
+ };
2075
+ remove_connector_predictions_connectors__name__delete: {
2076
+ parameters: {
2077
+ query?: never;
2078
+ header?: never;
2079
+ path: {
2080
+ name: string;
2081
+ };
2082
+ cookie?: never;
2083
+ };
2084
+ requestBody?: never;
2085
+ responses: {
2086
+ /** @description Successful Response */
2087
+ 204: {
2088
+ headers: {
2089
+ [name: string]: unknown;
2090
+ };
2091
+ content?: never;
2092
+ };
2093
+ /** @description Malformed request body (not valid JSON). */
2094
+ 400: {
2095
+ headers: {
2096
+ [name: string]: unknown;
2097
+ };
2098
+ content?: never;
2099
+ };
2100
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2101
+ 403: {
2102
+ headers: {
2103
+ [name: string]: unknown;
2104
+ };
2105
+ content?: never;
2106
+ };
2107
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2108
+ 404: {
2109
+ headers: {
2110
+ [name: string]: unknown;
2111
+ };
2112
+ content?: never;
2113
+ };
2114
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2115
+ 409: {
2116
+ headers: {
2117
+ [name: string]: unknown;
2118
+ };
2119
+ content?: never;
2120
+ };
2121
+ /** @description The run's stored data has expired (run_data_expired). */
2122
+ 410: {
2123
+ headers: {
2124
+ [name: string]: unknown;
2125
+ };
2126
+ content?: never;
2127
+ };
2128
+ /** @description Validation Error */
2129
+ 422: {
2130
+ headers: {
2131
+ [name: string]: unknown;
2132
+ };
2133
+ content: {
2134
+ "application/json": components["schemas"]["HTTPValidationError"];
2135
+ };
2136
+ };
2137
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2138
+ 429: {
2139
+ headers: {
2140
+ [name: string]: unknown;
2141
+ };
2142
+ content?: never;
2143
+ };
2144
+ };
2145
+ };
2146
+ approve_connector_predictions_connectors__name__approve_post: {
2147
+ parameters: {
2148
+ query?: never;
2149
+ header?: never;
2150
+ path: {
2151
+ name: string;
2152
+ };
2153
+ cookie?: never;
2154
+ };
2155
+ requestBody: {
2156
+ content: {
2157
+ "application/json": components["schemas"]["Approval"];
2158
+ };
2159
+ };
2160
+ responses: {
2161
+ /** @description Successful Response */
2162
+ 200: {
2163
+ headers: {
2164
+ [name: string]: unknown;
2165
+ };
2166
+ content: {
2167
+ "application/json": unknown;
2168
+ };
2169
+ };
2170
+ /** @description Malformed request body (not valid JSON). */
2171
+ 400: {
2172
+ headers: {
2173
+ [name: string]: unknown;
2174
+ };
2175
+ content?: never;
2176
+ };
2177
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2178
+ 403: {
2179
+ headers: {
2180
+ [name: string]: unknown;
2181
+ };
2182
+ content?: never;
2183
+ };
2184
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2185
+ 404: {
2186
+ headers: {
2187
+ [name: string]: unknown;
2188
+ };
2189
+ content?: never;
2190
+ };
2191
+ /** @description The manifest changed since the one approved was listed. */
2192
+ 409: {
2193
+ headers: {
2194
+ [name: string]: unknown;
2195
+ };
2196
+ content?: never;
2197
+ };
2198
+ /** @description The run's stored data has expired (run_data_expired). */
2199
+ 410: {
2200
+ headers: {
2201
+ [name: string]: unknown;
2202
+ };
2203
+ content?: never;
2204
+ };
2205
+ /** @description Validation Error */
2206
+ 422: {
2207
+ headers: {
2208
+ [name: string]: unknown;
2209
+ };
2210
+ content: {
2211
+ "application/json": components["schemas"]["HTTPValidationError"];
2212
+ };
2213
+ };
2214
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2215
+ 429: {
2216
+ headers: {
2217
+ [name: string]: unknown;
2218
+ };
2219
+ content?: never;
2220
+ };
2221
+ };
2222
+ };
2223
+ get_contract_minimum_predictions_contract_minimum_get: {
2224
+ parameters: {
2225
+ query?: never;
2226
+ header?: never;
2227
+ path?: never;
2228
+ cookie?: never;
2229
+ };
2230
+ requestBody?: never;
2231
+ responses: {
2232
+ /** @description Successful Response */
2233
+ 200: {
2234
+ headers: {
2235
+ [name: string]: unknown;
2236
+ };
2237
+ content: {
2238
+ "application/json": {
2239
+ [key: string]: unknown;
2240
+ };
2241
+ };
2242
+ };
2243
+ /** @description Malformed request body (not valid JSON). */
2244
+ 400: {
2245
+ headers: {
2246
+ [name: string]: unknown;
2247
+ };
2248
+ content?: never;
2249
+ };
2250
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2251
+ 403: {
2252
+ headers: {
2253
+ [name: string]: unknown;
2254
+ };
2255
+ content?: never;
2256
+ };
2257
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2258
+ 404: {
2259
+ headers: {
2260
+ [name: string]: unknown;
2261
+ };
2262
+ content?: never;
2263
+ };
2264
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2265
+ 409: {
2266
+ headers: {
2267
+ [name: string]: unknown;
2268
+ };
2269
+ content?: never;
2270
+ };
2271
+ /** @description The run's stored data has expired (run_data_expired). */
2272
+ 410: {
2273
+ headers: {
2274
+ [name: string]: unknown;
2275
+ };
2276
+ content?: never;
2277
+ };
2278
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2279
+ 429: {
2280
+ headers: {
2281
+ [name: string]: unknown;
2282
+ };
2283
+ content?: never;
2284
+ };
2285
+ };
2286
+ };
2287
+ put_contract_minimum_predictions_contract_minimum_put: {
2288
+ parameters: {
2289
+ query?: never;
2290
+ header?: never;
2291
+ path?: never;
2292
+ cookie?: never;
2293
+ };
2294
+ requestBody: {
2295
+ content: {
2296
+ "application/json": components["schemas"]["ContractMinimum"];
2297
+ };
2298
+ };
2299
+ responses: {
2300
+ /** @description Successful Response */
2301
+ 200: {
2302
+ headers: {
2303
+ [name: string]: unknown;
2304
+ };
2305
+ content: {
2306
+ "application/json": {
2307
+ [key: string]: unknown;
2308
+ };
2309
+ };
2310
+ };
2311
+ /** @description Malformed request body (not valid JSON). */
2312
+ 400: {
2313
+ headers: {
2314
+ [name: string]: unknown;
2315
+ };
2316
+ content?: never;
2317
+ };
2318
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2319
+ 403: {
2320
+ headers: {
2321
+ [name: string]: unknown;
2322
+ };
2323
+ content?: never;
2324
+ };
2325
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2326
+ 404: {
2327
+ headers: {
2328
+ [name: string]: unknown;
2329
+ };
2330
+ content?: never;
2331
+ };
2332
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2333
+ 409: {
2334
+ headers: {
2335
+ [name: string]: unknown;
2336
+ };
2337
+ content?: never;
2338
+ };
2339
+ /** @description The run's stored data has expired (run_data_expired). */
2340
+ 410: {
2341
+ headers: {
2342
+ [name: string]: unknown;
2343
+ };
2344
+ content?: never;
2345
+ };
2346
+ /** @description Validation Error */
2347
+ 422: {
2348
+ headers: {
2349
+ [name: string]: unknown;
2350
+ };
2351
+ content: {
2352
+ "application/json": components["schemas"]["HTTPValidationError"];
2353
+ };
2354
+ };
2355
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2356
+ 429: {
2357
+ headers: {
2358
+ [name: string]: unknown;
2359
+ };
2360
+ content?: never;
2361
+ };
2362
+ };
2363
+ };
2364
+ feed_predictions_feed_get: {
2365
+ parameters: {
2366
+ query?: {
2367
+ after?: string;
2368
+ limit?: number;
2369
+ consumer?: string | null;
2370
+ page_records?: number | null;
2371
+ cursor?: string | null;
2372
+ page?: number;
2373
+ from?: "latest" | null;
2374
+ };
2375
+ header?: never;
2376
+ path?: never;
2377
+ cookie?: never;
2378
+ };
2379
+ requestBody?: never;
2380
+ responses: {
2381
+ /** @description Successful Response */
2382
+ 200: {
2383
+ headers: {
2384
+ [name: string]: unknown;
2385
+ };
2386
+ content: {
2387
+ "application/json": {
2388
+ [key: string]: unknown;
2389
+ };
2390
+ };
2391
+ };
2392
+ /** @description Malformed request body (not valid JSON). */
2393
+ 400: {
2394
+ headers: {
2395
+ [name: string]: unknown;
2396
+ };
2397
+ content?: never;
2398
+ };
2399
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2400
+ 403: {
2401
+ headers: {
2402
+ [name: string]: unknown;
2403
+ };
2404
+ content?: never;
2405
+ };
2406
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2407
+ 404: {
2408
+ headers: {
2409
+ [name: string]: unknown;
2410
+ };
2411
+ content?: never;
2412
+ };
2413
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2414
+ 409: {
2415
+ headers: {
2416
+ [name: string]: unknown;
2417
+ };
2418
+ content?: never;
2419
+ };
2420
+ /** @description The run's stored data has expired (run_data_expired). */
2421
+ 410: {
2422
+ headers: {
2423
+ [name: string]: unknown;
2424
+ };
2425
+ content?: never;
2426
+ };
2427
+ /** @description Validation Error */
2428
+ 422: {
2429
+ headers: {
2430
+ [name: string]: unknown;
2431
+ };
2432
+ content: {
2433
+ "application/json": components["schemas"]["HTTPValidationError"];
2434
+ };
2435
+ };
2436
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2437
+ 429: {
2438
+ headers: {
2439
+ [name: string]: unknown;
2440
+ };
2441
+ content?: never;
2442
+ };
2443
+ };
2444
+ };
2445
+ check_in_predictions_feed_checkin_post: {
2446
+ parameters: {
2447
+ query?: never;
2448
+ header?: never;
2449
+ path?: never;
2450
+ cookie?: never;
2451
+ };
2452
+ requestBody: {
2453
+ content: {
2454
+ "application/json": components["schemas"]["CheckIn"];
2455
+ };
2456
+ };
2457
+ responses: {
2458
+ /** @description Successful Response */
2459
+ 204: {
2460
+ headers: {
2461
+ [name: string]: unknown;
2462
+ };
2463
+ content?: never;
2464
+ };
2465
+ /** @description Malformed request body (not valid JSON). */
2466
+ 400: {
2467
+ headers: {
2468
+ [name: string]: unknown;
2469
+ };
2470
+ content?: never;
2471
+ };
2472
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2473
+ 403: {
2474
+ headers: {
2475
+ [name: string]: unknown;
2476
+ };
2477
+ content?: never;
2478
+ };
2479
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2480
+ 404: {
2481
+ headers: {
2482
+ [name: string]: unknown;
2483
+ };
2484
+ content?: never;
2485
+ };
2486
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2487
+ 409: {
2488
+ headers: {
2489
+ [name: string]: unknown;
2490
+ };
2491
+ content?: never;
2492
+ };
2493
+ /** @description The run's stored data has expired (run_data_expired). */
2494
+ 410: {
2495
+ headers: {
2496
+ [name: string]: unknown;
2497
+ };
2498
+ content?: never;
2499
+ };
2500
+ /** @description Validation Error */
2501
+ 422: {
2502
+ headers: {
2503
+ [name: string]: unknown;
2504
+ };
2505
+ content: {
2506
+ "application/json": components["schemas"]["HTTPValidationError"];
2507
+ };
2508
+ };
2509
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2510
+ 429: {
2511
+ headers: {
2512
+ [name: string]: unknown;
2513
+ };
2514
+ content?: never;
2515
+ };
2516
+ };
2517
+ };
2518
+ deliver_predictions_feed_deliveries_post: {
2519
+ parameters: {
2520
+ query?: never;
2521
+ header?: never;
2522
+ path?: never;
2523
+ cookie?: never;
2524
+ };
2525
+ requestBody: {
2526
+ content: {
2527
+ "application/json": components["schemas"]["Delivery"];
2528
+ };
2529
+ };
2530
+ responses: {
2531
+ /** @description Successful Response */
2532
+ 204: {
2533
+ headers: {
2534
+ [name: string]: unknown;
2535
+ };
2536
+ content?: never;
2537
+ };
2538
+ /** @description Malformed request body (not valid JSON). */
2539
+ 400: {
2540
+ headers: {
2541
+ [name: string]: unknown;
2542
+ };
2543
+ content?: never;
2544
+ };
2545
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2546
+ 403: {
2547
+ headers: {
2548
+ [name: string]: unknown;
2549
+ };
2550
+ content?: never;
2551
+ };
2552
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2553
+ 404: {
2554
+ headers: {
2555
+ [name: string]: unknown;
2556
+ };
2557
+ content?: never;
2558
+ };
2559
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2560
+ 409: {
2561
+ headers: {
2562
+ [name: string]: unknown;
2563
+ };
2564
+ content?: never;
2565
+ };
2566
+ /** @description The run's stored data has expired (run_data_expired). */
2567
+ 410: {
2568
+ headers: {
2569
+ [name: string]: unknown;
2570
+ };
2571
+ content?: never;
2572
+ };
2573
+ /** @description Validation Error */
2574
+ 422: {
2575
+ headers: {
2576
+ [name: string]: unknown;
2577
+ };
2578
+ content: {
2579
+ "application/json": components["schemas"]["HTTPValidationError"];
2580
+ };
2581
+ };
2582
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2583
+ 429: {
2584
+ headers: {
2585
+ [name: string]: unknown;
2586
+ };
2587
+ content?: never;
2588
+ };
2589
+ };
2590
+ };
2591
+ readers_predictions_feed_readers_get: {
2592
+ parameters: {
2593
+ query?: never;
2594
+ header?: never;
2595
+ path?: never;
2596
+ cookie?: never;
2597
+ };
2598
+ requestBody?: never;
2599
+ responses: {
2600
+ /** @description Successful Response */
2601
+ 200: {
2602
+ headers: {
2603
+ [name: string]: unknown;
2604
+ };
2605
+ content: {
2606
+ "application/json": {
2607
+ [key: string]: unknown;
2608
+ };
2609
+ };
2610
+ };
2611
+ /** @description Malformed request body (not valid JSON). */
2612
+ 400: {
2613
+ headers: {
2614
+ [name: string]: unknown;
2615
+ };
2616
+ content?: never;
2617
+ };
2618
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2619
+ 403: {
2620
+ headers: {
2621
+ [name: string]: unknown;
2622
+ };
2623
+ content?: never;
2624
+ };
2625
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2626
+ 404: {
2627
+ headers: {
2628
+ [name: string]: unknown;
2629
+ };
2630
+ content?: never;
2631
+ };
2632
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2633
+ 409: {
2634
+ headers: {
2635
+ [name: string]: unknown;
2636
+ };
2637
+ content?: never;
2638
+ };
2639
+ /** @description The run's stored data has expired (run_data_expired). */
2640
+ 410: {
2641
+ headers: {
2642
+ [name: string]: unknown;
2643
+ };
2644
+ content?: never;
2645
+ };
2646
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2647
+ 429: {
2648
+ headers: {
2649
+ [name: string]: unknown;
2650
+ };
2651
+ content?: never;
2652
+ };
2653
+ };
2654
+ };
2655
+ list_runs_predictions_runs_get: {
2656
+ parameters: {
2657
+ query: {
2658
+ workflow: string;
2659
+ limit?: number;
2660
+ /** @description A run id: lists the runs older than it (next_before of the page before). */
2661
+ before?: string | null;
2662
+ };
2663
+ header?: never;
2664
+ path?: never;
2665
+ cookie?: never;
2666
+ };
2667
+ requestBody?: never;
2668
+ responses: {
2669
+ /** @description Successful Response */
2670
+ 200: {
2671
+ headers: {
2672
+ [name: string]: unknown;
2673
+ };
2674
+ content: {
2675
+ "application/json": {
2676
+ [key: string]: unknown;
2677
+ };
2678
+ };
2679
+ };
2680
+ /** @description Malformed request body (not valid JSON). */
2681
+ 400: {
2682
+ headers: {
2683
+ [name: string]: unknown;
2684
+ };
2685
+ content?: never;
2686
+ };
2687
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2688
+ 403: {
2689
+ headers: {
2690
+ [name: string]: unknown;
2691
+ };
2692
+ content?: never;
2693
+ };
2694
+ /** @description Workflows are off here, or the workflow is unknown. */
2695
+ 404: {
2696
+ headers: {
2697
+ [name: string]: unknown;
2698
+ };
2699
+ content?: never;
2700
+ };
2701
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2702
+ 409: {
2703
+ headers: {
2704
+ [name: string]: unknown;
2705
+ };
2706
+ content?: never;
2707
+ };
2708
+ /** @description The run's stored data has expired (run_data_expired). */
2709
+ 410: {
2710
+ headers: {
2711
+ [name: string]: unknown;
2712
+ };
2713
+ content?: never;
2714
+ };
2715
+ /** @description Validation Error */
2716
+ 422: {
2717
+ headers: {
2718
+ [name: string]: unknown;
2719
+ };
2720
+ content: {
2721
+ "application/json": components["schemas"]["HTTPValidationError"];
2722
+ };
2723
+ };
2724
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2725
+ 429: {
2726
+ headers: {
2727
+ [name: string]: unknown;
2728
+ };
2729
+ content?: never;
2730
+ };
2731
+ };
2732
+ };
2733
+ cancel_run_predictions_runs__run_id__cancel_post: {
2734
+ parameters: {
2735
+ query?: never;
2736
+ header?: never;
2737
+ path: {
2738
+ run_id: string;
2739
+ };
2740
+ cookie?: never;
2741
+ };
2742
+ requestBody?: never;
2743
+ responses: {
2744
+ /** @description Successful Response */
2745
+ 200: {
2746
+ headers: {
2747
+ [name: string]: unknown;
2748
+ };
2749
+ content: {
2750
+ "application/json": unknown;
2751
+ };
2752
+ };
2753
+ /** @description Malformed request body (not valid JSON). */
2754
+ 400: {
2755
+ headers: {
2756
+ [name: string]: unknown;
2757
+ };
2758
+ content?: never;
2759
+ };
2760
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2761
+ 403: {
2762
+ headers: {
2763
+ [name: string]: unknown;
2764
+ };
2765
+ content?: never;
2766
+ };
2767
+ /** @description No such run in this account. */
2768
+ 404: {
2769
+ headers: {
2770
+ [name: string]: unknown;
2771
+ };
2772
+ content?: never;
2773
+ };
2774
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2775
+ 409: {
2776
+ headers: {
2777
+ [name: string]: unknown;
2778
+ };
2779
+ content?: never;
2780
+ };
2781
+ /** @description The run's stored data has expired (run_data_expired). */
2782
+ 410: {
2783
+ headers: {
2784
+ [name: string]: unknown;
2785
+ };
2786
+ content?: never;
2787
+ };
2788
+ /** @description Validation Error */
2789
+ 422: {
2790
+ headers: {
2791
+ [name: string]: unknown;
2792
+ };
2793
+ content: {
2794
+ "application/json": components["schemas"]["HTTPValidationError"];
2795
+ };
2796
+ };
2797
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2798
+ 429: {
2799
+ headers: {
2800
+ [name: string]: unknown;
2801
+ };
2802
+ content?: never;
2803
+ };
2804
+ };
2805
+ };
2806
+ list_views_predictions_views_get: {
2807
+ parameters: {
2808
+ query?: never;
2809
+ header?: never;
2810
+ path?: never;
2811
+ cookie?: never;
2812
+ };
2813
+ requestBody?: never;
2814
+ responses: {
2815
+ /** @description Successful Response */
2816
+ 200: {
2817
+ headers: {
2818
+ [name: string]: unknown;
2819
+ };
2820
+ content: {
2821
+ "application/json": {
2822
+ [key: string]: unknown;
2823
+ };
2824
+ };
2825
+ };
2826
+ /** @description Malformed request body (not valid JSON). */
2827
+ 400: {
2828
+ headers: {
2829
+ [name: string]: unknown;
2830
+ };
2831
+ content?: never;
2832
+ };
2833
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2834
+ 403: {
2835
+ headers: {
2836
+ [name: string]: unknown;
2837
+ };
2838
+ content?: never;
2839
+ };
2840
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2841
+ 404: {
2842
+ headers: {
2843
+ [name: string]: unknown;
2844
+ };
2845
+ content?: never;
2846
+ };
2847
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
2848
+ 409: {
2849
+ headers: {
2850
+ [name: string]: unknown;
2851
+ };
2852
+ content?: never;
2853
+ };
2854
+ /** @description The run's stored data has expired (run_data_expired). */
2855
+ 410: {
2856
+ headers: {
2857
+ [name: string]: unknown;
2858
+ };
2859
+ content?: never;
2860
+ };
2861
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2862
+ 429: {
2863
+ headers: {
2864
+ [name: string]: unknown;
2865
+ };
2866
+ content?: never;
2867
+ };
2868
+ };
2869
+ };
2870
+ save_view_predictions_views_post: {
2871
+ parameters: {
2872
+ query?: never;
2873
+ header?: never;
2874
+ path?: never;
2875
+ cookie?: never;
2876
+ };
2877
+ requestBody: {
2878
+ content: {
2879
+ "application/json": components["schemas"]["ViewBody"];
2880
+ };
2881
+ };
2882
+ responses: {
2883
+ /** @description Successful Response */
2884
+ 201: {
2885
+ headers: {
2886
+ [name: string]: unknown;
2887
+ };
2888
+ content: {
2889
+ "application/json": unknown;
2890
+ };
2891
+ };
2892
+ /** @description Malformed request body (not valid JSON). */
2893
+ 400: {
2894
+ headers: {
2895
+ [name: string]: unknown;
2896
+ };
2897
+ content?: never;
2898
+ };
2899
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2900
+ 403: {
2901
+ headers: {
2902
+ [name: string]: unknown;
2903
+ };
2904
+ content?: never;
2905
+ };
2906
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2907
+ 404: {
2908
+ headers: {
2909
+ [name: string]: unknown;
2910
+ };
2911
+ content?: never;
2912
+ };
2913
+ /** @description The workspace is full (views_full) or the name is taken. */
2914
+ 409: {
2915
+ headers: {
2916
+ [name: string]: unknown;
2917
+ };
2918
+ content?: never;
2919
+ };
2920
+ /** @description The run's stored data has expired (run_data_expired). */
2921
+ 410: {
2922
+ headers: {
2923
+ [name: string]: unknown;
2924
+ };
2925
+ content?: never;
2926
+ };
2927
+ /** @description Validation Error */
2928
+ 422: {
2929
+ headers: {
2930
+ [name: string]: unknown;
2931
+ };
2932
+ content: {
2933
+ "application/json": components["schemas"]["HTTPValidationError"];
2934
+ };
2935
+ };
2936
+ /** @description Too many feed consumers for this account (too_many_consumers). */
2937
+ 429: {
2938
+ headers: {
2939
+ [name: string]: unknown;
2940
+ };
2941
+ content?: never;
2942
+ };
2943
+ };
2944
+ };
2945
+ update_view_predictions_views__view_id__put: {
2946
+ parameters: {
2947
+ query?: never;
2948
+ header?: never;
2949
+ path: {
2950
+ view_id: string;
2951
+ };
2952
+ cookie?: never;
2953
+ };
2954
+ requestBody: {
2955
+ content: {
2956
+ "application/json": components["schemas"]["ViewBody"];
2957
+ };
2958
+ };
2959
+ responses: {
2960
+ /** @description Successful Response */
2961
+ 200: {
2962
+ headers: {
2963
+ [name: string]: unknown;
2964
+ };
2965
+ content: {
2966
+ "application/json": unknown;
2967
+ };
2968
+ };
2969
+ /** @description Malformed request body (not valid JSON). */
2970
+ 400: {
2971
+ headers: {
2972
+ [name: string]: unknown;
2973
+ };
2974
+ content?: never;
2975
+ };
2976
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
2977
+ 403: {
2978
+ headers: {
2979
+ [name: string]: unknown;
2980
+ };
2981
+ content?: never;
2982
+ };
2983
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
2984
+ 404: {
2985
+ headers: {
2986
+ [name: string]: unknown;
2987
+ };
2988
+ content?: never;
2989
+ };
2990
+ /** @description Another view of the workspace has the name. */
2991
+ 409: {
2992
+ headers: {
2993
+ [name: string]: unknown;
2994
+ };
2995
+ content?: never;
2996
+ };
2997
+ /** @description The run's stored data has expired (run_data_expired). */
2998
+ 410: {
2999
+ headers: {
3000
+ [name: string]: unknown;
3001
+ };
3002
+ content?: never;
3003
+ };
3004
+ /** @description Validation Error */
3005
+ 422: {
3006
+ headers: {
3007
+ [name: string]: unknown;
3008
+ };
3009
+ content: {
3010
+ "application/json": components["schemas"]["HTTPValidationError"];
3011
+ };
3012
+ };
3013
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3014
+ 429: {
3015
+ headers: {
3016
+ [name: string]: unknown;
3017
+ };
3018
+ content?: never;
3019
+ };
3020
+ };
3021
+ };
3022
+ delete_view_predictions_views__view_id__delete: {
3023
+ parameters: {
3024
+ query?: never;
3025
+ header?: never;
3026
+ path: {
3027
+ view_id: string;
3028
+ };
3029
+ cookie?: never;
3030
+ };
3031
+ requestBody?: never;
3032
+ responses: {
3033
+ /** @description Successful Response */
3034
+ 204: {
3035
+ headers: {
3036
+ [name: string]: unknown;
3037
+ };
3038
+ content?: never;
3039
+ };
3040
+ /** @description Malformed request body (not valid JSON). */
3041
+ 400: {
3042
+ headers: {
3043
+ [name: string]: unknown;
3044
+ };
3045
+ content?: never;
3046
+ };
3047
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
3048
+ 403: {
3049
+ headers: {
3050
+ [name: string]: unknown;
3051
+ };
3052
+ content?: never;
3053
+ };
3054
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
3055
+ 404: {
3056
+ headers: {
3057
+ [name: string]: unknown;
3058
+ };
3059
+ content?: never;
3060
+ };
3061
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
3062
+ 409: {
3063
+ headers: {
3064
+ [name: string]: unknown;
3065
+ };
3066
+ content?: never;
3067
+ };
3068
+ /** @description The run's stored data has expired (run_data_expired). */
3069
+ 410: {
3070
+ headers: {
3071
+ [name: string]: unknown;
3072
+ };
3073
+ content?: never;
3074
+ };
3075
+ /** @description Validation Error */
3076
+ 422: {
3077
+ headers: {
3078
+ [name: string]: unknown;
3079
+ };
3080
+ content: {
3081
+ "application/json": components["schemas"]["HTTPValidationError"];
3082
+ };
3083
+ };
3084
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3085
+ 429: {
3086
+ headers: {
3087
+ [name: string]: unknown;
3088
+ };
3089
+ content?: never;
3090
+ };
3091
+ };
3092
+ };
3093
+ list_workflows_predictions_workflows_get: {
3094
+ parameters: {
3095
+ query?: {
3096
+ templates?: boolean;
3097
+ };
3098
+ header?: never;
3099
+ path?: never;
3100
+ cookie?: never;
3101
+ };
3102
+ requestBody?: never;
3103
+ responses: {
3104
+ /** @description Successful Response */
3105
+ 200: {
3106
+ headers: {
3107
+ [name: string]: unknown;
3108
+ };
3109
+ content: {
3110
+ "application/json": {
3111
+ [key: string]: unknown;
3112
+ };
3113
+ };
3114
+ };
3115
+ /** @description Malformed request body (not valid JSON). */
3116
+ 400: {
3117
+ headers: {
3118
+ [name: string]: unknown;
3119
+ };
3120
+ content?: never;
3121
+ };
3122
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
3123
+ 403: {
3124
+ headers: {
3125
+ [name: string]: unknown;
3126
+ };
3127
+ content?: never;
3128
+ };
3129
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
3130
+ 404: {
3131
+ headers: {
3132
+ [name: string]: unknown;
3133
+ };
3134
+ content?: never;
3135
+ };
3136
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
3137
+ 409: {
3138
+ headers: {
3139
+ [name: string]: unknown;
3140
+ };
3141
+ content?: never;
3142
+ };
3143
+ /** @description The run's stored data has expired (run_data_expired). */
3144
+ 410: {
3145
+ headers: {
3146
+ [name: string]: unknown;
3147
+ };
3148
+ content?: never;
3149
+ };
3150
+ /** @description Validation Error */
3151
+ 422: {
3152
+ headers: {
3153
+ [name: string]: unknown;
3154
+ };
3155
+ content: {
3156
+ "application/json": components["schemas"]["HTTPValidationError"];
3157
+ };
3158
+ };
3159
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3160
+ 429: {
3161
+ headers: {
3162
+ [name: string]: unknown;
3163
+ };
3164
+ content?: never;
3165
+ };
3166
+ };
3167
+ };
3168
+ get_workflow_predictions_workflows__slug__get: {
3169
+ parameters: {
3170
+ query?: {
3171
+ version?: number | null;
3172
+ };
3173
+ header?: never;
3174
+ path: {
3175
+ slug: string;
3176
+ };
3177
+ cookie?: never;
3178
+ };
3179
+ requestBody?: never;
3180
+ responses: {
3181
+ /** @description Successful Response */
3182
+ 200: {
3183
+ headers: {
3184
+ [name: string]: unknown;
3185
+ };
3186
+ content: {
3187
+ "application/json": {
3188
+ [key: string]: unknown;
3189
+ };
3190
+ };
3191
+ };
3192
+ /** @description Malformed request body (not valid JSON). */
3193
+ 400: {
3194
+ headers: {
3195
+ [name: string]: unknown;
3196
+ };
3197
+ content?: never;
3198
+ };
3199
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
3200
+ 403: {
3201
+ headers: {
3202
+ [name: string]: unknown;
3203
+ };
3204
+ content?: never;
3205
+ };
3206
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
3207
+ 404: {
3208
+ headers: {
3209
+ [name: string]: unknown;
3210
+ };
3211
+ content?: never;
3212
+ };
3213
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
3214
+ 409: {
3215
+ headers: {
3216
+ [name: string]: unknown;
3217
+ };
3218
+ content?: never;
3219
+ };
3220
+ /** @description The run's stored data has expired (run_data_expired). */
3221
+ 410: {
3222
+ headers: {
3223
+ [name: string]: unknown;
3224
+ };
3225
+ content?: never;
3226
+ };
3227
+ /** @description Validation Error */
3228
+ 422: {
3229
+ headers: {
3230
+ [name: string]: unknown;
3231
+ };
3232
+ content: {
3233
+ "application/json": components["schemas"]["HTTPValidationError"];
3234
+ };
3235
+ };
3236
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3237
+ 429: {
3238
+ headers: {
3239
+ [name: string]: unknown;
3240
+ };
3241
+ content?: never;
3242
+ };
3243
+ };
3244
+ };
3245
+ put_workflow_predictions_workflows__slug__put: {
3246
+ parameters: {
3247
+ query?: never;
3248
+ header?: never;
3249
+ path: {
3250
+ slug: string;
3251
+ };
3252
+ cookie?: never;
3253
+ };
3254
+ requestBody: {
3255
+ content: {
3256
+ "application/json": components["schemas"]["WorkflowDefinition"];
3257
+ };
3258
+ };
3259
+ responses: {
3260
+ /** @description Successful Response */
3261
+ 200: {
3262
+ headers: {
3263
+ [name: string]: unknown;
3264
+ };
3265
+ content: {
3266
+ "application/json": unknown;
3267
+ };
3268
+ };
3269
+ /** @description Malformed request body (not valid JSON). */
3270
+ 400: {
3271
+ headers: {
3272
+ [name: string]: unknown;
3273
+ };
3274
+ content?: never;
3275
+ };
3276
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
3277
+ 403: {
3278
+ headers: {
3279
+ [name: string]: unknown;
3280
+ };
3281
+ content?: never;
3282
+ };
3283
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
3284
+ 404: {
3285
+ headers: {
3286
+ [name: string]: unknown;
3287
+ };
3288
+ content?: never;
3289
+ };
3290
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
3291
+ 409: {
3292
+ headers: {
3293
+ [name: string]: unknown;
3294
+ };
3295
+ content?: never;
3296
+ };
3297
+ /** @description The run's stored data has expired (run_data_expired). */
3298
+ 410: {
3299
+ headers: {
3300
+ [name: string]: unknown;
3301
+ };
3302
+ content?: never;
3303
+ };
3304
+ /** @description A bad body, or a graph with issues (each names its node). */
3305
+ 422: {
3306
+ headers: {
3307
+ [name: string]: unknown;
3308
+ };
3309
+ content?: never;
3310
+ };
3311
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3312
+ 429: {
3313
+ headers: {
3314
+ [name: string]: unknown;
3315
+ };
3316
+ content?: never;
3317
+ };
3318
+ };
3319
+ };
3320
+ validate_workflow_predictions_workflows__slug__validate_post: {
3321
+ parameters: {
3322
+ query?: never;
3323
+ header?: never;
3324
+ path: {
3325
+ slug: string;
3326
+ };
3327
+ cookie?: never;
3328
+ };
3329
+ requestBody: {
3330
+ content: {
3331
+ "application/json": components["schemas"]["WorkflowDefinition"];
3332
+ };
3333
+ };
3334
+ responses: {
3335
+ /** @description Successful Response */
3336
+ 200: {
3337
+ headers: {
3338
+ [name: string]: unknown;
3339
+ };
3340
+ content: {
3341
+ "application/json": {
3342
+ [key: string]: unknown;
3343
+ };
3344
+ };
3345
+ };
3346
+ /** @description Malformed request body (not valid JSON). */
3347
+ 400: {
3348
+ headers: {
3349
+ [name: string]: unknown;
3350
+ };
3351
+ content?: never;
3352
+ };
3353
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
3354
+ 403: {
3355
+ headers: {
3356
+ [name: string]: unknown;
3357
+ };
3358
+ content?: never;
3359
+ };
3360
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
3361
+ 404: {
3362
+ headers: {
3363
+ [name: string]: unknown;
3364
+ };
3365
+ content?: never;
3366
+ };
3367
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
3368
+ 409: {
3369
+ headers: {
3370
+ [name: string]: unknown;
3371
+ };
3372
+ content?: never;
3373
+ };
3374
+ /** @description The run's stored data has expired (run_data_expired). */
3375
+ 410: {
3376
+ headers: {
3377
+ [name: string]: unknown;
3378
+ };
3379
+ content?: never;
3380
+ };
3381
+ /** @description Validation Error */
3382
+ 422: {
3383
+ headers: {
3384
+ [name: string]: unknown;
3385
+ };
3386
+ content: {
3387
+ "application/json": components["schemas"]["HTTPValidationError"];
3388
+ };
3389
+ };
3390
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3391
+ 429: {
3392
+ headers: {
3393
+ [name: string]: unknown;
3394
+ };
3395
+ content?: never;
3396
+ };
3397
+ };
3398
+ };
3399
+ post_telemetry_v2_telemetry_post: {
3400
+ parameters: {
3401
+ query?: never;
3402
+ header?: never;
3403
+ path?: never;
3404
+ cookie?: never;
3405
+ };
3406
+ requestBody: {
3407
+ content: {
3408
+ "application/json": components["schemas"]["TelemetryRecordV2"][];
3409
+ };
3410
+ };
3411
+ responses: {
3412
+ /** @description The records that pass the v2 rules are written. rejected_count and rejected_indices name the records not written; rejections lists every problem, including an unknown field dropped from a record that was written. */
3413
+ 202: {
3414
+ headers: {
3415
+ [name: string]: unknown;
3416
+ };
3417
+ content: {
3418
+ "application/json": components["schemas"]["TelemetryWriteAck"];
3419
+ };
3420
+ };
3421
+ /** @description No record passes the v2 rules (invalid_input, with the first rejection's index, field and reason, and every rejection). */
3422
+ 400: {
3423
+ headers: {
3424
+ [name: string]: unknown;
3425
+ };
3426
+ content?: never;
3427
+ };
3428
+ /** @description The tenant has no network config to check ids against. */
3429
+ 409: {
3430
+ headers: {
3431
+ [name: string]: unknown;
3432
+ };
3433
+ content?: never;
3434
+ };
3435
+ /** @description The body does not match the record schema (a malformed id, an extra key, no fields, a bad pass outcome field). The whole batch is refused, unlike a v2 rule. */
3436
+ 422: {
3437
+ headers: {
3438
+ [name: string]: unknown;
3439
+ };
3440
+ content?: never;
3441
+ };
3442
+ };
3443
+ };
3444
+ list_raw_data_telemetry_files_get: {
3445
+ parameters: {
3446
+ query?: {
3447
+ source?: string | null;
3448
+ since?: string | null;
3449
+ limit?: number;
3450
+ cursor?: string | null;
3451
+ };
3452
+ header?: never;
3453
+ path?: never;
3454
+ cookie?: never;
3455
+ };
3456
+ requestBody?: never;
3457
+ responses: {
3458
+ /** @description Successful Response */
3459
+ 200: {
3460
+ headers: {
3461
+ [name: string]: unknown;
3462
+ };
3463
+ content: {
3464
+ "application/json": components["schemas"]["RawDataPage"];
3465
+ };
3466
+ };
3467
+ /** @description invalid_name (source) or invalid_cursor. */
3468
+ 400: {
3469
+ headers: {
3470
+ [name: string]: unknown;
3471
+ };
3472
+ content?: never;
3473
+ };
3474
+ /** @description insufficient_scope, sandbox_read_only (a test key), or account_disabled. */
3475
+ 403: {
3476
+ headers: {
3477
+ [name: string]: unknown;
3478
+ };
3479
+ content?: never;
3480
+ };
3481
+ /** @description Validation Error */
3482
+ 422: {
3483
+ headers: {
3484
+ [name: string]: unknown;
3485
+ };
3486
+ content: {
3487
+ "application/json": components["schemas"]["HTTPValidationError"];
3488
+ };
3489
+ };
3490
+ /** @description raw_data_unavailable: this deployment has no raw data bucket; entitlement_unavailable: the account record could not be read. */
3491
+ 503: {
3492
+ headers: {
3493
+ [name: string]: unknown;
3494
+ };
3495
+ content?: never;
3496
+ };
3497
+ };
3498
+ };
3499
+ whoami_telemetry_files_whoami_get: {
3500
+ parameters: {
3501
+ query?: never;
3502
+ header?: never;
3503
+ path?: never;
3504
+ cookie?: never;
3505
+ };
3506
+ requestBody?: never;
3507
+ responses: {
3508
+ /** @description Successful Response */
3509
+ 200: {
3510
+ headers: {
3511
+ [name: string]: unknown;
3512
+ };
3513
+ content: {
3514
+ "application/json": components["schemas"]["WhoAmI"];
3515
+ };
3516
+ };
3517
+ /** @description insufficient_scope, sandbox_read_only (a test key), or account_disabled. */
3518
+ 403: {
3519
+ headers: {
3520
+ [name: string]: unknown;
3521
+ };
3522
+ content?: never;
3523
+ };
3524
+ /** @description raw_data_unavailable: this deployment has no raw data bucket; entitlement_unavailable: the account record could not be read. */
3525
+ 503: {
3526
+ headers: {
3527
+ [name: string]: unknown;
3528
+ };
3529
+ content?: never;
3530
+ };
3531
+ };
3532
+ };
3533
+ put_raw_data_telemetry_files__source___name__put: {
3534
+ parameters: {
3535
+ query?: never;
3536
+ header?: never;
3537
+ path: {
3538
+ source: string;
3539
+ name: string;
3540
+ };
3541
+ cookie?: never;
3542
+ };
3543
+ requestBody: {
3544
+ content: {
3545
+ "application/octet-stream": string;
3546
+ };
3547
+ };
3548
+ responses: {
3549
+ /** @description Successful Response */
3550
+ 201: {
3551
+ headers: {
3552
+ [name: string]: unknown;
3553
+ };
3554
+ content: {
3555
+ "application/json": components["schemas"]["UploadResult"];
3556
+ };
3557
+ };
3558
+ /** @description invalid_name: source or name is not [A-Za-z0-9._-]{1,128}, or . or .. */
3559
+ 400: {
3560
+ headers: {
3561
+ [name: string]: unknown;
3562
+ };
3563
+ content?: never;
3564
+ };
3565
+ /** @description insufficient_scope, sandbox_read_only (a test key), or account_disabled. */
3566
+ 403: {
3567
+ headers: {
3568
+ [name: string]: unknown;
3569
+ };
3570
+ content?: never;
3571
+ };
3572
+ /** @description too_large: the body is over max_bytes. */
3573
+ 413: {
3574
+ headers: {
3575
+ [name: string]: unknown;
3576
+ };
3577
+ content?: never;
3578
+ };
3579
+ /** @description Validation Error */
3580
+ 422: {
3581
+ headers: {
3582
+ [name: string]: unknown;
3583
+ };
3584
+ content: {
3585
+ "application/json": components["schemas"]["HTTPValidationError"];
3586
+ };
3587
+ };
3588
+ /** @description raw_data_unavailable: this deployment has no raw data bucket; entitlement_unavailable: the account record could not be read. */
3589
+ 503: {
3590
+ headers: {
3591
+ [name: string]: unknown;
3592
+ };
3593
+ content?: never;
3594
+ };
3595
+ };
3596
+ };
3597
+ post_pass_log_telemetry_pass_logs_post: {
3598
+ parameters: {
3599
+ query?: never;
3600
+ header?: never;
3601
+ path?: never;
3602
+ cookie?: never;
3603
+ };
3604
+ requestBody?: never;
3605
+ responses: {
3606
+ /** @description Successful Response */
3607
+ 202: {
3608
+ headers: {
3609
+ [name: string]: unknown;
3610
+ };
3611
+ content: {
3612
+ "application/json": components["schemas"]["TelemetryWriteAck"];
3613
+ };
3614
+ };
3615
+ /** @description Malformed request body (not valid JSON). */
3616
+ 400: {
3617
+ headers: {
3618
+ [name: string]: unknown;
3619
+ };
3620
+ content?: never;
3621
+ };
3622
+ /** @description No network config to check the log's ids against. */
3623
+ 404: {
3624
+ headers: {
3625
+ [name: string]: unknown;
3626
+ };
3627
+ content?: never;
3628
+ };
3629
+ /** @description More passes than the per-request record cap. */
3630
+ 413: {
3631
+ headers: {
3632
+ [name: string]: unknown;
3633
+ };
3634
+ content?: never;
3635
+ };
3636
+ /** @description The log has bad rows (invalid_pass_log); nothing was written. */
3637
+ 422: {
3638
+ headers: {
3639
+ [name: string]: unknown;
3640
+ };
3641
+ content?: never;
3642
+ };
3643
+ };
3644
+ };
3645
+ demo_sample_pass_log_telemetry_pass_logs_demo_sample_get: {
3646
+ parameters: {
3647
+ query?: never;
3648
+ header?: never;
3649
+ path?: never;
3650
+ cookie?: never;
3651
+ };
3652
+ requestBody?: never;
3653
+ responses: {
3654
+ /** @description A pass log for the past week. */
3655
+ 200: {
3656
+ headers: {
3657
+ [name: string]: unknown;
3658
+ };
3659
+ content: {
3660
+ "application/json": unknown;
3661
+ "text/csv": unknown;
3662
+ };
3663
+ };
3664
+ /** @description Workflows are off here, or the tenant has no network config. */
3665
+ 404: {
3666
+ headers: {
3667
+ [name: string]: unknown;
3668
+ };
3669
+ content?: never;
3670
+ };
3671
+ /** @description The network config does not hold the demo fleet (not_demo_fleet). */
3672
+ 409: {
3673
+ headers: {
3674
+ [name: string]: unknown;
3675
+ };
3676
+ content?: never;
3677
+ };
3678
+ };
3679
+ };
3680
+ get_topology_topology_get: {
3681
+ parameters: {
3682
+ query?: {
3683
+ /** @description Defaults to now. */
3684
+ as_of_utc?: string | null;
3685
+ freshness_seconds?: number;
3686
+ ground_station_id?: string[];
3687
+ ground_antenna_id?: string[];
3688
+ satellite_id?: string[];
3689
+ /** @description Context layers to add to state, comma-separated: weather, ssa. */
3690
+ layers?: string;
3691
+ };
3692
+ header?: never;
3693
+ path?: never;
3694
+ cookie?: never;
3695
+ };
3696
+ requestBody?: never;
3697
+ responses: {
3698
+ /** @description Successful Response */
3699
+ 200: {
3700
+ headers: {
3701
+ [name: string]: unknown;
3702
+ };
3703
+ content: {
3704
+ "application/json": unknown;
3705
+ };
3706
+ };
3707
+ /** @description Invalid input (invalid_input, with field). */
3708
+ 400: {
3709
+ headers: {
3710
+ [name: string]: unknown;
3711
+ };
3712
+ content?: never;
3713
+ };
3714
+ /** @description Validation Error */
3715
+ 422: {
3716
+ headers: {
3717
+ [name: string]: unknown;
3718
+ };
3719
+ content: {
3720
+ "application/json": components["schemas"]["HTTPValidationError"];
3721
+ };
3722
+ };
3723
+ };
3724
+ };
3725
+ get_network_config_topology_config_get: {
3726
+ parameters: {
3727
+ query?: {
3728
+ version?: number | null;
3729
+ };
3730
+ header?: never;
3731
+ path?: never;
3732
+ cookie?: never;
3733
+ };
3734
+ requestBody?: never;
3735
+ responses: {
3736
+ /** @description Successful Response */
3737
+ 200: {
3738
+ headers: {
3739
+ [name: string]: unknown;
3740
+ };
3741
+ content: {
3742
+ "application/json": {
3743
+ [key: string]: unknown;
3744
+ };
3745
+ };
3746
+ };
3747
+ /** @description No network config was uploaded, or no such version. */
3748
+ 404: {
3749
+ headers: {
3750
+ [name: string]: unknown;
3751
+ };
3752
+ content?: never;
3753
+ };
3754
+ /** @description Validation Error */
3755
+ 422: {
3756
+ headers: {
3757
+ [name: string]: unknown;
3758
+ };
3759
+ content: {
3760
+ "application/json": components["schemas"]["HTTPValidationError"];
3761
+ };
3762
+ };
3763
+ };
3764
+ };
3765
+ put_network_config_topology_config_put: {
3766
+ parameters: {
3767
+ query?: never;
3768
+ header?: never;
3769
+ path?: never;
3770
+ cookie?: never;
3771
+ };
3772
+ requestBody?: never;
3773
+ responses: {
3774
+ /** @description Successful Response */
3775
+ 200: {
3776
+ headers: {
3777
+ [name: string]: unknown;
3778
+ };
3779
+ content: {
3780
+ "application/json": {
3781
+ [key: string]: unknown;
3782
+ };
3783
+ };
3784
+ };
3785
+ /** @description A new version was stored. */
3786
+ 201: {
3787
+ headers: {
3788
+ [name: string]: unknown;
3789
+ };
3790
+ content?: never;
3791
+ };
3792
+ /** @description The plan does not include this many satellites (plan_required). */
3793
+ 403: {
3794
+ headers: {
3795
+ [name: string]: unknown;
3796
+ };
3797
+ content?: never;
3798
+ };
3799
+ /** @description A concurrent write took the version number twice. */
3800
+ 409: {
3801
+ headers: {
3802
+ [name: string]: unknown;
3803
+ };
3804
+ content?: never;
3805
+ };
3806
+ /** @description The body is over 358400 bytes. */
3807
+ 413: {
3808
+ headers: {
3809
+ [name: string]: unknown;
3810
+ };
3811
+ content?: never;
3812
+ };
3813
+ /** @description The body is not a valid network config document. */
3814
+ 422: {
3815
+ headers: {
3816
+ [name: string]: unknown;
3817
+ };
3818
+ content?: never;
3819
+ };
3820
+ /** @description The plan a growing fleet is checked against could not be read. */
3821
+ 503: {
3822
+ headers: {
3823
+ [name: string]: unknown;
3824
+ };
3825
+ content?: never;
3826
+ };
3827
+ };
3828
+ };
3829
+ patch_network_config_topology_config_patch: {
3830
+ parameters: {
3831
+ query?: never;
3832
+ header?: never;
3833
+ path?: never;
3834
+ cookie?: never;
3835
+ };
3836
+ requestBody?: never;
3837
+ responses: {
3838
+ /** @description Successful Response */
3839
+ 200: {
3840
+ headers: {
3841
+ [name: string]: unknown;
3842
+ };
3843
+ content: {
3844
+ "application/json": {
3845
+ [key: string]: unknown;
3846
+ };
3847
+ };
3848
+ };
3849
+ /** @description A new version was stored. */
3850
+ 201: {
3851
+ headers: {
3852
+ [name: string]: unknown;
3853
+ };
3854
+ content?: never;
3855
+ };
3856
+ /** @description The plan does not include this many satellites (plan_required). */
3857
+ 403: {
3858
+ headers: {
3859
+ [name: string]: unknown;
3860
+ };
3861
+ content?: never;
3862
+ };
3863
+ /** @description A concurrent write took the version number twice. */
3864
+ 409: {
3865
+ headers: {
3866
+ [name: string]: unknown;
3867
+ };
3868
+ content?: never;
3869
+ };
3870
+ /** @description The body is over 358400 bytes. */
3871
+ 413: {
3872
+ headers: {
3873
+ [name: string]: unknown;
3874
+ };
3875
+ content?: never;
3876
+ };
3877
+ /** @description The body is not a valid network config document. */
3878
+ 422: {
3879
+ headers: {
3880
+ [name: string]: unknown;
3881
+ };
3882
+ content?: never;
3883
+ };
3884
+ /** @description The plan a growing fleet is checked against could not be read. */
3885
+ 503: {
3886
+ headers: {
3887
+ [name: string]: unknown;
3888
+ };
3889
+ content?: never;
3890
+ };
3891
+ };
3892
+ };
3893
+ load_demo_fleet_topology_demo_fleet_post: {
3894
+ parameters: {
3895
+ query?: never;
3896
+ header?: never;
3897
+ path?: never;
3898
+ cookie?: never;
3899
+ };
3900
+ requestBody?: never;
3901
+ responses: {
3902
+ /** @description The demo network config is in place. `network_config` says whether it was merged now or already held; `telemetry` counts the records posted, or is the refusal of POST /telemetry (its status and body: 403 insufficient_scope for a key without telemetry:write, 429 or 503 while telemetry cannot be written); `workflows` says, per demo workflow, whether it was saved now and how its first run's start was answered. */
3903
+ 200: {
3904
+ headers: {
3905
+ [name: string]: unknown;
3906
+ };
3907
+ content: {
3908
+ "application/json": unknown;
3909
+ };
3910
+ };
3911
+ /** @description The key lacks config:write. */
3912
+ 403: {
3913
+ headers: {
3914
+ [name: string]: unknown;
3915
+ };
3916
+ content?: never;
3917
+ };
3918
+ /** @description The account has a network config of its own (network_config_exists). */
3919
+ 409: {
3920
+ headers: {
3921
+ [name: string]: unknown;
3922
+ };
3923
+ content?: never;
3924
+ };
3925
+ };
3926
+ };
3927
+ list_topology_passes_topology_passes_get: {
3928
+ parameters: {
3929
+ query: {
3930
+ from: string;
3931
+ to: string;
3932
+ step_s: number;
3933
+ satellite_id?: string[] | null;
3934
+ antenna_id?: string[] | null;
3935
+ };
3936
+ header?: never;
3937
+ path?: never;
3938
+ cookie?: never;
3939
+ };
3940
+ requestBody?: never;
3941
+ responses: {
3942
+ /** @description Successful Response */
3943
+ 200: {
3944
+ headers: {
3945
+ [name: string]: unknown;
3946
+ };
3947
+ content: {
3948
+ "application/json": unknown;
3949
+ };
3950
+ };
3951
+ /** @description Malformed request body (not valid JSON). */
3952
+ 400: {
3953
+ headers: {
3954
+ [name: string]: unknown;
3955
+ };
3956
+ content?: never;
3957
+ };
3958
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
3959
+ 403: {
3960
+ headers: {
3961
+ [name: string]: unknown;
3962
+ };
3963
+ content?: never;
3964
+ };
3965
+ /** @description Workflows are off here, or the tenant has no network config. */
3966
+ 404: {
3967
+ headers: {
3968
+ [name: string]: unknown;
3969
+ };
3970
+ content?: never;
3971
+ };
3972
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
3973
+ 409: {
3974
+ headers: {
3975
+ [name: string]: unknown;
3976
+ };
3977
+ content?: never;
3978
+ };
3979
+ /** @description The run's stored data has expired (run_data_expired). */
3980
+ 410: {
3981
+ headers: {
3982
+ [name: string]: unknown;
3983
+ };
3984
+ content?: never;
3985
+ };
3986
+ /** @description A bad window or step, an id the network config does not hold, or more link steps than one listing computes (too_many_link_steps). */
3987
+ 422: {
3988
+ headers: {
3989
+ [name: string]: unknown;
3990
+ };
3991
+ content?: never;
3992
+ };
3993
+ /** @description Too many feed consumers for this account (too_many_consumers). */
3994
+ 429: {
3995
+ headers: {
3996
+ [name: string]: unknown;
3997
+ };
3998
+ content?: never;
3999
+ };
4000
+ };
4001
+ };
4002
+ list_scenarios_topology_scenarios_get: {
4003
+ parameters: {
4004
+ query?: never;
4005
+ header?: never;
4006
+ path?: never;
4007
+ cookie?: never;
4008
+ };
4009
+ requestBody?: never;
4010
+ responses: {
4011
+ /** @description Successful Response */
4012
+ 200: {
4013
+ headers: {
4014
+ [name: string]: unknown;
4015
+ };
4016
+ content: {
4017
+ "application/json": {
4018
+ [key: string]: unknown;
4019
+ };
4020
+ };
4021
+ };
4022
+ /** @description Malformed request body (not valid JSON). */
4023
+ 400: {
4024
+ headers: {
4025
+ [name: string]: unknown;
4026
+ };
4027
+ content?: never;
4028
+ };
4029
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
4030
+ 403: {
4031
+ headers: {
4032
+ [name: string]: unknown;
4033
+ };
4034
+ content?: never;
4035
+ };
4036
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
4037
+ 404: {
4038
+ headers: {
4039
+ [name: string]: unknown;
4040
+ };
4041
+ content?: never;
4042
+ };
4043
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
4044
+ 409: {
4045
+ headers: {
4046
+ [name: string]: unknown;
4047
+ };
4048
+ content?: never;
4049
+ };
4050
+ /** @description The run's stored data has expired (run_data_expired). */
4051
+ 410: {
4052
+ headers: {
4053
+ [name: string]: unknown;
4054
+ };
4055
+ content?: never;
4056
+ };
4057
+ /** @description Too many feed consumers for this account (too_many_consumers). */
4058
+ 429: {
4059
+ headers: {
4060
+ [name: string]: unknown;
4061
+ };
4062
+ content?: never;
4063
+ };
4064
+ };
4065
+ };
4066
+ create_scenario_topology_scenarios_post: {
4067
+ parameters: {
4068
+ query?: never;
4069
+ header?: never;
4070
+ path?: never;
4071
+ cookie?: never;
4072
+ };
4073
+ requestBody: {
4074
+ content: {
4075
+ "application/json": components["schemas"]["Scenario"];
4076
+ };
4077
+ };
4078
+ responses: {
4079
+ /** @description Successful Response */
4080
+ 201: {
4081
+ headers: {
4082
+ [name: string]: unknown;
4083
+ };
4084
+ content: {
4085
+ "application/json": {
4086
+ [key: string]: unknown;
4087
+ };
4088
+ };
4089
+ };
4090
+ /** @description Malformed request body (not valid JSON). */
4091
+ 400: {
4092
+ headers: {
4093
+ [name: string]: unknown;
4094
+ };
4095
+ content?: never;
4096
+ };
4097
+ /** @description The key lacks the scope, is a test key (live_key_required), or the plan does not include the feature (plan_required names the plan that does). */
4098
+ 403: {
4099
+ headers: {
4100
+ [name: string]: unknown;
4101
+ };
4102
+ content?: never;
4103
+ };
4104
+ /** @description An unknown workflow, run, cursor or connector, or workflows are off. */
4105
+ 404: {
4106
+ headers: {
4107
+ [name: string]: unknown;
4108
+ };
4109
+ content?: never;
4110
+ };
4111
+ /** @description A conflict: no finished run yet, a changed manifest, or a run that finished or is already delivering when asked to cancel. */
4112
+ 409: {
4113
+ headers: {
4114
+ [name: string]: unknown;
4115
+ };
4116
+ content?: never;
4117
+ };
4118
+ /** @description The run's stored data has expired (run_data_expired). */
4119
+ 410: {
4120
+ headers: {
4121
+ [name: string]: unknown;
4122
+ };
4123
+ content?: never;
4124
+ };
4125
+ /** @description Validation Error */
4126
+ 422: {
4127
+ headers: {
4128
+ [name: string]: unknown;
4129
+ };
4130
+ content: {
4131
+ "application/json": components["schemas"]["HTTPValidationError"];
4132
+ };
4133
+ };
4134
+ /** @description Too many feed consumers for this account (too_many_consumers). */
4135
+ 429: {
4136
+ headers: {
4137
+ [name: string]: unknown;
4138
+ };
4139
+ content?: never;
4140
+ };
4141
+ };
4142
+ };
4143
+ get_telemetry_v2_topology_series_get: {
4144
+ parameters: {
4145
+ query: {
4146
+ start: string;
4147
+ end: string;
4148
+ ground_station_id?: string[];
4149
+ ground_antenna_id?: string[];
4150
+ satellite_id?: string[];
4151
+ field?: string[];
4152
+ /** @description Aggregate into windows: 15s to 1h. */
4153
+ interval?: string | null;
4154
+ /** @description mean, min, max or last. */
4155
+ agg?: string;
4156
+ };
4157
+ header?: never;
4158
+ path?: never;
4159
+ cookie?: never;
4160
+ };
4161
+ requestBody?: never;
4162
+ responses: {
4163
+ /** @description Successful Response */
4164
+ 200: {
4165
+ headers: {
4166
+ [name: string]: unknown;
4167
+ };
4168
+ content: {
4169
+ "application/json": components["schemas"]["TelemetryRecord"][];
4170
+ };
4171
+ };
4172
+ /** @description Invalid input (invalid_input, with field). */
4173
+ 400: {
4174
+ headers: {
4175
+ [name: string]: unknown;
4176
+ };
4177
+ content?: never;
4178
+ };
4179
+ /** @description Inverted range (invalid_range), a raw span over an hour (interval_required), or a series past the per-series row cap (too_many_points): narrow the window or the ids. */
4180
+ 422: {
4181
+ headers: {
4182
+ [name: string]: unknown;
4183
+ };
4184
+ content?: never;
4185
+ };
4186
+ };
4187
+ };
4188
+ }
4189
+
4190
+ type Schemas = components["schemas"];
4191
+ type CheckIn = Schemas["CheckIn"];
4192
+ type Delivery = Schemas["Delivery"];
4193
+ /**
4194
+ * One result of a run for a connection, item shape constellation.item/v2
4195
+ * (the contract's workflow-result.schema.json). severity, action.verb, action.mode and
4196
+ * action_status are open strings: handle the known values and do not reject a new one.
4197
+ */
4198
+ interface Result {
4199
+ entity: {
4200
+ type: string;
4201
+ id: string;
4202
+ link_id?: string;
4203
+ satellite_id?: string;
4204
+ ground_station_id?: string;
4205
+ antenna_id?: string;
4206
+ source?: string;
4207
+ /** A pass's ground track, when known. */
4208
+ track?: Record<string, unknown>[];
4209
+ [key: string]: unknown;
4210
+ };
4211
+ target_at: string;
4212
+ until?: string;
4213
+ value: {
4214
+ p10?: number | null;
4215
+ p50?: number | null;
4216
+ p90?: number | null;
4217
+ [key: string]: unknown;
4218
+ };
4219
+ explain?: Record<string, Record<string, unknown>>;
4220
+ /** A workflow's item carries workflow_version, a lane's model_release_id; never both. */
4221
+ workflow_version?: number;
4222
+ model_release_id?: string;
4223
+ /** What a lane result's value measures (snr_db, rx_power_dbm) and its unit (dB, dBm). */
4224
+ quantity?: string;
4225
+ unit?: string;
4226
+ series?: {
4227
+ t: string;
4228
+ value: unknown;
4229
+ }[];
4230
+ /** Known values: info, warning, critical; read any other as info. */
4231
+ severity?: "info" | "warning" | "critical" | (string & {});
4232
+ /** A sentence for a person: the swap to make, or why there is none. */
4233
+ note?: string;
4234
+ /** Present on advice and approved items; a held item carries only action_status. */
4235
+ action?: ResultAction | null;
4236
+ /** Known values: pending, approved, rejected. Only approved may be acted on. */
4237
+ action_status?: "pending" | "approved" | "rejected" | (string & {}) | null;
4238
+ /** The action's own id, the same in every run that carries it. */
4239
+ action_id?: string;
4240
+ /** The id of the decision on the action, once approved or rejected: act once per decision_id. */
4241
+ decision_id?: string;
4242
+ [key: string]: unknown;
4243
+ }
4244
+ interface ResultAction {
4245
+ /** Known values: reroute, swap. Skip a verb you do not know. */
4246
+ verb: "reroute" | "swap" | (string & {});
4247
+ /** Known values: suggest, approve. */
4248
+ mode: "suggest" | "approve" | (string & {});
4249
+ from?: string;
4250
+ to?: string | null;
4251
+ to_antenna_id?: string | null;
4252
+ to_at?: string | null;
4253
+ deadline?: string;
4254
+ gain_gb_p10?: number;
4255
+ [key: string]: unknown;
4256
+ }
4257
+ interface OtlpKeyValue {
4258
+ key: string;
4259
+ value: Record<string, unknown>;
4260
+ }
4261
+ interface OtlpLogs {
4262
+ resource?: {
4263
+ attributes?: OtlpKeyValue[];
4264
+ };
4265
+ scopeLogs?: {
4266
+ scope?: {
4267
+ name?: string;
4268
+ };
4269
+ logRecords?: {
4270
+ body: Record<string, unknown>;
4271
+ attributes?: OtlpKeyValue[];
4272
+ }[];
4273
+ }[];
4274
+ }
4275
+ /** An entry of GET /predictions/feed: one finished run's items as an OTLP log request. */
4276
+ interface RawResultsEntry {
4277
+ cursor: string;
4278
+ otlp: {
4279
+ resourceLogs: OtlpLogs[];
4280
+ };
4281
+ next_page?: number;
4282
+ }
4283
+ interface ResultsPage {
4284
+ entries: RawResultsEntry[];
4285
+ next: string;
4286
+ oldest?: string | null;
4287
+ }
4288
+ interface RunInfo {
4289
+ workflow: string | undefined;
4290
+ workflow_version: number | undefined;
4291
+ run_id: string | undefined;
4292
+ window_from: string | undefined;
4293
+ window_to: string | undefined;
4294
+ }
4295
+ /** One feed output of a run for this connection: its items, its settings and the run. */
4296
+ interface ResultsPart {
4297
+ resource: Record<string, unknown>;
4298
+ items: Result[];
4299
+ settings: Record<string, unknown>;
4300
+ run: RunInfo;
4301
+ }
4302
+ /** A run, every page joined, as the parts this reader reads. */
4303
+ interface ResultsEntry {
4304
+ cursor: string;
4305
+ parts: ResultsPart[];
4306
+ }
4307
+ /** A custom bridge's manifest (connector.json): the API's ConnectorManifest plus its version. */
4308
+ type Manifest = Schemas["ConnectorManifest"] & {
4309
+ version?: string;
4310
+ };
4311
+
4312
+ declare const DEFAULT_API_URL = "https://api.constellation.space";
4313
+ interface ClientOptions {
4314
+ /** Sent as x-api-key, never over plain http to another machine. Defaults to CONSTELLATION_API_KEY in Node. */
4315
+ apiKey?: string;
4316
+ /** Defaults to CONSTELLATION_API_URL in Node, else https://api.constellation.space. */
4317
+ baseUrl?: string;
4318
+ /** Retries after a 429, a 5xx or a network failure, with exponential backoff. */
4319
+ retries?: number;
4320
+ retryDelayMs?: number;
4321
+ /** How long one attempt may take, answer read included, before it counts as a network failure (60 s). */
4322
+ timeoutMs?: number;
4323
+ fetch?: typeof fetch;
4324
+ log?: (message: string) => void;
4325
+ }
4326
+ /** A refused or failed API call, carrying the API's error body. */
4327
+ declare class ConstellationError extends Error {
4328
+ readonly status: number;
4329
+ readonly body: unknown;
4330
+ /** The API's machine error, e.g. plan_required, insufficient_scope, unknown_cursor. */
4331
+ readonly code: string | undefined;
4332
+ /** The error object: the body's `detail` when it is an object, else the body. */
4333
+ readonly detail: Record<string, any>;
4334
+ constructor(status: number, body: unknown, apiUrl?: string);
4335
+ /** 401 or 403: neither clears by asking again, so a bridge stops on one. */
4336
+ get refused(): boolean;
4337
+ }
4338
+ declare class Client {
4339
+ readonly baseUrl: string;
4340
+ private readonly apiKey;
4341
+ private readonly retries;
4342
+ private readonly retryDelayMs;
4343
+ private readonly timeoutMs;
4344
+ private readonly fetchFn;
4345
+ readonly log: (message: string) => void;
4346
+ constructor(options?: ClientOptions);
4347
+ /** Whether it has an API key to send. */
4348
+ get hasKey(): boolean;
4349
+ /** Any API call: `query` values left undefined are dropped. Returns the parsed JSON body, or undefined. */
4350
+ request<T = any>(method: string, path: string, options?: {
4351
+ query?: Record<string, string | number | undefined>;
4352
+ body?: unknown;
4353
+ }): Promise<T>;
4354
+ /**
4355
+ * One page of workflow results after `after`: whole entries, or first pages when `pageRecords` is set.
4356
+ * `from: "latest"` asks where a first start reads from instead: no entries, and `next` just before
4357
+ * the newest run with something for `consumer`.
4358
+ */
4359
+ resultsPage(options?: {
4360
+ after?: string;
4361
+ consumer?: string;
4362
+ limit?: number;
4363
+ pageRecords?: number;
4364
+ from?: "latest";
4365
+ }): Promise<ResultsPage>;
4366
+ /**
4367
+ * Runs with results after `after`, oldest first, each joined whole and unpacked; a cursor older than
4368
+ * the oldest entry the feed holds is logged (the runs between expired unread). Ends when the API
4369
+ * has no more, unless `pollMs` is set: then it waits that long and asks again, for as long as the
4370
+ * caller iterates or until `signal` aborts.
4371
+ */
4372
+ results(options?: {
4373
+ after?: string;
4374
+ consumer?: string;
4375
+ pollMs?: number;
4376
+ signal?: AbortSignal;
4377
+ }): AsyncGenerator<ResultsEntry>;
4378
+ /** Registers a custom bridge's manifest; it waits for approval on Integrations. */
4379
+ checkIn(manifest: Manifest): Promise<void>;
4380
+ /** Tells Constellation what the run at `cursor` became in the system, shown in Constellation. */
4381
+ report(consumer: string, cursor: string, applied: Record<string, number>, target: string): Promise<void>;
4382
+ }
4383
+
4384
+ /** The item shape this client reads; a part in another is skipped and logged, never guessed at. */
4385
+ declare const SCHEMA = "constellation.item/v2";
4386
+ /** The most records the API sends in one page of a run; it pages a run with more. */
4387
+ declare const PAGE_RECORDS = 400;
4388
+ type ActionState = "advice" | "approved" | "pending" | "rejected" | null;
4389
+ /**
4390
+ * What an item's action is to a bridge. "advice": suggested, never an instruction. "approved": a
4391
+ * person approved it, an instruction to carry out. "pending": held for approval. "rejected": the
4392
+ * original stands. null: no action. Any status other than approved or rejected counts as held,
4393
+ * so an item a bridge cannot read is never taken for a plain forecast.
4394
+ */
4395
+ declare function actionState(item: Pick<Result, "action" | "action_status">): ActionState;
4396
+ /** An OTLP AnyValue back to plain JSON. */
4397
+ declare function plain(value: Record<string, any>): unknown;
4398
+ /**
4399
+ * An entry's parts: each resourceLogs whose constellation.connection is `consumer` (every one when
4400
+ * no consumer is given). A part in an item shape this client does not read is skipped and logged.
4401
+ */
4402
+ declare function unpack(entry: RawResultsEntry, consumer: string | undefined, log: (m: string) => void): ResultsPart[];
4403
+ /** `entry` with every page of its run joined in, each page's records added to their own resource. */
4404
+ declare function whole(entry: RawResultsEntry, fetchPage: (cursor: string, page: number) => Promise<RawResultsEntry>): Promise<RawResultsEntry>;
4405
+
4406
+ export { type ActionState, type CheckIn, Client, type ClientOptions, ConstellationError, DEFAULT_API_URL, type Delivery, type Manifest, type OtlpKeyValue, type OtlpLogs, PAGE_RECORDS, type RawResultsEntry, type Result, type ResultAction, type ResultsEntry, type ResultsPage, type ResultsPart, type RunInfo, SCHEMA, type Schemas, actionState, type components, type paths, plain, unpack, whole };