@mootup/moot-sdk 0.1.0-rc.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.
package/openapi.yaml ADDED
@@ -0,0 +1,3059 @@
1
+ openapi: 3.1.0
2
+ info:
3
+ title: Convo Space API
4
+ version: 0.2.0
5
+ paths:
6
+ /health:
7
+ get:
8
+ summary: Health
9
+ description: Health check — no auth required. Used by deploy scripts and monitoring.
10
+ operationId: health_health_get
11
+ responses:
12
+ '200':
13
+ description: Successful Response
14
+ content:
15
+ application/json:
16
+ schema:
17
+ additionalProperties: true
18
+ type: object
19
+ title: Response Health Health Get
20
+ /api/spaces/{space_id}/events/stream:
21
+ get:
22
+ summary: Stream Events
23
+ operationId: stream_events_api_spaces__space_id__events_stream_get
24
+ parameters:
25
+ - name: space_id
26
+ in: path
27
+ required: true
28
+ schema:
29
+ type: string
30
+ title: Space Id
31
+ responses:
32
+ '200':
33
+ description: Successful Response
34
+ content:
35
+ application/json:
36
+ schema: {}
37
+ '422':
38
+ description: Validation Error
39
+ content:
40
+ application/json:
41
+ schema:
42
+ $ref: '#/components/schemas/HTTPValidationError'
43
+ /api/spaces:
44
+ get:
45
+ summary: List Spaces
46
+ operationId: list_spaces_api_spaces_get
47
+ parameters:
48
+ - name: status
49
+ in: query
50
+ required: false
51
+ schema:
52
+ anyOf:
53
+ - type: string
54
+ - type: 'null'
55
+ description: Filter by status (active, paused, archived)
56
+ title: Status
57
+ description: Filter by status (active, paused, archived)
58
+ responses:
59
+ '200':
60
+ description: Successful Response
61
+ content:
62
+ application/json:
63
+ schema:
64
+ type: array
65
+ items:
66
+ type: object
67
+ additionalProperties: true
68
+ title: Response List Spaces Api Spaces Get
69
+ '422':
70
+ description: Validation Error
71
+ content:
72
+ application/json:
73
+ schema:
74
+ $ref: '#/components/schemas/HTTPValidationError'
75
+ post:
76
+ summary: Create Space
77
+ operationId: create_space_api_spaces_post
78
+ requestBody:
79
+ required: true
80
+ content:
81
+ application/json:
82
+ schema:
83
+ $ref: '#/components/schemas/CreateSpaceRequest'
84
+ responses:
85
+ '200':
86
+ description: Successful Response
87
+ content:
88
+ application/json:
89
+ schema:
90
+ type: object
91
+ additionalProperties: true
92
+ title: Response Create Space Api Spaces Post
93
+ '422':
94
+ description: Validation Error
95
+ content:
96
+ application/json:
97
+ schema:
98
+ $ref: '#/components/schemas/HTTPValidationError'
99
+ /api/spaces/{space_id}/status:
100
+ get:
101
+ summary: Get Status
102
+ operationId: get_status_api_spaces__space_id__status_get
103
+ parameters:
104
+ - name: space_id
105
+ in: path
106
+ required: true
107
+ schema:
108
+ type: string
109
+ title: Space Id
110
+ responses:
111
+ '200':
112
+ description: Successful Response
113
+ content:
114
+ application/json:
115
+ schema:
116
+ type: object
117
+ additionalProperties: true
118
+ title: Response Get Status Api Spaces Space Id Status Get
119
+ '422':
120
+ description: Validation Error
121
+ content:
122
+ application/json:
123
+ schema:
124
+ $ref: '#/components/schemas/HTTPValidationError'
125
+ /api/spaces/{space_id}:
126
+ patch:
127
+ summary: Update Space
128
+ operationId: update_space_api_spaces__space_id__patch
129
+ parameters:
130
+ - name: space_id
131
+ in: path
132
+ required: true
133
+ schema:
134
+ type: string
135
+ title: Space Id
136
+ requestBody:
137
+ required: true
138
+ content:
139
+ application/json:
140
+ schema:
141
+ $ref: '#/components/schemas/UpdateSpaceRequest'
142
+ responses:
143
+ '200':
144
+ description: Successful Response
145
+ content:
146
+ application/json:
147
+ schema:
148
+ type: object
149
+ additionalProperties: true
150
+ title: Response Update Space Api Spaces Space Id Patch
151
+ '422':
152
+ description: Validation Error
153
+ content:
154
+ application/json:
155
+ schema:
156
+ $ref: '#/components/schemas/HTTPValidationError'
157
+ /api/spaces/{space_id}/archive:
158
+ post:
159
+ summary: Archive Space
160
+ operationId: archive_space_api_spaces__space_id__archive_post
161
+ parameters:
162
+ - name: space_id
163
+ in: path
164
+ required: true
165
+ schema:
166
+ type: string
167
+ title: Space Id
168
+ responses:
169
+ '200':
170
+ description: Successful Response
171
+ content:
172
+ application/json:
173
+ schema:
174
+ type: object
175
+ additionalProperties: true
176
+ title: Response Archive Space Api Spaces Space Id Archive Post
177
+ '422':
178
+ description: Validation Error
179
+ content:
180
+ application/json:
181
+ schema:
182
+ $ref: '#/components/schemas/HTTPValidationError'
183
+ /api/spaces/{space_id}/events:
184
+ get:
185
+ summary: Get Events
186
+ operationId: get_events_api_spaces__space_id__events_get
187
+ parameters:
188
+ - name: space_id
189
+ in: path
190
+ required: true
191
+ schema:
192
+ type: string
193
+ title: Space Id
194
+ - name: since
195
+ in: query
196
+ required: false
197
+ schema:
198
+ anyOf:
199
+ - type: string
200
+ - type: 'null'
201
+ description: Event ID cursor — return events after this
202
+ title: Since
203
+ description: Event ID cursor — return events after this
204
+ - name: before
205
+ in: query
206
+ required: false
207
+ schema:
208
+ anyOf:
209
+ - type: string
210
+ - type: 'null'
211
+ description: Event ID cursor — return events before this
212
+ title: Before
213
+ description: Event ID cursor — return events before this
214
+ - name: limit
215
+ in: query
216
+ required: false
217
+ schema:
218
+ type: integer
219
+ maximum: 200
220
+ minimum: 1
221
+ default: 50
222
+ title: Limit
223
+ responses:
224
+ '200':
225
+ description: Successful Response
226
+ content:
227
+ application/json:
228
+ schema:
229
+ type: array
230
+ items:
231
+ type: object
232
+ additionalProperties: true
233
+ title: Response Get Events Api Spaces Space Id Events Get
234
+ '422':
235
+ description: Validation Error
236
+ content:
237
+ application/json:
238
+ schema:
239
+ $ref: '#/components/schemas/HTTPValidationError'
240
+ post:
241
+ summary: Add Event
242
+ operationId: add_event_api_spaces__space_id__events_post
243
+ parameters:
244
+ - name: space_id
245
+ in: path
246
+ required: true
247
+ schema:
248
+ type: string
249
+ title: Space Id
250
+ requestBody:
251
+ required: true
252
+ content:
253
+ application/json:
254
+ schema:
255
+ $ref: '#/components/schemas/AddEventRequest'
256
+ responses:
257
+ '200':
258
+ description: Successful Response
259
+ content:
260
+ application/json:
261
+ schema:
262
+ type: object
263
+ additionalProperties: true
264
+ title: Response Add Event Api Spaces Space Id Events Post
265
+ '422':
266
+ description: Validation Error
267
+ content:
268
+ application/json:
269
+ schema:
270
+ $ref: '#/components/schemas/HTTPValidationError'
271
+ /api/spaces/{space_id}/transcript:
272
+ get:
273
+ summary: Get Transcript
274
+ operationId: get_transcript_api_spaces__space_id__transcript_get
275
+ parameters:
276
+ - name: space_id
277
+ in: path
278
+ required: true
279
+ schema:
280
+ type: string
281
+ title: Space Id
282
+ - name: start
283
+ in: query
284
+ required: false
285
+ schema:
286
+ anyOf:
287
+ - type: string
288
+ - type: 'null'
289
+ title: Start
290
+ - name: end
291
+ in: query
292
+ required: false
293
+ schema:
294
+ anyOf:
295
+ - type: string
296
+ - type: 'null'
297
+ title: End
298
+ responses:
299
+ '200':
300
+ description: Successful Response
301
+ content:
302
+ application/json:
303
+ schema:
304
+ type: array
305
+ items:
306
+ type: object
307
+ additionalProperties: true
308
+ title: Response Get Transcript Api Spaces Space Id Transcript Get
309
+ '422':
310
+ description: Validation Error
311
+ content:
312
+ application/json:
313
+ schema:
314
+ $ref: '#/components/schemas/HTTPValidationError'
315
+ /api/spaces/{space_id}/participants:
316
+ get:
317
+ summary: Get Participants
318
+ operationId: get_participants_api_spaces__space_id__participants_get
319
+ parameters:
320
+ - name: space_id
321
+ in: path
322
+ required: true
323
+ schema:
324
+ type: string
325
+ title: Space Id
326
+ responses:
327
+ '200':
328
+ description: Successful Response
329
+ content:
330
+ application/json:
331
+ schema:
332
+ type: array
333
+ items:
334
+ type: object
335
+ additionalProperties: true
336
+ title: Response Get Participants Api Spaces Space Id Participants
337
+ Get
338
+ '422':
339
+ description: Validation Error
340
+ content:
341
+ application/json:
342
+ schema:
343
+ $ref: '#/components/schemas/HTTPValidationError'
344
+ /api/spaces/{space_id}/participants/{participant_id}/status:
345
+ patch:
346
+ summary: Update Participant Status
347
+ operationId: update_participant_status_api_spaces__space_id__participants__participant_id__status_patch
348
+ parameters:
349
+ - name: space_id
350
+ in: path
351
+ required: true
352
+ schema:
353
+ type: string
354
+ title: Space Id
355
+ - name: participant_id
356
+ in: path
357
+ required: true
358
+ schema:
359
+ type: string
360
+ title: Participant Id
361
+ requestBody:
362
+ required: true
363
+ content:
364
+ application/json:
365
+ schema:
366
+ $ref: '#/components/schemas/UpdateParticipantStatusRequest'
367
+ responses:
368
+ '200':
369
+ description: Successful Response
370
+ content:
371
+ application/json:
372
+ schema:
373
+ type: object
374
+ additionalProperties: true
375
+ title: Response Update Participant Status Api Spaces Space Id Participants Participant
376
+ Id Status Patch
377
+ '422':
378
+ description: Validation Error
379
+ content:
380
+ application/json:
381
+ schema:
382
+ $ref: '#/components/schemas/HTTPValidationError'
383
+ /api/spaces/{space_id}/participants/{participant_id}/heartbeat:
384
+ post:
385
+ summary: Participant Heartbeat
386
+ description: Touch status_updated_at without changing status text.
387
+ operationId: participant_heartbeat_api_spaces__space_id__participants__participant_id__heartbeat_post
388
+ parameters:
389
+ - name: space_id
390
+ in: path
391
+ required: true
392
+ schema:
393
+ type: string
394
+ title: Space Id
395
+ - name: participant_id
396
+ in: path
397
+ required: true
398
+ schema:
399
+ type: string
400
+ title: Participant Id
401
+ responses:
402
+ '200':
403
+ description: Successful Response
404
+ content:
405
+ application/json:
406
+ schema:
407
+ type: object
408
+ additionalProperties: true
409
+ title: Response Participant Heartbeat Api Spaces Space Id Participants Participant
410
+ Id Heartbeat Post
411
+ '422':
412
+ description: Validation Error
413
+ content:
414
+ application/json:
415
+ schema:
416
+ $ref: '#/components/schemas/HTTPValidationError'
417
+ /api/spaces/{space_id}/speech:
418
+ post:
419
+ summary: Add Speech
420
+ operationId: add_speech_api_spaces__space_id__speech_post
421
+ parameters:
422
+ - name: space_id
423
+ in: path
424
+ required: true
425
+ schema:
426
+ type: string
427
+ title: Space Id
428
+ requestBody:
429
+ required: true
430
+ content:
431
+ application/json:
432
+ schema:
433
+ $ref: '#/components/schemas/AddSpeechRequest'
434
+ responses:
435
+ '200':
436
+ description: Successful Response
437
+ content:
438
+ application/json:
439
+ schema:
440
+ type: object
441
+ additionalProperties: true
442
+ title: Response Add Speech Api Spaces Space Id Speech Post
443
+ '422':
444
+ description: Validation Error
445
+ content:
446
+ application/json:
447
+ schema:
448
+ $ref: '#/components/schemas/HTTPValidationError'
449
+ /api/spaces/{space_id}/response:
450
+ post:
451
+ summary: Post Response
452
+ operationId: post_response_api_spaces__space_id__response_post
453
+ parameters:
454
+ - name: space_id
455
+ in: path
456
+ required: true
457
+ schema:
458
+ type: string
459
+ title: Space Id
460
+ requestBody:
461
+ required: true
462
+ content:
463
+ application/json:
464
+ schema:
465
+ $ref: '#/components/schemas/PostResponseRequest'
466
+ responses:
467
+ '200':
468
+ description: Successful Response
469
+ content:
470
+ application/json:
471
+ schema:
472
+ type: object
473
+ additionalProperties: true
474
+ title: Response Post Response Api Spaces Space Id Response Post
475
+ '422':
476
+ description: Validation Error
477
+ content:
478
+ application/json:
479
+ schema:
480
+ $ref: '#/components/schemas/HTTPValidationError'
481
+ /api/spaces/{space_id}/join:
482
+ post:
483
+ summary: Join Space
484
+ operationId: join_space_api_spaces__space_id__join_post
485
+ parameters:
486
+ - name: space_id
487
+ in: path
488
+ required: true
489
+ schema:
490
+ type: string
491
+ title: Space Id
492
+ requestBody:
493
+ required: true
494
+ content:
495
+ application/json:
496
+ schema:
497
+ $ref: '#/components/schemas/JoinSpaceRequest'
498
+ responses:
499
+ '200':
500
+ description: Successful Response
501
+ content:
502
+ application/json:
503
+ schema:
504
+ type: object
505
+ additionalProperties: true
506
+ title: Response Join Space Api Spaces Space Id Join Post
507
+ '422':
508
+ description: Validation Error
509
+ content:
510
+ application/json:
511
+ schema:
512
+ $ref: '#/components/schemas/HTTPValidationError'
513
+ /api/spaces/{space_id}/links:
514
+ post:
515
+ summary: Create Link
516
+ operationId: create_link_api_spaces__space_id__links_post
517
+ parameters:
518
+ - name: space_id
519
+ in: path
520
+ required: true
521
+ schema:
522
+ type: string
523
+ title: Space Id
524
+ requestBody:
525
+ required: true
526
+ content:
527
+ application/json:
528
+ schema:
529
+ $ref: '#/components/schemas/CreateLinkRequest'
530
+ responses:
531
+ '200':
532
+ description: Successful Response
533
+ content:
534
+ application/json:
535
+ schema:
536
+ type: object
537
+ additionalProperties: true
538
+ title: Response Create Link Api Spaces Space Id Links Post
539
+ '422':
540
+ description: Validation Error
541
+ content:
542
+ application/json:
543
+ schema:
544
+ $ref: '#/components/schemas/HTTPValidationError'
545
+ get:
546
+ summary: List Links
547
+ operationId: list_links_api_spaces__space_id__links_get
548
+ parameters:
549
+ - name: space_id
550
+ in: path
551
+ required: true
552
+ schema:
553
+ type: string
554
+ title: Space Id
555
+ - name: link_type
556
+ in: query
557
+ required: false
558
+ schema:
559
+ anyOf:
560
+ - type: string
561
+ - type: 'null'
562
+ description: Filter by link type
563
+ title: Link Type
564
+ description: Filter by link type
565
+ responses:
566
+ '200':
567
+ description: Successful Response
568
+ content:
569
+ application/json:
570
+ schema:
571
+ type: array
572
+ items:
573
+ type: object
574
+ additionalProperties: true
575
+ title: Response List Links Api Spaces Space Id Links Get
576
+ '422':
577
+ description: Validation Error
578
+ content:
579
+ application/json:
580
+ schema:
581
+ $ref: '#/components/schemas/HTTPValidationError'
582
+ /api/spaces/{space_id}/links/{link_id}:
583
+ delete:
584
+ summary: Delete Link
585
+ operationId: delete_link_api_spaces__space_id__links__link_id__delete
586
+ parameters:
587
+ - name: space_id
588
+ in: path
589
+ required: true
590
+ schema:
591
+ type: string
592
+ title: Space Id
593
+ - name: link_id
594
+ in: path
595
+ required: true
596
+ schema:
597
+ type: string
598
+ title: Link Id
599
+ responses:
600
+ '200':
601
+ description: Successful Response
602
+ content:
603
+ application/json:
604
+ schema:
605
+ type: object
606
+ additionalProperties: true
607
+ title: Response Delete Link Api Spaces Space Id Links Link Id Delete
608
+ '422':
609
+ description: Validation Error
610
+ content:
611
+ application/json:
612
+ schema:
613
+ $ref: '#/components/schemas/HTTPValidationError'
614
+ /api/spaces/{space_id}/events/{event_id}:
615
+ get:
616
+ summary: Get Event
617
+ operationId: get_event_api_spaces__space_id__events__event_id__get
618
+ parameters:
619
+ - name: space_id
620
+ in: path
621
+ required: true
622
+ schema:
623
+ type: string
624
+ title: Space Id
625
+ - name: event_id
626
+ in: path
627
+ required: true
628
+ schema:
629
+ type: string
630
+ title: Event Id
631
+ responses:
632
+ '200':
633
+ description: Successful Response
634
+ content:
635
+ application/json:
636
+ schema:
637
+ type: object
638
+ additionalProperties: true
639
+ title: Response Get Event Api Spaces Space Id Events Event Id Get
640
+ '422':
641
+ description: Validation Error
642
+ content:
643
+ application/json:
644
+ schema:
645
+ $ref: '#/components/schemas/HTTPValidationError'
646
+ /api/spaces/{space_id}/mentions/{participant_id}:
647
+ get:
648
+ summary: Get Mentions
649
+ operationId: get_mentions_api_spaces__space_id__mentions__participant_id__get
650
+ parameters:
651
+ - name: space_id
652
+ in: path
653
+ required: true
654
+ schema:
655
+ type: string
656
+ title: Space Id
657
+ - name: participant_id
658
+ in: path
659
+ required: true
660
+ schema:
661
+ type: string
662
+ title: Participant Id
663
+ - name: since
664
+ in: query
665
+ required: false
666
+ schema:
667
+ anyOf:
668
+ - type: string
669
+ - type: 'null'
670
+ description: Event ID cursor
671
+ title: Since
672
+ description: Event ID cursor
673
+ - name: limit
674
+ in: query
675
+ required: false
676
+ schema:
677
+ type: integer
678
+ maximum: 100
679
+ minimum: 1
680
+ default: 20
681
+ title: Limit
682
+ responses:
683
+ '200':
684
+ description: Successful Response
685
+ content:
686
+ application/json:
687
+ schema:
688
+ type: array
689
+ items:
690
+ type: object
691
+ additionalProperties: true
692
+ title: Response Get Mentions Api Spaces Space Id Mentions Participant
693
+ Id Get
694
+ '422':
695
+ description: Validation Error
696
+ content:
697
+ application/json:
698
+ schema:
699
+ $ref: '#/components/schemas/HTTPValidationError'
700
+ /api/spaces/{space_id}/activity:
701
+ get:
702
+ summary: Get Activity
703
+ operationId: get_activity_api_spaces__space_id__activity_get
704
+ parameters:
705
+ - name: space_id
706
+ in: path
707
+ required: true
708
+ schema:
709
+ type: string
710
+ title: Space Id
711
+ - name: since
712
+ in: query
713
+ required: false
714
+ schema:
715
+ anyOf:
716
+ - type: string
717
+ - type: 'null'
718
+ description: 'ISO 8601 timestamp — only events after this time (default:
719
+ 1 hour ago)'
720
+ title: Since
721
+ description: 'ISO 8601 timestamp — only events after this time (default: 1
722
+ hour ago)'
723
+ - name: max_events
724
+ in: query
725
+ required: false
726
+ schema:
727
+ type: integer
728
+ maximum: 20
729
+ minimum: 1
730
+ description: Max events per participant
731
+ default: 5
732
+ title: Max Events
733
+ description: Max events per participant
734
+ responses:
735
+ '200':
736
+ description: Successful Response
737
+ content:
738
+ application/json:
739
+ schema:
740
+ type: object
741
+ additionalProperties: true
742
+ title: Response Get Activity Api Spaces Space Id Activity Get
743
+ '422':
744
+ description: Validation Error
745
+ content:
746
+ application/json:
747
+ schema:
748
+ $ref: '#/components/schemas/HTTPValidationError'
749
+ /api/spaces/{space_id}/summary:
750
+ get:
751
+ summary: Get Summary
752
+ operationId: get_summary_api_spaces__space_id__summary_get
753
+ parameters:
754
+ - name: space_id
755
+ in: path
756
+ required: true
757
+ schema:
758
+ type: string
759
+ title: Space Id
760
+ - name: start
761
+ in: query
762
+ required: false
763
+ schema:
764
+ anyOf:
765
+ - type: string
766
+ - type: 'null'
767
+ description: Window start (ISO 8601)
768
+ title: Start
769
+ description: Window start (ISO 8601)
770
+ - name: end
771
+ in: query
772
+ required: false
773
+ schema:
774
+ anyOf:
775
+ - type: string
776
+ - type: 'null'
777
+ description: Window end (ISO 8601)
778
+ title: End
779
+ description: Window end (ISO 8601)
780
+ - name: regenerate
781
+ in: query
782
+ required: false
783
+ schema:
784
+ type: boolean
785
+ description: Force regenerate, bypass cache
786
+ default: false
787
+ title: Regenerate
788
+ description: Force regenerate, bypass cache
789
+ responses:
790
+ '200':
791
+ description: Successful Response
792
+ content:
793
+ application/json:
794
+ schema:
795
+ type: object
796
+ additionalProperties: true
797
+ title: Response Get Summary Api Spaces Space Id Summary Get
798
+ '422':
799
+ description: Validation Error
800
+ content:
801
+ application/json:
802
+ schema:
803
+ $ref: '#/components/schemas/HTTPValidationError'
804
+ /api/actors:
805
+ post:
806
+ summary: Register Actor
807
+ operationId: register_actor_api_actors_post
808
+ requestBody:
809
+ content:
810
+ application/json:
811
+ schema:
812
+ $ref: '#/components/schemas/RegisterActorRequest'
813
+ required: true
814
+ responses:
815
+ '200':
816
+ description: Successful Response
817
+ content:
818
+ application/json:
819
+ schema:
820
+ additionalProperties: true
821
+ type: object
822
+ title: Response Register Actor Api Actors Post
823
+ '422':
824
+ description: Validation Error
825
+ content:
826
+ application/json:
827
+ schema:
828
+ $ref: '#/components/schemas/HTTPValidationError'
829
+ /api/actors/me:
830
+ get:
831
+ summary: Get Me
832
+ operationId: get_me_api_actors_me_get
833
+ responses:
834
+ '200':
835
+ description: Successful Response
836
+ content:
837
+ application/json:
838
+ schema:
839
+ additionalProperties: true
840
+ type: object
841
+ title: Response Get Me Api Actors Me Get
842
+ /api/actors/me/heartbeat:
843
+ post:
844
+ summary: Actor Heartbeat
845
+ description: Touch last_seen_at on the actor. Actor-level, not space-specific.
846
+ operationId: actor_heartbeat_api_actors_me_heartbeat_post
847
+ responses:
848
+ '200':
849
+ description: Successful Response
850
+ content:
851
+ application/json:
852
+ schema:
853
+ additionalProperties: true
854
+ type: object
855
+ title: Response Actor Heartbeat Api Actors Me Heartbeat Post
856
+ /api/actors/me/spaces:
857
+ get:
858
+ summary: Get My Spaces
859
+ description: List spaces the authenticated actor participates in.
860
+ operationId: get_my_spaces_api_actors_me_spaces_get
861
+ parameters:
862
+ - name: status
863
+ in: query
864
+ required: false
865
+ schema:
866
+ anyOf:
867
+ - type: string
868
+ - type: 'null'
869
+ description: Filter by space status
870
+ title: Status
871
+ description: Filter by space status
872
+ responses:
873
+ '200':
874
+ description: Successful Response
875
+ content:
876
+ application/json:
877
+ schema:
878
+ type: array
879
+ items:
880
+ type: object
881
+ additionalProperties: true
882
+ title: Response Get My Spaces Api Actors Me Spaces Get
883
+ '422':
884
+ description: Validation Error
885
+ content:
886
+ application/json:
887
+ schema:
888
+ $ref: '#/components/schemas/HTTPValidationError'
889
+ /api/actors/me/agents:
890
+ get:
891
+ summary: Get My Agents
892
+ operationId: get_my_agents_api_actors_me_agents_get
893
+ responses:
894
+ '200':
895
+ description: Successful Response
896
+ content:
897
+ application/json:
898
+ schema:
899
+ items:
900
+ additionalProperties: true
901
+ type: object
902
+ type: array
903
+ title: Response Get My Agents Api Actors Me Agents Get
904
+ /api/actors/me/orientation:
905
+ get:
906
+ summary: Get Orientation
907
+ description: Return everything an agent needs to start working in one call.
908
+ operationId: get_orientation_api_actors_me_orientation_get
909
+ responses:
910
+ '200':
911
+ description: Successful Response
912
+ content:
913
+ application/json:
914
+ schema:
915
+ additionalProperties: true
916
+ type: object
917
+ title: Response Get Orientation Api Actors Me Orientation Get
918
+ /api/actors/focus:
919
+ put:
920
+ summary: Set Focus
921
+ description: Set focus_space_id for multiple agents. Sponsor only.
922
+ operationId: set_focus_api_actors_focus_put
923
+ requestBody:
924
+ content:
925
+ application/json:
926
+ schema:
927
+ $ref: '#/components/schemas/SetFocusRequest'
928
+ required: true
929
+ responses:
930
+ '200':
931
+ description: Successful Response
932
+ content:
933
+ application/json:
934
+ schema:
935
+ additionalProperties: true
936
+ type: object
937
+ title: Response Set Focus Api Actors Focus Put
938
+ '422':
939
+ description: Validation Error
940
+ content:
941
+ application/json:
942
+ schema:
943
+ $ref: '#/components/schemas/HTTPValidationError'
944
+ /api/actors/{actor_id}:
945
+ patch:
946
+ summary: Update Actor
947
+ operationId: update_actor_api_actors__actor_id__patch
948
+ parameters:
949
+ - name: actor_id
950
+ in: path
951
+ required: true
952
+ schema:
953
+ type: string
954
+ title: Actor Id
955
+ requestBody:
956
+ required: true
957
+ content:
958
+ application/json:
959
+ schema:
960
+ $ref: '#/components/schemas/UpdateActorRequest'
961
+ responses:
962
+ '200':
963
+ description: Successful Response
964
+ content:
965
+ application/json:
966
+ schema:
967
+ type: object
968
+ additionalProperties: true
969
+ title: Response Update Actor Api Actors Actor Id Patch
970
+ '422':
971
+ description: Validation Error
972
+ content:
973
+ application/json:
974
+ schema:
975
+ $ref: '#/components/schemas/HTTPValidationError'
976
+ delete:
977
+ summary: Delete Actor
978
+ operationId: delete_actor_api_actors__actor_id__delete
979
+ parameters:
980
+ - name: actor_id
981
+ in: path
982
+ required: true
983
+ schema:
984
+ type: string
985
+ title: Actor Id
986
+ responses:
987
+ '200':
988
+ description: Successful Response
989
+ content:
990
+ application/json:
991
+ schema:
992
+ type: object
993
+ additionalProperties: true
994
+ title: Response Delete Actor Api Actors Actor Id Delete
995
+ '422':
996
+ description: Validation Error
997
+ content:
998
+ application/json:
999
+ schema:
1000
+ $ref: '#/components/schemas/HTTPValidationError'
1001
+ /api/agents/{agent_id}/first-key:
1002
+ post:
1003
+ summary: First Key
1004
+ description: 'Issue the initial API key for a keyless agent.
1005
+
1006
+
1007
+ Authorization: caller must be the agent''s sponsor. Returns the
1008
+
1009
+ plaintext key (one-time). 409 if the agent already has a key.
1010
+
1011
+
1012
+ Used by moot-cli on first `moot up` to claim the agents provisioned
1013
+
1014
+ by default-space provisioning. See
1015
+
1016
+ ``docs/specs/default-space-provisioning.md`` D10/D14.'
1017
+ operationId: first_key_api_agents__agent_id__first_key_post
1018
+ parameters:
1019
+ - name: agent_id
1020
+ in: path
1021
+ required: true
1022
+ schema:
1023
+ type: string
1024
+ title: Agent Id
1025
+ responses:
1026
+ '200':
1027
+ description: Successful Response
1028
+ content:
1029
+ application/json:
1030
+ schema:
1031
+ type: object
1032
+ additionalProperties: true
1033
+ title: Response First Key Api Agents Agent Id First Key Post
1034
+ '422':
1035
+ description: Validation Error
1036
+ content:
1037
+ application/json:
1038
+ schema:
1039
+ $ref: '#/components/schemas/HTTPValidationError'
1040
+ /api/actors/{actor_id}/rotate-key:
1041
+ post:
1042
+ summary: Rotate Key
1043
+ operationId: rotate_key_api_actors__actor_id__rotate_key_post
1044
+ parameters:
1045
+ - name: actor_id
1046
+ in: path
1047
+ required: true
1048
+ schema:
1049
+ type: string
1050
+ title: Actor Id
1051
+ responses:
1052
+ '200':
1053
+ description: Successful Response
1054
+ content:
1055
+ application/json:
1056
+ schema:
1057
+ type: object
1058
+ additionalProperties: true
1059
+ title: Response Rotate Key Api Actors Actor Id Rotate Key Post
1060
+ '422':
1061
+ description: Validation Error
1062
+ content:
1063
+ application/json:
1064
+ schema:
1065
+ $ref: '#/components/schemas/HTTPValidationError'
1066
+ /api/actors/{actor_id}/release:
1067
+ post:
1068
+ summary: Release Agent
1069
+ description: 'Release an agent identity, marking it available for another installation
1070
+ to claim.
1071
+
1072
+
1073
+ Ownership: sponsor (or admin, if they sponsor the agent). Humans cannot
1074
+
1075
+ be released — ``is_connected`` is an agent-only concept. Idempotent:
1076
+
1077
+ releasing an already-released agent returns ``status="already_released"``.
1078
+
1079
+
1080
+ Does NOT invalidate the current key. The currently-holding installation
1081
+
1082
+ can finish its work; the next rotate-key call (from any installation)
1083
+
1084
+ will succeed without the force header because ``is_connected`` is now
1085
+
1086
+ FALSE.'
1087
+ operationId: release_agent_api_actors__actor_id__release_post
1088
+ parameters:
1089
+ - name: actor_id
1090
+ in: path
1091
+ required: true
1092
+ schema:
1093
+ type: string
1094
+ title: Actor Id
1095
+ responses:
1096
+ '200':
1097
+ description: Successful Response
1098
+ content:
1099
+ application/json:
1100
+ schema:
1101
+ type: object
1102
+ additionalProperties: true
1103
+ title: Response Release Agent Api Actors Actor Id Release Post
1104
+ '422':
1105
+ description: Validation Error
1106
+ content:
1107
+ application/json:
1108
+ schema:
1109
+ $ref: '#/components/schemas/HTTPValidationError'
1110
+ /api/personal-access-tokens:
1111
+ post:
1112
+ summary: Create Pat
1113
+ description: Create a PAT. Returns the plaintext token exactly once.
1114
+ operationId: create_pat_api_personal_access_tokens_post
1115
+ requestBody:
1116
+ required: true
1117
+ content:
1118
+ application/json:
1119
+ schema:
1120
+ $ref: '#/components/schemas/CreatePatRequest'
1121
+ responses:
1122
+ '200':
1123
+ description: Successful Response
1124
+ content:
1125
+ application/json:
1126
+ schema:
1127
+ type: object
1128
+ additionalProperties: true
1129
+ title: Response Create Pat Api Personal Access Tokens Post
1130
+ '422':
1131
+ description: Validation Error
1132
+ content:
1133
+ application/json:
1134
+ schema:
1135
+ $ref: '#/components/schemas/HTTPValidationError'
1136
+ get:
1137
+ summary: List Pats
1138
+ description: List the authenticated user's PATs (active by default).
1139
+ operationId: list_pats_api_personal_access_tokens_get
1140
+ parameters:
1141
+ - name: include_revoked
1142
+ in: query
1143
+ required: false
1144
+ schema:
1145
+ type: boolean
1146
+ default: false
1147
+ title: Include Revoked
1148
+ responses:
1149
+ '200':
1150
+ description: Successful Response
1151
+ content:
1152
+ application/json:
1153
+ schema:
1154
+ type: array
1155
+ items:
1156
+ type: object
1157
+ additionalProperties: true
1158
+ title: Response List Pats Api Personal Access Tokens Get
1159
+ '422':
1160
+ description: Validation Error
1161
+ content:
1162
+ application/json:
1163
+ schema:
1164
+ $ref: '#/components/schemas/HTTPValidationError'
1165
+ /api/personal-access-tokens/{pat_id}:
1166
+ delete:
1167
+ summary: Revoke Pat
1168
+ description: Revoke a PAT. Returns 404 on cross-user attempts (don't leak existence).
1169
+ operationId: revoke_pat_api_personal_access_tokens__pat_id__delete
1170
+ parameters:
1171
+ - name: pat_id
1172
+ in: path
1173
+ required: true
1174
+ schema:
1175
+ type: string
1176
+ title: Pat Id
1177
+ responses:
1178
+ '200':
1179
+ description: Successful Response
1180
+ content:
1181
+ application/json:
1182
+ schema:
1183
+ type: object
1184
+ additionalProperties: true
1185
+ title: Response Revoke Pat Api Personal Access Tokens Pat Id Delete
1186
+ '422':
1187
+ description: Validation Error
1188
+ content:
1189
+ application/json:
1190
+ schema:
1191
+ $ref: '#/components/schemas/HTTPValidationError'
1192
+ /auth/request:
1193
+ post:
1194
+ summary: Auth Request
1195
+ description: 'Email-driven session issuance (alpha: no email delivery).
1196
+
1197
+
1198
+ Existing user: issues a new session, sets cookie, returns {created: false}.
1199
+
1200
+ New user with valid invite_code: creates user, issues session, returns
1201
+
1202
+ {created: true}. Alpha compromise: the cookie is set directly in the
1203
+
1204
+ response instead of sending a link to the user''s email.
1205
+
1206
+
1207
+ R6 Stage E: the whole flow runs under a single caller-managed
1208
+
1209
+ transaction via auth_service.issue_magic_link_session(conn, ...).
1210
+
1211
+ Cookie is set AFTER commit.'
1212
+ operationId: auth_request_auth_request_post
1213
+ requestBody:
1214
+ content:
1215
+ application/json:
1216
+ schema:
1217
+ $ref: '#/components/schemas/AuthRequestRequest'
1218
+ required: true
1219
+ responses:
1220
+ '200':
1221
+ description: Successful Response
1222
+ content:
1223
+ application/json:
1224
+ schema:
1225
+ additionalProperties: true
1226
+ type: object
1227
+ title: Response Auth Request Auth Request Post
1228
+ '422':
1229
+ description: Validation Error
1230
+ content:
1231
+ application/json:
1232
+ schema:
1233
+ $ref: '#/components/schemas/HTTPValidationError'
1234
+ /auth/logout:
1235
+ post:
1236
+ summary: Auth Logout
1237
+ description: 'Revoke the current session. Idempotent: safe to call without a
1238
+ cookie.'
1239
+ operationId: auth_logout_auth_logout_post
1240
+ responses:
1241
+ '200':
1242
+ description: Successful Response
1243
+ content:
1244
+ application/json:
1245
+ schema:
1246
+ additionalProperties: true
1247
+ type: object
1248
+ title: Response Auth Logout Auth Logout Post
1249
+ /api/invites/redeem:
1250
+ post:
1251
+ summary: Redeem Invite
1252
+ description: 'Redeem an invite code: create account + assign to tenant + issue
1253
+ session.
1254
+
1255
+
1256
+ No auth required. Session cookie is set on the response; the response body
1257
+
1258
+ does NOT contain a plaintext session token.
1259
+
1260
+
1261
+ R6 Stage E: the whole flow runs inside a single
1262
+
1263
+ ``pool.acquire() + conn.transaction()`` block. If
1264
+
1265
+ ``create_session_for_user`` fails mid-flow, the actor insert, tenant
1266
+
1267
+ assignment, and invite usage increment all roll back atomically.
1268
+
1269
+ Cookie is only set after the transaction commits.'
1270
+ operationId: redeem_invite_api_invites_redeem_post
1271
+ requestBody:
1272
+ content:
1273
+ application/json:
1274
+ schema:
1275
+ $ref: '#/components/schemas/RedeemInviteRequest'
1276
+ required: true
1277
+ responses:
1278
+ '200':
1279
+ description: Successful Response
1280
+ content:
1281
+ application/json:
1282
+ schema:
1283
+ additionalProperties: true
1284
+ type: object
1285
+ title: Response Redeem Invite Api Invites Redeem Post
1286
+ '422':
1287
+ description: Validation Error
1288
+ content:
1289
+ application/json:
1290
+ schema:
1291
+ $ref: '#/components/schemas/HTTPValidationError'
1292
+ /api/spaces/{space_id}/threads:
1293
+ post:
1294
+ summary: Create Thread
1295
+ operationId: create_thread_api_spaces__space_id__threads_post
1296
+ parameters:
1297
+ - name: space_id
1298
+ in: path
1299
+ required: true
1300
+ schema:
1301
+ type: string
1302
+ title: Space Id
1303
+ requestBody:
1304
+ required: true
1305
+ content:
1306
+ application/json:
1307
+ schema:
1308
+ $ref: '#/components/schemas/CreateThreadRequest'
1309
+ responses:
1310
+ '200':
1311
+ description: Successful Response
1312
+ content:
1313
+ application/json:
1314
+ schema:
1315
+ type: object
1316
+ additionalProperties: true
1317
+ title: Response Create Thread Api Spaces Space Id Threads Post
1318
+ '422':
1319
+ description: Validation Error
1320
+ content:
1321
+ application/json:
1322
+ schema:
1323
+ $ref: '#/components/schemas/HTTPValidationError'
1324
+ /api/spaces/{space_id}/threads/{event_id}:
1325
+ get:
1326
+ summary: Get Thread
1327
+ description: Get a thread and its messages. event_id can be the thread_id or
1328
+ the parent event.
1329
+ operationId: get_thread_api_spaces__space_id__threads__event_id__get
1330
+ parameters:
1331
+ - name: space_id
1332
+ in: path
1333
+ required: true
1334
+ schema:
1335
+ type: string
1336
+ title: Space Id
1337
+ - name: event_id
1338
+ in: path
1339
+ required: true
1340
+ schema:
1341
+ type: string
1342
+ title: Event Id
1343
+ responses:
1344
+ '200':
1345
+ description: Successful Response
1346
+ content:
1347
+ application/json:
1348
+ schema:
1349
+ type: object
1350
+ additionalProperties: true
1351
+ title: Response Get Thread Api Spaces Space Id Threads Event Id Get
1352
+ '422':
1353
+ description: Validation Error
1354
+ content:
1355
+ application/json:
1356
+ schema:
1357
+ $ref: '#/components/schemas/HTTPValidationError'
1358
+ /api/spaces/{space_id}/decisions:
1359
+ get:
1360
+ summary: Get Decisions
1361
+ operationId: get_decisions_api_spaces__space_id__decisions_get
1362
+ parameters:
1363
+ - name: space_id
1364
+ in: path
1365
+ required: true
1366
+ schema:
1367
+ type: string
1368
+ title: Space Id
1369
+ - name: status
1370
+ in: query
1371
+ required: false
1372
+ schema:
1373
+ anyOf:
1374
+ - type: string
1375
+ - type: 'null'
1376
+ description: Filter by status (proposed, resolved, rejected)
1377
+ title: Status
1378
+ description: Filter by status (proposed, resolved, rejected)
1379
+ responses:
1380
+ '200':
1381
+ description: Successful Response
1382
+ content:
1383
+ application/json:
1384
+ schema:
1385
+ type: array
1386
+ items:
1387
+ type: object
1388
+ additionalProperties: true
1389
+ title: Response Get Decisions Api Spaces Space Id Decisions Get
1390
+ '422':
1391
+ description: Validation Error
1392
+ content:
1393
+ application/json:
1394
+ schema:
1395
+ $ref: '#/components/schemas/HTTPValidationError'
1396
+ post:
1397
+ summary: Propose Decision
1398
+ operationId: propose_decision_api_spaces__space_id__decisions_post
1399
+ parameters:
1400
+ - name: space_id
1401
+ in: path
1402
+ required: true
1403
+ schema:
1404
+ type: string
1405
+ title: Space Id
1406
+ requestBody:
1407
+ required: true
1408
+ content:
1409
+ application/json:
1410
+ schema:
1411
+ $ref: '#/components/schemas/ProposeDecisionRequest'
1412
+ responses:
1413
+ '200':
1414
+ description: Successful Response
1415
+ content:
1416
+ application/json:
1417
+ schema:
1418
+ type: object
1419
+ additionalProperties: true
1420
+ title: Response Propose Decision Api Spaces Space Id Decisions Post
1421
+ '422':
1422
+ description: Validation Error
1423
+ content:
1424
+ application/json:
1425
+ schema:
1426
+ $ref: '#/components/schemas/HTTPValidationError'
1427
+ /api/spaces/{space_id}/decisions/summary:
1428
+ get:
1429
+ summary: Get Decision Summary
1430
+ operationId: get_decision_summary_api_spaces__space_id__decisions_summary_get
1431
+ parameters:
1432
+ - name: space_id
1433
+ in: path
1434
+ required: true
1435
+ schema:
1436
+ type: string
1437
+ title: Space Id
1438
+ responses:
1439
+ '200':
1440
+ description: Successful Response
1441
+ content:
1442
+ application/json:
1443
+ schema:
1444
+ type: object
1445
+ additionalProperties: true
1446
+ title: Response Get Decision Summary Api Spaces Space Id Decisions
1447
+ Summary Get
1448
+ '422':
1449
+ description: Validation Error
1450
+ content:
1451
+ application/json:
1452
+ schema:
1453
+ $ref: '#/components/schemas/HTTPValidationError'
1454
+ /api/spaces/{space_id}/decisions/{decision_id}:
1455
+ get:
1456
+ summary: Get Decision
1457
+ operationId: get_decision_api_spaces__space_id__decisions__decision_id__get
1458
+ parameters:
1459
+ - name: space_id
1460
+ in: path
1461
+ required: true
1462
+ schema:
1463
+ type: string
1464
+ title: Space Id
1465
+ - name: decision_id
1466
+ in: path
1467
+ required: true
1468
+ schema:
1469
+ type: string
1470
+ title: Decision Id
1471
+ responses:
1472
+ '200':
1473
+ description: Successful Response
1474
+ content:
1475
+ application/json:
1476
+ schema:
1477
+ type: object
1478
+ additionalProperties: true
1479
+ title: Response Get Decision Api Spaces Space Id Decisions Decision
1480
+ Id Get
1481
+ '422':
1482
+ description: Validation Error
1483
+ content:
1484
+ application/json:
1485
+ schema:
1486
+ $ref: '#/components/schemas/HTTPValidationError'
1487
+ /api/spaces/{space_id}/decisions/{decision_id}/resolve:
1488
+ put:
1489
+ summary: Resolve Decision
1490
+ operationId: resolve_decision_api_spaces__space_id__decisions__decision_id__resolve_put
1491
+ parameters:
1492
+ - name: space_id
1493
+ in: path
1494
+ required: true
1495
+ schema:
1496
+ type: string
1497
+ title: Space Id
1498
+ - name: decision_id
1499
+ in: path
1500
+ required: true
1501
+ schema:
1502
+ type: string
1503
+ title: Decision Id
1504
+ requestBody:
1505
+ required: true
1506
+ content:
1507
+ application/json:
1508
+ schema:
1509
+ $ref: '#/components/schemas/ResolveDecisionRequest'
1510
+ responses:
1511
+ '200':
1512
+ description: Successful Response
1513
+ content:
1514
+ application/json:
1515
+ schema:
1516
+ type: object
1517
+ additionalProperties: true
1518
+ title: Response Resolve Decision Api Spaces Space Id Decisions Decision
1519
+ Id Resolve Put
1520
+ '422':
1521
+ description: Validation Error
1522
+ content:
1523
+ application/json:
1524
+ schema:
1525
+ $ref: '#/components/schemas/HTTPValidationError'
1526
+ /api/spaces/{space_id}/questions:
1527
+ post:
1528
+ summary: Ask Question
1529
+ operationId: ask_question_api_spaces__space_id__questions_post
1530
+ parameters:
1531
+ - name: space_id
1532
+ in: path
1533
+ required: true
1534
+ schema:
1535
+ type: string
1536
+ title: Space Id
1537
+ requestBody:
1538
+ required: true
1539
+ content:
1540
+ application/json:
1541
+ schema:
1542
+ $ref: '#/components/schemas/AskQuestionRequest'
1543
+ responses:
1544
+ '200':
1545
+ description: Successful Response
1546
+ content:
1547
+ application/json:
1548
+ schema:
1549
+ type: object
1550
+ additionalProperties: true
1551
+ title: Response Ask Question Api Spaces Space Id Questions Post
1552
+ '422':
1553
+ description: Validation Error
1554
+ content:
1555
+ application/json:
1556
+ schema:
1557
+ $ref: '#/components/schemas/HTTPValidationError'
1558
+ get:
1559
+ summary: Get Questions
1560
+ operationId: get_questions_api_spaces__space_id__questions_get
1561
+ parameters:
1562
+ - name: space_id
1563
+ in: path
1564
+ required: true
1565
+ schema:
1566
+ type: string
1567
+ title: Space Id
1568
+ - name: status
1569
+ in: query
1570
+ required: false
1571
+ schema:
1572
+ anyOf:
1573
+ - type: string
1574
+ - type: 'null'
1575
+ title: Status
1576
+ responses:
1577
+ '200':
1578
+ description: Successful Response
1579
+ content:
1580
+ application/json:
1581
+ schema:
1582
+ type: array
1583
+ items:
1584
+ type: object
1585
+ additionalProperties: true
1586
+ title: Response Get Questions Api Spaces Space Id Questions Get
1587
+ '422':
1588
+ description: Validation Error
1589
+ content:
1590
+ application/json:
1591
+ schema:
1592
+ $ref: '#/components/schemas/HTTPValidationError'
1593
+ /api/spaces/{space_id}/questions/{question_id}:
1594
+ get:
1595
+ summary: Get Question
1596
+ operationId: get_question_api_spaces__space_id__questions__question_id__get
1597
+ parameters:
1598
+ - name: space_id
1599
+ in: path
1600
+ required: true
1601
+ schema:
1602
+ type: string
1603
+ title: Space Id
1604
+ - name: question_id
1605
+ in: path
1606
+ required: true
1607
+ schema:
1608
+ type: string
1609
+ title: Question Id
1610
+ responses:
1611
+ '200':
1612
+ description: Successful Response
1613
+ content:
1614
+ application/json:
1615
+ schema:
1616
+ type: object
1617
+ additionalProperties: true
1618
+ title: Response Get Question Api Spaces Space Id Questions Question
1619
+ Id Get
1620
+ '422':
1621
+ description: Validation Error
1622
+ content:
1623
+ application/json:
1624
+ schema:
1625
+ $ref: '#/components/schemas/HTTPValidationError'
1626
+ patch:
1627
+ summary: Update Question
1628
+ operationId: update_question_api_spaces__space_id__questions__question_id__patch
1629
+ parameters:
1630
+ - name: space_id
1631
+ in: path
1632
+ required: true
1633
+ schema:
1634
+ type: string
1635
+ title: Space Id
1636
+ - name: question_id
1637
+ in: path
1638
+ required: true
1639
+ schema:
1640
+ type: string
1641
+ title: Question Id
1642
+ requestBody:
1643
+ required: true
1644
+ content:
1645
+ application/json:
1646
+ schema:
1647
+ $ref: '#/components/schemas/UpdateQuestionRequest'
1648
+ responses:
1649
+ '200':
1650
+ description: Successful Response
1651
+ content:
1652
+ application/json:
1653
+ schema:
1654
+ type: object
1655
+ additionalProperties: true
1656
+ title: Response Update Question Api Spaces Space Id Questions Question
1657
+ Id Patch
1658
+ '422':
1659
+ description: Validation Error
1660
+ content:
1661
+ application/json:
1662
+ schema:
1663
+ $ref: '#/components/schemas/HTTPValidationError'
1664
+ /api/spaces/{space_id}/timers:
1665
+ post:
1666
+ summary: Create Timer
1667
+ operationId: create_timer_api_spaces__space_id__timers_post
1668
+ parameters:
1669
+ - name: space_id
1670
+ in: path
1671
+ required: true
1672
+ schema:
1673
+ type: string
1674
+ title: Space Id
1675
+ requestBody:
1676
+ required: true
1677
+ content:
1678
+ application/json:
1679
+ schema:
1680
+ $ref: '#/components/schemas/CreateTimerRequest'
1681
+ responses:
1682
+ '201':
1683
+ description: Successful Response
1684
+ content:
1685
+ application/json:
1686
+ schema: {}
1687
+ '422':
1688
+ description: Validation Error
1689
+ content:
1690
+ application/json:
1691
+ schema:
1692
+ $ref: '#/components/schemas/HTTPValidationError'
1693
+ get:
1694
+ summary: List Timers
1695
+ operationId: list_timers_api_spaces__space_id__timers_get
1696
+ parameters:
1697
+ - name: space_id
1698
+ in: path
1699
+ required: true
1700
+ schema:
1701
+ type: string
1702
+ title: Space Id
1703
+ responses:
1704
+ '200':
1705
+ description: Successful Response
1706
+ content:
1707
+ application/json:
1708
+ schema: {}
1709
+ '422':
1710
+ description: Validation Error
1711
+ content:
1712
+ application/json:
1713
+ schema:
1714
+ $ref: '#/components/schemas/HTTPValidationError'
1715
+ /api/spaces/{space_id}/timers/{timer_id}:
1716
+ delete:
1717
+ summary: Cancel Timer
1718
+ operationId: cancel_timer_api_spaces__space_id__timers__timer_id__delete
1719
+ parameters:
1720
+ - name: space_id
1721
+ in: path
1722
+ required: true
1723
+ schema:
1724
+ type: string
1725
+ title: Space Id
1726
+ - name: timer_id
1727
+ in: path
1728
+ required: true
1729
+ schema:
1730
+ type: string
1731
+ title: Timer Id
1732
+ responses:
1733
+ '200':
1734
+ description: Successful Response
1735
+ content:
1736
+ application/json:
1737
+ schema: {}
1738
+ '422':
1739
+ description: Validation Error
1740
+ content:
1741
+ application/json:
1742
+ schema:
1743
+ $ref: '#/components/schemas/HTTPValidationError'
1744
+ /api/spaces/{space_id}/archives:
1745
+ post:
1746
+ summary: Create Archive
1747
+ operationId: create_archive_api_spaces__space_id__archives_post
1748
+ parameters:
1749
+ - name: space_id
1750
+ in: path
1751
+ required: true
1752
+ schema:
1753
+ type: string
1754
+ title: Space Id
1755
+ requestBody:
1756
+ required: true
1757
+ content:
1758
+ application/json:
1759
+ schema:
1760
+ $ref: '#/components/schemas/CreateArchiveRequest'
1761
+ responses:
1762
+ '201':
1763
+ description: Successful Response
1764
+ content:
1765
+ application/json:
1766
+ schema:
1767
+ type: object
1768
+ additionalProperties: true
1769
+ title: Response Create Archive Api Spaces Space Id Archives Post
1770
+ '422':
1771
+ description: Validation Error
1772
+ content:
1773
+ application/json:
1774
+ schema:
1775
+ $ref: '#/components/schemas/HTTPValidationError'
1776
+ get:
1777
+ summary: List Archives
1778
+ operationId: list_archives_api_spaces__space_id__archives_get
1779
+ parameters:
1780
+ - name: space_id
1781
+ in: path
1782
+ required: true
1783
+ schema:
1784
+ type: string
1785
+ title: Space Id
1786
+ - name: limit
1787
+ in: query
1788
+ required: false
1789
+ schema:
1790
+ type: integer
1791
+ maximum: 100
1792
+ minimum: 1
1793
+ default: 20
1794
+ title: Limit
1795
+ responses:
1796
+ '200':
1797
+ description: Successful Response
1798
+ content:
1799
+ application/json:
1800
+ schema:
1801
+ type: array
1802
+ items:
1803
+ type: object
1804
+ additionalProperties: true
1805
+ title: Response List Archives Api Spaces Space Id Archives Get
1806
+ '422':
1807
+ description: Validation Error
1808
+ content:
1809
+ application/json:
1810
+ schema:
1811
+ $ref: '#/components/schemas/HTTPValidationError'
1812
+ /api/spaces/{space_id}/archives/{archive_id}:
1813
+ get:
1814
+ summary: Get Archive
1815
+ operationId: get_archive_api_spaces__space_id__archives__archive_id__get
1816
+ parameters:
1817
+ - name: space_id
1818
+ in: path
1819
+ required: true
1820
+ schema:
1821
+ type: string
1822
+ title: Space Id
1823
+ - name: archive_id
1824
+ in: path
1825
+ required: true
1826
+ schema:
1827
+ type: string
1828
+ title: Archive Id
1829
+ responses:
1830
+ '200':
1831
+ description: Successful Response
1832
+ content:
1833
+ application/json:
1834
+ schema:
1835
+ type: object
1836
+ additionalProperties: true
1837
+ title: Response Get Archive Api Spaces Space Id Archives Archive
1838
+ Id Get
1839
+ '422':
1840
+ description: Validation Error
1841
+ content:
1842
+ application/json:
1843
+ schema:
1844
+ $ref: '#/components/schemas/HTTPValidationError'
1845
+ /api/prompt-rules:
1846
+ post:
1847
+ summary: Create Prompt Rule
1848
+ description: Create a new alarm or scheduled prompt rule.
1849
+ operationId: create_prompt_rule_api_prompt_rules_post
1850
+ requestBody:
1851
+ required: true
1852
+ content:
1853
+ application/json:
1854
+ schema:
1855
+ $ref: '#/components/schemas/CreatePromptRuleRequest'
1856
+ responses:
1857
+ '200':
1858
+ description: Successful Response
1859
+ content:
1860
+ application/json:
1861
+ schema:
1862
+ type: object
1863
+ additionalProperties: true
1864
+ title: Response Create Prompt Rule Api Prompt Rules Post
1865
+ '422':
1866
+ description: Validation Error
1867
+ content:
1868
+ application/json:
1869
+ schema:
1870
+ $ref: '#/components/schemas/HTTPValidationError'
1871
+ get:
1872
+ summary: List Prompt Rules
1873
+ description: List prompt rules for the authenticated tenant.
1874
+ operationId: list_prompt_rules_api_prompt_rules_get
1875
+ parameters:
1876
+ - name: space_id
1877
+ in: query
1878
+ required: false
1879
+ schema:
1880
+ anyOf:
1881
+ - type: string
1882
+ - type: 'null'
1883
+ description: Filter by space ID
1884
+ title: Space Id
1885
+ description: Filter by space ID
1886
+ responses:
1887
+ '200':
1888
+ description: Successful Response
1889
+ content:
1890
+ application/json:
1891
+ schema:
1892
+ type: array
1893
+ items:
1894
+ type: object
1895
+ additionalProperties: true
1896
+ title: Response List Prompt Rules Api Prompt Rules Get
1897
+ '422':
1898
+ description: Validation Error
1899
+ content:
1900
+ application/json:
1901
+ schema:
1902
+ $ref: '#/components/schemas/HTTPValidationError'
1903
+ /api/prompt-rules/{rule_id}:
1904
+ get:
1905
+ summary: Get Prompt Rule
1906
+ description: Get a single prompt rule by ID.
1907
+ operationId: get_prompt_rule_api_prompt_rules__rule_id__get
1908
+ parameters:
1909
+ - name: rule_id
1910
+ in: path
1911
+ required: true
1912
+ schema:
1913
+ type: string
1914
+ title: Rule Id
1915
+ responses:
1916
+ '200':
1917
+ description: Successful Response
1918
+ content:
1919
+ application/json:
1920
+ schema:
1921
+ type: object
1922
+ additionalProperties: true
1923
+ title: Response Get Prompt Rule Api Prompt Rules Rule Id Get
1924
+ '422':
1925
+ description: Validation Error
1926
+ content:
1927
+ application/json:
1928
+ schema:
1929
+ $ref: '#/components/schemas/HTTPValidationError'
1930
+ patch:
1931
+ summary: Update Prompt Rule
1932
+ description: Update a prompt rule (toggle enabled, change threshold, etc.).
1933
+ operationId: update_prompt_rule_api_prompt_rules__rule_id__patch
1934
+ parameters:
1935
+ - name: rule_id
1936
+ in: path
1937
+ required: true
1938
+ schema:
1939
+ type: string
1940
+ title: Rule Id
1941
+ requestBody:
1942
+ required: true
1943
+ content:
1944
+ application/json:
1945
+ schema:
1946
+ $ref: '#/components/schemas/UpdatePromptRuleRequest'
1947
+ responses:
1948
+ '200':
1949
+ description: Successful Response
1950
+ content:
1951
+ application/json:
1952
+ schema:
1953
+ type: object
1954
+ additionalProperties: true
1955
+ title: Response Update Prompt Rule Api Prompt Rules Rule Id Patch
1956
+ '422':
1957
+ description: Validation Error
1958
+ content:
1959
+ application/json:
1960
+ schema:
1961
+ $ref: '#/components/schemas/HTTPValidationError'
1962
+ delete:
1963
+ summary: Delete Prompt Rule
1964
+ description: Delete a prompt rule.
1965
+ operationId: delete_prompt_rule_api_prompt_rules__rule_id__delete
1966
+ parameters:
1967
+ - name: rule_id
1968
+ in: path
1969
+ required: true
1970
+ schema:
1971
+ type: string
1972
+ title: Rule Id
1973
+ responses:
1974
+ '200':
1975
+ description: Successful Response
1976
+ content:
1977
+ application/json:
1978
+ schema:
1979
+ type: object
1980
+ additionalProperties: true
1981
+ title: Response Delete Prompt Rule Api Prompt Rules Rule Id Delete
1982
+ '422':
1983
+ description: Validation Error
1984
+ content:
1985
+ application/json:
1986
+ schema:
1987
+ $ref: '#/components/schemas/HTTPValidationError'
1988
+ /api/tenants:
1989
+ post:
1990
+ summary: Create Tenant Endpoint
1991
+ description: Create a new tenant. Requires authenticated human actor.
1992
+ operationId: create_tenant_endpoint_api_tenants_post
1993
+ responses:
1994
+ '200':
1995
+ description: Successful Response
1996
+ content:
1997
+ application/json:
1998
+ schema:
1999
+ additionalProperties: true
2000
+ type: object
2001
+ title: Response Create Tenant Endpoint Api Tenants Post
2002
+ /api/tenants/{tenant_id}:
2003
+ get:
2004
+ summary: Get Tenant Endpoint
2005
+ description: Get tenant info. Actor must belong to the tenant.
2006
+ operationId: get_tenant_endpoint_api_tenants__tenant_id__get
2007
+ parameters:
2008
+ - name: tenant_id
2009
+ in: path
2010
+ required: true
2011
+ schema:
2012
+ type: string
2013
+ title: Tenant Id
2014
+ responses:
2015
+ '200':
2016
+ description: Successful Response
2017
+ content:
2018
+ application/json:
2019
+ schema:
2020
+ type: object
2021
+ additionalProperties: true
2022
+ title: Response Get Tenant Endpoint Api Tenants Tenant Id Get
2023
+ '422':
2024
+ description: Validation Error
2025
+ content:
2026
+ application/json:
2027
+ schema:
2028
+ $ref: '#/components/schemas/HTTPValidationError'
2029
+ /api/admin/tenants:
2030
+ get:
2031
+ summary: Admin List Tenants
2032
+ description: List all tenants. Admin only.
2033
+ operationId: admin_list_tenants_api_admin_tenants_get
2034
+ parameters:
2035
+ - name: status
2036
+ in: query
2037
+ required: false
2038
+ schema:
2039
+ anyOf:
2040
+ - type: string
2041
+ - type: 'null'
2042
+ description: Filter by status
2043
+ title: Status
2044
+ description: Filter by status
2045
+ responses:
2046
+ '200':
2047
+ description: Successful Response
2048
+ content:
2049
+ application/json:
2050
+ schema:
2051
+ type: array
2052
+ items:
2053
+ type: object
2054
+ additionalProperties: true
2055
+ title: Response Admin List Tenants Api Admin Tenants Get
2056
+ '422':
2057
+ description: Validation Error
2058
+ content:
2059
+ application/json:
2060
+ schema:
2061
+ $ref: '#/components/schemas/HTTPValidationError'
2062
+ post:
2063
+ summary: Admin Create Tenant
2064
+ description: Create a tenant without assigning the creator. Admin only.
2065
+ operationId: admin_create_tenant_api_admin_tenants_post
2066
+ requestBody:
2067
+ required: true
2068
+ content:
2069
+ application/json:
2070
+ schema:
2071
+ $ref: '#/components/schemas/AdminCreateTenantRequest'
2072
+ responses:
2073
+ '200':
2074
+ description: Successful Response
2075
+ content:
2076
+ application/json:
2077
+ schema:
2078
+ type: object
2079
+ additionalProperties: true
2080
+ title: Response Admin Create Tenant Api Admin Tenants Post
2081
+ '422':
2082
+ description: Validation Error
2083
+ content:
2084
+ application/json:
2085
+ schema:
2086
+ $ref: '#/components/schemas/HTTPValidationError'
2087
+ /api/admin/tenants/{tenant_id}:
2088
+ get:
2089
+ summary: Admin Get Tenant
2090
+ description: Get any tenant. Admin only.
2091
+ operationId: admin_get_tenant_api_admin_tenants__tenant_id__get
2092
+ parameters:
2093
+ - name: tenant_id
2094
+ in: path
2095
+ required: true
2096
+ schema:
2097
+ type: string
2098
+ title: Tenant Id
2099
+ responses:
2100
+ '200':
2101
+ description: Successful Response
2102
+ content:
2103
+ application/json:
2104
+ schema:
2105
+ type: object
2106
+ additionalProperties: true
2107
+ title: Response Admin Get Tenant Api Admin Tenants Tenant Id Get
2108
+ '422':
2109
+ description: Validation Error
2110
+ content:
2111
+ application/json:
2112
+ schema:
2113
+ $ref: '#/components/schemas/HTTPValidationError'
2114
+ /api/admin/tenants/{tenant_id}/suspend:
2115
+ put:
2116
+ summary: Admin Suspend Tenant
2117
+ description: Suspend a tenant. All authenticated requests for this tenant will
2118
+ get 403.
2119
+ operationId: admin_suspend_tenant_api_admin_tenants__tenant_id__suspend_put
2120
+ parameters:
2121
+ - name: tenant_id
2122
+ in: path
2123
+ required: true
2124
+ schema:
2125
+ type: string
2126
+ title: Tenant Id
2127
+ responses:
2128
+ '200':
2129
+ description: Successful Response
2130
+ content:
2131
+ application/json:
2132
+ schema:
2133
+ type: object
2134
+ additionalProperties: true
2135
+ title: Response Admin Suspend Tenant Api Admin Tenants Tenant Id Suspend
2136
+ Put
2137
+ '422':
2138
+ description: Validation Error
2139
+ content:
2140
+ application/json:
2141
+ schema:
2142
+ $ref: '#/components/schemas/HTTPValidationError'
2143
+ /api/admin/tenants/{tenant_id}/reactivate:
2144
+ put:
2145
+ summary: Admin Reactivate Tenant
2146
+ description: Reactivate a suspended tenant.
2147
+ operationId: admin_reactivate_tenant_api_admin_tenants__tenant_id__reactivate_put
2148
+ parameters:
2149
+ - name: tenant_id
2150
+ in: path
2151
+ required: true
2152
+ schema:
2153
+ type: string
2154
+ title: Tenant Id
2155
+ responses:
2156
+ '200':
2157
+ description: Successful Response
2158
+ content:
2159
+ application/json:
2160
+ schema:
2161
+ type: object
2162
+ additionalProperties: true
2163
+ title: Response Admin Reactivate Tenant Api Admin Tenants Tenant
2164
+ Id Reactivate Put
2165
+ '422':
2166
+ description: Validation Error
2167
+ content:
2168
+ application/json:
2169
+ schema:
2170
+ $ref: '#/components/schemas/HTTPValidationError'
2171
+ /api/admin/tenants/{tenant_id}/actors:
2172
+ get:
2173
+ summary: Admin List Tenant Actors
2174
+ description: List all actors in a tenant. Admin only.
2175
+ operationId: admin_list_tenant_actors_api_admin_tenants__tenant_id__actors_get
2176
+ parameters:
2177
+ - name: tenant_id
2178
+ in: path
2179
+ required: true
2180
+ schema:
2181
+ type: string
2182
+ title: Tenant Id
2183
+ responses:
2184
+ '200':
2185
+ description: Successful Response
2186
+ content:
2187
+ application/json:
2188
+ schema:
2189
+ type: array
2190
+ items:
2191
+ type: object
2192
+ additionalProperties: true
2193
+ title: Response Admin List Tenant Actors Api Admin Tenants Tenant
2194
+ Id Actors Get
2195
+ '422':
2196
+ description: Validation Error
2197
+ content:
2198
+ application/json:
2199
+ schema:
2200
+ $ref: '#/components/schemas/HTTPValidationError'
2201
+ /api/admin/actors/{actor_id}:
2202
+ delete:
2203
+ summary: Admin Delete Actor
2204
+ description: Delete any actor. Admin only. Cannot delete yourself.
2205
+ operationId: admin_delete_actor_api_admin_actors__actor_id__delete
2206
+ parameters:
2207
+ - name: actor_id
2208
+ in: path
2209
+ required: true
2210
+ schema:
2211
+ type: string
2212
+ title: Actor Id
2213
+ responses:
2214
+ '200':
2215
+ description: Successful Response
2216
+ content:
2217
+ application/json:
2218
+ schema:
2219
+ type: object
2220
+ additionalProperties: true
2221
+ title: Response Admin Delete Actor Api Admin Actors Actor Id Delete
2222
+ '422':
2223
+ description: Validation Error
2224
+ content:
2225
+ application/json:
2226
+ schema:
2227
+ $ref: '#/components/schemas/HTTPValidationError'
2228
+ /api/admin/actors/{actor_id}/admin:
2229
+ put:
2230
+ summary: Admin Toggle Admin
2231
+ description: Grant or revoke admin status. Admin only.
2232
+ operationId: admin_toggle_admin_api_admin_actors__actor_id__admin_put
2233
+ parameters:
2234
+ - name: actor_id
2235
+ in: path
2236
+ required: true
2237
+ schema:
2238
+ type: string
2239
+ title: Actor Id
2240
+ requestBody:
2241
+ required: true
2242
+ content:
2243
+ application/json:
2244
+ schema:
2245
+ $ref: '#/components/schemas/AdminToggleAdminRequest'
2246
+ responses:
2247
+ '200':
2248
+ description: Successful Response
2249
+ content:
2250
+ application/json:
2251
+ schema:
2252
+ type: object
2253
+ additionalProperties: true
2254
+ title: Response Admin Toggle Admin Api Admin Actors Actor Id Admin
2255
+ Put
2256
+ '422':
2257
+ description: Validation Error
2258
+ content:
2259
+ application/json:
2260
+ schema:
2261
+ $ref: '#/components/schemas/HTTPValidationError'
2262
+ /api/admin/invites:
2263
+ post:
2264
+ summary: Admin Create Invite
2265
+ description: Create an invite code for a tenant. Admin only.
2266
+ operationId: admin_create_invite_api_admin_invites_post
2267
+ requestBody:
2268
+ required: true
2269
+ content:
2270
+ application/json:
2271
+ schema:
2272
+ $ref: '#/components/schemas/AdminCreateInviteRequest'
2273
+ responses:
2274
+ '200':
2275
+ description: Successful Response
2276
+ content:
2277
+ application/json:
2278
+ schema:
2279
+ type: object
2280
+ additionalProperties: true
2281
+ title: Response Admin Create Invite Api Admin Invites Post
2282
+ '422':
2283
+ description: Validation Error
2284
+ content:
2285
+ application/json:
2286
+ schema:
2287
+ $ref: '#/components/schemas/HTTPValidationError'
2288
+ get:
2289
+ summary: Admin List Invites
2290
+ description: List invites. Admin only.
2291
+ operationId: admin_list_invites_api_admin_invites_get
2292
+ parameters:
2293
+ - name: tenant_id
2294
+ in: query
2295
+ required: false
2296
+ schema:
2297
+ anyOf:
2298
+ - type: string
2299
+ - type: 'null'
2300
+ description: Filter by tenant
2301
+ title: Tenant Id
2302
+ description: Filter by tenant
2303
+ responses:
2304
+ '200':
2305
+ description: Successful Response
2306
+ content:
2307
+ application/json:
2308
+ schema:
2309
+ type: array
2310
+ items:
2311
+ type: object
2312
+ additionalProperties: true
2313
+ title: Response Admin List Invites Api Admin Invites Get
2314
+ '422':
2315
+ description: Validation Error
2316
+ content:
2317
+ application/json:
2318
+ schema:
2319
+ $ref: '#/components/schemas/HTTPValidationError'
2320
+ /api/admin/invites/{invite_id}:
2321
+ delete:
2322
+ summary: Admin Delete Invite
2323
+ description: Revoke an invite. Admin only.
2324
+ operationId: admin_delete_invite_api_admin_invites__invite_id__delete
2325
+ parameters:
2326
+ - name: invite_id
2327
+ in: path
2328
+ required: true
2329
+ schema:
2330
+ type: string
2331
+ title: Invite Id
2332
+ responses:
2333
+ '200':
2334
+ description: Successful Response
2335
+ content:
2336
+ application/json:
2337
+ schema:
2338
+ type: object
2339
+ additionalProperties: true
2340
+ title: Response Admin Delete Invite Api Admin Invites Invite Id Delete
2341
+ '422':
2342
+ description: Validation Error
2343
+ content:
2344
+ application/json:
2345
+ schema:
2346
+ $ref: '#/components/schemas/HTTPValidationError'
2347
+ /api/search:
2348
+ get:
2349
+ summary: Search
2350
+ operationId: search_api_search_get
2351
+ parameters:
2352
+ - name: q
2353
+ in: query
2354
+ required: true
2355
+ schema:
2356
+ type: string
2357
+ minLength: 1
2358
+ description: Search query
2359
+ title: Q
2360
+ description: Search query
2361
+ - name: space_id
2362
+ in: query
2363
+ required: false
2364
+ schema:
2365
+ anyOf:
2366
+ - type: string
2367
+ - type: 'null'
2368
+ description: Search within a specific space
2369
+ title: Space Id
2370
+ description: Search within a specific space
2371
+ - name: linked_to
2372
+ in: query
2373
+ required: false
2374
+ schema:
2375
+ anyOf:
2376
+ - type: string
2377
+ - type: 'null'
2378
+ description: Search a space + all linked spaces (1 hop)
2379
+ title: Linked To
2380
+ description: Search a space + all linked spaces (1 hop)
2381
+ - name: limit
2382
+ in: query
2383
+ required: false
2384
+ schema:
2385
+ type: integer
2386
+ maximum: 100
2387
+ minimum: 1
2388
+ description: Max results
2389
+ default: 20
2390
+ title: Limit
2391
+ description: Max results
2392
+ responses:
2393
+ '200':
2394
+ description: Successful Response
2395
+ content:
2396
+ application/json:
2397
+ schema:
2398
+ type: array
2399
+ items:
2400
+ type: object
2401
+ additionalProperties: true
2402
+ title: Response Search Api Search Get
2403
+ '422':
2404
+ description: Validation Error
2405
+ content:
2406
+ application/json:
2407
+ schema:
2408
+ $ref: '#/components/schemas/HTTPValidationError'
2409
+ components:
2410
+ schemas:
2411
+ AddEventRequest:
2412
+ properties:
2413
+ speaker_id:
2414
+ type: string
2415
+ maxLength: 200
2416
+ title: Speaker Id
2417
+ speaker_name:
2418
+ type: string
2419
+ maxLength: 500
2420
+ title: Speaker Name
2421
+ speaker_type:
2422
+ type: string
2423
+ maxLength: 200
2424
+ title: Speaker Type
2425
+ default: human
2426
+ text:
2427
+ type: string
2428
+ maxLength: 65536
2429
+ title: Text
2430
+ parent_event_id:
2431
+ anyOf:
2432
+ - type: string
2433
+ maxLength: 200
2434
+ - type: 'null'
2435
+ title: Parent Event Id
2436
+ references:
2437
+ items:
2438
+ type: string
2439
+ type: array
2440
+ title: References
2441
+ default: []
2442
+ thread_id:
2443
+ anyOf:
2444
+ - type: string
2445
+ maxLength: 200
2446
+ - type: 'null'
2447
+ title: Thread Id
2448
+ metadata:
2449
+ anyOf:
2450
+ - additionalProperties: true
2451
+ type: object
2452
+ - type: 'null'
2453
+ title: Metadata
2454
+ type: object
2455
+ required:
2456
+ - speaker_id
2457
+ - speaker_name
2458
+ - text
2459
+ title: AddEventRequest
2460
+ AddSpeechRequest:
2461
+ properties:
2462
+ speaker_id:
2463
+ type: string
2464
+ maxLength: 200
2465
+ title: Speaker Id
2466
+ speaker_name:
2467
+ type: string
2468
+ maxLength: 500
2469
+ title: Speaker Name
2470
+ text:
2471
+ type: string
2472
+ maxLength: 65536
2473
+ title: Text
2474
+ thread_id:
2475
+ anyOf:
2476
+ - type: string
2477
+ maxLength: 200
2478
+ - type: 'null'
2479
+ title: Thread Id
2480
+ metadata:
2481
+ anyOf:
2482
+ - additionalProperties: true
2483
+ type: object
2484
+ - type: 'null'
2485
+ title: Metadata
2486
+ type: object
2487
+ required:
2488
+ - speaker_id
2489
+ - speaker_name
2490
+ - text
2491
+ title: AddSpeechRequest
2492
+ AdminCreateInviteRequest:
2493
+ properties:
2494
+ tenant_id:
2495
+ type: string
2496
+ maxLength: 200
2497
+ title: Tenant Id
2498
+ email:
2499
+ anyOf:
2500
+ - type: string
2501
+ maxLength: 200
2502
+ - type: 'null'
2503
+ title: Email
2504
+ max_uses:
2505
+ type: integer
2506
+ title: Max Uses
2507
+ default: 1
2508
+ expires_in_hours:
2509
+ type: integer
2510
+ title: Expires In Hours
2511
+ default: 72
2512
+ type: object
2513
+ required:
2514
+ - tenant_id
2515
+ title: AdminCreateInviteRequest
2516
+ AdminCreateTenantRequest:
2517
+ properties:
2518
+ name:
2519
+ type: string
2520
+ maxLength: 500
2521
+ title: Name
2522
+ type: object
2523
+ required:
2524
+ - name
2525
+ title: AdminCreateTenantRequest
2526
+ AdminToggleAdminRequest:
2527
+ properties:
2528
+ is_admin:
2529
+ type: boolean
2530
+ title: Is Admin
2531
+ type: object
2532
+ required:
2533
+ - is_admin
2534
+ title: AdminToggleAdminRequest
2535
+ AskQuestionRequest:
2536
+ properties:
2537
+ asked_by:
2538
+ type: string
2539
+ maxLength: 200
2540
+ title: Asked By
2541
+ text:
2542
+ type: string
2543
+ maxLength: 65536
2544
+ title: Text
2545
+ assigned_to:
2546
+ anyOf:
2547
+ - type: string
2548
+ maxLength: 200
2549
+ - type: 'null'
2550
+ title: Assigned To
2551
+ type: object
2552
+ required:
2553
+ - asked_by
2554
+ - text
2555
+ title: AskQuestionRequest
2556
+ AuthRequestRequest:
2557
+ properties:
2558
+ email:
2559
+ type: string
2560
+ maxLength: 200
2561
+ title: Email
2562
+ invite_code:
2563
+ anyOf:
2564
+ - type: string
2565
+ maxLength: 200
2566
+ - type: 'null'
2567
+ title: Invite Code
2568
+ display_name:
2569
+ anyOf:
2570
+ - type: string
2571
+ maxLength: 500
2572
+ - type: 'null'
2573
+ title: Display Name
2574
+ type: object
2575
+ required:
2576
+ - email
2577
+ title: AuthRequestRequest
2578
+ CreateArchiveRequest:
2579
+ properties:
2580
+ session_id:
2581
+ type: string
2582
+ maxLength: 200
2583
+ title: Session Id
2584
+ summary:
2585
+ type: string
2586
+ maxLength: 65536
2587
+ title: Summary
2588
+ metadata:
2589
+ additionalProperties: true
2590
+ type: object
2591
+ title: Metadata
2592
+ default: {}
2593
+ type: object
2594
+ required:
2595
+ - session_id
2596
+ - summary
2597
+ title: CreateArchiveRequest
2598
+ CreateLinkRequest:
2599
+ properties:
2600
+ target_id:
2601
+ anyOf:
2602
+ - type: string
2603
+ maxLength: 200
2604
+ - type: 'null'
2605
+ title: Target Id
2606
+ target_uri:
2607
+ anyOf:
2608
+ - type: string
2609
+ maxLength: 2048
2610
+ - type: 'null'
2611
+ title: Target Uri
2612
+ link_type:
2613
+ type: string
2614
+ maxLength: 200
2615
+ title: Link Type
2616
+ attributes:
2617
+ additionalProperties: true
2618
+ type: object
2619
+ title: Attributes
2620
+ default: {}
2621
+ type: object
2622
+ required:
2623
+ - link_type
2624
+ title: CreateLinkRequest
2625
+ CreatePatRequest:
2626
+ properties:
2627
+ name:
2628
+ type: string
2629
+ maxLength: 64
2630
+ minLength: 1
2631
+ title: Name
2632
+ type: object
2633
+ required:
2634
+ - name
2635
+ title: CreatePatRequest
2636
+ CreatePromptRuleRequest:
2637
+ properties:
2638
+ space_id:
2639
+ type: string
2640
+ maxLength: 200
2641
+ title: Space Id
2642
+ name:
2643
+ type: string
2644
+ maxLength: 500
2645
+ title: Name
2646
+ rule_type:
2647
+ type: string
2648
+ maxLength: 200
2649
+ title: Rule Type
2650
+ default: alarm
2651
+ condition_type:
2652
+ type: string
2653
+ maxLength: 200
2654
+ title: Condition Type
2655
+ threshold_secs:
2656
+ type: integer
2657
+ title: Threshold Secs
2658
+ target_actor_id:
2659
+ anyOf:
2660
+ - type: string
2661
+ maxLength: 200
2662
+ - type: 'null'
2663
+ title: Target Actor Id
2664
+ target_role:
2665
+ anyOf:
2666
+ - type: string
2667
+ maxLength: 200
2668
+ - type: 'null'
2669
+ title: Target Role
2670
+ prompt_text:
2671
+ type: string
2672
+ maxLength: 65536
2673
+ title: Prompt Text
2674
+ cooldown_secs:
2675
+ anyOf:
2676
+ - type: integer
2677
+ - type: 'null'
2678
+ title: Cooldown Secs
2679
+ type: object
2680
+ required:
2681
+ - space_id
2682
+ - name
2683
+ - condition_type
2684
+ - threshold_secs
2685
+ - prompt_text
2686
+ title: CreatePromptRuleRequest
2687
+ CreateSpaceRequest:
2688
+ properties:
2689
+ space_id:
2690
+ anyOf:
2691
+ - type: string
2692
+ maxLength: 200
2693
+ - type: 'null'
2694
+ title: Space Id
2695
+ description:
2696
+ type: string
2697
+ maxLength: 65536
2698
+ title: Description
2699
+ default: ''
2700
+ links:
2701
+ items:
2702
+ type: string
2703
+ type: array
2704
+ title: Links
2705
+ default: []
2706
+ type: object
2707
+ title: CreateSpaceRequest
2708
+ CreateThreadRequest:
2709
+ properties:
2710
+ parent_event_id:
2711
+ type: string
2712
+ maxLength: 200
2713
+ title: Parent Event Id
2714
+ subject:
2715
+ anyOf:
2716
+ - type: string
2717
+ maxLength: 500
2718
+ - type: 'null'
2719
+ title: Subject
2720
+ type: object
2721
+ required:
2722
+ - parent_event_id
2723
+ title: CreateThreadRequest
2724
+ CreateTimerRequest:
2725
+ properties:
2726
+ tool_name:
2727
+ type: string
2728
+ maxLength: 200
2729
+ title: Tool Name
2730
+ tool_args:
2731
+ additionalProperties: true
2732
+ type: object
2733
+ title: Tool Args
2734
+ default: {}
2735
+ timer_type:
2736
+ type: string
2737
+ maxLength: 200
2738
+ title: Timer Type
2739
+ duration_secs:
2740
+ type: integer
2741
+ title: Duration Secs
2742
+ type: object
2743
+ required:
2744
+ - tool_name
2745
+ - timer_type
2746
+ - duration_secs
2747
+ title: CreateTimerRequest
2748
+ HTTPValidationError:
2749
+ properties:
2750
+ detail:
2751
+ items:
2752
+ $ref: '#/components/schemas/ValidationError'
2753
+ type: array
2754
+ title: Detail
2755
+ type: object
2756
+ title: HTTPValidationError
2757
+ JoinSpaceRequest:
2758
+ properties:
2759
+ participant_id:
2760
+ type: string
2761
+ maxLength: 200
2762
+ title: Participant Id
2763
+ name:
2764
+ type: string
2765
+ maxLength: 500
2766
+ title: Name
2767
+ participant_type:
2768
+ type: string
2769
+ maxLength: 200
2770
+ title: Participant Type
2771
+ default: human
2772
+ agent_adapter:
2773
+ anyOf:
2774
+ - type: string
2775
+ maxLength: 200
2776
+ - type: 'null'
2777
+ title: Agent Adapter
2778
+ type: object
2779
+ required:
2780
+ - participant_id
2781
+ - name
2782
+ title: JoinSpaceRequest
2783
+ PostResponseRequest:
2784
+ properties:
2785
+ agent_id:
2786
+ type: string
2787
+ maxLength: 200
2788
+ title: Agent Id
2789
+ agent_name:
2790
+ type: string
2791
+ maxLength: 500
2792
+ title: Agent Name
2793
+ text:
2794
+ type: string
2795
+ maxLength: 65536
2796
+ title: Text
2797
+ parent_event_id:
2798
+ anyOf:
2799
+ - type: string
2800
+ maxLength: 200
2801
+ - type: 'null'
2802
+ title: Parent Event Id
2803
+ thread_id:
2804
+ anyOf:
2805
+ - type: string
2806
+ maxLength: 200
2807
+ - type: 'null'
2808
+ title: Thread Id
2809
+ metadata:
2810
+ anyOf:
2811
+ - additionalProperties: true
2812
+ type: object
2813
+ - type: 'null'
2814
+ title: Metadata
2815
+ type: object
2816
+ required:
2817
+ - agent_id
2818
+ - agent_name
2819
+ - text
2820
+ title: PostResponseRequest
2821
+ ProposeDecisionRequest:
2822
+ properties:
2823
+ proposed_by:
2824
+ type: string
2825
+ maxLength: 200
2826
+ title: Proposed By
2827
+ text:
2828
+ type: string
2829
+ maxLength: 65536
2830
+ title: Text
2831
+ question_id:
2832
+ anyOf:
2833
+ - type: string
2834
+ maxLength: 200
2835
+ - type: 'null'
2836
+ title: Question Id
2837
+ type: object
2838
+ required:
2839
+ - proposed_by
2840
+ - text
2841
+ title: ProposeDecisionRequest
2842
+ RedeemInviteRequest:
2843
+ properties:
2844
+ code:
2845
+ type: string
2846
+ maxLength: 200
2847
+ title: Code
2848
+ display_name:
2849
+ type: string
2850
+ maxLength: 500
2851
+ title: Display Name
2852
+ email:
2853
+ type: string
2854
+ maxLength: 200
2855
+ title: Email
2856
+ type: object
2857
+ required:
2858
+ - code
2859
+ - display_name
2860
+ - email
2861
+ title: RedeemInviteRequest
2862
+ RegisterActorRequest:
2863
+ properties:
2864
+ display_name:
2865
+ type: string
2866
+ maxLength: 500
2867
+ title: Display Name
2868
+ actor_type:
2869
+ type: string
2870
+ maxLength: 200
2871
+ title: Actor Type
2872
+ default: human
2873
+ email:
2874
+ anyOf:
2875
+ - type: string
2876
+ maxLength: 200
2877
+ - type: 'null'
2878
+ title: Email
2879
+ agent_profile:
2880
+ anyOf:
2881
+ - type: string
2882
+ maxLength: 65536
2883
+ - type: 'null'
2884
+ title: Agent Profile
2885
+ metadata:
2886
+ anyOf:
2887
+ - additionalProperties: true
2888
+ type: object
2889
+ - type: 'null'
2890
+ title: Metadata
2891
+ type: object
2892
+ required:
2893
+ - display_name
2894
+ title: RegisterActorRequest
2895
+ ResolveDecisionRequest:
2896
+ properties:
2897
+ resolved_by:
2898
+ type: string
2899
+ maxLength: 200
2900
+ title: Resolved By
2901
+ resolution:
2902
+ type: string
2903
+ maxLength: 65536
2904
+ title: Resolution
2905
+ status:
2906
+ type: string
2907
+ maxLength: 200
2908
+ title: Status
2909
+ default: resolved
2910
+ type: object
2911
+ required:
2912
+ - resolved_by
2913
+ - resolution
2914
+ title: ResolveDecisionRequest
2915
+ SetFocusRequest:
2916
+ properties:
2917
+ actor_ids:
2918
+ items:
2919
+ type: string
2920
+ type: array
2921
+ title: Actor Ids
2922
+ space_id:
2923
+ anyOf:
2924
+ - type: string
2925
+ maxLength: 200
2926
+ - type: 'null'
2927
+ title: Space Id
2928
+ type: object
2929
+ required:
2930
+ - actor_ids
2931
+ title: SetFocusRequest
2932
+ UpdateActorRequest:
2933
+ properties:
2934
+ display_name:
2935
+ anyOf:
2936
+ - type: string
2937
+ maxLength: 500
2938
+ - type: 'null'
2939
+ title: Display Name
2940
+ metadata:
2941
+ anyOf:
2942
+ - additionalProperties: true
2943
+ type: object
2944
+ - type: 'null'
2945
+ title: Metadata
2946
+ focus_space_id:
2947
+ anyOf:
2948
+ - type: string
2949
+ maxLength: 200
2950
+ - type: 'null'
2951
+ title: Focus Space Id
2952
+ type: object
2953
+ title: UpdateActorRequest
2954
+ UpdateParticipantStatusRequest:
2955
+ properties:
2956
+ status:
2957
+ type: string
2958
+ maxLength: 200
2959
+ title: Status
2960
+ type: object
2961
+ required:
2962
+ - status
2963
+ title: UpdateParticipantStatusRequest
2964
+ UpdatePromptRuleRequest:
2965
+ properties:
2966
+ enabled:
2967
+ anyOf:
2968
+ - type: boolean
2969
+ - type: 'null'
2970
+ title: Enabled
2971
+ threshold_secs:
2972
+ anyOf:
2973
+ - type: integer
2974
+ - type: 'null'
2975
+ title: Threshold Secs
2976
+ prompt_text:
2977
+ anyOf:
2978
+ - type: string
2979
+ maxLength: 65536
2980
+ - type: 'null'
2981
+ title: Prompt Text
2982
+ cooldown_secs:
2983
+ anyOf:
2984
+ - type: integer
2985
+ - type: 'null'
2986
+ title: Cooldown Secs
2987
+ target_actor_id:
2988
+ anyOf:
2989
+ - type: string
2990
+ maxLength: 200
2991
+ - type: 'null'
2992
+ title: Target Actor Id
2993
+ target_role:
2994
+ anyOf:
2995
+ - type: string
2996
+ maxLength: 200
2997
+ - type: 'null'
2998
+ title: Target Role
2999
+ type: object
3000
+ title: UpdatePromptRuleRequest
3001
+ UpdateQuestionRequest:
3002
+ properties:
3003
+ status:
3004
+ type: string
3005
+ maxLength: 200
3006
+ title: Status
3007
+ type: object
3008
+ required:
3009
+ - status
3010
+ title: UpdateQuestionRequest
3011
+ UpdateSpaceRequest:
3012
+ properties:
3013
+ description:
3014
+ anyOf:
3015
+ - type: string
3016
+ maxLength: 65536
3017
+ - type: 'null'
3018
+ title: Description
3019
+ status:
3020
+ anyOf:
3021
+ - type: string
3022
+ maxLength: 200
3023
+ - type: 'null'
3024
+ title: Status
3025
+ links:
3026
+ anyOf:
3027
+ - items:
3028
+ type: string
3029
+ type: array
3030
+ - type: 'null'
3031
+ title: Links
3032
+ type: object
3033
+ title: UpdateSpaceRequest
3034
+ ValidationError:
3035
+ properties:
3036
+ loc:
3037
+ items:
3038
+ anyOf:
3039
+ - type: string
3040
+ - type: integer
3041
+ type: array
3042
+ title: Location
3043
+ msg:
3044
+ type: string
3045
+ title: Message
3046
+ type:
3047
+ type: string
3048
+ title: Error Type
3049
+ input:
3050
+ title: Input
3051
+ ctx:
3052
+ type: object
3053
+ title: Context
3054
+ type: object
3055
+ required:
3056
+ - loc
3057
+ - msg
3058
+ - type
3059
+ title: ValidationError