Repository navigation
Expand file tree
/
Copy pathendpoint-catalog.json
More file actions
1958 lines (1958 loc) · 101 KB
/
Copy pathendpoint-catalog.json
File metadata and controls
1958 lines (1958 loc) · 101 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"schemaVersion": 1,
"reviewBaseline": {
"reviewedAt": "2026-10-25",
"clientRepository": "desirecore/desirecore",
"clientRevision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"internalDocsRevision": "9fbe5f4668d223553b38ebd4e7a2a49450000a9b",
"publicDocsBaseRevision": "b8fc9329b935f85a20ab8bd253cf3afbbe99020b"
},
"pages": [
{
"id": "api/connection-and-auth",
"file": "docs/07-api/01-connection-and-auth.md",
"slug": "/api/connection-and-auth"
},
{
"id": "api/agent-webhook",
"file": "docs/07-api/02-agent-webhook.md",
"slug": "/api/agent-webhook"
},
{
"id": "api/errors-and-troubleshooting",
"file": "docs/07-api/03-errors-and-troubleshooting.md",
"slug": "/api/errors-and-troubleshooting"
},
{
"id": "api/conversations-and-runs",
"file": "docs/07-api/04-conversations-and-runs.md",
"slug": "/api/conversations-and-runs"
},
{
"id": "api/model-proxy",
"file": "docs/07-api/05-model-proxy.md",
"slug": "/api/model-proxy"
},
{
"id": "api/workflow-integration",
"file": "docs/07-api/06-workflow-integration.md",
"slug": "/api/workflow-integration"
},
{
"id": "api/openapi",
"file": "docs/07-api/07-openapi.md",
"slug": "/api/openapi"
},
{
"id": "api/session-history-and-messages",
"file": "docs/07-api/08-session-history-and-messages.md",
"slug": "/api/session-history-and-messages"
},
{
"id": "api/attachments-and-media",
"file": "docs/07-api/09-attachments-and-media.md",
"slug": "/api/attachments-and-media"
},
{
"id": "api/observability",
"file": "docs/07-api/10-observability.md",
"slug": "/api/observability"
},
{
"id": "api/taskboards",
"file": "docs/07-api/11-taskboards.md",
"slug": "/api/taskboards"
},
{
"id": "api/object-storage",
"file": "docs/07-api/12-object-storage.md",
"slug": "/api/object-storage"
},
{
"id": "api/index",
"file": "docs/07-api/index.md",
"slug": "/api"
}
],
"endpoints": [
{
"operationId": "getAgentServiceClientHandshake",
"service": "agent-service",
"method": "GET",
"path": "/api/client-handshake",
"doc": "api/connection-and-auth",
"deploymentModes": [
"standalone-owner",
"standalone-external"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Valid instance access credential; metadata is service-level and does not expose a user ID or token.",
"resultDelivery": "Synchronous JSON metadata. A 200 response verifies this authenticated request, not every optional capability.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/client-handshake-routes.ts",
"packages/agent-service/src/service-metadata.ts",
"packages/agent-service/src/auth/instance-auth.ts",
"packages/agent-service/src/readiness.ts",
"deploy/Caddyfile"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/client-handshake.ts:clientHandshakeResponseSchema"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Fixed-source auth and handshake unit tests plus a real loopback HTTPS readiness integration; no public-domain or Caddy-container run.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "triggerAgentWebhook",
"service": "agent-service",
"method": "POST",
"path": "/api/webhook/:agent_id",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner",
"standalone-external"
],
"authentication": "Authorization: Bearer <Webhook secret>; secret must be configured for external callers.",
"permissions": "Enabled event with an administrator-created tool/file permission snapshot. Owner management is available when handshake.capabilities.webhookManagement is true. Runtime intersects the stored ceiling with current Agent scope; authorized file or command tools retain existing approval semantics.",
"resultDelivery": "200 {accepted:true,agentId,event} acknowledges receipt, with no Run ID or delivery deduplication. Only explicit authorized SendUserMessage output is delivered to the user; final model answers are not automatically returned to the caller or added to chat.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/webhook-routes.ts",
"packages/agent-service/src/routes/webhook-state.ts",
"packages/agent-service/src/auth/instance-auth.ts",
"packages/agent-service/src/scheduler/background-delivery.ts",
"app/components/resources/agents/components/AgentFormEditor.tsx",
"deploy/Caddyfile"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/webhook.ts:webhookRequestSchema",
"packages/schemas/src/agent-service/webhook.ts:webhookEventConfigSchema"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Real production owner management, atomic AgentFS snapshot writes, local fake-provider runtime and SendUserMessage delivery, rotation, failure and disable/delete integration. No commercial-provider or packaged-client claim.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"WebhookSecret"
]
},
{
"operationId": "listAgents",
"service": "agent-service",
"method": "GET",
"path": "/api/agents",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner access. Run list, metadata and live-state reads are instance-level; receipt reads additionally check trusted user ownership and return 404 for another owner.",
"resultDelivery": "Synchronous read; live state is observational, not a query completion signal.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/agent-routes.ts",
"packages/agent-service/src/agent/list-projection.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent/agent-summary.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "listRuns",
"service": "agent-service",
"method": "GET",
"path": "/api/runs",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner access. Run list, metadata and live-state reads are instance-level; receipt reads additionally check trusted user ownership and return 404 for another owner.",
"resultDelivery": "Synchronous read; live state is observational, not a query completion signal.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/runs-routes.ts",
"packages/agent-service/src/session/run-manager.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/run.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/history-attachments-verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "getRun",
"service": "agent-service",
"method": "GET",
"path": "/api/runs/:id",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner access. Run list, metadata and live-state reads are instance-level; receipt reads additionally check trusted user ownership and return 404 for another owner.",
"resultDelivery": "Synchronous read; live state is observational, not a query completion signal.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/runs-routes.ts",
"packages/agent-service/src/session/run-meta-read.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/run.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/history-attachments-verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "getRunRuntimeState",
"service": "agent-service",
"method": "GET",
"path": "/api/runs/:id/runtime-state",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner access. Run list, metadata and live-state reads are instance-level; receipt reads additionally check trusted user ownership and return 404 for another owner.",
"resultDelivery": "Synchronous read; live state is observational, not a query completion signal.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/runs-routes.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/run.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/history-attachments-verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "listRunReceipts",
"service": "agent-service",
"method": "GET",
"path": "/api/runs/:id/receipt",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner access. Run list, metadata and live-state reads are instance-level; receipt reads additionally check trusted user ownership and return 404 for another owner.",
"resultDelivery": "Synchronous read; live state is observational, not a query completion signal.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/runs-routes.ts",
"packages/agent-service/src/receipts/reader.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/operations-activity.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "startAgentQuery",
"service": "agent-service",
"method": "POST",
"path": "/api/query/start",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner identity from instance authentication; durable request identifiers and digest preserve admission identity. Socket.IO uses the same instance credential and current originSocketId.",
"resultDelivery": "HTTP admission or lookup JSON; query completion and incremental messages arrive through correlated Socket.IO events.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/query-routes.ts",
"packages/agent-service/src/query/client-request-registry.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/query.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "followUpAgentQuery",
"service": "agent-service",
"method": "POST",
"path": "/api/query/follow-up",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner identity from instance authentication; durable request identifiers and digest preserve admission identity. Socket.IO uses the same instance credential and current originSocketId.",
"resultDelivery": "HTTP admission or lookup JSON; query completion and incremental messages arrive through correlated Socket.IO events.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/query-routes.ts",
"packages/agent-service/src/query/client-request-registry.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/query.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "lookupQueryAdmissions",
"service": "agent-service",
"method": "POST",
"path": "/api/query/client-requests/lookup",
"doc": "api/conversations-and-runs",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment administrator",
"permissions": "Owner identity from instance authentication; durable request identifiers and digest preserve admission identity. Socket.IO uses the same instance credential and current originSocketId.",
"resultDelivery": "HTTP admission or lookup JSON; query completion and incremental messages arrive through correlated Socket.IO events.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/query-routes.ts",
"packages/agent-service/src/query/client-request-registry.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/client-request-admission.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Fixed-source request/response examples and focused HTTP + Socket.IO client contract; runtime fake in the public client fixture.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "getAgentWebhookConfiguration",
"service": "agent-service",
"method": "GET",
"path": "/api/agents/:id/webhooks",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment owner",
"permissions": "Management requires governed owner access and webhookManagement capability; selected tool IDs and current file scope are resolved by the server. Schedule messages are explicit persisted user deliveries, not request-level execution status.",
"resultDelivery": "Synchronous configuration or explicit delivery JSON. First configuration and rotation disclose a secret once; GET does not return it.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/webhook-management-routes.ts",
"packages/agent-service/src/auth/governed-endpoint-auth.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/webhook-management.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Production Webhook management integration with local fake model upstream and real delivery persistence; no commercial model or desktop package verification.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "upsertAgentWebhookEvent",
"service": "agent-service",
"method": "PUT",
"path": "/api/agents/:id/webhooks/events/:event",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment owner",
"permissions": "Management requires governed owner access and webhookManagement capability; selected tool IDs and current file scope are resolved by the server. Schedule messages are explicit persisted user deliveries, not request-level execution status.",
"resultDelivery": "Synchronous configuration or explicit delivery JSON. First configuration and rotation disclose a secret once; GET does not return it.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/webhook-management-routes.ts",
"packages/agent-service/src/auth/governed-endpoint-auth.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/webhook-management.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Production Webhook management integration with local fake model upstream and real delivery persistence; no commercial model or desktop package verification.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "setAgentWebhookEnabled",
"service": "agent-service",
"method": "PATCH",
"path": "/api/agents/:id/webhooks",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment owner",
"permissions": "Management requires governed owner access and webhookManagement capability; selected tool IDs and current file scope are resolved by the server. Schedule messages are explicit persisted user deliveries, not request-level execution status.",
"resultDelivery": "Synchronous configuration or explicit delivery JSON. First configuration and rotation disclose a secret once; GET does not return it.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/webhook-management-routes.ts",
"packages/agent-service/src/auth/governed-endpoint-auth.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/webhook-management.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Production Webhook management integration with local fake model upstream and real delivery persistence; no commercial model or desktop package verification.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "deleteAgentWebhookEvent",
"service": "agent-service",
"method": "DELETE",
"path": "/api/agents/:id/webhooks/events/:event",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment owner",
"permissions": "Management requires governed owner access and webhookManagement capability; selected tool IDs and current file scope are resolved by the server. Schedule messages are explicit persisted user deliveries, not request-level execution status.",
"resultDelivery": "Synchronous configuration or explicit delivery JSON. First configuration and rotation disclose a secret once; GET does not return it.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/webhook-management-routes.ts",
"packages/agent-service/src/auth/governed-endpoint-auth.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/webhook-management.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Production Webhook management integration with local fake model upstream and real delivery persistence; no commercial model or desktop package verification.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "rotateAgentWebhookSecret",
"service": "agent-service",
"method": "POST",
"path": "/api/agents/:id/webhooks/secret/rotate",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment owner",
"permissions": "Management requires governed owner access and webhookManagement capability; selected tool IDs and current file scope are resolved by the server. Schedule messages are explicit persisted user deliveries, not request-level execution status.",
"resultDelivery": "Synchronous configuration or explicit delivery JSON. First configuration and rotation disclose a secret once; GET does not return it.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/webhook-management-routes.ts",
"packages/agent-service/src/auth/governed-endpoint-auth.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/webhook-management.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Production Webhook management integration with local fake model upstream and real delivery persistence; no commercial model or desktop package verification.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "listAgentScheduleMessages",
"service": "agent-service",
"method": "GET",
"path": "/api/agents/:agentId/schedule-messages",
"doc": "api/agent-webhook",
"deploymentModes": [
"standalone-owner"
],
"authentication": "X-Agent-Service-Token from the deployment owner",
"permissions": "Authenticated request identity; visibility is filtered by authorizedMessageIds using current delivery-resource authorization. This is persisted explicit delivery, not request-level Webhook execution status.",
"resultDelivery": "Synchronous {items,total,limit,offset}; default limit50, maximum200. Items may include other authorized background deliveries.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/schedule-routes.ts",
"packages/agent-service/src/auth/governed-endpoint-auth.ts"
]
},
"schemaRefs": [],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Production Webhook management integration with local fake model upstream and real delivery persistence; no commercial model or desktop package verification.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "createProxyMessage",
"service": "compat-proxy",
"method": "POST",
"path": "/v1/messages",
"doc": "api/model-proxy",
"deploymentModes": [
"local-loopback"
],
"authentication": "Provider-bound safe token in Authorization: Bearer or x-api-key",
"permissions": "Local service access and valid non-revoked provider-bound safe token. Models listing is not an authorization list; no automatic token expiry or per-model quota promise.",
"resultDelivery": "Protocol-specific JSON or SSE stream; streaming failures are interpreted inside the stream.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"packages/shared/src/compat-proxy/server.ts",
"packages/shared/src/compat-proxy/proxy-auth.ts",
"packages/agent-service/src/builtin-tools/compute-credential.ts"
]
},
"schemaRefs": [],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Focused local proxy contract tests; no commercial-provider acceptance."
},
"spec": "static/openapi/compat-proxy.json",
"securitySchemes": [
"ProxyBearer",
"ProxyApiKey"
]
},
{
"operationId": "createProxyChatCompletion",
"service": "compat-proxy",
"method": "POST",
"path": "/v1/chat/completions",
"doc": "api/model-proxy",
"deploymentModes": [
"local-loopback"
],
"authentication": "Provider-bound safe token in Authorization: Bearer or x-api-key",
"permissions": "Local service access and valid non-revoked provider-bound safe token. Models listing is not an authorization list; no automatic token expiry or per-model quota promise.",
"resultDelivery": "Protocol-specific JSON or SSE stream; streaming failures are interpreted inside the stream.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"packages/shared/src/compat-proxy/server.ts",
"packages/shared/src/compat-proxy/proxy-auth.ts",
"packages/agent-service/src/builtin-tools/compute-credential.ts"
]
},
"schemaRefs": [],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Focused local proxy contract tests; no commercial-provider acceptance."
},
"spec": "static/openapi/compat-proxy.json",
"securitySchemes": [
"ProxyBearer",
"ProxyApiKey"
]
},
{
"operationId": "listProxyModels",
"service": "compat-proxy",
"method": "GET",
"path": "/v1/models",
"doc": "api/model-proxy",
"deploymentModes": [
"local-loopback"
],
"authentication": "Provider-bound safe token in Authorization: Bearer or x-api-key",
"permissions": "Local service access and valid non-revoked provider-bound safe token. Models listing is not an authorization list; no automatic token expiry or per-model quota promise.",
"resultDelivery": "Protocol-specific JSON or SSE stream; streaming failures are interpreted inside the stream.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"packages/shared/src/compat-proxy/server.ts",
"packages/shared/src/compat-proxy/proxy-auth.ts",
"packages/agent-service/src/builtin-tools/compute-credential.ts"
]
},
"schemaRefs": [],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Focused local proxy contract tests; no commercial-provider acceptance."
},
"spec": "static/openapi/compat-proxy.json",
"securitySchemes": [
"ProxyBearer",
"ProxyApiKey"
]
},
{
"operationId": "listWorkflows",
"service": "workflow-service",
"method": "GET",
"path": "/api/workflows",
"doc": "api/workflow-integration",
"deploymentModes": [
"administrator-provided-workflow-service"
],
"authentication": "X-Workflow-Service-Token for the independent Workflow Service",
"permissions": "Administrator-preconfigured definitions; service-token reads are service-level. TaskBoard-backed history additionally enforces current ACL. Public grant minting and unguarded /run are not included.",
"resultDelivery": "Synchronous metadata/history or trigger runId, followed by SSE workflow events; inspect terminal status even on workflow:complete.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"lib/workflow-service/server.ts",
"packages/shared/src/workflow-contracts/api.ts"
]
},
"schemaRefs": [
"packages/shared/src/workflow-contracts/api.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Implementation-derived contract and focused workflow validation; no execution-grant acquisition flow."
},
"spec": "static/openapi/workflow-service.json",
"securitySchemes": [
"WorkflowToken"
]
},
{
"operationId": "triggerWorkflowWebhook",
"service": "workflow-service",
"method": "POST",
"path": "/api/workflow/webhook",
"doc": "api/workflow-integration",
"deploymentModes": [
"administrator-provided-workflow-service"
],
"authentication": "X-Workflow-Service-Token for the independent Workflow Service",
"permissions": "Administrator-preconfigured definitions; service-token reads are service-level. TaskBoard-backed history additionally enforces current ACL. Public grant minting and unguarded /run are not included.",
"resultDelivery": "Synchronous metadata/history or trigger runId, followed by SSE workflow events; inspect terminal status even on workflow:complete.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"lib/workflow-service/server.ts",
"packages/shared/src/workflow-contracts/api.ts"
]
},
"schemaRefs": [
"packages/shared/src/workflow-contracts/api.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Implementation-derived contract and focused workflow validation; no execution-grant acquisition flow."
},
"spec": "static/openapi/workflow-service.json",
"securitySchemes": [
"WorkflowToken"
]
},
{
"operationId": "watchWorkflowRunEvents",
"service": "workflow-service",
"method": "GET",
"path": "/api/workflow/events",
"doc": "api/workflow-integration",
"deploymentModes": [
"administrator-provided-workflow-service"
],
"authentication": "X-Workflow-Service-Token for the independent Workflow Service",
"permissions": "Administrator-preconfigured definitions; service-token reads are service-level. TaskBoard-backed history additionally enforces current ACL. Public grant minting and unguarded /run are not included.",
"resultDelivery": "Synchronous metadata/history or trigger runId, followed by SSE workflow events; inspect terminal status even on workflow:complete.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"lib/workflow-service/server.ts",
"packages/shared/src/workflow-contracts/api.ts"
]
},
"schemaRefs": [
"packages/shared/src/workflow-contracts/api.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Implementation-derived contract and focused workflow validation; no execution-grant acquisition flow."
},
"spec": "static/openapi/workflow-service.json",
"securitySchemes": [
"WorkflowToken"
]
},
{
"operationId": "listWorkflowRuns",
"service": "workflow-service",
"method": "GET",
"path": "/api/workflow/:id/runs",
"doc": "api/workflow-integration",
"deploymentModes": [
"administrator-provided-workflow-service"
],
"authentication": "X-Workflow-Service-Token for the independent Workflow Service",
"permissions": "Administrator-preconfigured definitions; service-token reads are service-level. TaskBoard-backed history additionally enforces current ACL. Public grant minting and unguarded /run are not included.",
"resultDelivery": "Synchronous metadata/history or trigger runId, followed by SSE workflow events; inspect terminal status even on workflow:complete.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"lib/workflow-service/server.ts",
"packages/shared/src/workflow-contracts/api.ts"
]
},
"schemaRefs": [
"packages/shared/src/workflow-contracts/api.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Implementation-derived contract and focused workflow validation; no execution-grant acquisition flow."
},
"spec": "static/openapi/workflow-service.json",
"securitySchemes": [
"WorkflowToken"
]
},
{
"operationId": "getWorkflowRun",
"service": "workflow-service",
"method": "GET",
"path": "/api/workflow/:id/runs/:runId",
"doc": "api/workflow-integration",
"deploymentModes": [
"administrator-provided-workflow-service"
],
"authentication": "X-Workflow-Service-Token for the independent Workflow Service",
"permissions": "Administrator-preconfigured definitions; service-token reads are service-level. TaskBoard-backed history additionally enforces current ACL. Public grant minting and unguarded /run are not included.",
"resultDelivery": "Synchronous metadata/history or trigger runId, followed by SSE workflow events; inspect terminal status even on workflow:complete.",
"source": {
"repository": "desirecore/desirecore",
"revision": "e45f22902af2dc45b109cfa8f454795538aea2ed",
"files": [
"lib/workflow-service/server.ts",
"packages/shared/src/workflow-contracts/api.ts"
]
},
"schemaRefs": [
"packages/shared/src/workflow-contracts/api.ts"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/verification.md",
"scope": "Implementation-derived contract and focused workflow validation; no execution-grant acquisition flow."
},
"spec": "static/openapi/workflow-service.json",
"securitySchemes": [
"WorkflowToken"
]
},
{
"operationId": "uploadAttachment",
"service": "agent-service",
"method": "POST",
"path": "/api/attachments",
"doc": "api/attachments-and-media",
"deploymentModes": [
"standalone-owner",
"standalone-external"
],
"authentication": "X-Agent-Service-Token supplied by the instance administrator",
"permissions": "One non-empty multipart file, at most 20 MiB. Stores bytes without extraction or execution. Per-user retained-directory limit 256, total retained data limit 512 MiB. Each successful POST creates a new attachment; no automatic retry/idempotency contract. The receipt fileReference is passed unchanged in Query options.fileReferences on this instance and does not grant tool or cross-user permission.",
"resultDelivery": "Complete persisted attachment receipt.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/attachment-routes.ts",
"packages/schemas/src/agent-service/attachments.ts",
"packages/agent-service/src/auth/instance-auth.ts",
"packages/agent-service/src/http-server.ts"
]
},
"schemaRefs": [
"packages/schemas/src/agent-service/attachments.ts:attachmentReceiptSchema"
],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/history-attachments-verification.md",
"scope": "Fixed-source route/schema/auth review. Standalone uploader: 12 local HTTP contract tests with a fake server, not production storage or model execution. Root records actual fixed-source route validation separately.",
"baselineNote": "Source contract reviewed at a101a40c on 2026-10-22. Historical test results retain their own recorded baseline; current validation is recorded in api/stability-verification-2026-10-22.md.",
"currentReview": "Static contract recheck at a0186f6feeaf66eb88787e8b80b8fea5559b8761 on 2026-10-25; historical executed tests retain their recorded baseline. Current observation checks are in api/observation-verification-2026-10-25.md."
},
"spec": "static/openapi/agent-service.json",
"securitySchemes": [
"InstanceToken"
]
},
{
"operationId": "downloadAttachment",
"service": "agent-service",
"method": "GET",
"path": "/api/attachments/:attachmentId",
"doc": "api/attachments-and-media",
"deploymentModes": [
"standalone-owner",
"standalone-external"
],
"authentication": "X-Agent-Service-Token supplied by the instance administrator",
"permissions": "Returns original bytes as an attachment, not JSON. The user is resolved from instance authentication. IDs do not confer cross-user permission. This route has no media byte-Range contract.",
"resultDelivery": "Original file bytes with no-store and nosniff.",
"source": {
"repository": "desirecore/desirecore",
"revision": "ba6a550aeb397c377f6c3c6e620863d06d526628",
"files": [
"packages/agent-service/src/routes/attachment-routes.ts",
"packages/schemas/src/agent-service/attachments.ts",
"packages/agent-service/src/auth/instance-auth.ts",
"packages/agent-service/src/http-server.ts"
]
},
"schemaRefs": [],
"effectiveVersion": null,
"versionEvidence": null,
"verification": {
"record": "api/history-attachments-verification.md",
"scope": "Fixed-source route/schema/auth review. Standalone uploader: 12 local HTTP contract tests with a fake server, not production storage or model execution. Root records actual fixed-source route validation separately.",