@agent-os-sdk/client 0.4.2 → 0.4.3
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/dist/client/raw.d.ts +3 -4
- package/dist/client/raw.d.ts.map +1 -1
- package/dist/generated/openapi.d.ts +465 -474
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client/raw.ts +3 -4
- package/src/generated/openapi.ts +465 -474
- package/src/generated/swagger.json +708 -701
- package/src/index.ts +2 -2
- package/src/modules/agents.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.4",
|
|
3
3
|
"info": {
|
|
4
|
-
"title": "AgentOs.Api
|
|
4
|
+
"title": "AgentOs.Api",
|
|
5
5
|
"version": "1.0"
|
|
6
6
|
},
|
|
7
7
|
"paths": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"tags": [
|
|
43
43
|
"AgentPortability"
|
|
44
44
|
],
|
|
45
|
-
"summary": "Export an agent with all its
|
|
45
|
+
"summary": "Export an agent with all its bundles.",
|
|
46
46
|
"parameters": [
|
|
47
47
|
{
|
|
48
48
|
"name": "id",
|
|
@@ -67,33 +67,32 @@
|
|
|
67
67
|
"AgentPortability"
|
|
68
68
|
],
|
|
69
69
|
"summary": "Import an agent bundle.",
|
|
70
|
-
"description": "Imports an agent bundle into the current tenant/workspace.\nThe agent and all
|
|
70
|
+
"description": "Imports an agent bundle into the current tenant/workspace.\nThe agent and all bundles are created with new IDs to avoid conflicts.\n\n**Security:**\n- Tenant and workspace are resolved from the authenticated context\n- Original IDs from the bundle are replaced with new GUIDs\n- LiveBundleId is preserved via ID mapping",
|
|
71
71
|
"requestBody": {
|
|
72
|
-
"description": "The agent bundle to import.",
|
|
73
72
|
"content": {
|
|
74
73
|
"application/json": {
|
|
75
74
|
"schema": {
|
|
76
|
-
"$ref": "#/components/schemas/
|
|
75
|
+
"$ref": "#/components/schemas/AgentExportBundle"
|
|
77
76
|
}
|
|
78
77
|
},
|
|
79
78
|
"text/json": {
|
|
80
79
|
"schema": {
|
|
81
|
-
"$ref": "#/components/schemas/
|
|
80
|
+
"$ref": "#/components/schemas/AgentExportBundle"
|
|
82
81
|
}
|
|
83
82
|
},
|
|
84
83
|
"application/*+json": {
|
|
85
84
|
"schema": {
|
|
86
|
-
"$ref": "#/components/schemas/
|
|
85
|
+
"$ref": "#/components/schemas/AgentExportBundle"
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
},
|
|
91
90
|
"responses": {
|
|
92
91
|
"201": {
|
|
93
|
-
"description": "
|
|
92
|
+
"description": "Created"
|
|
94
93
|
},
|
|
95
94
|
"400": {
|
|
96
|
-
"description": "
|
|
95
|
+
"description": "Bad Request",
|
|
97
96
|
"content": {
|
|
98
97
|
"application/json": {
|
|
99
98
|
"schema": {
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
}
|
|
104
103
|
},
|
|
105
104
|
"401": {
|
|
106
|
-
"description": "
|
|
105
|
+
"description": "Unauthorized",
|
|
107
106
|
"content": {
|
|
108
107
|
"application/json": {
|
|
109
108
|
"schema": {
|
|
@@ -452,367 +451,6 @@
|
|
|
452
451
|
}
|
|
453
452
|
}
|
|
454
453
|
},
|
|
455
|
-
"/v1/api/agents/{agentId}/versions/{versionId}/manifest": {
|
|
456
|
-
"get": {
|
|
457
|
-
"tags": [
|
|
458
|
-
"AgentVersionManifest"
|
|
459
|
-
],
|
|
460
|
-
"summary": "Get artifact manifest for a version.",
|
|
461
|
-
"parameters": [
|
|
462
|
-
{
|
|
463
|
-
"name": "agentId",
|
|
464
|
-
"in": "path",
|
|
465
|
-
"required": true,
|
|
466
|
-
"schema": {
|
|
467
|
-
"type": "string",
|
|
468
|
-
"format": "uuid"
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"name": "versionId",
|
|
473
|
-
"in": "path",
|
|
474
|
-
"required": true,
|
|
475
|
-
"schema": {
|
|
476
|
-
"type": "string",
|
|
477
|
-
"format": "uuid"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"responses": {
|
|
482
|
-
"200": {
|
|
483
|
-
"description": "OK"
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
"/v1/api/agents/{agentId}/versions/{versionId}/graph/mermaid": {
|
|
489
|
-
"get": {
|
|
490
|
-
"tags": [
|
|
491
|
-
"AgentVersionManifest"
|
|
492
|
-
],
|
|
493
|
-
"summary": "Get Mermaid diagram for graph.",
|
|
494
|
-
"parameters": [
|
|
495
|
-
{
|
|
496
|
-
"name": "agentId",
|
|
497
|
-
"in": "path",
|
|
498
|
-
"required": true,
|
|
499
|
-
"schema": {
|
|
500
|
-
"type": "string",
|
|
501
|
-
"format": "uuid"
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
"name": "versionId",
|
|
506
|
-
"in": "path",
|
|
507
|
-
"required": true,
|
|
508
|
-
"schema": {
|
|
509
|
-
"type": "string",
|
|
510
|
-
"format": "uuid"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
],
|
|
514
|
-
"responses": {
|
|
515
|
-
"200": {
|
|
516
|
-
"description": "OK"
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
"/v1/api/agents/{agentId}/versions": {
|
|
522
|
-
"post": {
|
|
523
|
-
"tags": [
|
|
524
|
-
"AgentVersions"
|
|
525
|
-
],
|
|
526
|
-
"summary": "Creates a new version for an agent.",
|
|
527
|
-
"description": "Creates an immutable snapshot of the agent's configuration. The new version\ncan optionally be marked as the live version immediately.\n\n**Example Request:**\n```json\n{\n \"version_tag\": \"v1.2.0\",\n \"graph_spec\": { \"nodes\": [...], \"edges\": [...] },\n \"set_live\": true\n}\n```",
|
|
528
|
-
"parameters": [
|
|
529
|
-
{
|
|
530
|
-
"name": "agentId",
|
|
531
|
-
"in": "path",
|
|
532
|
-
"description": "The unique identifier of the parent agent.",
|
|
533
|
-
"required": true,
|
|
534
|
-
"schema": {
|
|
535
|
-
"type": "string",
|
|
536
|
-
"format": "uuid"
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"requestBody": {
|
|
541
|
-
"description": "The version creation request with graph specification.",
|
|
542
|
-
"content": {
|
|
543
|
-
"application/json": {
|
|
544
|
-
"schema": {
|
|
545
|
-
"$ref": "#/components/schemas/CreateAgentVersionRequest"
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
"text/json": {
|
|
549
|
-
"schema": {
|
|
550
|
-
"$ref": "#/components/schemas/CreateAgentVersionRequest"
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
"application/*+json": {
|
|
554
|
-
"schema": {
|
|
555
|
-
"$ref": "#/components/schemas/CreateAgentVersionRequest"
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
"responses": {
|
|
561
|
-
"201": {
|
|
562
|
-
"description": "Version created successfully."
|
|
563
|
-
},
|
|
564
|
-
"400": {
|
|
565
|
-
"description": "Invalid request body or validation error.",
|
|
566
|
-
"content": {
|
|
567
|
-
"application/json": {
|
|
568
|
-
"schema": {
|
|
569
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
"401": {
|
|
575
|
-
"description": "Authentication required.",
|
|
576
|
-
"content": {
|
|
577
|
-
"application/json": {
|
|
578
|
-
"schema": {
|
|
579
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"404": {
|
|
585
|
-
"description": "Parent agent not found.",
|
|
586
|
-
"content": {
|
|
587
|
-
"application/json": {
|
|
588
|
-
"schema": {
|
|
589
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"get": {
|
|
597
|
-
"tags": [
|
|
598
|
-
"AgentVersions"
|
|
599
|
-
],
|
|
600
|
-
"summary": "Lists all versions for an agent.",
|
|
601
|
-
"description": "Returns all versions of the specified agent, ordered by creation date (newest first).\nThe response includes which version is currently set as \"live\".",
|
|
602
|
-
"parameters": [
|
|
603
|
-
{
|
|
604
|
-
"name": "agentId",
|
|
605
|
-
"in": "path",
|
|
606
|
-
"description": "The unique identifier of the agent.",
|
|
607
|
-
"required": true,
|
|
608
|
-
"schema": {
|
|
609
|
-
"type": "string",
|
|
610
|
-
"format": "uuid"
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
],
|
|
614
|
-
"responses": {
|
|
615
|
-
"200": {
|
|
616
|
-
"description": "Returns the list of versions."
|
|
617
|
-
},
|
|
618
|
-
"401": {
|
|
619
|
-
"description": "Authentication required.",
|
|
620
|
-
"content": {
|
|
621
|
-
"application/json": {
|
|
622
|
-
"schema": {
|
|
623
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
"/v1/api/agents/{agentId}/versions/{versionId}": {
|
|
632
|
-
"get": {
|
|
633
|
-
"tags": [
|
|
634
|
-
"AgentVersions"
|
|
635
|
-
],
|
|
636
|
-
"summary": "Retrieves a specific version by its identifier.",
|
|
637
|
-
"description": "Returns the full details of a specific agent version, including its\ngraph specification and all configuration settings.",
|
|
638
|
-
"parameters": [
|
|
639
|
-
{
|
|
640
|
-
"name": "agentId",
|
|
641
|
-
"in": "path",
|
|
642
|
-
"description": "The unique identifier of the parent agent.",
|
|
643
|
-
"required": true,
|
|
644
|
-
"schema": {
|
|
645
|
-
"type": "string",
|
|
646
|
-
"format": "uuid"
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
"name": "versionId",
|
|
651
|
-
"in": "path",
|
|
652
|
-
"description": "The unique identifier of the version to retrieve.",
|
|
653
|
-
"required": true,
|
|
654
|
-
"schema": {
|
|
655
|
-
"type": "string",
|
|
656
|
-
"format": "uuid"
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
],
|
|
660
|
-
"responses": {
|
|
661
|
-
"200": {
|
|
662
|
-
"description": "Returns the version details."
|
|
663
|
-
},
|
|
664
|
-
"401": {
|
|
665
|
-
"description": "Authentication required.",
|
|
666
|
-
"content": {
|
|
667
|
-
"application/json": {
|
|
668
|
-
"schema": {
|
|
669
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"404": {
|
|
675
|
-
"description": "Version not found.",
|
|
676
|
-
"content": {
|
|
677
|
-
"application/json": {
|
|
678
|
-
"schema": {
|
|
679
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
"patch": {
|
|
687
|
-
"tags": [
|
|
688
|
-
"AgentVersions"
|
|
689
|
-
],
|
|
690
|
-
"summary": "Updates are not allowed - versions are immutable.",
|
|
691
|
-
"description": "Agent versions are immutable by design. This endpoint always returns a 409 Conflict\nto enforce this invariant. To change an agent's behavior, create a new version instead.\n\n**Why immutability?**\n- Reproducibility: Every run can be traced to an exact version\n- Auditability: Version history provides a complete changelog\n- Rollback: Easy to revert to any previous version",
|
|
692
|
-
"parameters": [
|
|
693
|
-
{
|
|
694
|
-
"name": "agentId",
|
|
695
|
-
"in": "path",
|
|
696
|
-
"description": "The unique identifier of the parent agent.",
|
|
697
|
-
"required": true,
|
|
698
|
-
"schema": {
|
|
699
|
-
"type": "string",
|
|
700
|
-
"format": "uuid"
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"name": "versionId",
|
|
705
|
-
"in": "path",
|
|
706
|
-
"description": "The unique identifier of the version.",
|
|
707
|
-
"required": true,
|
|
708
|
-
"schema": {
|
|
709
|
-
"type": "string",
|
|
710
|
-
"format": "uuid"
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
],
|
|
714
|
-
"requestBody": {
|
|
715
|
-
"description": "The update request (ignored - updates not allowed).",
|
|
716
|
-
"content": {
|
|
717
|
-
"application/json": {
|
|
718
|
-
"schema": { }
|
|
719
|
-
},
|
|
720
|
-
"text/json": {
|
|
721
|
-
"schema": { }
|
|
722
|
-
},
|
|
723
|
-
"application/*+json": {
|
|
724
|
-
"schema": { }
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
"responses": {
|
|
729
|
-
"409": {
|
|
730
|
-
"description": "Versions are immutable. Create a new version instead.",
|
|
731
|
-
"content": {
|
|
732
|
-
"application/json": {
|
|
733
|
-
"schema": {
|
|
734
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
},
|
|
742
|
-
"/v1/api/agents/{agentId}/versions/{versionId}/bundle": {
|
|
743
|
-
"get": {
|
|
744
|
-
"tags": [
|
|
745
|
-
"AgentVersions"
|
|
746
|
-
],
|
|
747
|
-
"summary": "Gets the full execution bundle for a version including resolved graph_spec.",
|
|
748
|
-
"description": "Returns the complete graph specification and metadata for a version.\nThe graph_spec is fully resolved - no need to fetch artifacts separately.\n\n**Caching:** Uses strong ETag based on artifact_hash for efficient caching.\nInclude `If-None-Match` header to get 304 Not Modified when content unchanged.\n\n**Example Response:**\n```json\n{\n \"version\": { \"id\": \"...\", \"version_tag\": \"v1.2.0\", ... },\n \"graph_spec\": { \"nodes\": [...], \"edges\": [...] },\n \"artifact_hash\": \"a1b2c3...\",\n \"format\": \"langgraph_json_v1\",\n \"resolved_at\": \"2024-01-01T12:00:00Z\"\n}\n```",
|
|
749
|
-
"parameters": [
|
|
750
|
-
{
|
|
751
|
-
"name": "agentId",
|
|
752
|
-
"in": "path",
|
|
753
|
-
"description": "The unique identifier of the parent agent.",
|
|
754
|
-
"required": true,
|
|
755
|
-
"schema": {
|
|
756
|
-
"type": "string",
|
|
757
|
-
"format": "uuid"
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"name": "versionId",
|
|
762
|
-
"in": "path",
|
|
763
|
-
"description": "The unique identifier of the version to retrieve.",
|
|
764
|
-
"required": true,
|
|
765
|
-
"schema": {
|
|
766
|
-
"type": "string",
|
|
767
|
-
"format": "uuid"
|
|
768
|
-
}
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
"name": "If-None-Match",
|
|
772
|
-
"in": "header",
|
|
773
|
-
"description": "Optional ETag for cache validation (304 support).",
|
|
774
|
-
"schema": {
|
|
775
|
-
"type": "string"
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
],
|
|
779
|
-
"responses": {
|
|
780
|
-
"200": {
|
|
781
|
-
"description": "Returns the full bundle.",
|
|
782
|
-
"content": {
|
|
783
|
-
"application/json": {
|
|
784
|
-
"schema": {
|
|
785
|
-
"$ref": "#/components/schemas/AgentVersionBundleResponse"
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
},
|
|
790
|
-
"304": {
|
|
791
|
-
"description": "Content not modified (ETag matched)."
|
|
792
|
-
},
|
|
793
|
-
"401": {
|
|
794
|
-
"description": "Authentication required.",
|
|
795
|
-
"content": {
|
|
796
|
-
"application/json": {
|
|
797
|
-
"schema": {
|
|
798
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
"404": {
|
|
804
|
-
"description": "Agent or version not found.",
|
|
805
|
-
"content": {
|
|
806
|
-
"application/json": {
|
|
807
|
-
"schema": {
|
|
808
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
454
|
"/v1/api/tokens": {
|
|
817
455
|
"get": {
|
|
818
456
|
"tags": [
|
|
@@ -1216,6 +854,7 @@
|
|
|
1216
854
|
"Builder"
|
|
1217
855
|
],
|
|
1218
856
|
"summary": "Chat with the Meta-Agent to modify an agent's graph.\nReturns SSE stream: message, graph_update, done events.",
|
|
857
|
+
"description": "KERNEL: Frontend sends intention only. CP loads everything from DB.",
|
|
1219
858
|
"parameters": [
|
|
1220
859
|
{
|
|
1221
860
|
"name": "agentId",
|
|
@@ -1261,81 +900,199 @@
|
|
|
1261
900
|
"summary": "Synchronous version of builder chat (for testing).",
|
|
1262
901
|
"parameters": [
|
|
1263
902
|
{
|
|
1264
|
-
"name": "agentId",
|
|
1265
|
-
"in": "path",
|
|
1266
|
-
"required": true,
|
|
903
|
+
"name": "agentId",
|
|
904
|
+
"in": "path",
|
|
905
|
+
"required": true,
|
|
906
|
+
"schema": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"format": "uuid"
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
],
|
|
912
|
+
"requestBody": {
|
|
913
|
+
"content": {
|
|
914
|
+
"application/json": {
|
|
915
|
+
"schema": {
|
|
916
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"text/json": {
|
|
920
|
+
"schema": {
|
|
921
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
"application/*+json": {
|
|
925
|
+
"schema": {
|
|
926
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"responses": {
|
|
932
|
+
"200": {
|
|
933
|
+
"description": "OK"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
"/v1/api/agents/{agentId}/bundles/{bundleId}/manifest": {
|
|
939
|
+
"get": {
|
|
940
|
+
"tags": [
|
|
941
|
+
"BundleManifest"
|
|
942
|
+
],
|
|
943
|
+
"summary": "Get artifact manifest for a bundle.",
|
|
944
|
+
"parameters": [
|
|
945
|
+
{
|
|
946
|
+
"name": "agentId",
|
|
947
|
+
"in": "path",
|
|
948
|
+
"required": true,
|
|
949
|
+
"schema": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"format": "uuid"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "bundleId",
|
|
956
|
+
"in": "path",
|
|
957
|
+
"required": true,
|
|
958
|
+
"schema": {
|
|
959
|
+
"type": "string",
|
|
960
|
+
"format": "uuid"
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
],
|
|
964
|
+
"responses": {
|
|
965
|
+
"200": {
|
|
966
|
+
"description": "OK"
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"/v1/api/agents/{agentId}/bundles/{bundleId}/graph/mermaid": {
|
|
972
|
+
"get": {
|
|
973
|
+
"tags": [
|
|
974
|
+
"BundleManifest"
|
|
975
|
+
],
|
|
976
|
+
"summary": "Get Mermaid diagram for graph.",
|
|
977
|
+
"parameters": [
|
|
978
|
+
{
|
|
979
|
+
"name": "agentId",
|
|
980
|
+
"in": "path",
|
|
981
|
+
"required": true,
|
|
982
|
+
"schema": {
|
|
983
|
+
"type": "string",
|
|
984
|
+
"format": "uuid"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "bundleId",
|
|
989
|
+
"in": "path",
|
|
990
|
+
"required": true,
|
|
991
|
+
"schema": {
|
|
992
|
+
"type": "string",
|
|
993
|
+
"format": "uuid"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
],
|
|
997
|
+
"responses": {
|
|
998
|
+
"200": {
|
|
999
|
+
"description": "OK"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"/v1/api/catalog/nodes": {
|
|
1005
|
+
"get": {
|
|
1006
|
+
"tags": [
|
|
1007
|
+
"Catalog"
|
|
1008
|
+
],
|
|
1009
|
+
"summary": "Get the Node Types Catalog.",
|
|
1010
|
+
"parameters": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "version",
|
|
1013
|
+
"in": "query",
|
|
1014
|
+
"description": "API version (default: 1)",
|
|
1267
1015
|
"schema": {
|
|
1268
|
-
"type": "
|
|
1269
|
-
"format": "
|
|
1016
|
+
"type": "integer",
|
|
1017
|
+
"format": "int32",
|
|
1018
|
+
"default": 1
|
|
1270
1019
|
}
|
|
1271
1020
|
}
|
|
1272
1021
|
],
|
|
1273
|
-
"requestBody": {
|
|
1274
|
-
"content": {
|
|
1275
|
-
"application/json": {
|
|
1276
|
-
"schema": {
|
|
1277
|
-
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1278
|
-
}
|
|
1279
|
-
},
|
|
1280
|
-
"text/json": {
|
|
1281
|
-
"schema": {
|
|
1282
|
-
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1283
|
-
}
|
|
1284
|
-
},
|
|
1285
|
-
"application/*+json": {
|
|
1286
|
-
"schema": {
|
|
1287
|
-
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
1022
|
"responses": {
|
|
1293
1023
|
"200": {
|
|
1294
|
-
"description": "OK"
|
|
1024
|
+
"description": "OK",
|
|
1025
|
+
"content": {
|
|
1026
|
+
"application/json": {
|
|
1027
|
+
"schema": {
|
|
1028
|
+
"$ref": "#/components/schemas/NodeCatalogResponse"
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1295
1032
|
}
|
|
1296
1033
|
}
|
|
1297
1034
|
}
|
|
1298
1035
|
},
|
|
1299
|
-
"/v1/api/
|
|
1036
|
+
"/v1/api/triggers/templates": {
|
|
1300
1037
|
"get": {
|
|
1301
1038
|
"tags": [
|
|
1302
1039
|
"Catalog"
|
|
1303
1040
|
],
|
|
1304
|
-
"summary": "Get the
|
|
1041
|
+
"summary": "Get the Trigger Templates Catalog.",
|
|
1305
1042
|
"parameters": [
|
|
1306
1043
|
{
|
|
1307
1044
|
"name": "version",
|
|
1308
1045
|
"in": "query",
|
|
1046
|
+
"description": "API version (default: 1)",
|
|
1309
1047
|
"schema": {
|
|
1310
|
-
"type": "
|
|
1048
|
+
"type": "integer",
|
|
1049
|
+
"format": "int32",
|
|
1050
|
+
"default": 1
|
|
1311
1051
|
}
|
|
1312
1052
|
}
|
|
1313
1053
|
],
|
|
1314
1054
|
"responses": {
|
|
1315
1055
|
"200": {
|
|
1316
|
-
"description": "OK"
|
|
1056
|
+
"description": "OK",
|
|
1057
|
+
"content": {
|
|
1058
|
+
"application/json": {
|
|
1059
|
+
"schema": {
|
|
1060
|
+
"$ref": "#/components/schemas/TriggerTemplatesCatalogResponse"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1317
1064
|
}
|
|
1318
1065
|
}
|
|
1319
1066
|
}
|
|
1320
1067
|
},
|
|
1321
|
-
"/v1/api/
|
|
1068
|
+
"/v1/api/catalog/presets": {
|
|
1322
1069
|
"get": {
|
|
1323
1070
|
"tags": [
|
|
1324
1071
|
"Catalog"
|
|
1325
1072
|
],
|
|
1326
|
-
"summary": "Get the
|
|
1073
|
+
"summary": "Get the Node Presets Catalog.",
|
|
1327
1074
|
"parameters": [
|
|
1328
1075
|
{
|
|
1329
1076
|
"name": "version",
|
|
1330
1077
|
"in": "query",
|
|
1078
|
+
"description": "API version (default: 1)",
|
|
1331
1079
|
"schema": {
|
|
1332
|
-
"type": "
|
|
1080
|
+
"type": "integer",
|
|
1081
|
+
"format": "int32",
|
|
1082
|
+
"default": 1
|
|
1333
1083
|
}
|
|
1334
1084
|
}
|
|
1335
1085
|
],
|
|
1336
1086
|
"responses": {
|
|
1337
1087
|
"200": {
|
|
1338
|
-
"description": "OK"
|
|
1088
|
+
"description": "OK",
|
|
1089
|
+
"content": {
|
|
1090
|
+
"application/json": {
|
|
1091
|
+
"schema": {
|
|
1092
|
+
"$ref": "#/components/schemas/NodePresetsCatalogResponse"
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1339
1096
|
}
|
|
1340
1097
|
}
|
|
1341
1098
|
}
|
|
@@ -1672,6 +1429,39 @@
|
|
|
1672
1429
|
}
|
|
1673
1430
|
},
|
|
1674
1431
|
"/v1/api/credentials/{id}": {
|
|
1432
|
+
"get": {
|
|
1433
|
+
"tags": [
|
|
1434
|
+
"Credentials"
|
|
1435
|
+
],
|
|
1436
|
+
"summary": "Gets a single credential by ID.",
|
|
1437
|
+
"parameters": [
|
|
1438
|
+
{
|
|
1439
|
+
"name": "id",
|
|
1440
|
+
"in": "path",
|
|
1441
|
+
"description": "The credential ID.",
|
|
1442
|
+
"required": true,
|
|
1443
|
+
"schema": {
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"format": "uuid"
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
],
|
|
1449
|
+
"responses": {
|
|
1450
|
+
"200": {
|
|
1451
|
+
"description": "Returns the credential."
|
|
1452
|
+
},
|
|
1453
|
+
"404": {
|
|
1454
|
+
"description": "Credential not found.",
|
|
1455
|
+
"content": {
|
|
1456
|
+
"application/json": {
|
|
1457
|
+
"schema": {
|
|
1458
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1675
1465
|
"patch": {
|
|
1676
1466
|
"tags": [
|
|
1677
1467
|
"Credentials"
|
|
@@ -3569,12 +3359,175 @@
|
|
|
3569
3359
|
"summary": "Create a new version of a prompt.",
|
|
3570
3360
|
"parameters": [
|
|
3571
3361
|
{
|
|
3572
|
-
"name": "id",
|
|
3362
|
+
"name": "id",
|
|
3363
|
+
"in": "path",
|
|
3364
|
+
"required": true,
|
|
3365
|
+
"schema": {
|
|
3366
|
+
"type": "string",
|
|
3367
|
+
"format": "uuid"
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
],
|
|
3371
|
+
"requestBody": {
|
|
3372
|
+
"content": {
|
|
3373
|
+
"application/json": {
|
|
3374
|
+
"schema": {
|
|
3375
|
+
"$ref": "#/components/schemas/CreatePromptVersionRequest"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
"text/json": {
|
|
3379
|
+
"schema": {
|
|
3380
|
+
"$ref": "#/components/schemas/CreatePromptVersionRequest"
|
|
3381
|
+
}
|
|
3382
|
+
},
|
|
3383
|
+
"application/*+json": {
|
|
3384
|
+
"schema": {
|
|
3385
|
+
"$ref": "#/components/schemas/CreatePromptVersionRequest"
|
|
3386
|
+
}
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
},
|
|
3390
|
+
"responses": {
|
|
3391
|
+
"200": {
|
|
3392
|
+
"description": "OK"
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
},
|
|
3396
|
+
"get": {
|
|
3397
|
+
"tags": [
|
|
3398
|
+
"Prompts"
|
|
3399
|
+
],
|
|
3400
|
+
"summary": "Get all versions of a prompt.",
|
|
3401
|
+
"parameters": [
|
|
3402
|
+
{
|
|
3403
|
+
"name": "id",
|
|
3404
|
+
"in": "path",
|
|
3405
|
+
"required": true,
|
|
3406
|
+
"schema": {
|
|
3407
|
+
"type": "string",
|
|
3408
|
+
"format": "uuid"
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
],
|
|
3412
|
+
"responses": {
|
|
3413
|
+
"200": {
|
|
3414
|
+
"description": "OK"
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
},
|
|
3419
|
+
"/v1/api/prompts/{id}/versions/{versionNumber}": {
|
|
3420
|
+
"get": {
|
|
3421
|
+
"tags": [
|
|
3422
|
+
"Prompts"
|
|
3423
|
+
],
|
|
3424
|
+
"summary": "Get a specific version of a prompt.",
|
|
3425
|
+
"parameters": [
|
|
3426
|
+
{
|
|
3427
|
+
"name": "id",
|
|
3428
|
+
"in": "path",
|
|
3429
|
+
"required": true,
|
|
3430
|
+
"schema": {
|
|
3431
|
+
"type": "string",
|
|
3432
|
+
"format": "uuid"
|
|
3433
|
+
}
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"name": "versionNumber",
|
|
3437
|
+
"in": "path",
|
|
3438
|
+
"required": true,
|
|
3439
|
+
"schema": {
|
|
3440
|
+
"type": "integer",
|
|
3441
|
+
"format": "int32"
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
],
|
|
3445
|
+
"responses": {
|
|
3446
|
+
"200": {
|
|
3447
|
+
"description": "OK"
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
"/v1/api/prompts/{name}/latest": {
|
|
3453
|
+
"get": {
|
|
3454
|
+
"tags": [
|
|
3455
|
+
"Prompts"
|
|
3456
|
+
],
|
|
3457
|
+
"summary": "Get the latest (live) version of a prompt.",
|
|
3458
|
+
"parameters": [
|
|
3459
|
+
{
|
|
3460
|
+
"name": "name",
|
|
3461
|
+
"in": "path",
|
|
3462
|
+
"required": true,
|
|
3463
|
+
"schema": {
|
|
3464
|
+
"type": "string"
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3467
|
+
],
|
|
3468
|
+
"responses": {
|
|
3469
|
+
"200": {
|
|
3470
|
+
"description": "OK"
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
"/v1/api/prompts/{id}/live": {
|
|
3476
|
+
"post": {
|
|
3477
|
+
"tags": [
|
|
3478
|
+
"Prompts"
|
|
3479
|
+
],
|
|
3480
|
+
"summary": "Set which version is live.",
|
|
3481
|
+
"parameters": [
|
|
3482
|
+
{
|
|
3483
|
+
"name": "id",
|
|
3484
|
+
"in": "path",
|
|
3485
|
+
"required": true,
|
|
3486
|
+
"schema": {
|
|
3487
|
+
"type": "string",
|
|
3488
|
+
"format": "uuid"
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
],
|
|
3492
|
+
"requestBody": {
|
|
3493
|
+
"content": {
|
|
3494
|
+
"application/json": {
|
|
3495
|
+
"schema": {
|
|
3496
|
+
"$ref": "#/components/schemas/SetLiveVersionRequest"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
"text/json": {
|
|
3500
|
+
"schema": {
|
|
3501
|
+
"$ref": "#/components/schemas/SetLiveVersionRequest"
|
|
3502
|
+
}
|
|
3503
|
+
},
|
|
3504
|
+
"application/*+json": {
|
|
3505
|
+
"schema": {
|
|
3506
|
+
"$ref": "#/components/schemas/SetLiveVersionRequest"
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
},
|
|
3511
|
+
"responses": {
|
|
3512
|
+
"200": {
|
|
3513
|
+
"description": "OK"
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
},
|
|
3518
|
+
"/v1/api/prompts/{name}/playground": {
|
|
3519
|
+
"post": {
|
|
3520
|
+
"tags": [
|
|
3521
|
+
"Prompts"
|
|
3522
|
+
],
|
|
3523
|
+
"summary": "Playground - Render a prompt template with variables.",
|
|
3524
|
+
"parameters": [
|
|
3525
|
+
{
|
|
3526
|
+
"name": "name",
|
|
3573
3527
|
"in": "path",
|
|
3574
3528
|
"required": true,
|
|
3575
3529
|
"schema": {
|
|
3576
|
-
"type": "string"
|
|
3577
|
-
"format": "uuid"
|
|
3530
|
+
"type": "string"
|
|
3578
3531
|
}
|
|
3579
3532
|
}
|
|
3580
3533
|
],
|
|
@@ -3582,17 +3535,17 @@
|
|
|
3582
3535
|
"content": {
|
|
3583
3536
|
"application/json": {
|
|
3584
3537
|
"schema": {
|
|
3585
|
-
"$ref": "#/components/schemas/
|
|
3538
|
+
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3586
3539
|
}
|
|
3587
3540
|
},
|
|
3588
3541
|
"text/json": {
|
|
3589
3542
|
"schema": {
|
|
3590
|
-
"$ref": "#/components/schemas/
|
|
3543
|
+
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3591
3544
|
}
|
|
3592
3545
|
},
|
|
3593
3546
|
"application/*+json": {
|
|
3594
3547
|
"schema": {
|
|
3595
|
-
"$ref": "#/components/schemas/
|
|
3548
|
+
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3596
3549
|
}
|
|
3597
3550
|
}
|
|
3598
3551
|
}
|
|
@@ -3602,23 +3555,44 @@
|
|
|
3602
3555
|
"description": "OK"
|
|
3603
3556
|
}
|
|
3604
3557
|
}
|
|
3605
|
-
}
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3560
|
+
"/v1/api/roles": {
|
|
3606
3561
|
"get": {
|
|
3607
3562
|
"tags": [
|
|
3608
|
-
"
|
|
3563
|
+
"Roles"
|
|
3609
3564
|
],
|
|
3610
|
-
"summary": "
|
|
3611
|
-
"
|
|
3612
|
-
{
|
|
3613
|
-
"
|
|
3614
|
-
"in": "path",
|
|
3615
|
-
"required": true,
|
|
3616
|
-
"schema": {
|
|
3617
|
-
"type": "string",
|
|
3618
|
-
"format": "uuid"
|
|
3619
|
-
}
|
|
3565
|
+
"summary": "List all roles available in the tenant.",
|
|
3566
|
+
"responses": {
|
|
3567
|
+
"200": {
|
|
3568
|
+
"description": "OK"
|
|
3620
3569
|
}
|
|
3570
|
+
}
|
|
3571
|
+
},
|
|
3572
|
+
"post": {
|
|
3573
|
+
"tags": [
|
|
3574
|
+
"Roles"
|
|
3621
3575
|
],
|
|
3576
|
+
"summary": "Create a new custom role.",
|
|
3577
|
+
"requestBody": {
|
|
3578
|
+
"content": {
|
|
3579
|
+
"application/json": {
|
|
3580
|
+
"schema": {
|
|
3581
|
+
"$ref": "#/components/schemas/CreateRoleRequest"
|
|
3582
|
+
}
|
|
3583
|
+
},
|
|
3584
|
+
"text/json": {
|
|
3585
|
+
"schema": {
|
|
3586
|
+
"$ref": "#/components/schemas/CreateRoleRequest"
|
|
3587
|
+
}
|
|
3588
|
+
},
|
|
3589
|
+
"application/*+json": {
|
|
3590
|
+
"schema": {
|
|
3591
|
+
"$ref": "#/components/schemas/CreateRoleRequest"
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3622
3596
|
"responses": {
|
|
3623
3597
|
"200": {
|
|
3624
3598
|
"description": "OK"
|
|
@@ -3626,32 +3600,12 @@
|
|
|
3626
3600
|
}
|
|
3627
3601
|
}
|
|
3628
3602
|
},
|
|
3629
|
-
"/v1/api/
|
|
3603
|
+
"/v1/api/roles/permissions": {
|
|
3630
3604
|
"get": {
|
|
3631
3605
|
"tags": [
|
|
3632
|
-
"
|
|
3633
|
-
],
|
|
3634
|
-
"summary": "Get a specific version of a prompt.",
|
|
3635
|
-
"parameters": [
|
|
3636
|
-
{
|
|
3637
|
-
"name": "id",
|
|
3638
|
-
"in": "path",
|
|
3639
|
-
"required": true,
|
|
3640
|
-
"schema": {
|
|
3641
|
-
"type": "string",
|
|
3642
|
-
"format": "uuid"
|
|
3643
|
-
}
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"name": "versionNumber",
|
|
3647
|
-
"in": "path",
|
|
3648
|
-
"required": true,
|
|
3649
|
-
"schema": {
|
|
3650
|
-
"type": "integer",
|
|
3651
|
-
"format": "int32"
|
|
3652
|
-
}
|
|
3653
|
-
}
|
|
3606
|
+
"Roles"
|
|
3654
3607
|
],
|
|
3608
|
+
"summary": "List all available system permissions.",
|
|
3655
3609
|
"responses": {
|
|
3656
3610
|
"200": {
|
|
3657
3611
|
"description": "OK"
|
|
@@ -3659,19 +3613,20 @@
|
|
|
3659
3613
|
}
|
|
3660
3614
|
}
|
|
3661
3615
|
},
|
|
3662
|
-
"/v1/api/
|
|
3616
|
+
"/v1/api/roles/{id}": {
|
|
3663
3617
|
"get": {
|
|
3664
3618
|
"tags": [
|
|
3665
|
-
"
|
|
3619
|
+
"Roles"
|
|
3666
3620
|
],
|
|
3667
|
-
"summary": "Get
|
|
3621
|
+
"summary": "Get a specific role by ID.",
|
|
3668
3622
|
"parameters": [
|
|
3669
3623
|
{
|
|
3670
|
-
"name": "
|
|
3624
|
+
"name": "id",
|
|
3671
3625
|
"in": "path",
|
|
3672
3626
|
"required": true,
|
|
3673
3627
|
"schema": {
|
|
3674
|
-
"type": "string"
|
|
3628
|
+
"type": "string",
|
|
3629
|
+
"format": "uuid"
|
|
3675
3630
|
}
|
|
3676
3631
|
}
|
|
3677
3632
|
],
|
|
@@ -3680,14 +3635,12 @@
|
|
|
3680
3635
|
"description": "OK"
|
|
3681
3636
|
}
|
|
3682
3637
|
}
|
|
3683
|
-
}
|
|
3684
|
-
|
|
3685
|
-
"/v1/api/prompts/{id}/live": {
|
|
3686
|
-
"post": {
|
|
3638
|
+
},
|
|
3639
|
+
"put": {
|
|
3687
3640
|
"tags": [
|
|
3688
|
-
"
|
|
3641
|
+
"Roles"
|
|
3689
3642
|
],
|
|
3690
|
-
"summary": "
|
|
3643
|
+
"summary": "Update an existing custom role.\nSystem roles cannot be updated.",
|
|
3691
3644
|
"parameters": [
|
|
3692
3645
|
{
|
|
3693
3646
|
"name": "id",
|
|
@@ -3703,17 +3656,17 @@
|
|
|
3703
3656
|
"content": {
|
|
3704
3657
|
"application/json": {
|
|
3705
3658
|
"schema": {
|
|
3706
|
-
"$ref": "#/components/schemas/
|
|
3659
|
+
"$ref": "#/components/schemas/UpdateRoleRequest"
|
|
3707
3660
|
}
|
|
3708
3661
|
},
|
|
3709
3662
|
"text/json": {
|
|
3710
3663
|
"schema": {
|
|
3711
|
-
"$ref": "#/components/schemas/
|
|
3664
|
+
"$ref": "#/components/schemas/UpdateRoleRequest"
|
|
3712
3665
|
}
|
|
3713
3666
|
},
|
|
3714
3667
|
"application/*+json": {
|
|
3715
3668
|
"schema": {
|
|
3716
|
-
"$ref": "#/components/schemas/
|
|
3669
|
+
"$ref": "#/components/schemas/UpdateRoleRequest"
|
|
3717
3670
|
}
|
|
3718
3671
|
}
|
|
3719
3672
|
}
|
|
@@ -3723,43 +3676,36 @@
|
|
|
3723
3676
|
"description": "OK"
|
|
3724
3677
|
}
|
|
3725
3678
|
}
|
|
3726
|
-
}
|
|
3727
|
-
|
|
3728
|
-
"/v1/api/prompts/{name}/playground": {
|
|
3729
|
-
"post": {
|
|
3679
|
+
},
|
|
3680
|
+
"delete": {
|
|
3730
3681
|
"tags": [
|
|
3731
|
-
"
|
|
3682
|
+
"Roles"
|
|
3732
3683
|
],
|
|
3733
|
-
"summary": "
|
|
3684
|
+
"summary": "Delete a custom role.\nSystem roles cannot be deleted.\nRoles assigned to members cannot be deleted.",
|
|
3734
3685
|
"parameters": [
|
|
3735
3686
|
{
|
|
3736
|
-
"name": "
|
|
3687
|
+
"name": "id",
|
|
3737
3688
|
"in": "path",
|
|
3738
3689
|
"required": true,
|
|
3739
3690
|
"schema": {
|
|
3740
|
-
"type": "string"
|
|
3691
|
+
"type": "string",
|
|
3692
|
+
"format": "uuid"
|
|
3741
3693
|
}
|
|
3742
3694
|
}
|
|
3743
3695
|
],
|
|
3744
|
-
"
|
|
3745
|
-
"
|
|
3746
|
-
"
|
|
3747
|
-
"schema": {
|
|
3748
|
-
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3749
|
-
}
|
|
3750
|
-
},
|
|
3751
|
-
"text/json": {
|
|
3752
|
-
"schema": {
|
|
3753
|
-
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3754
|
-
}
|
|
3755
|
-
},
|
|
3756
|
-
"application/*+json": {
|
|
3757
|
-
"schema": {
|
|
3758
|
-
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3759
|
-
}
|
|
3760
|
-
}
|
|
3696
|
+
"responses": {
|
|
3697
|
+
"200": {
|
|
3698
|
+
"description": "OK"
|
|
3761
3699
|
}
|
|
3762
|
-
}
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
},
|
|
3703
|
+
"/v1/api/roles/seed-defaults": {
|
|
3704
|
+
"post": {
|
|
3705
|
+
"tags": [
|
|
3706
|
+
"Roles"
|
|
3707
|
+
],
|
|
3708
|
+
"summary": "SEED DEFAULT PERMISSIONS (Temporary/Admin Helper)",
|
|
3763
3709
|
"responses": {
|
|
3764
3710
|
"200": {
|
|
3765
3711
|
"description": "OK"
|
|
@@ -4024,7 +3970,7 @@
|
|
|
4024
3970
|
"tags": [
|
|
4025
3971
|
"Runs"
|
|
4026
3972
|
],
|
|
4027
|
-
"summary": "
|
|
3973
|
+
"summary": ".0: Get run events for polling-based replay.\nReturns events after a specific sequence number for incremental polling.",
|
|
4028
3974
|
"description": "This is the recommended endpoint for SDK/UI event consumption.\nEvents are ordered by sequence number (ascending) and limited to prevent\nlarge responses. Use `next_after_seq` for pagination.\n\n**Security:** Only returns events for runs in the caller's workspace.",
|
|
4029
3975
|
"parameters": [
|
|
4030
3976
|
{
|
|
@@ -4256,7 +4202,7 @@
|
|
|
4256
4202
|
"tags": [
|
|
4257
4203
|
"Runs"
|
|
4258
4204
|
],
|
|
4259
|
-
"summary": "
|
|
4205
|
+
"summary": ".2: Stream run events via SSE (Server-Sent Events).\nUses robust internal polling (Cinema V1.2) to ensure strict ordering and reliability.\nCloses connection when run is terminal and all events are delivered.",
|
|
4260
4206
|
"parameters": [
|
|
4261
4207
|
{
|
|
4262
4208
|
"name": "runId",
|
|
@@ -6431,22 +6377,11 @@
|
|
|
6431
6377
|
}
|
|
6432
6378
|
}
|
|
6433
6379
|
},
|
|
6434
|
-
"/v1/api/
|
|
6380
|
+
"/v1/api/workspaces": {
|
|
6435
6381
|
"get": {
|
|
6436
6382
|
"tags": [
|
|
6437
6383
|
"Workspaces"
|
|
6438
6384
|
],
|
|
6439
|
-
"parameters": [
|
|
6440
|
-
{
|
|
6441
|
-
"name": "tenantId",
|
|
6442
|
-
"in": "path",
|
|
6443
|
-
"required": true,
|
|
6444
|
-
"schema": {
|
|
6445
|
-
"type": "string",
|
|
6446
|
-
"format": "uuid"
|
|
6447
|
-
}
|
|
6448
|
-
}
|
|
6449
|
-
],
|
|
6450
6385
|
"responses": {
|
|
6451
6386
|
"200": {
|
|
6452
6387
|
"description": "OK"
|
|
@@ -6457,17 +6392,6 @@
|
|
|
6457
6392
|
"tags": [
|
|
6458
6393
|
"Workspaces"
|
|
6459
6394
|
],
|
|
6460
|
-
"parameters": [
|
|
6461
|
-
{
|
|
6462
|
-
"name": "tenantId",
|
|
6463
|
-
"in": "path",
|
|
6464
|
-
"required": true,
|
|
6465
|
-
"schema": {
|
|
6466
|
-
"type": "string",
|
|
6467
|
-
"format": "uuid"
|
|
6468
|
-
}
|
|
6469
|
-
}
|
|
6470
|
-
],
|
|
6471
6395
|
"requestBody": {
|
|
6472
6396
|
"content": {
|
|
6473
6397
|
"application/json": {
|
|
@@ -6494,21 +6418,12 @@
|
|
|
6494
6418
|
}
|
|
6495
6419
|
}
|
|
6496
6420
|
},
|
|
6497
|
-
"/v1/api/
|
|
6421
|
+
"/v1/api/workspaces/{id}": {
|
|
6498
6422
|
"get": {
|
|
6499
6423
|
"tags": [
|
|
6500
6424
|
"Workspaces"
|
|
6501
6425
|
],
|
|
6502
6426
|
"parameters": [
|
|
6503
|
-
{
|
|
6504
|
-
"name": "tenantId",
|
|
6505
|
-
"in": "path",
|
|
6506
|
-
"required": true,
|
|
6507
|
-
"schema": {
|
|
6508
|
-
"type": "string",
|
|
6509
|
-
"format": "uuid"
|
|
6510
|
-
}
|
|
6511
|
-
},
|
|
6512
6427
|
{
|
|
6513
6428
|
"name": "id",
|
|
6514
6429
|
"in": "path",
|
|
@@ -6530,15 +6445,6 @@
|
|
|
6530
6445
|
"Workspaces"
|
|
6531
6446
|
],
|
|
6532
6447
|
"parameters": [
|
|
6533
|
-
{
|
|
6534
|
-
"name": "tenantId",
|
|
6535
|
-
"in": "path",
|
|
6536
|
-
"required": true,
|
|
6537
|
-
"schema": {
|
|
6538
|
-
"type": "string",
|
|
6539
|
-
"format": "uuid"
|
|
6540
|
-
}
|
|
6541
|
-
},
|
|
6542
6448
|
{
|
|
6543
6449
|
"name": "id",
|
|
6544
6450
|
"in": "path",
|
|
@@ -6579,15 +6485,6 @@
|
|
|
6579
6485
|
"Workspaces"
|
|
6580
6486
|
],
|
|
6581
6487
|
"parameters": [
|
|
6582
|
-
{
|
|
6583
|
-
"name": "tenantId",
|
|
6584
|
-
"in": "path",
|
|
6585
|
-
"required": true,
|
|
6586
|
-
"schema": {
|
|
6587
|
-
"type": "string",
|
|
6588
|
-
"format": "uuid"
|
|
6589
|
-
}
|
|
6590
|
-
},
|
|
6591
6488
|
{
|
|
6592
6489
|
"name": "id",
|
|
6593
6490
|
"in": "path",
|
|
@@ -6727,60 +6624,13 @@
|
|
|
6727
6624
|
},
|
|
6728
6625
|
"additionalProperties": false
|
|
6729
6626
|
},
|
|
6730
|
-
"
|
|
6731
|
-
"type": "object",
|
|
6732
|
-
"properties": {
|
|
6733
|
-
"schema_version": {
|
|
6734
|
-
"type": "string",
|
|
6735
|
-
"nullable": true
|
|
6736
|
-
},
|
|
6737
|
-
"exported_at": {
|
|
6738
|
-
"type": "string",
|
|
6739
|
-
"format": "date-time"
|
|
6740
|
-
},
|
|
6741
|
-
"agent": {
|
|
6742
|
-
"$ref": "#/components/schemas/AgentBundleAgent"
|
|
6743
|
-
},
|
|
6744
|
-
"versions": {
|
|
6745
|
-
"type": "array",
|
|
6746
|
-
"items": {
|
|
6747
|
-
"$ref": "#/components/schemas/AgentBundleVersion"
|
|
6748
|
-
},
|
|
6749
|
-
"nullable": true
|
|
6750
|
-
}
|
|
6751
|
-
},
|
|
6752
|
-
"additionalProperties": false
|
|
6753
|
-
},
|
|
6754
|
-
"AgentBundleAgent": {
|
|
6755
|
-
"type": "object",
|
|
6756
|
-
"properties": {
|
|
6757
|
-
"id": {
|
|
6758
|
-
"type": "string",
|
|
6759
|
-
"format": "uuid"
|
|
6760
|
-
},
|
|
6761
|
-
"name": {
|
|
6762
|
-
"type": "string",
|
|
6763
|
-
"nullable": true
|
|
6764
|
-
},
|
|
6765
|
-
"live_version_id": {
|
|
6766
|
-
"type": "string",
|
|
6767
|
-
"format": "uuid",
|
|
6768
|
-
"nullable": true
|
|
6769
|
-
}
|
|
6770
|
-
},
|
|
6771
|
-
"additionalProperties": false
|
|
6772
|
-
},
|
|
6773
|
-
"AgentBundleVersion": {
|
|
6627
|
+
"AgentBundleItem": {
|
|
6774
6628
|
"type": "object",
|
|
6775
6629
|
"properties": {
|
|
6776
6630
|
"id": {
|
|
6777
6631
|
"type": "string",
|
|
6778
6632
|
"format": "uuid"
|
|
6779
6633
|
},
|
|
6780
|
-
"version_tag": {
|
|
6781
|
-
"type": "string",
|
|
6782
|
-
"nullable": true
|
|
6783
|
-
},
|
|
6784
6634
|
"artifact_uri": {
|
|
6785
6635
|
"type": "string",
|
|
6786
6636
|
"nullable": true
|
|
@@ -6793,6 +6643,10 @@
|
|
|
6793
6643
|
"type": "string",
|
|
6794
6644
|
"nullable": true
|
|
6795
6645
|
},
|
|
6646
|
+
"content_hash": {
|
|
6647
|
+
"type": "string",
|
|
6648
|
+
"nullable": true
|
|
6649
|
+
},
|
|
6796
6650
|
"created_at": {
|
|
6797
6651
|
"type": "string",
|
|
6798
6652
|
"format": "date-time"
|
|
@@ -6800,48 +6654,45 @@
|
|
|
6800
6654
|
},
|
|
6801
6655
|
"additionalProperties": false
|
|
6802
6656
|
},
|
|
6803
|
-
"
|
|
6657
|
+
"AgentExportAgent": {
|
|
6804
6658
|
"type": "object",
|
|
6805
6659
|
"properties": {
|
|
6806
|
-
"
|
|
6807
|
-
"$ref": "#/components/schemas/AgentVersionMetadata"
|
|
6808
|
-
},
|
|
6809
|
-
"graph_spec": {
|
|
6810
|
-
"nullable": true
|
|
6811
|
-
},
|
|
6812
|
-
"artifact_hash": {
|
|
6660
|
+
"id": {
|
|
6813
6661
|
"type": "string",
|
|
6814
|
-
"
|
|
6662
|
+
"format": "uuid"
|
|
6815
6663
|
},
|
|
6816
|
-
"
|
|
6664
|
+
"name": {
|
|
6817
6665
|
"type": "string",
|
|
6818
6666
|
"nullable": true
|
|
6819
6667
|
},
|
|
6820
|
-
"
|
|
6668
|
+
"live_bundle_id": {
|
|
6821
6669
|
"type": "string",
|
|
6822
|
-
"format": "
|
|
6670
|
+
"format": "uuid",
|
|
6671
|
+
"nullable": true
|
|
6823
6672
|
}
|
|
6824
6673
|
},
|
|
6825
6674
|
"additionalProperties": false
|
|
6826
6675
|
},
|
|
6827
|
-
"
|
|
6676
|
+
"AgentExportBundle": {
|
|
6828
6677
|
"type": "object",
|
|
6829
6678
|
"properties": {
|
|
6830
|
-
"
|
|
6831
|
-
"type": "string",
|
|
6832
|
-
"format": "uuid"
|
|
6833
|
-
},
|
|
6834
|
-
"agent_id": {
|
|
6835
|
-
"type": "string",
|
|
6836
|
-
"format": "uuid"
|
|
6837
|
-
},
|
|
6838
|
-
"version_tag": {
|
|
6679
|
+
"schema_version": {
|
|
6839
6680
|
"type": "string",
|
|
6840
6681
|
"nullable": true
|
|
6841
6682
|
},
|
|
6842
|
-
"
|
|
6683
|
+
"exported_at": {
|
|
6843
6684
|
"type": "string",
|
|
6844
6685
|
"format": "date-time"
|
|
6686
|
+
},
|
|
6687
|
+
"agent": {
|
|
6688
|
+
"$ref": "#/components/schemas/AgentExportAgent"
|
|
6689
|
+
},
|
|
6690
|
+
"bundles": {
|
|
6691
|
+
"type": "array",
|
|
6692
|
+
"items": {
|
|
6693
|
+
"$ref": "#/components/schemas/AgentBundleItem"
|
|
6694
|
+
},
|
|
6695
|
+
"nullable": true
|
|
6845
6696
|
}
|
|
6846
6697
|
},
|
|
6847
6698
|
"additionalProperties": false
|
|
@@ -6926,14 +6777,8 @@
|
|
|
6926
6777
|
"format": "uuid"
|
|
6927
6778
|
},
|
|
6928
6779
|
"agent_id": {
|
|
6929
|
-
"type": "string",
|
|
6930
|
-
"format": "uuid"
|
|
6931
|
-
"nullable": true
|
|
6932
|
-
},
|
|
6933
|
-
"agent_version_id": {
|
|
6934
|
-
"type": "string",
|
|
6935
|
-
"format": "uuid",
|
|
6936
|
-
"nullable": true
|
|
6780
|
+
"type": "string",
|
|
6781
|
+
"format": "uuid"
|
|
6937
6782
|
},
|
|
6938
6783
|
"inputs": {
|
|
6939
6784
|
"type": "array",
|
|
@@ -6979,23 +6824,17 @@
|
|
|
6979
6824
|
"type": "string",
|
|
6980
6825
|
"nullable": true
|
|
6981
6826
|
},
|
|
6982
|
-
"current_graph_spec": {
|
|
6983
|
-
"nullable": true
|
|
6984
|
-
},
|
|
6985
6827
|
"thread_id": {
|
|
6986
6828
|
"type": "string",
|
|
6987
6829
|
"nullable": true
|
|
6988
6830
|
},
|
|
6989
|
-
"
|
|
6990
|
-
"$ref": "#/components/schemas/CatalogVersionsDto"
|
|
6991
|
-
},
|
|
6992
|
-
"catalog_ref": {
|
|
6831
|
+
"base_graph_etag": {
|
|
6993
6832
|
"type": "string",
|
|
6994
6833
|
"nullable": true
|
|
6995
6834
|
}
|
|
6996
6835
|
},
|
|
6997
6836
|
"additionalProperties": false,
|
|
6998
|
-
"description": "Request DTO for builder chat."
|
|
6837
|
+
"description": "KERNEL P0: Request DTO for builder chat.\nContains ONLY intention fields. No graph_spec, no catalogs."
|
|
6999
6838
|
},
|
|
7000
6839
|
"CancelRequest": {
|
|
7001
6840
|
"type": "object",
|
|
@@ -7024,25 +6863,6 @@
|
|
|
7024
6863
|
},
|
|
7025
6864
|
"additionalProperties": false
|
|
7026
6865
|
},
|
|
7027
|
-
"CatalogVersionsDto": {
|
|
7028
|
-
"type": "object",
|
|
7029
|
-
"properties": {
|
|
7030
|
-
"nodes": {
|
|
7031
|
-
"type": "string",
|
|
7032
|
-
"nullable": true
|
|
7033
|
-
},
|
|
7034
|
-
"tools": {
|
|
7035
|
-
"type": "string",
|
|
7036
|
-
"nullable": true
|
|
7037
|
-
},
|
|
7038
|
-
"triggers": {
|
|
7039
|
-
"type": "string",
|
|
7040
|
-
"nullable": true
|
|
7041
|
-
}
|
|
7042
|
-
},
|
|
7043
|
-
"additionalProperties": false,
|
|
7044
|
-
"description": "Catalog versions for world snapshot."
|
|
7045
|
-
},
|
|
7046
6866
|
"Channel": {
|
|
7047
6867
|
"enum": [
|
|
7048
6868
|
0,
|
|
@@ -7210,27 +7030,6 @@
|
|
|
7210
7030
|
},
|
|
7211
7031
|
"additionalProperties": false
|
|
7212
7032
|
},
|
|
7213
|
-
"CreateAgentVersionRequest": {
|
|
7214
|
-
"type": "object",
|
|
7215
|
-
"properties": {
|
|
7216
|
-
"tenant_id": {
|
|
7217
|
-
"type": "string",
|
|
7218
|
-
"format": "uuid"
|
|
7219
|
-
},
|
|
7220
|
-
"workspace_id": {
|
|
7221
|
-
"type": "string",
|
|
7222
|
-
"format": "uuid"
|
|
7223
|
-
},
|
|
7224
|
-
"version_tag": {
|
|
7225
|
-
"type": "string",
|
|
7226
|
-
"nullable": true
|
|
7227
|
-
},
|
|
7228
|
-
"graph_spec": {
|
|
7229
|
-
"nullable": true
|
|
7230
|
-
}
|
|
7231
|
-
},
|
|
7232
|
-
"additionalProperties": false
|
|
7233
|
-
},
|
|
7234
7033
|
"CreateCheckpointRequest": {
|
|
7235
7034
|
"type": "object",
|
|
7236
7035
|
"properties": {
|
|
@@ -7315,7 +7114,7 @@
|
|
|
7315
7114
|
"type": "string",
|
|
7316
7115
|
"nullable": true
|
|
7317
7116
|
},
|
|
7318
|
-
"
|
|
7117
|
+
"bundle_id": {
|
|
7319
7118
|
"type": "string",
|
|
7320
7119
|
"format": "uuid",
|
|
7321
7120
|
"nullable": true
|
|
@@ -7360,7 +7159,7 @@
|
|
|
7360
7159
|
"type": "string",
|
|
7361
7160
|
"format": "uuid"
|
|
7362
7161
|
},
|
|
7363
|
-
"
|
|
7162
|
+
"bundle_id": {
|
|
7364
7163
|
"type": "string",
|
|
7365
7164
|
"format": "uuid",
|
|
7366
7165
|
"nullable": true
|
|
@@ -7450,6 +7249,23 @@
|
|
|
7450
7249
|
},
|
|
7451
7250
|
"additionalProperties": false
|
|
7452
7251
|
},
|
|
7252
|
+
"CreateRoleRequest": {
|
|
7253
|
+
"type": "object",
|
|
7254
|
+
"properties": {
|
|
7255
|
+
"name": {
|
|
7256
|
+
"type": "string",
|
|
7257
|
+
"nullable": true
|
|
7258
|
+
},
|
|
7259
|
+
"permissions": {
|
|
7260
|
+
"type": "array",
|
|
7261
|
+
"items": {
|
|
7262
|
+
"type": "string"
|
|
7263
|
+
},
|
|
7264
|
+
"nullable": true
|
|
7265
|
+
}
|
|
7266
|
+
},
|
|
7267
|
+
"additionalProperties": false
|
|
7268
|
+
},
|
|
7453
7269
|
"CreateRunRequest": {
|
|
7454
7270
|
"type": "object",
|
|
7455
7271
|
"properties": {
|
|
@@ -7466,11 +7282,6 @@
|
|
|
7466
7282
|
"format": "uuid",
|
|
7467
7283
|
"nullable": true
|
|
7468
7284
|
},
|
|
7469
|
-
"agent_version_id": {
|
|
7470
|
-
"type": "string",
|
|
7471
|
-
"format": "uuid",
|
|
7472
|
-
"nullable": true
|
|
7473
|
-
},
|
|
7474
7285
|
"thread": {
|
|
7475
7286
|
"$ref": "#/components/schemas/ThreadRequest"
|
|
7476
7287
|
},
|
|
@@ -7484,6 +7295,11 @@
|
|
|
7484
7295
|
"webhook_url": {
|
|
7485
7296
|
"type": "string",
|
|
7486
7297
|
"nullable": true
|
|
7298
|
+
},
|
|
7299
|
+
"bundle_id": {
|
|
7300
|
+
"type": "string",
|
|
7301
|
+
"format": "uuid",
|
|
7302
|
+
"nullable": true
|
|
7487
7303
|
}
|
|
7488
7304
|
},
|
|
7489
7305
|
"additionalProperties": false
|
|
@@ -7590,6 +7406,13 @@
|
|
|
7590
7406
|
"name": {
|
|
7591
7407
|
"type": "string",
|
|
7592
7408
|
"nullable": true
|
|
7409
|
+
},
|
|
7410
|
+
"trigger_type": {
|
|
7411
|
+
"type": "string",
|
|
7412
|
+
"nullable": true
|
|
7413
|
+
},
|
|
7414
|
+
"config": {
|
|
7415
|
+
"nullable": true
|
|
7593
7416
|
}
|
|
7594
7417
|
},
|
|
7595
7418
|
"additionalProperties": false
|
|
@@ -7816,7 +7639,12 @@
|
|
|
7816
7639
|
"properties": {
|
|
7817
7640
|
"user_id": {
|
|
7818
7641
|
"type": "string",
|
|
7819
|
-
"format": "uuid"
|
|
7642
|
+
"format": "uuid",
|
|
7643
|
+
"nullable": true
|
|
7644
|
+
},
|
|
7645
|
+
"email": {
|
|
7646
|
+
"type": "string",
|
|
7647
|
+
"nullable": true
|
|
7820
7648
|
},
|
|
7821
7649
|
"role_id": {
|
|
7822
7650
|
"type": "string",
|
|
@@ -7853,6 +7681,121 @@
|
|
|
7853
7681
|
},
|
|
7854
7682
|
"additionalProperties": false
|
|
7855
7683
|
},
|
|
7684
|
+
"NodeCatalogResponse": {
|
|
7685
|
+
"required": [
|
|
7686
|
+
"nodes",
|
|
7687
|
+
"version"
|
|
7688
|
+
],
|
|
7689
|
+
"type": "object",
|
|
7690
|
+
"properties": {
|
|
7691
|
+
"version": {
|
|
7692
|
+
"type": "string",
|
|
7693
|
+
"nullable": true
|
|
7694
|
+
},
|
|
7695
|
+
"nodes": {
|
|
7696
|
+
"type": "array",
|
|
7697
|
+
"items": {
|
|
7698
|
+
"$ref": "#/components/schemas/NodeTypeDto"
|
|
7699
|
+
},
|
|
7700
|
+
"nullable": true
|
|
7701
|
+
}
|
|
7702
|
+
},
|
|
7703
|
+
"additionalProperties": false
|
|
7704
|
+
},
|
|
7705
|
+
"NodePresetDto": {
|
|
7706
|
+
"required": [
|
|
7707
|
+
"base_node_slug",
|
|
7708
|
+
"preset_slug",
|
|
7709
|
+
"title"
|
|
7710
|
+
],
|
|
7711
|
+
"type": "object",
|
|
7712
|
+
"properties": {
|
|
7713
|
+
"preset_slug": {
|
|
7714
|
+
"type": "string",
|
|
7715
|
+
"nullable": true
|
|
7716
|
+
},
|
|
7717
|
+
"base_node_slug": {
|
|
7718
|
+
"type": "string",
|
|
7719
|
+
"nullable": true
|
|
7720
|
+
},
|
|
7721
|
+
"title": {
|
|
7722
|
+
"type": "string",
|
|
7723
|
+
"nullable": true
|
|
7724
|
+
},
|
|
7725
|
+
"description": {
|
|
7726
|
+
"type": "string",
|
|
7727
|
+
"nullable": true
|
|
7728
|
+
},
|
|
7729
|
+
"default_config": {
|
|
7730
|
+
"nullable": true
|
|
7731
|
+
},
|
|
7732
|
+
"locked_fields": {
|
|
7733
|
+
"nullable": true
|
|
7734
|
+
},
|
|
7735
|
+
"ui_variant": {
|
|
7736
|
+
"type": "string",
|
|
7737
|
+
"nullable": true
|
|
7738
|
+
}
|
|
7739
|
+
},
|
|
7740
|
+
"additionalProperties": false
|
|
7741
|
+
},
|
|
7742
|
+
"NodePresetsCatalogResponse": {
|
|
7743
|
+
"required": [
|
|
7744
|
+
"presets",
|
|
7745
|
+
"version"
|
|
7746
|
+
],
|
|
7747
|
+
"type": "object",
|
|
7748
|
+
"properties": {
|
|
7749
|
+
"version": {
|
|
7750
|
+
"type": "string",
|
|
7751
|
+
"nullable": true
|
|
7752
|
+
},
|
|
7753
|
+
"presets": {
|
|
7754
|
+
"type": "array",
|
|
7755
|
+
"items": {
|
|
7756
|
+
"$ref": "#/components/schemas/NodePresetDto"
|
|
7757
|
+
},
|
|
7758
|
+
"nullable": true
|
|
7759
|
+
}
|
|
7760
|
+
},
|
|
7761
|
+
"additionalProperties": false
|
|
7762
|
+
},
|
|
7763
|
+
"NodeTypeDto": {
|
|
7764
|
+
"required": [
|
|
7765
|
+
"category",
|
|
7766
|
+
"id",
|
|
7767
|
+
"title"
|
|
7768
|
+
],
|
|
7769
|
+
"type": "object",
|
|
7770
|
+
"properties": {
|
|
7771
|
+
"id": {
|
|
7772
|
+
"type": "string",
|
|
7773
|
+
"nullable": true
|
|
7774
|
+
},
|
|
7775
|
+
"title": {
|
|
7776
|
+
"type": "string",
|
|
7777
|
+
"nullable": true
|
|
7778
|
+
},
|
|
7779
|
+
"category": {
|
|
7780
|
+
"type": "string",
|
|
7781
|
+
"nullable": true
|
|
7782
|
+
},
|
|
7783
|
+
"description": {
|
|
7784
|
+
"type": "string",
|
|
7785
|
+
"nullable": true
|
|
7786
|
+
},
|
|
7787
|
+
"ports": {
|
|
7788
|
+
"nullable": true
|
|
7789
|
+
},
|
|
7790
|
+
"config_schema": {
|
|
7791
|
+
"nullable": true
|
|
7792
|
+
},
|
|
7793
|
+
"default_config": {
|
|
7794
|
+
"nullable": true
|
|
7795
|
+
}
|
|
7796
|
+
},
|
|
7797
|
+
"additionalProperties": false
|
|
7798
|
+
},
|
|
7856
7799
|
"PlaygroundRequest": {
|
|
7857
7800
|
"type": "object",
|
|
7858
7801
|
"properties": {
|
|
@@ -7884,11 +7827,6 @@
|
|
|
7884
7827
|
"type": "string",
|
|
7885
7828
|
"format": "uuid"
|
|
7886
7829
|
},
|
|
7887
|
-
"agent_version_id": {
|
|
7888
|
-
"type": "string",
|
|
7889
|
-
"format": "uuid",
|
|
7890
|
-
"nullable": true
|
|
7891
|
-
},
|
|
7892
7830
|
"input": {
|
|
7893
7831
|
"nullable": true
|
|
7894
7832
|
},
|
|
@@ -8028,11 +7966,6 @@
|
|
|
8028
7966
|
"properties": {
|
|
8029
7967
|
"input": {
|
|
8030
7968
|
"nullable": true
|
|
8031
|
-
},
|
|
8032
|
-
"agent_version_id": {
|
|
8033
|
-
"type": "string",
|
|
8034
|
-
"format": "uuid",
|
|
8035
|
-
"nullable": true
|
|
8036
7969
|
}
|
|
8037
7970
|
},
|
|
8038
7971
|
"additionalProperties": false
|
|
@@ -8138,7 +8071,7 @@
|
|
|
8138
8071
|
"type": "string",
|
|
8139
8072
|
"format": "uuid"
|
|
8140
8073
|
},
|
|
8141
|
-
"
|
|
8074
|
+
"bundle_id": {
|
|
8142
8075
|
"type": "string",
|
|
8143
8076
|
"format": "uuid"
|
|
8144
8077
|
},
|
|
@@ -8495,11 +8428,6 @@
|
|
|
8495
8428
|
"format": "uuid",
|
|
8496
8429
|
"nullable": true
|
|
8497
8430
|
},
|
|
8498
|
-
"agent_version_id": {
|
|
8499
|
-
"type": "string",
|
|
8500
|
-
"format": "uuid",
|
|
8501
|
-
"nullable": true
|
|
8502
|
-
},
|
|
8503
8431
|
"thread": {
|
|
8504
8432
|
"$ref": "#/components/schemas/ThreadRequest"
|
|
8505
8433
|
},
|
|
@@ -8570,6 +8498,16 @@
|
|
|
8570
8498
|
"format": "uuid",
|
|
8571
8499
|
"nullable": true
|
|
8572
8500
|
},
|
|
8501
|
+
"external_conversation_id": {
|
|
8502
|
+
"type": "string",
|
|
8503
|
+
"description": "Filter by external conversation ID (exact match).",
|
|
8504
|
+
"nullable": true
|
|
8505
|
+
},
|
|
8506
|
+
"channel": {
|
|
8507
|
+
"type": "string",
|
|
8508
|
+
"description": "Filter by channel (Http, Whatsapp, Chatwoot, etc).",
|
|
8509
|
+
"nullable": true
|
|
8510
|
+
},
|
|
8573
8511
|
"agent_id": {
|
|
8574
8512
|
"type": "string",
|
|
8575
8513
|
"format": "uuid",
|
|
@@ -8622,6 +8560,63 @@
|
|
|
8622
8560
|
},
|
|
8623
8561
|
"additionalProperties": false
|
|
8624
8562
|
},
|
|
8563
|
+
"TriggerTemplateDto": {
|
|
8564
|
+
"required": [
|
|
8565
|
+
"kind",
|
|
8566
|
+
"name",
|
|
8567
|
+
"slug"
|
|
8568
|
+
],
|
|
8569
|
+
"type": "object",
|
|
8570
|
+
"properties": {
|
|
8571
|
+
"slug": {
|
|
8572
|
+
"type": "string",
|
|
8573
|
+
"nullable": true
|
|
8574
|
+
},
|
|
8575
|
+
"kind": {
|
|
8576
|
+
"type": "string",
|
|
8577
|
+
"nullable": true
|
|
8578
|
+
},
|
|
8579
|
+
"name": {
|
|
8580
|
+
"type": "string",
|
|
8581
|
+
"nullable": true
|
|
8582
|
+
},
|
|
8583
|
+
"description": {
|
|
8584
|
+
"type": "string",
|
|
8585
|
+
"nullable": true
|
|
8586
|
+
},
|
|
8587
|
+
"run_input_schema": {
|
|
8588
|
+
"nullable": true
|
|
8589
|
+
},
|
|
8590
|
+
"example_payload": {
|
|
8591
|
+
"nullable": true
|
|
8592
|
+
},
|
|
8593
|
+
"config_schema": {
|
|
8594
|
+
"nullable": true
|
|
8595
|
+
}
|
|
8596
|
+
},
|
|
8597
|
+
"additionalProperties": false
|
|
8598
|
+
},
|
|
8599
|
+
"TriggerTemplatesCatalogResponse": {
|
|
8600
|
+
"required": [
|
|
8601
|
+
"templates",
|
|
8602
|
+
"version"
|
|
8603
|
+
],
|
|
8604
|
+
"type": "object",
|
|
8605
|
+
"properties": {
|
|
8606
|
+
"version": {
|
|
8607
|
+
"type": "string",
|
|
8608
|
+
"nullable": true
|
|
8609
|
+
},
|
|
8610
|
+
"templates": {
|
|
8611
|
+
"type": "array",
|
|
8612
|
+
"items": {
|
|
8613
|
+
"$ref": "#/components/schemas/TriggerTemplateDto"
|
|
8614
|
+
},
|
|
8615
|
+
"nullable": true
|
|
8616
|
+
}
|
|
8617
|
+
},
|
|
8618
|
+
"additionalProperties": false
|
|
8619
|
+
},
|
|
8625
8620
|
"UpdateAgentRequest": {
|
|
8626
8621
|
"type": "object",
|
|
8627
8622
|
"properties": {
|
|
@@ -8629,7 +8624,7 @@
|
|
|
8629
8624
|
"type": "string",
|
|
8630
8625
|
"nullable": true
|
|
8631
8626
|
},
|
|
8632
|
-
"
|
|
8627
|
+
"live_bundle_id": {
|
|
8633
8628
|
"type": "string",
|
|
8634
8629
|
"format": "uuid",
|
|
8635
8630
|
"nullable": true
|
|
@@ -8696,6 +8691,23 @@
|
|
|
8696
8691
|
},
|
|
8697
8692
|
"additionalProperties": false
|
|
8698
8693
|
},
|
|
8694
|
+
"UpdateRoleRequest": {
|
|
8695
|
+
"type": "object",
|
|
8696
|
+
"properties": {
|
|
8697
|
+
"name": {
|
|
8698
|
+
"type": "string",
|
|
8699
|
+
"nullable": true
|
|
8700
|
+
},
|
|
8701
|
+
"permissions": {
|
|
8702
|
+
"type": "array",
|
|
8703
|
+
"items": {
|
|
8704
|
+
"type": "string"
|
|
8705
|
+
},
|
|
8706
|
+
"nullable": true
|
|
8707
|
+
}
|
|
8708
|
+
},
|
|
8709
|
+
"additionalProperties": false
|
|
8710
|
+
},
|
|
8699
8711
|
"UpdateTenantRequest": {
|
|
8700
8712
|
"type": "object",
|
|
8701
8713
|
"properties": {
|
|
@@ -8989,11 +9001,6 @@
|
|
|
8989
9001
|
"format": "uuid",
|
|
8990
9002
|
"nullable": true
|
|
8991
9003
|
},
|
|
8992
|
-
"agent_version_id": {
|
|
8993
|
-
"type": "string",
|
|
8994
|
-
"format": "uuid",
|
|
8995
|
-
"nullable": true
|
|
8996
|
-
},
|
|
8997
9004
|
"thread": {
|
|
8998
9005
|
"$ref": "#/components/schemas/ThreadRequest"
|
|
8999
9006
|
},
|
|
@@ -9049,12 +9056,6 @@
|
|
|
9049
9056
|
{
|
|
9050
9057
|
"name": "Agents"
|
|
9051
9058
|
},
|
|
9052
|
-
{
|
|
9053
|
-
"name": "AgentVersionManifest"
|
|
9054
|
-
},
|
|
9055
|
-
{
|
|
9056
|
-
"name": "AgentVersions"
|
|
9057
|
-
},
|
|
9058
9059
|
{
|
|
9059
9060
|
"name": "ApiTokens"
|
|
9060
9061
|
},
|
|
@@ -9067,6 +9068,9 @@
|
|
|
9067
9068
|
{
|
|
9068
9069
|
"name": "Builder"
|
|
9069
9070
|
},
|
|
9071
|
+
{
|
|
9072
|
+
"name": "BundleManifest"
|
|
9073
|
+
},
|
|
9070
9074
|
{
|
|
9071
9075
|
"name": "Catalog"
|
|
9072
9076
|
},
|
|
@@ -9112,6 +9116,9 @@
|
|
|
9112
9116
|
{
|
|
9113
9117
|
"name": "Prompts"
|
|
9114
9118
|
},
|
|
9119
|
+
{
|
|
9120
|
+
"name": "Roles"
|
|
9121
|
+
},
|
|
9115
9122
|
{
|
|
9116
9123
|
"name": "Runs"
|
|
9117
9124
|
},
|