@agent-os-sdk/client 0.4.2 → 0.4.4
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/AgentOsClient.d.ts +0 -9
- package/dist/client/AgentOsClient.d.ts.map +1 -1
- package/dist/client/AgentOsClient.js +0 -10
- package/dist/client/raw.d.ts +3 -4
- package/dist/client/raw.d.ts.map +1 -1
- package/dist/generated/openapi.d.ts +615 -531
- 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/agents.d.ts +9 -113
- package/dist/modules/agents.d.ts.map +1 -1
- package/dist/modules/agents.js +0 -81
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client/AgentOsClient.ts +1 -19
- package/src/client/raw.ts +3 -4
- package/src/generated/openapi.ts +615 -531
- package/src/generated/swagger.json +747 -598
- package/src/index.ts +2 -2
- package/src/modules/agents.ts +11 -167
|
@@ -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": {
|
|
@@ -406,130 +405,16 @@
|
|
|
406
405
|
}
|
|
407
406
|
}
|
|
408
407
|
},
|
|
409
|
-
"/v1/api/agents/{id}/
|
|
410
|
-
"
|
|
408
|
+
"/v1/api/agents/{id}/publish": {
|
|
409
|
+
"post": {
|
|
411
410
|
"tags": [
|
|
412
411
|
"Agents"
|
|
413
412
|
],
|
|
414
|
-
"summary": "
|
|
415
|
-
"description": "Returns the agent's workflow as a Mermaid diagram string that can be rendered\nin any Mermaid-compatible viewer. Uses the currently live version of the agent.\n\n**Example Response:**\n```json\n{\n \"mermaid\": \"graph TD\\n START --> LLM --> END\",\n \"agent_id\": \"...\",\n \"live_version_id\": \"...\"\n}\n```",
|
|
413
|
+
"summary": "Publishes a new version (bundle) of the agent.",
|
|
416
414
|
"parameters": [
|
|
417
415
|
{
|
|
418
416
|
"name": "id",
|
|
419
417
|
"in": "path",
|
|
420
|
-
"description": "The unique identifier (GUID) of the agent.",
|
|
421
|
-
"required": true,
|
|
422
|
-
"schema": {
|
|
423
|
-
"type": "string",
|
|
424
|
-
"format": "uuid"
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
],
|
|
428
|
-
"responses": {
|
|
429
|
-
"200": {
|
|
430
|
-
"description": "Returns the Mermaid graph representation."
|
|
431
|
-
},
|
|
432
|
-
"401": {
|
|
433
|
-
"description": "Authentication required.",
|
|
434
|
-
"content": {
|
|
435
|
-
"application/json": {
|
|
436
|
-
"schema": {
|
|
437
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
"404": {
|
|
443
|
-
"description": "Agent not found or not accessible.",
|
|
444
|
-
"content": {
|
|
445
|
-
"application/json": {
|
|
446
|
-
"schema": {
|
|
447
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
},
|
|
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
418
|
"required": true,
|
|
534
419
|
"schema": {
|
|
535
420
|
"type": "string",
|
|
@@ -538,51 +423,37 @@
|
|
|
538
423
|
}
|
|
539
424
|
],
|
|
540
425
|
"requestBody": {
|
|
541
|
-
"description": "The version creation request with graph specification.",
|
|
542
426
|
"content": {
|
|
543
427
|
"application/json": {
|
|
544
428
|
"schema": {
|
|
545
|
-
"$ref": "#/components/schemas/
|
|
429
|
+
"$ref": "#/components/schemas/PublishAgentRequest"
|
|
546
430
|
}
|
|
547
431
|
},
|
|
548
432
|
"text/json": {
|
|
549
433
|
"schema": {
|
|
550
|
-
"$ref": "#/components/schemas/
|
|
434
|
+
"$ref": "#/components/schemas/PublishAgentRequest"
|
|
551
435
|
}
|
|
552
436
|
},
|
|
553
437
|
"application/*+json": {
|
|
554
438
|
"schema": {
|
|
555
|
-
"$ref": "#/components/schemas/
|
|
439
|
+
"$ref": "#/components/schemas/PublishAgentRequest"
|
|
556
440
|
}
|
|
557
441
|
}
|
|
558
442
|
}
|
|
559
443
|
},
|
|
560
444
|
"responses": {
|
|
561
|
-
"
|
|
562
|
-
"description": "
|
|
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.",
|
|
445
|
+
"200": {
|
|
446
|
+
"description": "OK",
|
|
576
447
|
"content": {
|
|
577
448
|
"application/json": {
|
|
578
449
|
"schema": {
|
|
579
|
-
"$ref": "#/components/schemas/
|
|
450
|
+
"$ref": "#/components/schemas/BundleResponse"
|
|
580
451
|
}
|
|
581
452
|
}
|
|
582
453
|
}
|
|
583
454
|
},
|
|
584
455
|
"404": {
|
|
585
|
-
"description": "
|
|
456
|
+
"description": "Not Found",
|
|
586
457
|
"content": {
|
|
587
458
|
"application/json": {
|
|
588
459
|
"schema": {
|
|
@@ -590,33 +461,9 @@
|
|
|
590
461
|
}
|
|
591
462
|
}
|
|
592
463
|
}
|
|
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
464
|
},
|
|
618
|
-
"
|
|
619
|
-
"description": "
|
|
465
|
+
"400": {
|
|
466
|
+
"description": "Bad Request",
|
|
620
467
|
"content": {
|
|
621
468
|
"application/json": {
|
|
622
469
|
"schema": {
|
|
@@ -624,110 +471,9 @@
|
|
|
624
471
|
}
|
|
625
472
|
}
|
|
626
473
|
}
|
|
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
474
|
},
|
|
664
475
|
"401": {
|
|
665
|
-
"description": "
|
|
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.",
|
|
476
|
+
"description": "Unauthorized",
|
|
731
477
|
"content": {
|
|
732
478
|
"application/json": {
|
|
733
479
|
"schema": {
|
|
@@ -739,56 +485,28 @@
|
|
|
739
485
|
}
|
|
740
486
|
}
|
|
741
487
|
},
|
|
742
|
-
"/v1/api/agents/{
|
|
488
|
+
"/v1/api/agents/{id}/graph": {
|
|
743
489
|
"get": {
|
|
744
490
|
"tags": [
|
|
745
|
-
"
|
|
491
|
+
"Agents"
|
|
746
492
|
],
|
|
747
|
-
"summary": "Gets
|
|
748
|
-
"description": "Returns the
|
|
493
|
+
"summary": "Gets a Mermaid diagram representation of the agent's graph.",
|
|
494
|
+
"description": "Returns the agent's workflow as a Mermaid diagram string that can be rendered\nin any Mermaid-compatible viewer. Uses the currently live version of the agent.\n\n**Example Response:**\n```json\n{\n \"mermaid\": \"graph TD\\n START --> LLM --> END\",\n \"agent_id\": \"...\",\n \"live_version_id\": \"...\"\n}\n```",
|
|
749
495
|
"parameters": [
|
|
750
496
|
{
|
|
751
|
-
"name": "
|
|
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",
|
|
497
|
+
"name": "id",
|
|
762
498
|
"in": "path",
|
|
763
|
-
"description": "The unique identifier of the
|
|
499
|
+
"description": "The unique identifier (GUID) of the agent.",
|
|
764
500
|
"required": true,
|
|
765
501
|
"schema": {
|
|
766
502
|
"type": "string",
|
|
767
503
|
"format": "uuid"
|
|
768
504
|
}
|
|
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
505
|
}
|
|
778
506
|
],
|
|
779
507
|
"responses": {
|
|
780
508
|
"200": {
|
|
781
|
-
"description": "Returns the
|
|
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)."
|
|
509
|
+
"description": "Returns the Mermaid graph representation."
|
|
792
510
|
},
|
|
793
511
|
"401": {
|
|
794
512
|
"description": "Authentication required.",
|
|
@@ -801,7 +519,7 @@
|
|
|
801
519
|
}
|
|
802
520
|
},
|
|
803
521
|
"404": {
|
|
804
|
-
"description": "Agent or
|
|
522
|
+
"description": "Agent not found or not accessible.",
|
|
805
523
|
"content": {
|
|
806
524
|
"application/json": {
|
|
807
525
|
"schema": {
|
|
@@ -1216,6 +934,50 @@
|
|
|
1216
934
|
"Builder"
|
|
1217
935
|
],
|
|
1218
936
|
"summary": "Chat with the Meta-Agent to modify an agent's graph.\nReturns SSE stream: message, graph_update, done events.",
|
|
937
|
+
"description": "KERNEL: Frontend sends intention only. CP loads everything from DB.",
|
|
938
|
+
"parameters": [
|
|
939
|
+
{
|
|
940
|
+
"name": "agentId",
|
|
941
|
+
"in": "path",
|
|
942
|
+
"required": true,
|
|
943
|
+
"schema": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"format": "uuid"
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
],
|
|
949
|
+
"requestBody": {
|
|
950
|
+
"content": {
|
|
951
|
+
"application/json": {
|
|
952
|
+
"schema": {
|
|
953
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"text/json": {
|
|
957
|
+
"schema": {
|
|
958
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"application/*+json": {
|
|
962
|
+
"schema": {
|
|
963
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"responses": {
|
|
969
|
+
"200": {
|
|
970
|
+
"description": "OK"
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
"/v1/api/builder/{agentId}/chat/sync": {
|
|
976
|
+
"post": {
|
|
977
|
+
"tags": [
|
|
978
|
+
"Builder"
|
|
979
|
+
],
|
|
980
|
+
"summary": "Synchronous version of builder chat (for testing).",
|
|
1219
981
|
"parameters": [
|
|
1220
982
|
{
|
|
1221
983
|
"name": "agentId",
|
|
@@ -1245,7 +1007,40 @@
|
|
|
1245
1007
|
}
|
|
1246
1008
|
}
|
|
1247
1009
|
}
|
|
1248
|
-
},
|
|
1010
|
+
},
|
|
1011
|
+
"responses": {
|
|
1012
|
+
"200": {
|
|
1013
|
+
"description": "OK"
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"/v1/api/agents/{agentId}/bundles/{bundleId}/manifest": {
|
|
1019
|
+
"get": {
|
|
1020
|
+
"tags": [
|
|
1021
|
+
"BundleManifest"
|
|
1022
|
+
],
|
|
1023
|
+
"summary": "Get artifact manifest for a bundle.",
|
|
1024
|
+
"parameters": [
|
|
1025
|
+
{
|
|
1026
|
+
"name": "agentId",
|
|
1027
|
+
"in": "path",
|
|
1028
|
+
"required": true,
|
|
1029
|
+
"schema": {
|
|
1030
|
+
"type": "string",
|
|
1031
|
+
"format": "uuid"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"name": "bundleId",
|
|
1036
|
+
"in": "path",
|
|
1037
|
+
"required": true,
|
|
1038
|
+
"schema": {
|
|
1039
|
+
"type": "string",
|
|
1040
|
+
"format": "uuid"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
],
|
|
1249
1044
|
"responses": {
|
|
1250
1045
|
"200": {
|
|
1251
1046
|
"description": "OK"
|
|
@@ -1253,12 +1048,12 @@
|
|
|
1253
1048
|
}
|
|
1254
1049
|
}
|
|
1255
1050
|
},
|
|
1256
|
-
"/v1/api/
|
|
1257
|
-
"
|
|
1051
|
+
"/v1/api/agents/{agentId}/bundles/{bundleId}/graph/mermaid": {
|
|
1052
|
+
"get": {
|
|
1258
1053
|
"tags": [
|
|
1259
|
-
"
|
|
1054
|
+
"BundleManifest"
|
|
1260
1055
|
],
|
|
1261
|
-
"summary": "
|
|
1056
|
+
"summary": "Get Mermaid diagram for graph.",
|
|
1262
1057
|
"parameters": [
|
|
1263
1058
|
{
|
|
1264
1059
|
"name": "agentId",
|
|
@@ -1268,27 +1063,17 @@
|
|
|
1268
1063
|
"type": "string",
|
|
1269
1064
|
"format": "uuid"
|
|
1270
1065
|
}
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1277
|
-
|
|
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
|
-
}
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "bundleId",
|
|
1069
|
+
"in": "path",
|
|
1070
|
+
"required": true,
|
|
1071
|
+
"schema": {
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"format": "uuid"
|
|
1289
1074
|
}
|
|
1290
1075
|
}
|
|
1291
|
-
|
|
1076
|
+
],
|
|
1292
1077
|
"responses": {
|
|
1293
1078
|
"200": {
|
|
1294
1079
|
"description": "OK"
|
|
@@ -1301,19 +1086,29 @@
|
|
|
1301
1086
|
"tags": [
|
|
1302
1087
|
"Catalog"
|
|
1303
1088
|
],
|
|
1304
|
-
"summary": "Get the Node Catalog
|
|
1089
|
+
"summary": "Get the Node Types Catalog.",
|
|
1305
1090
|
"parameters": [
|
|
1306
1091
|
{
|
|
1307
1092
|
"name": "version",
|
|
1308
1093
|
"in": "query",
|
|
1094
|
+
"description": "API version (default: 1)",
|
|
1309
1095
|
"schema": {
|
|
1310
|
-
"type": "
|
|
1096
|
+
"type": "integer",
|
|
1097
|
+
"format": "int32",
|
|
1098
|
+
"default": 1
|
|
1311
1099
|
}
|
|
1312
1100
|
}
|
|
1313
1101
|
],
|
|
1314
1102
|
"responses": {
|
|
1315
1103
|
"200": {
|
|
1316
|
-
"description": "OK"
|
|
1104
|
+
"description": "OK",
|
|
1105
|
+
"content": {
|
|
1106
|
+
"application/json": {
|
|
1107
|
+
"schema": {
|
|
1108
|
+
"$ref": "#/components/schemas/NodeCatalogResponse"
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1317
1112
|
}
|
|
1318
1113
|
}
|
|
1319
1114
|
}
|
|
@@ -1323,19 +1118,61 @@
|
|
|
1323
1118
|
"tags": [
|
|
1324
1119
|
"Catalog"
|
|
1325
1120
|
],
|
|
1326
|
-
"summary": "Get the Trigger Templates Catalog
|
|
1121
|
+
"summary": "Get the Trigger Templates Catalog.",
|
|
1327
1122
|
"parameters": [
|
|
1328
1123
|
{
|
|
1329
1124
|
"name": "version",
|
|
1330
1125
|
"in": "query",
|
|
1126
|
+
"description": "API version (default: 1)",
|
|
1331
1127
|
"schema": {
|
|
1332
|
-
"type": "
|
|
1128
|
+
"type": "integer",
|
|
1129
|
+
"format": "int32",
|
|
1130
|
+
"default": 1
|
|
1333
1131
|
}
|
|
1334
1132
|
}
|
|
1335
1133
|
],
|
|
1336
1134
|
"responses": {
|
|
1337
1135
|
"200": {
|
|
1338
|
-
"description": "OK"
|
|
1136
|
+
"description": "OK",
|
|
1137
|
+
"content": {
|
|
1138
|
+
"application/json": {
|
|
1139
|
+
"schema": {
|
|
1140
|
+
"$ref": "#/components/schemas/TriggerTemplatesCatalogResponse"
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
"/v1/api/catalog/presets": {
|
|
1149
|
+
"get": {
|
|
1150
|
+
"tags": [
|
|
1151
|
+
"Catalog"
|
|
1152
|
+
],
|
|
1153
|
+
"summary": "Get the Node Presets Catalog.",
|
|
1154
|
+
"parameters": [
|
|
1155
|
+
{
|
|
1156
|
+
"name": "version",
|
|
1157
|
+
"in": "query",
|
|
1158
|
+
"description": "API version (default: 1)",
|
|
1159
|
+
"schema": {
|
|
1160
|
+
"type": "integer",
|
|
1161
|
+
"format": "int32",
|
|
1162
|
+
"default": 1
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"responses": {
|
|
1167
|
+
"200": {
|
|
1168
|
+
"description": "OK",
|
|
1169
|
+
"content": {
|
|
1170
|
+
"application/json": {
|
|
1171
|
+
"schema": {
|
|
1172
|
+
"$ref": "#/components/schemas/NodePresetsCatalogResponse"
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1339
1176
|
}
|
|
1340
1177
|
}
|
|
1341
1178
|
}
|
|
@@ -1672,6 +1509,39 @@
|
|
|
1672
1509
|
}
|
|
1673
1510
|
},
|
|
1674
1511
|
"/v1/api/credentials/{id}": {
|
|
1512
|
+
"get": {
|
|
1513
|
+
"tags": [
|
|
1514
|
+
"Credentials"
|
|
1515
|
+
],
|
|
1516
|
+
"summary": "Gets a single credential by ID.",
|
|
1517
|
+
"parameters": [
|
|
1518
|
+
{
|
|
1519
|
+
"name": "id",
|
|
1520
|
+
"in": "path",
|
|
1521
|
+
"description": "The credential ID.",
|
|
1522
|
+
"required": true,
|
|
1523
|
+
"schema": {
|
|
1524
|
+
"type": "string",
|
|
1525
|
+
"format": "uuid"
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
],
|
|
1529
|
+
"responses": {
|
|
1530
|
+
"200": {
|
|
1531
|
+
"description": "Returns the credential."
|
|
1532
|
+
},
|
|
1533
|
+
"404": {
|
|
1534
|
+
"description": "Credential not found.",
|
|
1535
|
+
"content": {
|
|
1536
|
+
"application/json": {
|
|
1537
|
+
"schema": {
|
|
1538
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1675
1545
|
"patch": {
|
|
1676
1546
|
"tags": [
|
|
1677
1547
|
"Credentials"
|
|
@@ -3659,19 +3529,184 @@
|
|
|
3659
3529
|
}
|
|
3660
3530
|
}
|
|
3661
3531
|
},
|
|
3662
|
-
"/v1/api/prompts/{name}/latest": {
|
|
3532
|
+
"/v1/api/prompts/{name}/latest": {
|
|
3533
|
+
"get": {
|
|
3534
|
+
"tags": [
|
|
3535
|
+
"Prompts"
|
|
3536
|
+
],
|
|
3537
|
+
"summary": "Get the latest (live) version of a prompt.",
|
|
3538
|
+
"parameters": [
|
|
3539
|
+
{
|
|
3540
|
+
"name": "name",
|
|
3541
|
+
"in": "path",
|
|
3542
|
+
"required": true,
|
|
3543
|
+
"schema": {
|
|
3544
|
+
"type": "string"
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
],
|
|
3548
|
+
"responses": {
|
|
3549
|
+
"200": {
|
|
3550
|
+
"description": "OK"
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
"/v1/api/prompts/{id}/live": {
|
|
3556
|
+
"post": {
|
|
3557
|
+
"tags": [
|
|
3558
|
+
"Prompts"
|
|
3559
|
+
],
|
|
3560
|
+
"summary": "Set which version is live.",
|
|
3561
|
+
"parameters": [
|
|
3562
|
+
{
|
|
3563
|
+
"name": "id",
|
|
3564
|
+
"in": "path",
|
|
3565
|
+
"required": true,
|
|
3566
|
+
"schema": {
|
|
3567
|
+
"type": "string",
|
|
3568
|
+
"format": "uuid"
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
],
|
|
3572
|
+
"requestBody": {
|
|
3573
|
+
"content": {
|
|
3574
|
+
"application/json": {
|
|
3575
|
+
"schema": {
|
|
3576
|
+
"$ref": "#/components/schemas/SetLiveVersionRequest"
|
|
3577
|
+
}
|
|
3578
|
+
},
|
|
3579
|
+
"text/json": {
|
|
3580
|
+
"schema": {
|
|
3581
|
+
"$ref": "#/components/schemas/SetLiveVersionRequest"
|
|
3582
|
+
}
|
|
3583
|
+
},
|
|
3584
|
+
"application/*+json": {
|
|
3585
|
+
"schema": {
|
|
3586
|
+
"$ref": "#/components/schemas/SetLiveVersionRequest"
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
},
|
|
3591
|
+
"responses": {
|
|
3592
|
+
"200": {
|
|
3593
|
+
"description": "OK"
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
}
|
|
3597
|
+
},
|
|
3598
|
+
"/v1/api/prompts/{name}/playground": {
|
|
3599
|
+
"post": {
|
|
3600
|
+
"tags": [
|
|
3601
|
+
"Prompts"
|
|
3602
|
+
],
|
|
3603
|
+
"summary": "Playground - Render a prompt template with variables.",
|
|
3604
|
+
"parameters": [
|
|
3605
|
+
{
|
|
3606
|
+
"name": "name",
|
|
3607
|
+
"in": "path",
|
|
3608
|
+
"required": true,
|
|
3609
|
+
"schema": {
|
|
3610
|
+
"type": "string"
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3613
|
+
],
|
|
3614
|
+
"requestBody": {
|
|
3615
|
+
"content": {
|
|
3616
|
+
"application/json": {
|
|
3617
|
+
"schema": {
|
|
3618
|
+
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3619
|
+
}
|
|
3620
|
+
},
|
|
3621
|
+
"text/json": {
|
|
3622
|
+
"schema": {
|
|
3623
|
+
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3624
|
+
}
|
|
3625
|
+
},
|
|
3626
|
+
"application/*+json": {
|
|
3627
|
+
"schema": {
|
|
3628
|
+
"$ref": "#/components/schemas/PlaygroundRequest"
|
|
3629
|
+
}
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
"responses": {
|
|
3634
|
+
"200": {
|
|
3635
|
+
"description": "OK"
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
},
|
|
3640
|
+
"/v1/api/roles": {
|
|
3641
|
+
"get": {
|
|
3642
|
+
"tags": [
|
|
3643
|
+
"Roles"
|
|
3644
|
+
],
|
|
3645
|
+
"summary": "List all roles available in the tenant.",
|
|
3646
|
+
"responses": {
|
|
3647
|
+
"200": {
|
|
3648
|
+
"description": "OK"
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
},
|
|
3652
|
+
"post": {
|
|
3653
|
+
"tags": [
|
|
3654
|
+
"Roles"
|
|
3655
|
+
],
|
|
3656
|
+
"summary": "Create a new custom role.",
|
|
3657
|
+
"requestBody": {
|
|
3658
|
+
"content": {
|
|
3659
|
+
"application/json": {
|
|
3660
|
+
"schema": {
|
|
3661
|
+
"$ref": "#/components/schemas/CreateRoleRequest"
|
|
3662
|
+
}
|
|
3663
|
+
},
|
|
3664
|
+
"text/json": {
|
|
3665
|
+
"schema": {
|
|
3666
|
+
"$ref": "#/components/schemas/CreateRoleRequest"
|
|
3667
|
+
}
|
|
3668
|
+
},
|
|
3669
|
+
"application/*+json": {
|
|
3670
|
+
"schema": {
|
|
3671
|
+
"$ref": "#/components/schemas/CreateRoleRequest"
|
|
3672
|
+
}
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
},
|
|
3676
|
+
"responses": {
|
|
3677
|
+
"200": {
|
|
3678
|
+
"description": "OK"
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
"/v1/api/roles/permissions": {
|
|
3684
|
+
"get": {
|
|
3685
|
+
"tags": [
|
|
3686
|
+
"Roles"
|
|
3687
|
+
],
|
|
3688
|
+
"summary": "List all available system permissions.",
|
|
3689
|
+
"responses": {
|
|
3690
|
+
"200": {
|
|
3691
|
+
"description": "OK"
|
|
3692
|
+
}
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3696
|
+
"/v1/api/roles/{id}": {
|
|
3663
3697
|
"get": {
|
|
3664
3698
|
"tags": [
|
|
3665
|
-
"
|
|
3699
|
+
"Roles"
|
|
3666
3700
|
],
|
|
3667
|
-
"summary": "Get
|
|
3701
|
+
"summary": "Get a specific role by ID.",
|
|
3668
3702
|
"parameters": [
|
|
3669
3703
|
{
|
|
3670
|
-
"name": "
|
|
3704
|
+
"name": "id",
|
|
3671
3705
|
"in": "path",
|
|
3672
3706
|
"required": true,
|
|
3673
3707
|
"schema": {
|
|
3674
|
-
"type": "string"
|
|
3708
|
+
"type": "string",
|
|
3709
|
+
"format": "uuid"
|
|
3675
3710
|
}
|
|
3676
3711
|
}
|
|
3677
3712
|
],
|
|
@@ -3680,14 +3715,12 @@
|
|
|
3680
3715
|
"description": "OK"
|
|
3681
3716
|
}
|
|
3682
3717
|
}
|
|
3683
|
-
}
|
|
3684
|
-
|
|
3685
|
-
"/v1/api/prompts/{id}/live": {
|
|
3686
|
-
"post": {
|
|
3718
|
+
},
|
|
3719
|
+
"put": {
|
|
3687
3720
|
"tags": [
|
|
3688
|
-
"
|
|
3721
|
+
"Roles"
|
|
3689
3722
|
],
|
|
3690
|
-
"summary": "
|
|
3723
|
+
"summary": "Update an existing custom role.\nSystem roles cannot be updated.",
|
|
3691
3724
|
"parameters": [
|
|
3692
3725
|
{
|
|
3693
3726
|
"name": "id",
|
|
@@ -3703,17 +3736,17 @@
|
|
|
3703
3736
|
"content": {
|
|
3704
3737
|
"application/json": {
|
|
3705
3738
|
"schema": {
|
|
3706
|
-
"$ref": "#/components/schemas/
|
|
3739
|
+
"$ref": "#/components/schemas/UpdateRoleRequest"
|
|
3707
3740
|
}
|
|
3708
3741
|
},
|
|
3709
3742
|
"text/json": {
|
|
3710
3743
|
"schema": {
|
|
3711
|
-
"$ref": "#/components/schemas/
|
|
3744
|
+
"$ref": "#/components/schemas/UpdateRoleRequest"
|
|
3712
3745
|
}
|
|
3713
3746
|
},
|
|
3714
3747
|
"application/*+json": {
|
|
3715
3748
|
"schema": {
|
|
3716
|
-
"$ref": "#/components/schemas/
|
|
3749
|
+
"$ref": "#/components/schemas/UpdateRoleRequest"
|
|
3717
3750
|
}
|
|
3718
3751
|
}
|
|
3719
3752
|
}
|
|
@@ -3723,43 +3756,36 @@
|
|
|
3723
3756
|
"description": "OK"
|
|
3724
3757
|
}
|
|
3725
3758
|
}
|
|
3726
|
-
}
|
|
3727
|
-
|
|
3728
|
-
"/v1/api/prompts/{name}/playground": {
|
|
3729
|
-
"post": {
|
|
3759
|
+
},
|
|
3760
|
+
"delete": {
|
|
3730
3761
|
"tags": [
|
|
3731
|
-
"
|
|
3762
|
+
"Roles"
|
|
3732
3763
|
],
|
|
3733
|
-
"summary": "
|
|
3764
|
+
"summary": "Delete a custom role.\nSystem roles cannot be deleted.\nRoles assigned to members cannot be deleted.",
|
|
3734
3765
|
"parameters": [
|
|
3735
3766
|
{
|
|
3736
|
-
"name": "
|
|
3767
|
+
"name": "id",
|
|
3737
3768
|
"in": "path",
|
|
3738
3769
|
"required": true,
|
|
3739
3770
|
"schema": {
|
|
3740
|
-
"type": "string"
|
|
3771
|
+
"type": "string",
|
|
3772
|
+
"format": "uuid"
|
|
3741
3773
|
}
|
|
3742
3774
|
}
|
|
3743
3775
|
],
|
|
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
|
-
}
|
|
3776
|
+
"responses": {
|
|
3777
|
+
"200": {
|
|
3778
|
+
"description": "OK"
|
|
3761
3779
|
}
|
|
3762
|
-
}
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
"/v1/api/roles/seed-defaults": {
|
|
3784
|
+
"post": {
|
|
3785
|
+
"tags": [
|
|
3786
|
+
"Roles"
|
|
3787
|
+
],
|
|
3788
|
+
"summary": "SEED DEFAULT PERMISSIONS (Temporary/Admin Helper)",
|
|
3763
3789
|
"responses": {
|
|
3764
3790
|
"200": {
|
|
3765
3791
|
"description": "OK"
|
|
@@ -4024,7 +4050,7 @@
|
|
|
4024
4050
|
"tags": [
|
|
4025
4051
|
"Runs"
|
|
4026
4052
|
],
|
|
4027
|
-
"summary": "
|
|
4053
|
+
"summary": ".0: Get run events for polling-based replay.\nReturns events after a specific sequence number for incremental polling.",
|
|
4028
4054
|
"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
4055
|
"parameters": [
|
|
4030
4056
|
{
|
|
@@ -4256,7 +4282,7 @@
|
|
|
4256
4282
|
"tags": [
|
|
4257
4283
|
"Runs"
|
|
4258
4284
|
],
|
|
4259
|
-
"summary": "
|
|
4285
|
+
"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
4286
|
"parameters": [
|
|
4261
4287
|
{
|
|
4262
4288
|
"name": "runId",
|
|
@@ -6431,22 +6457,11 @@
|
|
|
6431
6457
|
}
|
|
6432
6458
|
}
|
|
6433
6459
|
},
|
|
6434
|
-
"/v1/api/
|
|
6460
|
+
"/v1/api/workspaces": {
|
|
6435
6461
|
"get": {
|
|
6436
6462
|
"tags": [
|
|
6437
6463
|
"Workspaces"
|
|
6438
6464
|
],
|
|
6439
|
-
"parameters": [
|
|
6440
|
-
{
|
|
6441
|
-
"name": "tenantId",
|
|
6442
|
-
"in": "path",
|
|
6443
|
-
"required": true,
|
|
6444
|
-
"schema": {
|
|
6445
|
-
"type": "string",
|
|
6446
|
-
"format": "uuid"
|
|
6447
|
-
}
|
|
6448
|
-
}
|
|
6449
|
-
],
|
|
6450
6465
|
"responses": {
|
|
6451
6466
|
"200": {
|
|
6452
6467
|
"description": "OK"
|
|
@@ -6457,17 +6472,6 @@
|
|
|
6457
6472
|
"tags": [
|
|
6458
6473
|
"Workspaces"
|
|
6459
6474
|
],
|
|
6460
|
-
"parameters": [
|
|
6461
|
-
{
|
|
6462
|
-
"name": "tenantId",
|
|
6463
|
-
"in": "path",
|
|
6464
|
-
"required": true,
|
|
6465
|
-
"schema": {
|
|
6466
|
-
"type": "string",
|
|
6467
|
-
"format": "uuid"
|
|
6468
|
-
}
|
|
6469
|
-
}
|
|
6470
|
-
],
|
|
6471
6475
|
"requestBody": {
|
|
6472
6476
|
"content": {
|
|
6473
6477
|
"application/json": {
|
|
@@ -6494,21 +6498,12 @@
|
|
|
6494
6498
|
}
|
|
6495
6499
|
}
|
|
6496
6500
|
},
|
|
6497
|
-
"/v1/api/
|
|
6501
|
+
"/v1/api/workspaces/{id}": {
|
|
6498
6502
|
"get": {
|
|
6499
6503
|
"tags": [
|
|
6500
6504
|
"Workspaces"
|
|
6501
6505
|
],
|
|
6502
6506
|
"parameters": [
|
|
6503
|
-
{
|
|
6504
|
-
"name": "tenantId",
|
|
6505
|
-
"in": "path",
|
|
6506
|
-
"required": true,
|
|
6507
|
-
"schema": {
|
|
6508
|
-
"type": "string",
|
|
6509
|
-
"format": "uuid"
|
|
6510
|
-
}
|
|
6511
|
-
},
|
|
6512
6507
|
{
|
|
6513
6508
|
"name": "id",
|
|
6514
6509
|
"in": "path",
|
|
@@ -6530,15 +6525,6 @@
|
|
|
6530
6525
|
"Workspaces"
|
|
6531
6526
|
],
|
|
6532
6527
|
"parameters": [
|
|
6533
|
-
{
|
|
6534
|
-
"name": "tenantId",
|
|
6535
|
-
"in": "path",
|
|
6536
|
-
"required": true,
|
|
6537
|
-
"schema": {
|
|
6538
|
-
"type": "string",
|
|
6539
|
-
"format": "uuid"
|
|
6540
|
-
}
|
|
6541
|
-
},
|
|
6542
6528
|
{
|
|
6543
6529
|
"name": "id",
|
|
6544
6530
|
"in": "path",
|
|
@@ -6579,15 +6565,6 @@
|
|
|
6579
6565
|
"Workspaces"
|
|
6580
6566
|
],
|
|
6581
6567
|
"parameters": [
|
|
6582
|
-
{
|
|
6583
|
-
"name": "tenantId",
|
|
6584
|
-
"in": "path",
|
|
6585
|
-
"required": true,
|
|
6586
|
-
"schema": {
|
|
6587
|
-
"type": "string",
|
|
6588
|
-
"format": "uuid"
|
|
6589
|
-
}
|
|
6590
|
-
},
|
|
6591
6568
|
{
|
|
6592
6569
|
"name": "id",
|
|
6593
6570
|
"in": "path",
|
|
@@ -6727,60 +6704,13 @@
|
|
|
6727
6704
|
},
|
|
6728
6705
|
"additionalProperties": false
|
|
6729
6706
|
},
|
|
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": {
|
|
6707
|
+
"AgentBundleItem": {
|
|
6774
6708
|
"type": "object",
|
|
6775
6709
|
"properties": {
|
|
6776
6710
|
"id": {
|
|
6777
6711
|
"type": "string",
|
|
6778
6712
|
"format": "uuid"
|
|
6779
6713
|
},
|
|
6780
|
-
"version_tag": {
|
|
6781
|
-
"type": "string",
|
|
6782
|
-
"nullable": true
|
|
6783
|
-
},
|
|
6784
6714
|
"artifact_uri": {
|
|
6785
6715
|
"type": "string",
|
|
6786
6716
|
"nullable": true
|
|
@@ -6793,6 +6723,10 @@
|
|
|
6793
6723
|
"type": "string",
|
|
6794
6724
|
"nullable": true
|
|
6795
6725
|
},
|
|
6726
|
+
"content_hash": {
|
|
6727
|
+
"type": "string",
|
|
6728
|
+
"nullable": true
|
|
6729
|
+
},
|
|
6796
6730
|
"created_at": {
|
|
6797
6731
|
"type": "string",
|
|
6798
6732
|
"format": "date-time"
|
|
@@ -6800,48 +6734,45 @@
|
|
|
6800
6734
|
},
|
|
6801
6735
|
"additionalProperties": false
|
|
6802
6736
|
},
|
|
6803
|
-
"
|
|
6737
|
+
"AgentExportAgent": {
|
|
6804
6738
|
"type": "object",
|
|
6805
6739
|
"properties": {
|
|
6806
|
-
"
|
|
6807
|
-
"$ref": "#/components/schemas/AgentVersionMetadata"
|
|
6808
|
-
},
|
|
6809
|
-
"graph_spec": {
|
|
6810
|
-
"nullable": true
|
|
6811
|
-
},
|
|
6812
|
-
"artifact_hash": {
|
|
6740
|
+
"id": {
|
|
6813
6741
|
"type": "string",
|
|
6814
|
-
"
|
|
6742
|
+
"format": "uuid"
|
|
6815
6743
|
},
|
|
6816
|
-
"
|
|
6744
|
+
"name": {
|
|
6817
6745
|
"type": "string",
|
|
6818
6746
|
"nullable": true
|
|
6819
6747
|
},
|
|
6820
|
-
"
|
|
6748
|
+
"live_bundle_id": {
|
|
6821
6749
|
"type": "string",
|
|
6822
|
-
"format": "
|
|
6750
|
+
"format": "uuid",
|
|
6751
|
+
"nullable": true
|
|
6823
6752
|
}
|
|
6824
6753
|
},
|
|
6825
6754
|
"additionalProperties": false
|
|
6826
6755
|
},
|
|
6827
|
-
"
|
|
6756
|
+
"AgentExportBundle": {
|
|
6828
6757
|
"type": "object",
|
|
6829
6758
|
"properties": {
|
|
6830
|
-
"
|
|
6831
|
-
"type": "string",
|
|
6832
|
-
"format": "uuid"
|
|
6833
|
-
},
|
|
6834
|
-
"agent_id": {
|
|
6835
|
-
"type": "string",
|
|
6836
|
-
"format": "uuid"
|
|
6837
|
-
},
|
|
6838
|
-
"version_tag": {
|
|
6759
|
+
"schema_version": {
|
|
6839
6760
|
"type": "string",
|
|
6840
6761
|
"nullable": true
|
|
6841
6762
|
},
|
|
6842
|
-
"
|
|
6763
|
+
"exported_at": {
|
|
6843
6764
|
"type": "string",
|
|
6844
6765
|
"format": "date-time"
|
|
6766
|
+
},
|
|
6767
|
+
"agent": {
|
|
6768
|
+
"$ref": "#/components/schemas/AgentExportAgent"
|
|
6769
|
+
},
|
|
6770
|
+
"bundles": {
|
|
6771
|
+
"type": "array",
|
|
6772
|
+
"items": {
|
|
6773
|
+
"$ref": "#/components/schemas/AgentBundleItem"
|
|
6774
|
+
},
|
|
6775
|
+
"nullable": true
|
|
6845
6776
|
}
|
|
6846
6777
|
},
|
|
6847
6778
|
"additionalProperties": false
|
|
@@ -6927,13 +6858,7 @@
|
|
|
6927
6858
|
},
|
|
6928
6859
|
"agent_id": {
|
|
6929
6860
|
"type": "string",
|
|
6930
|
-
"format": "uuid"
|
|
6931
|
-
"nullable": true
|
|
6932
|
-
},
|
|
6933
|
-
"agent_version_id": {
|
|
6934
|
-
"type": "string",
|
|
6935
|
-
"format": "uuid",
|
|
6936
|
-
"nullable": true
|
|
6861
|
+
"format": "uuid"
|
|
6937
6862
|
},
|
|
6938
6863
|
"inputs": {
|
|
6939
6864
|
"type": "array",
|
|
@@ -6979,69 +6904,90 @@
|
|
|
6979
6904
|
"type": "string",
|
|
6980
6905
|
"nullable": true
|
|
6981
6906
|
},
|
|
6982
|
-
"current_graph_spec": {
|
|
6983
|
-
"nullable": true
|
|
6984
|
-
},
|
|
6985
6907
|
"thread_id": {
|
|
6986
6908
|
"type": "string",
|
|
6987
6909
|
"nullable": true
|
|
6988
6910
|
},
|
|
6989
|
-
"
|
|
6990
|
-
"$ref": "#/components/schemas/CatalogVersionsDto"
|
|
6991
|
-
},
|
|
6992
|
-
"catalog_ref": {
|
|
6911
|
+
"base_graph_etag": {
|
|
6993
6912
|
"type": "string",
|
|
6994
6913
|
"nullable": true
|
|
6995
6914
|
}
|
|
6996
6915
|
},
|
|
6997
6916
|
"additionalProperties": false,
|
|
6998
|
-
"description": "Request DTO for builder chat."
|
|
6917
|
+
"description": "KERNEL P0: Request DTO for builder chat.\nContains ONLY intention fields. No graph_spec, no catalogs."
|
|
6999
6918
|
},
|
|
7000
|
-
"
|
|
6919
|
+
"BundleResponse": {
|
|
7001
6920
|
"type": "object",
|
|
7002
6921
|
"properties": {
|
|
7003
|
-
"
|
|
6922
|
+
"id": {
|
|
6923
|
+
"type": "string",
|
|
6924
|
+
"format": "uuid"
|
|
6925
|
+
},
|
|
6926
|
+
"tenant_id": {
|
|
6927
|
+
"type": "string",
|
|
6928
|
+
"format": "uuid"
|
|
6929
|
+
},
|
|
6930
|
+
"workspace_id": {
|
|
6931
|
+
"type": "string",
|
|
6932
|
+
"format": "uuid"
|
|
6933
|
+
},
|
|
6934
|
+
"agent_id": {
|
|
6935
|
+
"type": "string",
|
|
6936
|
+
"format": "uuid"
|
|
6937
|
+
},
|
|
6938
|
+
"artifact_uri": {
|
|
6939
|
+
"type": "string",
|
|
6940
|
+
"nullable": true
|
|
6941
|
+
},
|
|
6942
|
+
"artifact_hash": {
|
|
6943
|
+
"type": "string",
|
|
6944
|
+
"nullable": true
|
|
6945
|
+
},
|
|
6946
|
+
"format": {
|
|
6947
|
+
"type": "string",
|
|
6948
|
+
"nullable": true
|
|
6949
|
+
},
|
|
6950
|
+
"content_hash": {
|
|
6951
|
+
"type": "string",
|
|
6952
|
+
"nullable": true
|
|
6953
|
+
},
|
|
6954
|
+
"created_at": {
|
|
6955
|
+
"type": "string",
|
|
6956
|
+
"format": "date-time"
|
|
6957
|
+
},
|
|
6958
|
+
"label": {
|
|
7004
6959
|
"type": "string",
|
|
7005
6960
|
"nullable": true
|
|
7006
6961
|
}
|
|
7007
6962
|
},
|
|
7008
6963
|
"additionalProperties": false
|
|
7009
6964
|
},
|
|
7010
|
-
"
|
|
6965
|
+
"CancelRequest": {
|
|
7011
6966
|
"type": "object",
|
|
7012
6967
|
"properties": {
|
|
7013
|
-
"
|
|
7014
|
-
"type": "string",
|
|
7015
|
-
"format": "uuid"
|
|
7016
|
-
},
|
|
7017
|
-
"status": {
|
|
6968
|
+
"reason": {
|
|
7018
6969
|
"type": "string",
|
|
7019
6970
|
"nullable": true
|
|
7020
|
-
},
|
|
7021
|
-
"was_cancelled": {
|
|
7022
|
-
"type": "boolean"
|
|
7023
6971
|
}
|
|
7024
6972
|
},
|
|
7025
6973
|
"additionalProperties": false
|
|
7026
6974
|
},
|
|
7027
|
-
"
|
|
6975
|
+
"CancelRunResponse": {
|
|
7028
6976
|
"type": "object",
|
|
7029
6977
|
"properties": {
|
|
7030
|
-
"
|
|
6978
|
+
"run_id": {
|
|
7031
6979
|
"type": "string",
|
|
7032
|
-
"
|
|
6980
|
+
"format": "uuid"
|
|
7033
6981
|
},
|
|
7034
|
-
"
|
|
6982
|
+
"status": {
|
|
7035
6983
|
"type": "string",
|
|
7036
6984
|
"nullable": true
|
|
7037
6985
|
},
|
|
7038
|
-
"
|
|
7039
|
-
"type": "
|
|
7040
|
-
"nullable": true
|
|
6986
|
+
"was_cancelled": {
|
|
6987
|
+
"type": "boolean"
|
|
7041
6988
|
}
|
|
7042
6989
|
},
|
|
7043
|
-
"additionalProperties": false
|
|
7044
|
-
"description": "Catalog versions for world snapshot."
|
|
6990
|
+
"additionalProperties": false
|
|
7045
6991
|
},
|
|
7046
6992
|
"Channel": {
|
|
7047
6993
|
"enum": [
|
|
@@ -7210,27 +7156,6 @@
|
|
|
7210
7156
|
},
|
|
7211
7157
|
"additionalProperties": false
|
|
7212
7158
|
},
|
|
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
7159
|
"CreateCheckpointRequest": {
|
|
7235
7160
|
"type": "object",
|
|
7236
7161
|
"properties": {
|
|
@@ -7315,7 +7240,7 @@
|
|
|
7315
7240
|
"type": "string",
|
|
7316
7241
|
"nullable": true
|
|
7317
7242
|
},
|
|
7318
|
-
"
|
|
7243
|
+
"bundle_id": {
|
|
7319
7244
|
"type": "string",
|
|
7320
7245
|
"format": "uuid",
|
|
7321
7246
|
"nullable": true
|
|
@@ -7360,7 +7285,7 @@
|
|
|
7360
7285
|
"type": "string",
|
|
7361
7286
|
"format": "uuid"
|
|
7362
7287
|
},
|
|
7363
|
-
"
|
|
7288
|
+
"bundle_id": {
|
|
7364
7289
|
"type": "string",
|
|
7365
7290
|
"format": "uuid",
|
|
7366
7291
|
"nullable": true
|
|
@@ -7450,6 +7375,23 @@
|
|
|
7450
7375
|
},
|
|
7451
7376
|
"additionalProperties": false
|
|
7452
7377
|
},
|
|
7378
|
+
"CreateRoleRequest": {
|
|
7379
|
+
"type": "object",
|
|
7380
|
+
"properties": {
|
|
7381
|
+
"name": {
|
|
7382
|
+
"type": "string",
|
|
7383
|
+
"nullable": true
|
|
7384
|
+
},
|
|
7385
|
+
"permissions": {
|
|
7386
|
+
"type": "array",
|
|
7387
|
+
"items": {
|
|
7388
|
+
"type": "string"
|
|
7389
|
+
},
|
|
7390
|
+
"nullable": true
|
|
7391
|
+
}
|
|
7392
|
+
},
|
|
7393
|
+
"additionalProperties": false
|
|
7394
|
+
},
|
|
7453
7395
|
"CreateRunRequest": {
|
|
7454
7396
|
"type": "object",
|
|
7455
7397
|
"properties": {
|
|
@@ -7466,11 +7408,6 @@
|
|
|
7466
7408
|
"format": "uuid",
|
|
7467
7409
|
"nullable": true
|
|
7468
7410
|
},
|
|
7469
|
-
"agent_version_id": {
|
|
7470
|
-
"type": "string",
|
|
7471
|
-
"format": "uuid",
|
|
7472
|
-
"nullable": true
|
|
7473
|
-
},
|
|
7474
7411
|
"thread": {
|
|
7475
7412
|
"$ref": "#/components/schemas/ThreadRequest"
|
|
7476
7413
|
},
|
|
@@ -7484,6 +7421,11 @@
|
|
|
7484
7421
|
"webhook_url": {
|
|
7485
7422
|
"type": "string",
|
|
7486
7423
|
"nullable": true
|
|
7424
|
+
},
|
|
7425
|
+
"bundle_id": {
|
|
7426
|
+
"type": "string",
|
|
7427
|
+
"format": "uuid",
|
|
7428
|
+
"nullable": true
|
|
7487
7429
|
}
|
|
7488
7430
|
},
|
|
7489
7431
|
"additionalProperties": false
|
|
@@ -7590,6 +7532,13 @@
|
|
|
7590
7532
|
"name": {
|
|
7591
7533
|
"type": "string",
|
|
7592
7534
|
"nullable": true
|
|
7535
|
+
},
|
|
7536
|
+
"trigger_type": {
|
|
7537
|
+
"type": "string",
|
|
7538
|
+
"nullable": true
|
|
7539
|
+
},
|
|
7540
|
+
"config": {
|
|
7541
|
+
"nullable": true
|
|
7593
7542
|
}
|
|
7594
7543
|
},
|
|
7595
7544
|
"additionalProperties": false
|
|
@@ -7816,7 +7765,12 @@
|
|
|
7816
7765
|
"properties": {
|
|
7817
7766
|
"user_id": {
|
|
7818
7767
|
"type": "string",
|
|
7819
|
-
"format": "uuid"
|
|
7768
|
+
"format": "uuid",
|
|
7769
|
+
"nullable": true
|
|
7770
|
+
},
|
|
7771
|
+
"email": {
|
|
7772
|
+
"type": "string",
|
|
7773
|
+
"nullable": true
|
|
7820
7774
|
},
|
|
7821
7775
|
"role_id": {
|
|
7822
7776
|
"type": "string",
|
|
@@ -7853,6 +7807,121 @@
|
|
|
7853
7807
|
},
|
|
7854
7808
|
"additionalProperties": false
|
|
7855
7809
|
},
|
|
7810
|
+
"NodeCatalogResponse": {
|
|
7811
|
+
"required": [
|
|
7812
|
+
"nodes",
|
|
7813
|
+
"version"
|
|
7814
|
+
],
|
|
7815
|
+
"type": "object",
|
|
7816
|
+
"properties": {
|
|
7817
|
+
"version": {
|
|
7818
|
+
"type": "string",
|
|
7819
|
+
"nullable": true
|
|
7820
|
+
},
|
|
7821
|
+
"nodes": {
|
|
7822
|
+
"type": "array",
|
|
7823
|
+
"items": {
|
|
7824
|
+
"$ref": "#/components/schemas/NodeTypeDto"
|
|
7825
|
+
},
|
|
7826
|
+
"nullable": true
|
|
7827
|
+
}
|
|
7828
|
+
},
|
|
7829
|
+
"additionalProperties": false
|
|
7830
|
+
},
|
|
7831
|
+
"NodePresetDto": {
|
|
7832
|
+
"required": [
|
|
7833
|
+
"base_node_slug",
|
|
7834
|
+
"preset_slug",
|
|
7835
|
+
"title"
|
|
7836
|
+
],
|
|
7837
|
+
"type": "object",
|
|
7838
|
+
"properties": {
|
|
7839
|
+
"preset_slug": {
|
|
7840
|
+
"type": "string",
|
|
7841
|
+
"nullable": true
|
|
7842
|
+
},
|
|
7843
|
+
"base_node_slug": {
|
|
7844
|
+
"type": "string",
|
|
7845
|
+
"nullable": true
|
|
7846
|
+
},
|
|
7847
|
+
"title": {
|
|
7848
|
+
"type": "string",
|
|
7849
|
+
"nullable": true
|
|
7850
|
+
},
|
|
7851
|
+
"description": {
|
|
7852
|
+
"type": "string",
|
|
7853
|
+
"nullable": true
|
|
7854
|
+
},
|
|
7855
|
+
"default_config": {
|
|
7856
|
+
"nullable": true
|
|
7857
|
+
},
|
|
7858
|
+
"locked_fields": {
|
|
7859
|
+
"nullable": true
|
|
7860
|
+
},
|
|
7861
|
+
"ui_variant": {
|
|
7862
|
+
"type": "string",
|
|
7863
|
+
"nullable": true
|
|
7864
|
+
}
|
|
7865
|
+
},
|
|
7866
|
+
"additionalProperties": false
|
|
7867
|
+
},
|
|
7868
|
+
"NodePresetsCatalogResponse": {
|
|
7869
|
+
"required": [
|
|
7870
|
+
"presets",
|
|
7871
|
+
"version"
|
|
7872
|
+
],
|
|
7873
|
+
"type": "object",
|
|
7874
|
+
"properties": {
|
|
7875
|
+
"version": {
|
|
7876
|
+
"type": "string",
|
|
7877
|
+
"nullable": true
|
|
7878
|
+
},
|
|
7879
|
+
"presets": {
|
|
7880
|
+
"type": "array",
|
|
7881
|
+
"items": {
|
|
7882
|
+
"$ref": "#/components/schemas/NodePresetDto"
|
|
7883
|
+
},
|
|
7884
|
+
"nullable": true
|
|
7885
|
+
}
|
|
7886
|
+
},
|
|
7887
|
+
"additionalProperties": false
|
|
7888
|
+
},
|
|
7889
|
+
"NodeTypeDto": {
|
|
7890
|
+
"required": [
|
|
7891
|
+
"category",
|
|
7892
|
+
"id",
|
|
7893
|
+
"title"
|
|
7894
|
+
],
|
|
7895
|
+
"type": "object",
|
|
7896
|
+
"properties": {
|
|
7897
|
+
"id": {
|
|
7898
|
+
"type": "string",
|
|
7899
|
+
"nullable": true
|
|
7900
|
+
},
|
|
7901
|
+
"title": {
|
|
7902
|
+
"type": "string",
|
|
7903
|
+
"nullable": true
|
|
7904
|
+
},
|
|
7905
|
+
"category": {
|
|
7906
|
+
"type": "string",
|
|
7907
|
+
"nullable": true
|
|
7908
|
+
},
|
|
7909
|
+
"description": {
|
|
7910
|
+
"type": "string",
|
|
7911
|
+
"nullable": true
|
|
7912
|
+
},
|
|
7913
|
+
"ports": {
|
|
7914
|
+
"nullable": true
|
|
7915
|
+
},
|
|
7916
|
+
"config_schema": {
|
|
7917
|
+
"nullable": true
|
|
7918
|
+
},
|
|
7919
|
+
"default_config": {
|
|
7920
|
+
"nullable": true
|
|
7921
|
+
}
|
|
7922
|
+
},
|
|
7923
|
+
"additionalProperties": false
|
|
7924
|
+
},
|
|
7856
7925
|
"PlaygroundRequest": {
|
|
7857
7926
|
"type": "object",
|
|
7858
7927
|
"properties": {
|
|
@@ -7884,11 +7953,6 @@
|
|
|
7884
7953
|
"type": "string",
|
|
7885
7954
|
"format": "uuid"
|
|
7886
7955
|
},
|
|
7887
|
-
"agent_version_id": {
|
|
7888
|
-
"type": "string",
|
|
7889
|
-
"format": "uuid",
|
|
7890
|
-
"nullable": true
|
|
7891
|
-
},
|
|
7892
7956
|
"input": {
|
|
7893
7957
|
"nullable": true
|
|
7894
7958
|
},
|
|
@@ -7980,6 +8044,22 @@
|
|
|
7980
8044
|
},
|
|
7981
8045
|
"additionalProperties": { }
|
|
7982
8046
|
},
|
|
8047
|
+
"PublishAgentRequest": {
|
|
8048
|
+
"type": "object",
|
|
8049
|
+
"properties": {
|
|
8050
|
+
"version_label": {
|
|
8051
|
+
"type": "string",
|
|
8052
|
+
"nullable": true
|
|
8053
|
+
},
|
|
8054
|
+
"graph_spec": {
|
|
8055
|
+
"nullable": true
|
|
8056
|
+
},
|
|
8057
|
+
"set_as_live": {
|
|
8058
|
+
"type": "boolean"
|
|
8059
|
+
}
|
|
8060
|
+
},
|
|
8061
|
+
"additionalProperties": false
|
|
8062
|
+
},
|
|
7983
8063
|
"ReplayRequest": {
|
|
7984
8064
|
"type": "object",
|
|
7985
8065
|
"properties": {
|
|
@@ -8028,11 +8108,6 @@
|
|
|
8028
8108
|
"properties": {
|
|
8029
8109
|
"input": {
|
|
8030
8110
|
"nullable": true
|
|
8031
|
-
},
|
|
8032
|
-
"agent_version_id": {
|
|
8033
|
-
"type": "string",
|
|
8034
|
-
"format": "uuid",
|
|
8035
|
-
"nullable": true
|
|
8036
8111
|
}
|
|
8037
8112
|
},
|
|
8038
8113
|
"additionalProperties": false
|
|
@@ -8138,7 +8213,7 @@
|
|
|
8138
8213
|
"type": "string",
|
|
8139
8214
|
"format": "uuid"
|
|
8140
8215
|
},
|
|
8141
|
-
"
|
|
8216
|
+
"bundle_id": {
|
|
8142
8217
|
"type": "string",
|
|
8143
8218
|
"format": "uuid"
|
|
8144
8219
|
},
|
|
@@ -8495,11 +8570,6 @@
|
|
|
8495
8570
|
"format": "uuid",
|
|
8496
8571
|
"nullable": true
|
|
8497
8572
|
},
|
|
8498
|
-
"agent_version_id": {
|
|
8499
|
-
"type": "string",
|
|
8500
|
-
"format": "uuid",
|
|
8501
|
-
"nullable": true
|
|
8502
|
-
},
|
|
8503
8573
|
"thread": {
|
|
8504
8574
|
"$ref": "#/components/schemas/ThreadRequest"
|
|
8505
8575
|
},
|
|
@@ -8570,6 +8640,16 @@
|
|
|
8570
8640
|
"format": "uuid",
|
|
8571
8641
|
"nullable": true
|
|
8572
8642
|
},
|
|
8643
|
+
"external_conversation_id": {
|
|
8644
|
+
"type": "string",
|
|
8645
|
+
"description": "Filter by external conversation ID (exact match).",
|
|
8646
|
+
"nullable": true
|
|
8647
|
+
},
|
|
8648
|
+
"channel": {
|
|
8649
|
+
"type": "string",
|
|
8650
|
+
"description": "Filter by channel (Http, Whatsapp, Chatwoot, etc).",
|
|
8651
|
+
"nullable": true
|
|
8652
|
+
},
|
|
8573
8653
|
"agent_id": {
|
|
8574
8654
|
"type": "string",
|
|
8575
8655
|
"format": "uuid",
|
|
@@ -8622,6 +8702,63 @@
|
|
|
8622
8702
|
},
|
|
8623
8703
|
"additionalProperties": false
|
|
8624
8704
|
},
|
|
8705
|
+
"TriggerTemplateDto": {
|
|
8706
|
+
"required": [
|
|
8707
|
+
"kind",
|
|
8708
|
+
"name",
|
|
8709
|
+
"slug"
|
|
8710
|
+
],
|
|
8711
|
+
"type": "object",
|
|
8712
|
+
"properties": {
|
|
8713
|
+
"slug": {
|
|
8714
|
+
"type": "string",
|
|
8715
|
+
"nullable": true
|
|
8716
|
+
},
|
|
8717
|
+
"kind": {
|
|
8718
|
+
"type": "string",
|
|
8719
|
+
"nullable": true
|
|
8720
|
+
},
|
|
8721
|
+
"name": {
|
|
8722
|
+
"type": "string",
|
|
8723
|
+
"nullable": true
|
|
8724
|
+
},
|
|
8725
|
+
"description": {
|
|
8726
|
+
"type": "string",
|
|
8727
|
+
"nullable": true
|
|
8728
|
+
},
|
|
8729
|
+
"run_input_schema": {
|
|
8730
|
+
"nullable": true
|
|
8731
|
+
},
|
|
8732
|
+
"example_payload": {
|
|
8733
|
+
"nullable": true
|
|
8734
|
+
},
|
|
8735
|
+
"config_schema": {
|
|
8736
|
+
"nullable": true
|
|
8737
|
+
}
|
|
8738
|
+
},
|
|
8739
|
+
"additionalProperties": false
|
|
8740
|
+
},
|
|
8741
|
+
"TriggerTemplatesCatalogResponse": {
|
|
8742
|
+
"required": [
|
|
8743
|
+
"templates",
|
|
8744
|
+
"version"
|
|
8745
|
+
],
|
|
8746
|
+
"type": "object",
|
|
8747
|
+
"properties": {
|
|
8748
|
+
"version": {
|
|
8749
|
+
"type": "string",
|
|
8750
|
+
"nullable": true
|
|
8751
|
+
},
|
|
8752
|
+
"templates": {
|
|
8753
|
+
"type": "array",
|
|
8754
|
+
"items": {
|
|
8755
|
+
"$ref": "#/components/schemas/TriggerTemplateDto"
|
|
8756
|
+
},
|
|
8757
|
+
"nullable": true
|
|
8758
|
+
}
|
|
8759
|
+
},
|
|
8760
|
+
"additionalProperties": false
|
|
8761
|
+
},
|
|
8625
8762
|
"UpdateAgentRequest": {
|
|
8626
8763
|
"type": "object",
|
|
8627
8764
|
"properties": {
|
|
@@ -8629,7 +8766,7 @@
|
|
|
8629
8766
|
"type": "string",
|
|
8630
8767
|
"nullable": true
|
|
8631
8768
|
},
|
|
8632
|
-
"
|
|
8769
|
+
"live_bundle_id": {
|
|
8633
8770
|
"type": "string",
|
|
8634
8771
|
"format": "uuid",
|
|
8635
8772
|
"nullable": true
|
|
@@ -8696,6 +8833,23 @@
|
|
|
8696
8833
|
},
|
|
8697
8834
|
"additionalProperties": false
|
|
8698
8835
|
},
|
|
8836
|
+
"UpdateRoleRequest": {
|
|
8837
|
+
"type": "object",
|
|
8838
|
+
"properties": {
|
|
8839
|
+
"name": {
|
|
8840
|
+
"type": "string",
|
|
8841
|
+
"nullable": true
|
|
8842
|
+
},
|
|
8843
|
+
"permissions": {
|
|
8844
|
+
"type": "array",
|
|
8845
|
+
"items": {
|
|
8846
|
+
"type": "string"
|
|
8847
|
+
},
|
|
8848
|
+
"nullable": true
|
|
8849
|
+
}
|
|
8850
|
+
},
|
|
8851
|
+
"additionalProperties": false
|
|
8852
|
+
},
|
|
8699
8853
|
"UpdateTenantRequest": {
|
|
8700
8854
|
"type": "object",
|
|
8701
8855
|
"properties": {
|
|
@@ -8989,11 +9143,6 @@
|
|
|
8989
9143
|
"format": "uuid",
|
|
8990
9144
|
"nullable": true
|
|
8991
9145
|
},
|
|
8992
|
-
"agent_version_id": {
|
|
8993
|
-
"type": "string",
|
|
8994
|
-
"format": "uuid",
|
|
8995
|
-
"nullable": true
|
|
8996
|
-
},
|
|
8997
9146
|
"thread": {
|
|
8998
9147
|
"$ref": "#/components/schemas/ThreadRequest"
|
|
8999
9148
|
},
|
|
@@ -9049,12 +9198,6 @@
|
|
|
9049
9198
|
{
|
|
9050
9199
|
"name": "Agents"
|
|
9051
9200
|
},
|
|
9052
|
-
{
|
|
9053
|
-
"name": "AgentVersionManifest"
|
|
9054
|
-
},
|
|
9055
|
-
{
|
|
9056
|
-
"name": "AgentVersions"
|
|
9057
|
-
},
|
|
9058
9201
|
{
|
|
9059
9202
|
"name": "ApiTokens"
|
|
9060
9203
|
},
|
|
@@ -9067,6 +9210,9 @@
|
|
|
9067
9210
|
{
|
|
9068
9211
|
"name": "Builder"
|
|
9069
9212
|
},
|
|
9213
|
+
{
|
|
9214
|
+
"name": "BundleManifest"
|
|
9215
|
+
},
|
|
9070
9216
|
{
|
|
9071
9217
|
"name": "Catalog"
|
|
9072
9218
|
},
|
|
@@ -9112,6 +9258,9 @@
|
|
|
9112
9258
|
{
|
|
9113
9259
|
"name": "Prompts"
|
|
9114
9260
|
},
|
|
9261
|
+
{
|
|
9262
|
+
"name": "Roles"
|
|
9263
|
+
},
|
|
9115
9264
|
{
|
|
9116
9265
|
"name": "Runs"
|
|
9117
9266
|
},
|