@zocomputer/system-api 0.2.0 → 0.3.1
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/generate/cli.d.ts +1 -0
- package/dist/generate/cli.js +24 -6
- package/dist/generated/catalog.js +31 -19
- package/dist/generated/manifest.json +31 -21
- package/dist/generated/operations.d.ts +876 -17
- package/dist/generated/schema.json +3909 -421
- package/dist/json/index.d.ts +1 -1
- package/dist/json/index.js +15 -2
- package/openapi.json +3909 -421
- package/package.json +1 -1
|
@@ -1494,6 +1494,19 @@
|
|
|
1494
1494
|
"title": "ImageBlock",
|
|
1495
1495
|
"type": "object"
|
|
1496
1496
|
},
|
|
1497
|
+
"LinkMeta": {
|
|
1498
|
+
"additionalProperties": false,
|
|
1499
|
+
"properties": {
|
|
1500
|
+
"zo": {
|
|
1501
|
+
"$ref": "#/$defs/ZoLinkMeta"
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
"required": [
|
|
1505
|
+
"zo"
|
|
1506
|
+
],
|
|
1507
|
+
"title": "LinkMeta",
|
|
1508
|
+
"type": "object"
|
|
1509
|
+
},
|
|
1497
1510
|
"Message": {
|
|
1498
1511
|
"additionalProperties": false,
|
|
1499
1512
|
"properties": {
|
|
@@ -1518,7 +1531,7 @@
|
|
|
1518
1531
|
"audio": "#/$defs/AudioBlock",
|
|
1519
1532
|
"image": "#/$defs/ImageBlock",
|
|
1520
1533
|
"resource": "#/$defs/ResourceBlock",
|
|
1521
|
-
"resource_link": "#/$defs/
|
|
1534
|
+
"resource_link": "#/$defs/MessageResourceLinkBlock",
|
|
1522
1535
|
"text": "#/$defs/TextBlock"
|
|
1523
1536
|
},
|
|
1524
1537
|
"propertyName": "type"
|
|
@@ -1537,7 +1550,7 @@
|
|
|
1537
1550
|
"$ref": "#/$defs/ResourceBlock"
|
|
1538
1551
|
},
|
|
1539
1552
|
{
|
|
1540
|
-
"$ref": "#/$defs/
|
|
1553
|
+
"$ref": "#/$defs/MessageResourceLinkBlock"
|
|
1541
1554
|
}
|
|
1542
1555
|
]
|
|
1543
1556
|
},
|
|
@@ -1643,47 +1656,9 @@
|
|
|
1643
1656
|
"title": "MessageDelivery",
|
|
1644
1657
|
"type": "object"
|
|
1645
1658
|
},
|
|
1646
|
-
"
|
|
1647
|
-
"additionalProperties": false,
|
|
1648
|
-
"properties": {
|
|
1649
|
-
"type": {
|
|
1650
|
-
"title": "Type",
|
|
1651
|
-
"type": "string"
|
|
1652
|
-
},
|
|
1653
|
-
"id": {
|
|
1654
|
-
"title": "Id",
|
|
1655
|
-
"type": "string"
|
|
1656
|
-
}
|
|
1657
|
-
},
|
|
1658
|
-
"required": [
|
|
1659
|
-
"type",
|
|
1660
|
-
"id"
|
|
1661
|
-
],
|
|
1662
|
-
"title": "PrincipalReference",
|
|
1663
|
-
"type": "object"
|
|
1664
|
-
},
|
|
1665
|
-
"ResourceBlock": {
|
|
1659
|
+
"MessageResourceLinkBlock": {
|
|
1666
1660
|
"additionalProperties": false,
|
|
1667
|
-
"
|
|
1668
|
-
"type": {
|
|
1669
|
-
"const": "resource",
|
|
1670
|
-
"title": "Type",
|
|
1671
|
-
"type": "string"
|
|
1672
|
-
},
|
|
1673
|
-
"resource": {
|
|
1674
|
-
"$ref": "#/$defs/EmbeddedResource"
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
"required": [
|
|
1678
|
-
"type",
|
|
1679
|
-
"resource"
|
|
1680
|
-
],
|
|
1681
|
-
"title": "ResourceBlock",
|
|
1682
|
-
"type": "object"
|
|
1683
|
-
},
|
|
1684
|
-
"ResourceLinkBlock": {
|
|
1685
|
-
"additionalProperties": false,
|
|
1686
|
-
"description": "On input, ``uri`` names an upload (``zo-upload://``). On output, a presigned URL for stored media.",
|
|
1661
|
+
"description": "A stored file: ``uri`` is a URL valid for an hour, or ``zo-file://{file_id}`` once it's deleted.",
|
|
1687
1662
|
"properties": {
|
|
1688
1663
|
"type": {
|
|
1689
1664
|
"const": "resource_link",
|
|
@@ -1728,14 +1703,56 @@
|
|
|
1728
1703
|
],
|
|
1729
1704
|
"default": null,
|
|
1730
1705
|
"title": "Size"
|
|
1706
|
+
},
|
|
1707
|
+
"_meta": {
|
|
1708
|
+
"$ref": "#/$defs/LinkMeta"
|
|
1731
1709
|
}
|
|
1732
1710
|
},
|
|
1733
1711
|
"required": [
|
|
1734
1712
|
"type",
|
|
1735
1713
|
"uri",
|
|
1736
|
-
"name"
|
|
1714
|
+
"name",
|
|
1715
|
+
"_meta"
|
|
1737
1716
|
],
|
|
1738
|
-
"title": "
|
|
1717
|
+
"title": "MessageResourceLinkBlock",
|
|
1718
|
+
"type": "object"
|
|
1719
|
+
},
|
|
1720
|
+
"PrincipalReference": {
|
|
1721
|
+
"additionalProperties": false,
|
|
1722
|
+
"properties": {
|
|
1723
|
+
"type": {
|
|
1724
|
+
"title": "Type",
|
|
1725
|
+
"type": "string"
|
|
1726
|
+
},
|
|
1727
|
+
"id": {
|
|
1728
|
+
"title": "Id",
|
|
1729
|
+
"type": "string"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
"required": [
|
|
1733
|
+
"type",
|
|
1734
|
+
"id"
|
|
1735
|
+
],
|
|
1736
|
+
"title": "PrincipalReference",
|
|
1737
|
+
"type": "object"
|
|
1738
|
+
},
|
|
1739
|
+
"ResourceBlock": {
|
|
1740
|
+
"additionalProperties": false,
|
|
1741
|
+
"properties": {
|
|
1742
|
+
"type": {
|
|
1743
|
+
"const": "resource",
|
|
1744
|
+
"title": "Type",
|
|
1745
|
+
"type": "string"
|
|
1746
|
+
},
|
|
1747
|
+
"resource": {
|
|
1748
|
+
"$ref": "#/$defs/EmbeddedResource"
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
"required": [
|
|
1752
|
+
"type",
|
|
1753
|
+
"resource"
|
|
1754
|
+
],
|
|
1755
|
+
"title": "ResourceBlock",
|
|
1739
1756
|
"type": "object"
|
|
1740
1757
|
},
|
|
1741
1758
|
"TextBlock": {
|
|
@@ -1759,6 +1776,21 @@
|
|
|
1759
1776
|
],
|
|
1760
1777
|
"title": "TextBlock",
|
|
1761
1778
|
"type": "object"
|
|
1779
|
+
},
|
|
1780
|
+
"ZoLinkMeta": {
|
|
1781
|
+
"additionalProperties": false,
|
|
1782
|
+
"properties": {
|
|
1783
|
+
"file_id": {
|
|
1784
|
+
"description": "The Knowledge file that holds the attachment.",
|
|
1785
|
+
"title": "File Id",
|
|
1786
|
+
"type": "string"
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
"required": [
|
|
1790
|
+
"file_id"
|
|
1791
|
+
],
|
|
1792
|
+
"title": "ZoLinkMeta",
|
|
1793
|
+
"type": "object"
|
|
1762
1794
|
}
|
|
1763
1795
|
}
|
|
1764
1796
|
},
|
|
@@ -1779,7 +1811,7 @@
|
|
|
1779
1811
|
"implementation_unavailable",
|
|
1780
1812
|
"resource_not_found"
|
|
1781
1813
|
],
|
|
1782
|
-
"digest": "sha256:
|
|
1814
|
+
"digest": "sha256:983f22ac6e48618bb3290155e3d7723ae1be7e885f78f9135f3ee0f37e5d0d16"
|
|
1783
1815
|
},
|
|
1784
1816
|
{
|
|
1785
1817
|
"name": "zo.agent.send",
|
|
@@ -2616,10 +2648,91 @@
|
|
|
2616
2648
|
"type": "string"
|
|
2617
2649
|
},
|
|
2618
2650
|
"last_activity_at": {
|
|
2619
|
-
"description": "When the session
|
|
2651
|
+
"description": "When the session last received an input or finished a turn; created_at when it has done neither.",
|
|
2620
2652
|
"title": "Last Activity At",
|
|
2621
2653
|
"type": "string"
|
|
2622
2654
|
},
|
|
2655
|
+
"turn_count": {
|
|
2656
|
+
"anyOf": [
|
|
2657
|
+
{
|
|
2658
|
+
"minimum": 0,
|
|
2659
|
+
"type": "integer"
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
"type": "null"
|
|
2663
|
+
}
|
|
2664
|
+
],
|
|
2665
|
+
"description": "Turns ended in the session; null for a session with no turn ended since turns were counted.",
|
|
2666
|
+
"title": "Turn Count"
|
|
2667
|
+
},
|
|
2668
|
+
"turns_duration_ms": {
|
|
2669
|
+
"anyOf": [
|
|
2670
|
+
{
|
|
2671
|
+
"minimum": 0,
|
|
2672
|
+
"type": "integer"
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"type": "null"
|
|
2676
|
+
}
|
|
2677
|
+
],
|
|
2678
|
+
"description": "The summed duration of turns ended since the count was filled.",
|
|
2679
|
+
"title": "Turns Duration Ms"
|
|
2680
|
+
},
|
|
2681
|
+
"elapsed_ms": {
|
|
2682
|
+
"anyOf": [
|
|
2683
|
+
{
|
|
2684
|
+
"minimum": 0,
|
|
2685
|
+
"type": "integer"
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"type": "null"
|
|
2689
|
+
}
|
|
2690
|
+
],
|
|
2691
|
+
"description": "Milliseconds from created_at to last_turn_ended_at, rounded.",
|
|
2692
|
+
"title": "Elapsed Ms"
|
|
2693
|
+
},
|
|
2694
|
+
"last_turn_ended_at": {
|
|
2695
|
+
"anyOf": [
|
|
2696
|
+
{
|
|
2697
|
+
"type": "string"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"type": "null"
|
|
2701
|
+
}
|
|
2702
|
+
],
|
|
2703
|
+
"description": "When the last turn ended, as an RFC 3339 time.",
|
|
2704
|
+
"title": "Last Turn Ended At"
|
|
2705
|
+
},
|
|
2706
|
+
"last_turn_outcome": {
|
|
2707
|
+
"anyOf": [
|
|
2708
|
+
{
|
|
2709
|
+
"enum": [
|
|
2710
|
+
"completed",
|
|
2711
|
+
"cancelled",
|
|
2712
|
+
"interrupted",
|
|
2713
|
+
"failed"
|
|
2714
|
+
],
|
|
2715
|
+
"type": "string"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"type": "null"
|
|
2719
|
+
}
|
|
2720
|
+
],
|
|
2721
|
+
"description": "How the last turn ended.",
|
|
2722
|
+
"title": "Last Turn Outcome"
|
|
2723
|
+
},
|
|
2724
|
+
"last_turn_reason": {
|
|
2725
|
+
"anyOf": [
|
|
2726
|
+
{
|
|
2727
|
+
"type": "string"
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"type": "null"
|
|
2731
|
+
}
|
|
2732
|
+
],
|
|
2733
|
+
"description": "The reason the last turn ended with, such as model_error.",
|
|
2734
|
+
"title": "Last Turn Reason"
|
|
2735
|
+
},
|
|
2623
2736
|
"model": {
|
|
2624
2737
|
"description": "The model the session's next inputs run with.",
|
|
2625
2738
|
"title": "Model",
|
|
@@ -2653,6 +2766,12 @@
|
|
|
2653
2766
|
"agent_id",
|
|
2654
2767
|
"created_at",
|
|
2655
2768
|
"last_activity_at",
|
|
2769
|
+
"turn_count",
|
|
2770
|
+
"turns_duration_ms",
|
|
2771
|
+
"elapsed_ms",
|
|
2772
|
+
"last_turn_ended_at",
|
|
2773
|
+
"last_turn_outcome",
|
|
2774
|
+
"last_turn_reason",
|
|
2656
2775
|
"model",
|
|
2657
2776
|
"reasoning",
|
|
2658
2777
|
"stream_url"
|
|
@@ -2671,13 +2790,13 @@
|
|
|
2671
2790
|
"implementation_unavailable",
|
|
2672
2791
|
"resource_not_found"
|
|
2673
2792
|
],
|
|
2674
|
-
"digest": "sha256:
|
|
2793
|
+
"digest": "sha256:c9a0287765cc63f5c2681159cfbf66c1546a423fd3fdb2c21684169de7f29680"
|
|
2675
2794
|
},
|
|
2676
2795
|
{
|
|
2677
2796
|
"name": "zo.agent_session.history",
|
|
2678
2797
|
"version": 1,
|
|
2679
2798
|
"publisher": "zo",
|
|
2680
|
-
"description": "Read a session's history: its inputs, the Agent's responses and tool results, newest first, as ACP updates.",
|
|
2799
|
+
"description": "Read a session's history: its inputs, the Agent's responses and tool results, newest first, as ACP updates. The page limit counts context rows, so a page can contain more items than its limit; a turn_ended item follows each finished turn's last item.",
|
|
2681
2800
|
"input_schema": {
|
|
2682
2801
|
"additionalProperties": false,
|
|
2683
2802
|
"properties": {
|
|
@@ -2736,11 +2855,59 @@
|
|
|
2736
2855
|
"enum": [
|
|
2737
2856
|
"input",
|
|
2738
2857
|
"response",
|
|
2739
|
-
"tool_results"
|
|
2858
|
+
"tool_results",
|
|
2859
|
+
"turn_ended"
|
|
2740
2860
|
],
|
|
2741
2861
|
"title": "Kind",
|
|
2742
2862
|
"type": "string"
|
|
2743
2863
|
},
|
|
2864
|
+
"turn_id": {
|
|
2865
|
+
"description": "The turn that produced this item.",
|
|
2866
|
+
"title": "Turn Id",
|
|
2867
|
+
"type": "string"
|
|
2868
|
+
},
|
|
2869
|
+
"created_at": {
|
|
2870
|
+
"anyOf": [
|
|
2871
|
+
{
|
|
2872
|
+
"type": "string"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"type": "null"
|
|
2876
|
+
}
|
|
2877
|
+
],
|
|
2878
|
+
"description": "RFC 3339 row time, or the turn's end time for turn_ended; null when that end time was not recorded.",
|
|
2879
|
+
"title": "Created At"
|
|
2880
|
+
},
|
|
2881
|
+
"outcome": {
|
|
2882
|
+
"anyOf": [
|
|
2883
|
+
{
|
|
2884
|
+
"enum": [
|
|
2885
|
+
"completed",
|
|
2886
|
+
"cancelled",
|
|
2887
|
+
"interrupted",
|
|
2888
|
+
"failed"
|
|
2889
|
+
],
|
|
2890
|
+
"type": "string"
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
"type": "null"
|
|
2894
|
+
}
|
|
2895
|
+
],
|
|
2896
|
+
"description": "The turn's outcome on turn_ended; null on row items.",
|
|
2897
|
+
"title": "Outcome"
|
|
2898
|
+
},
|
|
2899
|
+
"reason": {
|
|
2900
|
+
"anyOf": [
|
|
2901
|
+
{
|
|
2902
|
+
"type": "string"
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"type": "null"
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
"description": "The turn's outcome reason on turn_ended; null on row items.",
|
|
2909
|
+
"title": "Reason"
|
|
2910
|
+
},
|
|
2744
2911
|
"updates": {
|
|
2745
2912
|
"description": "ACP session/update updates, with Zo fields under _meta.zo.",
|
|
2746
2913
|
"items": {
|
|
@@ -2756,6 +2923,10 @@
|
|
|
2756
2923
|
"required": [
|
|
2757
2924
|
"seq",
|
|
2758
2925
|
"kind",
|
|
2926
|
+
"turn_id",
|
|
2927
|
+
"created_at",
|
|
2928
|
+
"outcome",
|
|
2929
|
+
"reason",
|
|
2759
2930
|
"updates"
|
|
2760
2931
|
],
|
|
2761
2932
|
"title": "AgentSessionHistoryItem",
|
|
@@ -2775,7 +2946,7 @@
|
|
|
2775
2946
|
"invalid_input",
|
|
2776
2947
|
"resource_not_found"
|
|
2777
2948
|
],
|
|
2778
|
-
"digest": "sha256:
|
|
2949
|
+
"digest": "sha256:0ec9eeab9cf92d991c5586cbb00eb01a9c56a9b0f81b1b3b8d372e2e70b9419a"
|
|
2779
2950
|
},
|
|
2780
2951
|
{
|
|
2781
2952
|
"name": "zo.agent_session.list",
|
|
@@ -2868,10 +3039,91 @@
|
|
|
2868
3039
|
"type": "string"
|
|
2869
3040
|
},
|
|
2870
3041
|
"last_activity_at": {
|
|
2871
|
-
"description": "When the session
|
|
3042
|
+
"description": "When the session last received an input or finished a turn; created_at when it has done neither.",
|
|
2872
3043
|
"title": "Last Activity At",
|
|
2873
3044
|
"type": "string"
|
|
2874
3045
|
},
|
|
3046
|
+
"turn_count": {
|
|
3047
|
+
"anyOf": [
|
|
3048
|
+
{
|
|
3049
|
+
"minimum": 0,
|
|
3050
|
+
"type": "integer"
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"type": "null"
|
|
3054
|
+
}
|
|
3055
|
+
],
|
|
3056
|
+
"description": "Turns ended in the session; null for a session with no turn ended since turns were counted.",
|
|
3057
|
+
"title": "Turn Count"
|
|
3058
|
+
},
|
|
3059
|
+
"turns_duration_ms": {
|
|
3060
|
+
"anyOf": [
|
|
3061
|
+
{
|
|
3062
|
+
"minimum": 0,
|
|
3063
|
+
"type": "integer"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"type": "null"
|
|
3067
|
+
}
|
|
3068
|
+
],
|
|
3069
|
+
"description": "The summed duration of turns ended since the count was filled.",
|
|
3070
|
+
"title": "Turns Duration Ms"
|
|
3071
|
+
},
|
|
3072
|
+
"elapsed_ms": {
|
|
3073
|
+
"anyOf": [
|
|
3074
|
+
{
|
|
3075
|
+
"minimum": 0,
|
|
3076
|
+
"type": "integer"
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"type": "null"
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3082
|
+
"description": "Milliseconds from created_at to last_turn_ended_at, rounded.",
|
|
3083
|
+
"title": "Elapsed Ms"
|
|
3084
|
+
},
|
|
3085
|
+
"last_turn_ended_at": {
|
|
3086
|
+
"anyOf": [
|
|
3087
|
+
{
|
|
3088
|
+
"type": "string"
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"type": "null"
|
|
3092
|
+
}
|
|
3093
|
+
],
|
|
3094
|
+
"description": "When the last turn ended, as an RFC 3339 time.",
|
|
3095
|
+
"title": "Last Turn Ended At"
|
|
3096
|
+
},
|
|
3097
|
+
"last_turn_outcome": {
|
|
3098
|
+
"anyOf": [
|
|
3099
|
+
{
|
|
3100
|
+
"enum": [
|
|
3101
|
+
"completed",
|
|
3102
|
+
"cancelled",
|
|
3103
|
+
"interrupted",
|
|
3104
|
+
"failed"
|
|
3105
|
+
],
|
|
3106
|
+
"type": "string"
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"type": "null"
|
|
3110
|
+
}
|
|
3111
|
+
],
|
|
3112
|
+
"description": "How the last turn ended.",
|
|
3113
|
+
"title": "Last Turn Outcome"
|
|
3114
|
+
},
|
|
3115
|
+
"last_turn_reason": {
|
|
3116
|
+
"anyOf": [
|
|
3117
|
+
{
|
|
3118
|
+
"type": "string"
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"type": "null"
|
|
3122
|
+
}
|
|
3123
|
+
],
|
|
3124
|
+
"description": "The reason the last turn ended with, such as model_error.",
|
|
3125
|
+
"title": "Last Turn Reason"
|
|
3126
|
+
},
|
|
2875
3127
|
"model": {
|
|
2876
3128
|
"description": "The model the session's next inputs run with.",
|
|
2877
3129
|
"title": "Model",
|
|
@@ -2900,6 +3152,12 @@
|
|
|
2900
3152
|
"agent_id",
|
|
2901
3153
|
"created_at",
|
|
2902
3154
|
"last_activity_at",
|
|
3155
|
+
"turn_count",
|
|
3156
|
+
"turns_duration_ms",
|
|
3157
|
+
"elapsed_ms",
|
|
3158
|
+
"last_turn_ended_at",
|
|
3159
|
+
"last_turn_outcome",
|
|
3160
|
+
"last_turn_reason",
|
|
2903
3161
|
"model",
|
|
2904
3162
|
"reasoning"
|
|
2905
3163
|
],
|
|
@@ -2919,7 +3177,7 @@
|
|
|
2919
3177
|
"implementation_unavailable",
|
|
2920
3178
|
"resource_not_found"
|
|
2921
3179
|
],
|
|
2922
|
-
"digest": "sha256:
|
|
3180
|
+
"digest": "sha256:77d2dc953e6259fb131c0d2e219299589c4fbfdab41f4db90140108e91e661ca"
|
|
2923
3181
|
},
|
|
2924
3182
|
{
|
|
2925
3183
|
"name": "zo.agent_session.list_workspace",
|
|
@@ -3012,10 +3270,91 @@
|
|
|
3012
3270
|
"type": "string"
|
|
3013
3271
|
},
|
|
3014
3272
|
"last_activity_at": {
|
|
3015
|
-
"description": "When the session
|
|
3273
|
+
"description": "When the session last received an input or finished a turn; created_at when it has done neither.",
|
|
3016
3274
|
"title": "Last Activity At",
|
|
3017
3275
|
"type": "string"
|
|
3018
3276
|
},
|
|
3277
|
+
"turn_count": {
|
|
3278
|
+
"anyOf": [
|
|
3279
|
+
{
|
|
3280
|
+
"minimum": 0,
|
|
3281
|
+
"type": "integer"
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"type": "null"
|
|
3285
|
+
}
|
|
3286
|
+
],
|
|
3287
|
+
"description": "Turns ended in the session; null for a session with no turn ended since turns were counted.",
|
|
3288
|
+
"title": "Turn Count"
|
|
3289
|
+
},
|
|
3290
|
+
"turns_duration_ms": {
|
|
3291
|
+
"anyOf": [
|
|
3292
|
+
{
|
|
3293
|
+
"minimum": 0,
|
|
3294
|
+
"type": "integer"
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"type": "null"
|
|
3298
|
+
}
|
|
3299
|
+
],
|
|
3300
|
+
"description": "The summed duration of turns ended since the count was filled.",
|
|
3301
|
+
"title": "Turns Duration Ms"
|
|
3302
|
+
},
|
|
3303
|
+
"elapsed_ms": {
|
|
3304
|
+
"anyOf": [
|
|
3305
|
+
{
|
|
3306
|
+
"minimum": 0,
|
|
3307
|
+
"type": "integer"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"type": "null"
|
|
3311
|
+
}
|
|
3312
|
+
],
|
|
3313
|
+
"description": "Milliseconds from created_at to last_turn_ended_at, rounded.",
|
|
3314
|
+
"title": "Elapsed Ms"
|
|
3315
|
+
},
|
|
3316
|
+
"last_turn_ended_at": {
|
|
3317
|
+
"anyOf": [
|
|
3318
|
+
{
|
|
3319
|
+
"type": "string"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"type": "null"
|
|
3323
|
+
}
|
|
3324
|
+
],
|
|
3325
|
+
"description": "When the last turn ended, as an RFC 3339 time.",
|
|
3326
|
+
"title": "Last Turn Ended At"
|
|
3327
|
+
},
|
|
3328
|
+
"last_turn_outcome": {
|
|
3329
|
+
"anyOf": [
|
|
3330
|
+
{
|
|
3331
|
+
"enum": [
|
|
3332
|
+
"completed",
|
|
3333
|
+
"cancelled",
|
|
3334
|
+
"interrupted",
|
|
3335
|
+
"failed"
|
|
3336
|
+
],
|
|
3337
|
+
"type": "string"
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"type": "null"
|
|
3341
|
+
}
|
|
3342
|
+
],
|
|
3343
|
+
"description": "How the last turn ended.",
|
|
3344
|
+
"title": "Last Turn Outcome"
|
|
3345
|
+
},
|
|
3346
|
+
"last_turn_reason": {
|
|
3347
|
+
"anyOf": [
|
|
3348
|
+
{
|
|
3349
|
+
"type": "string"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"type": "null"
|
|
3353
|
+
}
|
|
3354
|
+
],
|
|
3355
|
+
"description": "The reason the last turn ended with, such as model_error.",
|
|
3356
|
+
"title": "Last Turn Reason"
|
|
3357
|
+
},
|
|
3019
3358
|
"model": {
|
|
3020
3359
|
"description": "The model the session's next inputs run with.",
|
|
3021
3360
|
"title": "Model",
|
|
@@ -3044,6 +3383,12 @@
|
|
|
3044
3383
|
"agent_id",
|
|
3045
3384
|
"created_at",
|
|
3046
3385
|
"last_activity_at",
|
|
3386
|
+
"turn_count",
|
|
3387
|
+
"turns_duration_ms",
|
|
3388
|
+
"elapsed_ms",
|
|
3389
|
+
"last_turn_ended_at",
|
|
3390
|
+
"last_turn_outcome",
|
|
3391
|
+
"last_turn_reason",
|
|
3047
3392
|
"model",
|
|
3048
3393
|
"reasoning"
|
|
3049
3394
|
],
|
|
@@ -3062,7 +3407,7 @@
|
|
|
3062
3407
|
"error_codes": [
|
|
3063
3408
|
"implementation_unavailable"
|
|
3064
3409
|
],
|
|
3065
|
-
"digest": "sha256:
|
|
3410
|
+
"digest": "sha256:332ee8b48ca75d74d5e09e4b71c030bca6ad9c3950b1d02ce532dfbb041116db"
|
|
3066
3411
|
},
|
|
3067
3412
|
{
|
|
3068
3413
|
"name": "zo.billing.list_rates",
|
|
@@ -5225,6 +5570,43 @@
|
|
|
5225
5570
|
},
|
|
5226
5571
|
"title": "Environment",
|
|
5227
5572
|
"type": "object"
|
|
5573
|
+
},
|
|
5574
|
+
"last_used_at": {
|
|
5575
|
+
"anyOf": [
|
|
5576
|
+
{
|
|
5577
|
+
"maxLength": 40,
|
|
5578
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,6})?(Z|[+-][0-9]{2}:[0-9]{2})$",
|
|
5579
|
+
"type": "string"
|
|
5580
|
+
},
|
|
5581
|
+
{
|
|
5582
|
+
"type": "null"
|
|
5583
|
+
}
|
|
5584
|
+
],
|
|
5585
|
+
"description": "When Zo last handed this connection's credential to a Function run or machine.",
|
|
5586
|
+
"title": "Last Used At"
|
|
5587
|
+
},
|
|
5588
|
+
"usable": {
|
|
5589
|
+
"description": "Whether Zo will deliver this connection's credential now.",
|
|
5590
|
+
"title": "Usable",
|
|
5591
|
+
"type": "boolean"
|
|
5592
|
+
},
|
|
5593
|
+
"unusable_reason": {
|
|
5594
|
+
"anyOf": [
|
|
5595
|
+
{
|
|
5596
|
+
"enum": [
|
|
5597
|
+
"definition_withdrawn",
|
|
5598
|
+
"configuring",
|
|
5599
|
+
"reauthorization_required",
|
|
5600
|
+
"disabled"
|
|
5601
|
+
],
|
|
5602
|
+
"type": "string"
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
"type": "null"
|
|
5606
|
+
}
|
|
5607
|
+
],
|
|
5608
|
+
"description": "Why Zo will not deliver this connection's credential now, or null when it will.",
|
|
5609
|
+
"title": "Unusable Reason"
|
|
5228
5610
|
}
|
|
5229
5611
|
},
|
|
5230
5612
|
"required": [
|
|
@@ -5239,9 +5621,12 @@
|
|
|
5239
5621
|
"status",
|
|
5240
5622
|
"revision",
|
|
5241
5623
|
"account_labels",
|
|
5242
|
-
"environment"
|
|
5624
|
+
"environment",
|
|
5625
|
+
"last_used_at",
|
|
5626
|
+
"usable",
|
|
5627
|
+
"unusable_reason"
|
|
5243
5628
|
],
|
|
5244
|
-
"title": "
|
|
5629
|
+
"title": "ConnectionReadResource",
|
|
5245
5630
|
"type": "object"
|
|
5246
5631
|
},
|
|
5247
5632
|
"target": {
|
|
@@ -5254,7 +5639,7 @@
|
|
|
5254
5639
|
"error_codes": [
|
|
5255
5640
|
"resource_not_found"
|
|
5256
5641
|
],
|
|
5257
|
-
"digest": "sha256:
|
|
5642
|
+
"digest": "sha256:888acd2e1feba5b19c1905857e5125329737f23ec450b85a4d63e1879b585cf2"
|
|
5258
5643
|
},
|
|
5259
5644
|
{
|
|
5260
5645
|
"name": "zo.connection.list",
|
|
@@ -5282,7 +5667,7 @@
|
|
|
5282
5667
|
"properties": {
|
|
5283
5668
|
"connections": {
|
|
5284
5669
|
"items": {
|
|
5285
|
-
"$ref": "#/$defs/
|
|
5670
|
+
"$ref": "#/$defs/ConnectionReadResource"
|
|
5286
5671
|
},
|
|
5287
5672
|
"title": "Connections",
|
|
5288
5673
|
"type": "array"
|
|
@@ -5306,7 +5691,7 @@
|
|
|
5306
5691
|
"title": "ConnectionListResult",
|
|
5307
5692
|
"type": "object",
|
|
5308
5693
|
"$defs": {
|
|
5309
|
-
"
|
|
5694
|
+
"ConnectionReadResource": {
|
|
5310
5695
|
"additionalProperties": false,
|
|
5311
5696
|
"properties": {
|
|
5312
5697
|
"id": {
|
|
@@ -5384,6 +5769,43 @@
|
|
|
5384
5769
|
},
|
|
5385
5770
|
"title": "Environment",
|
|
5386
5771
|
"type": "object"
|
|
5772
|
+
},
|
|
5773
|
+
"last_used_at": {
|
|
5774
|
+
"anyOf": [
|
|
5775
|
+
{
|
|
5776
|
+
"maxLength": 40,
|
|
5777
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,6})?(Z|[+-][0-9]{2}:[0-9]{2})$",
|
|
5778
|
+
"type": "string"
|
|
5779
|
+
},
|
|
5780
|
+
{
|
|
5781
|
+
"type": "null"
|
|
5782
|
+
}
|
|
5783
|
+
],
|
|
5784
|
+
"description": "When Zo last handed this connection's credential to a Function run or machine.",
|
|
5785
|
+
"title": "Last Used At"
|
|
5786
|
+
},
|
|
5787
|
+
"usable": {
|
|
5788
|
+
"description": "Whether Zo will deliver this connection's credential now.",
|
|
5789
|
+
"title": "Usable",
|
|
5790
|
+
"type": "boolean"
|
|
5791
|
+
},
|
|
5792
|
+
"unusable_reason": {
|
|
5793
|
+
"anyOf": [
|
|
5794
|
+
{
|
|
5795
|
+
"enum": [
|
|
5796
|
+
"definition_withdrawn",
|
|
5797
|
+
"configuring",
|
|
5798
|
+
"reauthorization_required",
|
|
5799
|
+
"disabled"
|
|
5800
|
+
],
|
|
5801
|
+
"type": "string"
|
|
5802
|
+
},
|
|
5803
|
+
{
|
|
5804
|
+
"type": "null"
|
|
5805
|
+
}
|
|
5806
|
+
],
|
|
5807
|
+
"description": "Why Zo will not deliver this connection's credential now, or null when it will.",
|
|
5808
|
+
"title": "Unusable Reason"
|
|
5387
5809
|
}
|
|
5388
5810
|
},
|
|
5389
5811
|
"required": [
|
|
@@ -5398,9 +5820,12 @@
|
|
|
5398
5820
|
"status",
|
|
5399
5821
|
"revision",
|
|
5400
5822
|
"account_labels",
|
|
5401
|
-
"environment"
|
|
5823
|
+
"environment",
|
|
5824
|
+
"last_used_at",
|
|
5825
|
+
"usable",
|
|
5826
|
+
"unusable_reason"
|
|
5402
5827
|
],
|
|
5403
|
-
"title": "
|
|
5828
|
+
"title": "ConnectionReadResource",
|
|
5404
5829
|
"type": "object"
|
|
5405
5830
|
}
|
|
5406
5831
|
}
|
|
@@ -5415,7 +5840,7 @@
|
|
|
5415
5840
|
"error_codes": [
|
|
5416
5841
|
"invalid_cursor"
|
|
5417
5842
|
],
|
|
5418
|
-
"digest": "sha256:
|
|
5843
|
+
"digest": "sha256:980544a4939be631e0b12a1930bd7fa07266ee893055cb2187a97e75e791c6d7"
|
|
5419
5844
|
},
|
|
5420
5845
|
{
|
|
5421
5846
|
"name": "zo.connection.register_resource",
|
|
@@ -12007,6 +12432,13 @@
|
|
|
12007
12432
|
"title": "Created At",
|
|
12008
12433
|
"type": "string"
|
|
12009
12434
|
},
|
|
12435
|
+
"route_ids": {
|
|
12436
|
+
"items": {
|
|
12437
|
+
"type": "string"
|
|
12438
|
+
},
|
|
12439
|
+
"title": "Route Ids",
|
|
12440
|
+
"type": "array"
|
|
12441
|
+
},
|
|
12010
12442
|
"credential_slots": {
|
|
12011
12443
|
"items": {
|
|
12012
12444
|
"$ref": "#/$defs/CredentialSlotSummary"
|
|
@@ -12024,6 +12456,7 @@
|
|
|
12024
12456
|
"invoke_enabled",
|
|
12025
12457
|
"http_enabled",
|
|
12026
12458
|
"created_at",
|
|
12459
|
+
"route_ids",
|
|
12027
12460
|
"credential_slots"
|
|
12028
12461
|
],
|
|
12029
12462
|
"title": "DeploymentWithSlotsSummary",
|
|
@@ -12113,7 +12546,7 @@
|
|
|
12113
12546
|
"effect": "read",
|
|
12114
12547
|
"result_kind": "inline",
|
|
12115
12548
|
"error_codes": [],
|
|
12116
|
-
"digest": "sha256:
|
|
12549
|
+
"digest": "sha256:a7003bbcae500ade1da64eb0f61f5442119a59ec2ab0c8c402c9627b3d1dfffb"
|
|
12117
12550
|
},
|
|
12118
12551
|
{
|
|
12119
12552
|
"name": "zo.function.get_run",
|
|
@@ -12155,6 +12588,7 @@
|
|
|
12155
12588
|
"type": "string"
|
|
12156
12589
|
},
|
|
12157
12590
|
"entry_kind": {
|
|
12591
|
+
"description": "The API surface the run arrived through: `direct` for an invoke, `http` for a Website request; `connection` is reserved. Read `trigger` on the run for what started it.",
|
|
12158
12592
|
"enum": [
|
|
12159
12593
|
"direct",
|
|
12160
12594
|
"connection",
|
|
@@ -12228,6 +12662,9 @@
|
|
|
12228
12662
|
"type": "null"
|
|
12229
12663
|
}
|
|
12230
12664
|
]
|
|
12665
|
+
},
|
|
12666
|
+
"trigger": {
|
|
12667
|
+
"$ref": "#/$defs/RunTrigger"
|
|
12231
12668
|
}
|
|
12232
12669
|
},
|
|
12233
12670
|
"required": [
|
|
@@ -12244,7 +12681,8 @@
|
|
|
12244
12681
|
"workspace_id",
|
|
12245
12682
|
"result",
|
|
12246
12683
|
"result_available",
|
|
12247
|
-
"parent"
|
|
12684
|
+
"parent",
|
|
12685
|
+
"trigger"
|
|
12248
12686
|
],
|
|
12249
12687
|
"title": "FunctionRun",
|
|
12250
12688
|
"type": "object",
|
|
@@ -12273,6 +12711,47 @@
|
|
|
12273
12711
|
"title": "RunParent",
|
|
12274
12712
|
"type": "object"
|
|
12275
12713
|
},
|
|
12714
|
+
"RunRef": {
|
|
12715
|
+
"additionalProperties": false,
|
|
12716
|
+
"properties": {
|
|
12717
|
+
"run_id": {
|
|
12718
|
+
"description": "The run that invoked this run.",
|
|
12719
|
+
"title": "Run Id",
|
|
12720
|
+
"type": "string"
|
|
12721
|
+
},
|
|
12722
|
+
"function_id": {
|
|
12723
|
+
"anyOf": [
|
|
12724
|
+
{
|
|
12725
|
+
"type": "string"
|
|
12726
|
+
},
|
|
12727
|
+
{
|
|
12728
|
+
"type": "null"
|
|
12729
|
+
}
|
|
12730
|
+
],
|
|
12731
|
+
"description": "The caller's Function ID, or null for a Workflow run.",
|
|
12732
|
+
"title": "Function Id"
|
|
12733
|
+
},
|
|
12734
|
+
"workflow_id": {
|
|
12735
|
+
"anyOf": [
|
|
12736
|
+
{
|
|
12737
|
+
"type": "string"
|
|
12738
|
+
},
|
|
12739
|
+
{
|
|
12740
|
+
"type": "null"
|
|
12741
|
+
}
|
|
12742
|
+
],
|
|
12743
|
+
"description": "The caller's Workflow ID, or null for a Function run.",
|
|
12744
|
+
"title": "Workflow Id"
|
|
12745
|
+
}
|
|
12746
|
+
},
|
|
12747
|
+
"required": [
|
|
12748
|
+
"run_id",
|
|
12749
|
+
"function_id",
|
|
12750
|
+
"workflow_id"
|
|
12751
|
+
],
|
|
12752
|
+
"title": "RunRef",
|
|
12753
|
+
"type": "object"
|
|
12754
|
+
},
|
|
12276
12755
|
"RunState": {
|
|
12277
12756
|
"enum": [
|
|
12278
12757
|
"queued",
|
|
@@ -12285,6 +12764,93 @@
|
|
|
12285
12764
|
"unknown"
|
|
12286
12765
|
],
|
|
12287
12766
|
"type": "string"
|
|
12767
|
+
},
|
|
12768
|
+
"RunTrigger": {
|
|
12769
|
+
"additionalProperties": false,
|
|
12770
|
+
"properties": {
|
|
12771
|
+
"kind": {
|
|
12772
|
+
"description": "What started the run.",
|
|
12773
|
+
"enum": [
|
|
12774
|
+
"direct",
|
|
12775
|
+
"http",
|
|
12776
|
+
"event",
|
|
12777
|
+
"workflow_step",
|
|
12778
|
+
"run",
|
|
12779
|
+
"agent"
|
|
12780
|
+
],
|
|
12781
|
+
"title": "Kind",
|
|
12782
|
+
"type": "string"
|
|
12783
|
+
},
|
|
12784
|
+
"subscription_id": {
|
|
12785
|
+
"anyOf": [
|
|
12786
|
+
{
|
|
12787
|
+
"type": "string"
|
|
12788
|
+
},
|
|
12789
|
+
{
|
|
12790
|
+
"type": "null"
|
|
12791
|
+
}
|
|
12792
|
+
],
|
|
12793
|
+
"description": "The event subscription that delivered the run.",
|
|
12794
|
+
"title": "Subscription Id"
|
|
12795
|
+
},
|
|
12796
|
+
"occurrence_id": {
|
|
12797
|
+
"anyOf": [
|
|
12798
|
+
{
|
|
12799
|
+
"type": "string"
|
|
12800
|
+
},
|
|
12801
|
+
{
|
|
12802
|
+
"type": "null"
|
|
12803
|
+
}
|
|
12804
|
+
],
|
|
12805
|
+
"description": "The event occurrence that delivered the run.",
|
|
12806
|
+
"title": "Occurrence Id"
|
|
12807
|
+
},
|
|
12808
|
+
"event_type": {
|
|
12809
|
+
"anyOf": [
|
|
12810
|
+
{
|
|
12811
|
+
"type": "string"
|
|
12812
|
+
},
|
|
12813
|
+
{
|
|
12814
|
+
"type": "null"
|
|
12815
|
+
}
|
|
12816
|
+
],
|
|
12817
|
+
"description": "The delivered event type.",
|
|
12818
|
+
"title": "Event Type"
|
|
12819
|
+
},
|
|
12820
|
+
"caller": {
|
|
12821
|
+
"anyOf": [
|
|
12822
|
+
{
|
|
12823
|
+
"$ref": "#/$defs/RunRef"
|
|
12824
|
+
},
|
|
12825
|
+
{
|
|
12826
|
+
"type": "null"
|
|
12827
|
+
}
|
|
12828
|
+
],
|
|
12829
|
+
"description": "The Function or Workflow run that started this run."
|
|
12830
|
+
},
|
|
12831
|
+
"agent_session_id": {
|
|
12832
|
+
"anyOf": [
|
|
12833
|
+
{
|
|
12834
|
+
"type": "string"
|
|
12835
|
+
},
|
|
12836
|
+
{
|
|
12837
|
+
"type": "null"
|
|
12838
|
+
}
|
|
12839
|
+
],
|
|
12840
|
+
"description": "The Agent session that invoked the run.",
|
|
12841
|
+
"title": "Agent Session Id"
|
|
12842
|
+
}
|
|
12843
|
+
},
|
|
12844
|
+
"required": [
|
|
12845
|
+
"kind",
|
|
12846
|
+
"subscription_id",
|
|
12847
|
+
"occurrence_id",
|
|
12848
|
+
"event_type",
|
|
12849
|
+
"caller",
|
|
12850
|
+
"agent_session_id"
|
|
12851
|
+
],
|
|
12852
|
+
"title": "RunTrigger",
|
|
12853
|
+
"type": "object"
|
|
12288
12854
|
}
|
|
12289
12855
|
}
|
|
12290
12856
|
},
|
|
@@ -12299,7 +12865,7 @@
|
|
|
12299
12865
|
"resource_not_found",
|
|
12300
12866
|
"implementation_unavailable"
|
|
12301
12867
|
],
|
|
12302
|
-
"digest": "sha256:
|
|
12868
|
+
"digest": "sha256:e2ffa72539a3742262be01ce613f5da85c900f4d2c1a30358fbf3d08b6bc6ba0"
|
|
12303
12869
|
},
|
|
12304
12870
|
{
|
|
12305
12871
|
"name": "zo.function.invoke",
|
|
@@ -12675,6 +13241,7 @@
|
|
|
12675
13241
|
"type": "string"
|
|
12676
13242
|
},
|
|
12677
13243
|
"entry_kind": {
|
|
13244
|
+
"description": "The API surface the run arrived through: `direct` for an invoke, `http` for a Website request; `connection` is reserved. Read `trigger` on the run for what started it.",
|
|
12678
13245
|
"enum": [
|
|
12679
13246
|
"direct",
|
|
12680
13247
|
"connection",
|
|
@@ -12770,7 +13337,7 @@
|
|
|
12770
13337
|
"resource_not_found",
|
|
12771
13338
|
"implementation_unavailable"
|
|
12772
13339
|
],
|
|
12773
|
-
"digest": "sha256:
|
|
13340
|
+
"digest": "sha256:4c4ca436fc7e5ef58880efeace4433508105f2f749b9609eb799609ffd648fa2"
|
|
12774
13341
|
},
|
|
12775
13342
|
{
|
|
12776
13343
|
"name": "zo.function.publish_contract",
|
|
@@ -20767,7 +21334,7 @@
|
|
|
20767
21334
|
"audio": "#/$defs/AudioBlock",
|
|
20768
21335
|
"image": "#/$defs/ImageBlock",
|
|
20769
21336
|
"resource": "#/$defs/ResourceBlock",
|
|
20770
|
-
"resource_link": "#/$defs/
|
|
21337
|
+
"resource_link": "#/$defs/MessageResourceLinkBlock",
|
|
20771
21338
|
"text": "#/$defs/TextBlock"
|
|
20772
21339
|
},
|
|
20773
21340
|
"propertyName": "type"
|
|
@@ -20786,7 +21353,7 @@
|
|
|
20786
21353
|
"$ref": "#/$defs/ResourceBlock"
|
|
20787
21354
|
},
|
|
20788
21355
|
{
|
|
20789
|
-
"$ref": "#/$defs/
|
|
21356
|
+
"$ref": "#/$defs/MessageResourceLinkBlock"
|
|
20790
21357
|
}
|
|
20791
21358
|
]
|
|
20792
21359
|
},
|
|
@@ -20938,6 +21505,19 @@
|
|
|
20938
21505
|
"title": "ImageBlock",
|
|
20939
21506
|
"type": "object"
|
|
20940
21507
|
},
|
|
21508
|
+
"LinkMeta": {
|
|
21509
|
+
"additionalProperties": false,
|
|
21510
|
+
"properties": {
|
|
21511
|
+
"zo": {
|
|
21512
|
+
"$ref": "#/$defs/ZoLinkMeta"
|
|
21513
|
+
}
|
|
21514
|
+
},
|
|
21515
|
+
"required": [
|
|
21516
|
+
"zo"
|
|
21517
|
+
],
|
|
21518
|
+
"title": "LinkMeta",
|
|
21519
|
+
"type": "object"
|
|
21520
|
+
},
|
|
20941
21521
|
"MessageDelivery": {
|
|
20942
21522
|
"additionalProperties": false,
|
|
20943
21523
|
"properties": {
|
|
@@ -21009,47 +21589,9 @@
|
|
|
21009
21589
|
"title": "MessageDelivery",
|
|
21010
21590
|
"type": "object"
|
|
21011
21591
|
},
|
|
21012
|
-
"
|
|
21013
|
-
"additionalProperties": false,
|
|
21014
|
-
"properties": {
|
|
21015
|
-
"type": {
|
|
21016
|
-
"title": "Type",
|
|
21017
|
-
"type": "string"
|
|
21018
|
-
},
|
|
21019
|
-
"id": {
|
|
21020
|
-
"title": "Id",
|
|
21021
|
-
"type": "string"
|
|
21022
|
-
}
|
|
21023
|
-
},
|
|
21024
|
-
"required": [
|
|
21025
|
-
"type",
|
|
21026
|
-
"id"
|
|
21027
|
-
],
|
|
21028
|
-
"title": "PrincipalReference",
|
|
21029
|
-
"type": "object"
|
|
21030
|
-
},
|
|
21031
|
-
"ResourceBlock": {
|
|
21592
|
+
"MessageResourceLinkBlock": {
|
|
21032
21593
|
"additionalProperties": false,
|
|
21033
|
-
"
|
|
21034
|
-
"type": {
|
|
21035
|
-
"const": "resource",
|
|
21036
|
-
"title": "Type",
|
|
21037
|
-
"type": "string"
|
|
21038
|
-
},
|
|
21039
|
-
"resource": {
|
|
21040
|
-
"$ref": "#/$defs/EmbeddedResource"
|
|
21041
|
-
}
|
|
21042
|
-
},
|
|
21043
|
-
"required": [
|
|
21044
|
-
"type",
|
|
21045
|
-
"resource"
|
|
21046
|
-
],
|
|
21047
|
-
"title": "ResourceBlock",
|
|
21048
|
-
"type": "object"
|
|
21049
|
-
},
|
|
21050
|
-
"ResourceLinkBlock": {
|
|
21051
|
-
"additionalProperties": false,
|
|
21052
|
-
"description": "On input, ``uri`` names an upload (``zo-upload://``). On output, a presigned URL for stored media.",
|
|
21594
|
+
"description": "A stored file: ``uri`` is a URL valid for an hour, or ``zo-file://{file_id}`` once it's deleted.",
|
|
21053
21595
|
"properties": {
|
|
21054
21596
|
"type": {
|
|
21055
21597
|
"const": "resource_link",
|
|
@@ -21094,52 +21636,1574 @@
|
|
|
21094
21636
|
],
|
|
21095
21637
|
"default": null,
|
|
21096
21638
|
"title": "Size"
|
|
21639
|
+
},
|
|
21640
|
+
"_meta": {
|
|
21641
|
+
"$ref": "#/$defs/LinkMeta"
|
|
21642
|
+
}
|
|
21643
|
+
},
|
|
21644
|
+
"required": [
|
|
21645
|
+
"type",
|
|
21646
|
+
"uri",
|
|
21647
|
+
"name",
|
|
21648
|
+
"_meta"
|
|
21649
|
+
],
|
|
21650
|
+
"title": "MessageResourceLinkBlock",
|
|
21651
|
+
"type": "object"
|
|
21652
|
+
},
|
|
21653
|
+
"PrincipalReference": {
|
|
21654
|
+
"additionalProperties": false,
|
|
21655
|
+
"properties": {
|
|
21656
|
+
"type": {
|
|
21657
|
+
"title": "Type",
|
|
21658
|
+
"type": "string"
|
|
21659
|
+
},
|
|
21660
|
+
"id": {
|
|
21661
|
+
"title": "Id",
|
|
21662
|
+
"type": "string"
|
|
21663
|
+
}
|
|
21664
|
+
},
|
|
21665
|
+
"required": [
|
|
21666
|
+
"type",
|
|
21667
|
+
"id"
|
|
21668
|
+
],
|
|
21669
|
+
"title": "PrincipalReference",
|
|
21670
|
+
"type": "object"
|
|
21671
|
+
},
|
|
21672
|
+
"ResourceBlock": {
|
|
21673
|
+
"additionalProperties": false,
|
|
21674
|
+
"properties": {
|
|
21675
|
+
"type": {
|
|
21676
|
+
"const": "resource",
|
|
21677
|
+
"title": "Type",
|
|
21678
|
+
"type": "string"
|
|
21679
|
+
},
|
|
21680
|
+
"resource": {
|
|
21681
|
+
"$ref": "#/$defs/EmbeddedResource"
|
|
21682
|
+
}
|
|
21683
|
+
},
|
|
21684
|
+
"required": [
|
|
21685
|
+
"type",
|
|
21686
|
+
"resource"
|
|
21687
|
+
],
|
|
21688
|
+
"title": "ResourceBlock",
|
|
21689
|
+
"type": "object"
|
|
21690
|
+
},
|
|
21691
|
+
"TextBlock": {
|
|
21692
|
+
"additionalProperties": false,
|
|
21693
|
+
"properties": {
|
|
21694
|
+
"type": {
|
|
21695
|
+
"const": "text",
|
|
21696
|
+
"title": "Type",
|
|
21697
|
+
"type": "string"
|
|
21698
|
+
},
|
|
21699
|
+
"text": {
|
|
21700
|
+
"maxLength": 100000,
|
|
21701
|
+
"minLength": 1,
|
|
21702
|
+
"title": "Text",
|
|
21703
|
+
"type": "string"
|
|
21704
|
+
}
|
|
21705
|
+
},
|
|
21706
|
+
"required": [
|
|
21707
|
+
"type",
|
|
21708
|
+
"text"
|
|
21709
|
+
],
|
|
21710
|
+
"title": "TextBlock",
|
|
21711
|
+
"type": "object"
|
|
21712
|
+
},
|
|
21713
|
+
"ZoLinkMeta": {
|
|
21714
|
+
"additionalProperties": false,
|
|
21715
|
+
"properties": {
|
|
21716
|
+
"file_id": {
|
|
21717
|
+
"description": "The Knowledge file that holds the attachment.",
|
|
21718
|
+
"title": "File Id",
|
|
21719
|
+
"type": "string"
|
|
21720
|
+
}
|
|
21721
|
+
},
|
|
21722
|
+
"required": [
|
|
21723
|
+
"file_id"
|
|
21724
|
+
],
|
|
21725
|
+
"title": "ZoLinkMeta",
|
|
21726
|
+
"type": "object"
|
|
21727
|
+
}
|
|
21728
|
+
}
|
|
21729
|
+
},
|
|
21730
|
+
"target": {
|
|
21731
|
+
"type": "agent",
|
|
21732
|
+
"input_pointer": "/agent_id"
|
|
21733
|
+
},
|
|
21734
|
+
"additional_checks": [],
|
|
21735
|
+
"effect": "read",
|
|
21736
|
+
"result_kind": "inline",
|
|
21737
|
+
"error_codes": [
|
|
21738
|
+
"implementation_unavailable",
|
|
21739
|
+
"resource_not_found"
|
|
21740
|
+
],
|
|
21741
|
+
"digest": "sha256:ac04dbbd2642ad79c98bfd056cdef95a2db7538415dba5987ffc4adb2e4868dd"
|
|
21742
|
+
},
|
|
21743
|
+
{
|
|
21744
|
+
"name": "zo.model.generate_text",
|
|
21745
|
+
"version": 1,
|
|
21746
|
+
"publisher": "zo",
|
|
21747
|
+
"description": "Generate text with a model from a prompt or a conversation, or structured data when output is set: an object or a list matching a JSON Schema, one choice from a set, or any JSON. A user message can hold images and text files. One call, with no tools and no memory of earlier calls. Each call is charged to the workspace's credit for the tokens the provider reports and needs V2 billing.",
|
|
21748
|
+
"input_schema": {
|
|
21749
|
+
"additionalProperties": false,
|
|
21750
|
+
"properties": {
|
|
21751
|
+
"workspace_id": {
|
|
21752
|
+
"maxLength": 200,
|
|
21753
|
+
"minLength": 1,
|
|
21754
|
+
"title": "Workspace Id",
|
|
21755
|
+
"type": "string"
|
|
21756
|
+
},
|
|
21757
|
+
"model": {
|
|
21758
|
+
"description": "A model ID from zo.model.list, such as anthropic/claude-sonnet-5-5.",
|
|
21759
|
+
"maxLength": 200,
|
|
21760
|
+
"minLength": 1,
|
|
21761
|
+
"title": "Model",
|
|
21762
|
+
"type": "string"
|
|
21763
|
+
},
|
|
21764
|
+
"prompt": {
|
|
21765
|
+
"anyOf": [
|
|
21766
|
+
{
|
|
21767
|
+
"minLength": 1,
|
|
21768
|
+
"type": "string"
|
|
21769
|
+
},
|
|
21770
|
+
{
|
|
21771
|
+
"type": "null"
|
|
21772
|
+
}
|
|
21773
|
+
],
|
|
21774
|
+
"default": null,
|
|
21775
|
+
"description": "A single user message. Set this or messages.",
|
|
21776
|
+
"title": "Prompt"
|
|
21777
|
+
},
|
|
21778
|
+
"messages": {
|
|
21779
|
+
"anyOf": [
|
|
21780
|
+
{
|
|
21781
|
+
"items": {
|
|
21782
|
+
"discriminator": {
|
|
21783
|
+
"mapping": {
|
|
21784
|
+
"assistant": "#/$defs/AssistantMessage",
|
|
21785
|
+
"user": "#/$defs/UserMessage"
|
|
21786
|
+
},
|
|
21787
|
+
"propertyName": "role"
|
|
21788
|
+
},
|
|
21789
|
+
"oneOf": [
|
|
21790
|
+
{
|
|
21791
|
+
"$ref": "#/$defs/UserMessage"
|
|
21792
|
+
},
|
|
21793
|
+
{
|
|
21794
|
+
"$ref": "#/$defs/AssistantMessage"
|
|
21795
|
+
}
|
|
21796
|
+
]
|
|
21797
|
+
},
|
|
21798
|
+
"maxItems": 500,
|
|
21799
|
+
"minItems": 1,
|
|
21800
|
+
"type": "array"
|
|
21801
|
+
},
|
|
21802
|
+
{
|
|
21803
|
+
"type": "null"
|
|
21804
|
+
}
|
|
21805
|
+
],
|
|
21806
|
+
"default": null,
|
|
21807
|
+
"description": "A conversation that ends with a user message. Set this or prompt.",
|
|
21808
|
+
"title": "Messages"
|
|
21809
|
+
},
|
|
21810
|
+
"instructions": {
|
|
21811
|
+
"anyOf": [
|
|
21812
|
+
{
|
|
21813
|
+
"minLength": 1,
|
|
21814
|
+
"type": "string"
|
|
21815
|
+
},
|
|
21816
|
+
{
|
|
21817
|
+
"type": "null"
|
|
21818
|
+
}
|
|
21819
|
+
],
|
|
21820
|
+
"default": null,
|
|
21821
|
+
"description": "System instructions.",
|
|
21822
|
+
"title": "Instructions"
|
|
21823
|
+
},
|
|
21824
|
+
"output": {
|
|
21825
|
+
"anyOf": [
|
|
21826
|
+
{
|
|
21827
|
+
"discriminator": {
|
|
21828
|
+
"mapping": {
|
|
21829
|
+
"array": "#/$defs/ArrayOutput",
|
|
21830
|
+
"choice": "#/$defs/ChoiceOutput",
|
|
21831
|
+
"json": "#/$defs/JsonOutput",
|
|
21832
|
+
"object": "#/$defs/ObjectOutput"
|
|
21833
|
+
},
|
|
21834
|
+
"propertyName": "type"
|
|
21835
|
+
},
|
|
21836
|
+
"oneOf": [
|
|
21837
|
+
{
|
|
21838
|
+
"$ref": "#/$defs/ObjectOutput"
|
|
21839
|
+
},
|
|
21840
|
+
{
|
|
21841
|
+
"$ref": "#/$defs/ArrayOutput"
|
|
21842
|
+
},
|
|
21843
|
+
{
|
|
21844
|
+
"$ref": "#/$defs/ChoiceOutput"
|
|
21845
|
+
},
|
|
21846
|
+
{
|
|
21847
|
+
"$ref": "#/$defs/JsonOutput"
|
|
21848
|
+
}
|
|
21849
|
+
]
|
|
21850
|
+
},
|
|
21851
|
+
{
|
|
21852
|
+
"type": "null"
|
|
21853
|
+
}
|
|
21854
|
+
],
|
|
21855
|
+
"default": null,
|
|
21856
|
+
"description": "The structured output wanted. Omit for plain text.",
|
|
21857
|
+
"title": "Output"
|
|
21858
|
+
},
|
|
21859
|
+
"reasoning": {
|
|
21860
|
+
"anyOf": [
|
|
21861
|
+
{
|
|
21862
|
+
"maxLength": 32,
|
|
21863
|
+
"minLength": 1,
|
|
21864
|
+
"type": "string"
|
|
21865
|
+
},
|
|
21866
|
+
{
|
|
21867
|
+
"type": "null"
|
|
21868
|
+
}
|
|
21869
|
+
],
|
|
21870
|
+
"default": null,
|
|
21871
|
+
"description": "Reasoning effort, one of the model's reasoning_levels. Omit for its default.",
|
|
21872
|
+
"title": "Reasoning"
|
|
21873
|
+
},
|
|
21874
|
+
"include": {
|
|
21875
|
+
"anyOf": [
|
|
21876
|
+
{
|
|
21877
|
+
"$ref": "#/$defs/Include"
|
|
21878
|
+
},
|
|
21879
|
+
{
|
|
21880
|
+
"type": "null"
|
|
21881
|
+
}
|
|
21882
|
+
],
|
|
21883
|
+
"default": null
|
|
21884
|
+
},
|
|
21885
|
+
"provider_options": {
|
|
21886
|
+
"anyOf": [
|
|
21887
|
+
{
|
|
21888
|
+
"$ref": "#/$defs/ProviderOptions"
|
|
21889
|
+
},
|
|
21890
|
+
{
|
|
21891
|
+
"type": "null"
|
|
21892
|
+
}
|
|
21893
|
+
],
|
|
21894
|
+
"default": null,
|
|
21895
|
+
"description": "Settings for the provider the model runs on, keyed by provider, in snake case. Only the routed provider's options are used; an option it doesn't take is refused before the call."
|
|
21896
|
+
},
|
|
21897
|
+
"max_output_tokens": {
|
|
21898
|
+
"anyOf": [
|
|
21899
|
+
{
|
|
21900
|
+
"minimum": 1,
|
|
21901
|
+
"type": "integer"
|
|
21902
|
+
},
|
|
21903
|
+
{
|
|
21904
|
+
"type": "null"
|
|
21905
|
+
}
|
|
21906
|
+
],
|
|
21907
|
+
"default": null,
|
|
21908
|
+
"description": "The most tokens to generate.",
|
|
21909
|
+
"title": "Max Output Tokens"
|
|
21910
|
+
},
|
|
21911
|
+
"temperature": {
|
|
21912
|
+
"anyOf": [
|
|
21913
|
+
{
|
|
21914
|
+
"maximum": 2,
|
|
21915
|
+
"minimum": 0,
|
|
21916
|
+
"type": "number"
|
|
21917
|
+
},
|
|
21918
|
+
{
|
|
21919
|
+
"type": "null"
|
|
21920
|
+
}
|
|
21921
|
+
],
|
|
21922
|
+
"default": null,
|
|
21923
|
+
"title": "Temperature"
|
|
21924
|
+
},
|
|
21925
|
+
"top_p": {
|
|
21926
|
+
"anyOf": [
|
|
21927
|
+
{
|
|
21928
|
+
"maximum": 1,
|
|
21929
|
+
"minimum": 0,
|
|
21930
|
+
"type": "number"
|
|
21931
|
+
},
|
|
21932
|
+
{
|
|
21933
|
+
"type": "null"
|
|
21934
|
+
}
|
|
21935
|
+
],
|
|
21936
|
+
"default": null,
|
|
21937
|
+
"title": "Top P"
|
|
21938
|
+
},
|
|
21939
|
+
"top_k": {
|
|
21940
|
+
"anyOf": [
|
|
21941
|
+
{
|
|
21942
|
+
"minimum": 1,
|
|
21943
|
+
"type": "integer"
|
|
21944
|
+
},
|
|
21945
|
+
{
|
|
21946
|
+
"type": "null"
|
|
21947
|
+
}
|
|
21948
|
+
],
|
|
21949
|
+
"default": null,
|
|
21950
|
+
"title": "Top K"
|
|
21951
|
+
},
|
|
21952
|
+
"presence_penalty": {
|
|
21953
|
+
"anyOf": [
|
|
21954
|
+
{
|
|
21955
|
+
"maximum": 2,
|
|
21956
|
+
"minimum": -2,
|
|
21957
|
+
"type": "number"
|
|
21958
|
+
},
|
|
21959
|
+
{
|
|
21960
|
+
"type": "null"
|
|
21961
|
+
}
|
|
21962
|
+
],
|
|
21963
|
+
"default": null,
|
|
21964
|
+
"title": "Presence Penalty"
|
|
21965
|
+
},
|
|
21966
|
+
"frequency_penalty": {
|
|
21967
|
+
"anyOf": [
|
|
21968
|
+
{
|
|
21969
|
+
"maximum": 2,
|
|
21970
|
+
"minimum": -2,
|
|
21971
|
+
"type": "number"
|
|
21972
|
+
},
|
|
21973
|
+
{
|
|
21974
|
+
"type": "null"
|
|
21975
|
+
}
|
|
21976
|
+
],
|
|
21977
|
+
"default": null,
|
|
21978
|
+
"title": "Frequency Penalty"
|
|
21979
|
+
},
|
|
21980
|
+
"stop_sequences": {
|
|
21981
|
+
"anyOf": [
|
|
21982
|
+
{
|
|
21983
|
+
"items": {
|
|
21984
|
+
"maxLength": 200,
|
|
21985
|
+
"minLength": 1,
|
|
21986
|
+
"type": "string"
|
|
21987
|
+
},
|
|
21988
|
+
"maxItems": 16,
|
|
21989
|
+
"minItems": 1,
|
|
21990
|
+
"type": "array"
|
|
21991
|
+
},
|
|
21992
|
+
{
|
|
21993
|
+
"type": "null"
|
|
21994
|
+
}
|
|
21995
|
+
],
|
|
21996
|
+
"default": null,
|
|
21997
|
+
"title": "Stop Sequences"
|
|
21998
|
+
},
|
|
21999
|
+
"seed": {
|
|
22000
|
+
"anyOf": [
|
|
22001
|
+
{
|
|
22002
|
+
"type": "integer"
|
|
22003
|
+
},
|
|
22004
|
+
{
|
|
22005
|
+
"type": "null"
|
|
22006
|
+
}
|
|
22007
|
+
],
|
|
22008
|
+
"default": null,
|
|
22009
|
+
"title": "Seed"
|
|
22010
|
+
}
|
|
22011
|
+
},
|
|
22012
|
+
"required": [
|
|
22013
|
+
"workspace_id",
|
|
22014
|
+
"model"
|
|
22015
|
+
],
|
|
22016
|
+
"title": "GenerateTextInput",
|
|
22017
|
+
"type": "object",
|
|
22018
|
+
"$defs": {
|
|
22019
|
+
"ArrayOutput": {
|
|
22020
|
+
"additionalProperties": false,
|
|
22021
|
+
"properties": {
|
|
22022
|
+
"type": {
|
|
22023
|
+
"const": "array",
|
|
22024
|
+
"title": "Type",
|
|
22025
|
+
"type": "string"
|
|
22026
|
+
},
|
|
22027
|
+
"element_schema": {
|
|
22028
|
+
"additionalProperties": {
|
|
22029
|
+
"x-zo-json-value": true
|
|
22030
|
+
},
|
|
22031
|
+
"description": "A JSON Schema every element of the result matches.",
|
|
22032
|
+
"title": "Element Schema",
|
|
22033
|
+
"type": "object"
|
|
22034
|
+
},
|
|
22035
|
+
"name": {
|
|
22036
|
+
"anyOf": [
|
|
22037
|
+
{
|
|
22038
|
+
"maxLength": 64,
|
|
22039
|
+
"minLength": 1,
|
|
22040
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
22041
|
+
"type": "string"
|
|
22042
|
+
},
|
|
22043
|
+
{
|
|
22044
|
+
"type": "null"
|
|
22045
|
+
}
|
|
22046
|
+
],
|
|
22047
|
+
"default": null,
|
|
22048
|
+
"title": "Name"
|
|
22049
|
+
},
|
|
22050
|
+
"description": {
|
|
22051
|
+
"anyOf": [
|
|
22052
|
+
{
|
|
22053
|
+
"maxLength": 1024,
|
|
22054
|
+
"minLength": 1,
|
|
22055
|
+
"type": "string"
|
|
22056
|
+
},
|
|
22057
|
+
{
|
|
22058
|
+
"type": "null"
|
|
22059
|
+
}
|
|
22060
|
+
],
|
|
22061
|
+
"default": null,
|
|
22062
|
+
"title": "Description"
|
|
22063
|
+
}
|
|
22064
|
+
},
|
|
22065
|
+
"required": [
|
|
22066
|
+
"type",
|
|
22067
|
+
"element_schema"
|
|
22068
|
+
],
|
|
22069
|
+
"title": "ArrayOutput",
|
|
22070
|
+
"type": "object"
|
|
22071
|
+
},
|
|
22072
|
+
"AssistantMessage": {
|
|
22073
|
+
"additionalProperties": false,
|
|
22074
|
+
"properties": {
|
|
22075
|
+
"role": {
|
|
22076
|
+
"const": "assistant",
|
|
22077
|
+
"title": "Role",
|
|
22078
|
+
"type": "string"
|
|
22079
|
+
},
|
|
22080
|
+
"content": {
|
|
22081
|
+
"items": {
|
|
22082
|
+
"$ref": "#/$defs/TextPart"
|
|
22083
|
+
},
|
|
22084
|
+
"maxItems": 100,
|
|
22085
|
+
"minItems": 1,
|
|
22086
|
+
"title": "Content",
|
|
22087
|
+
"type": "array"
|
|
22088
|
+
}
|
|
22089
|
+
},
|
|
22090
|
+
"required": [
|
|
22091
|
+
"role",
|
|
22092
|
+
"content"
|
|
22093
|
+
],
|
|
22094
|
+
"title": "AssistantMessage",
|
|
22095
|
+
"type": "object"
|
|
22096
|
+
},
|
|
22097
|
+
"ChoiceOutput": {
|
|
22098
|
+
"additionalProperties": false,
|
|
22099
|
+
"properties": {
|
|
22100
|
+
"type": {
|
|
22101
|
+
"const": "choice",
|
|
22102
|
+
"title": "Type",
|
|
22103
|
+
"type": "string"
|
|
22104
|
+
},
|
|
22105
|
+
"options": {
|
|
22106
|
+
"description": "The result is exactly one of these.",
|
|
22107
|
+
"items": {
|
|
22108
|
+
"maxLength": 200,
|
|
22109
|
+
"minLength": 1,
|
|
22110
|
+
"type": "string"
|
|
22111
|
+
},
|
|
22112
|
+
"maxItems": 100,
|
|
22113
|
+
"minItems": 2,
|
|
22114
|
+
"title": "Options",
|
|
22115
|
+
"type": "array"
|
|
22116
|
+
}
|
|
22117
|
+
},
|
|
22118
|
+
"required": [
|
|
22119
|
+
"type",
|
|
22120
|
+
"options"
|
|
22121
|
+
],
|
|
22122
|
+
"title": "ChoiceOutput",
|
|
22123
|
+
"type": "object"
|
|
22124
|
+
},
|
|
22125
|
+
"FilePart": {
|
|
22126
|
+
"additionalProperties": false,
|
|
22127
|
+
"description": "An image (PNG, JPEG, GIF or WebP, up to 20 MiB) or a text file (up to 1 MiB), as a Knowledge file by ID or\ninline as base64. A call may name at most 20 distinct Knowledge files. Other types, PDFs and video included, are\nrefused. Which types a model takes is its `input_media` in `zo.model.list`.",
|
|
22128
|
+
"properties": {
|
|
22129
|
+
"type": {
|
|
22130
|
+
"const": "file",
|
|
22131
|
+
"title": "Type",
|
|
22132
|
+
"type": "string"
|
|
22133
|
+
},
|
|
22134
|
+
"file_id": {
|
|
22135
|
+
"anyOf": [
|
|
22136
|
+
{
|
|
22137
|
+
"maxLength": 200,
|
|
22138
|
+
"minLength": 1,
|
|
22139
|
+
"type": "string"
|
|
22140
|
+
},
|
|
22141
|
+
{
|
|
22142
|
+
"type": "null"
|
|
22143
|
+
}
|
|
22144
|
+
],
|
|
22145
|
+
"default": null,
|
|
22146
|
+
"description": "A Knowledge file the caller can read. Set this or data, not both.",
|
|
22147
|
+
"title": "File Id"
|
|
22148
|
+
},
|
|
22149
|
+
"data": {
|
|
22150
|
+
"anyOf": [
|
|
22151
|
+
{
|
|
22152
|
+
"minLength": 1,
|
|
22153
|
+
"type": "string"
|
|
22154
|
+
},
|
|
22155
|
+
{
|
|
22156
|
+
"type": "null"
|
|
22157
|
+
}
|
|
22158
|
+
],
|
|
22159
|
+
"default": null,
|
|
22160
|
+
"description": "The file's bytes as base64.",
|
|
22161
|
+
"title": "Data"
|
|
22162
|
+
},
|
|
22163
|
+
"media_type": {
|
|
22164
|
+
"anyOf": [
|
|
22165
|
+
{
|
|
22166
|
+
"maxLength": 200,
|
|
22167
|
+
"minLength": 1,
|
|
22168
|
+
"type": "string"
|
|
22169
|
+
},
|
|
22170
|
+
{
|
|
22171
|
+
"type": "null"
|
|
22172
|
+
}
|
|
22173
|
+
],
|
|
22174
|
+
"default": null,
|
|
22175
|
+
"description": "Required with data, such as image/png or text/plain. Ignored for a Knowledge file, which always uses its stored type.",
|
|
22176
|
+
"title": "Media Type"
|
|
22177
|
+
},
|
|
22178
|
+
"filename": {
|
|
22179
|
+
"anyOf": [
|
|
22180
|
+
{
|
|
22181
|
+
"maxLength": 255,
|
|
22182
|
+
"minLength": 1,
|
|
22183
|
+
"type": "string"
|
|
22184
|
+
},
|
|
22185
|
+
{
|
|
22186
|
+
"type": "null"
|
|
22187
|
+
}
|
|
22188
|
+
],
|
|
22189
|
+
"default": null,
|
|
22190
|
+
"title": "Filename"
|
|
22191
|
+
}
|
|
22192
|
+
},
|
|
22193
|
+
"required": [
|
|
22194
|
+
"type"
|
|
22195
|
+
],
|
|
22196
|
+
"title": "FilePart",
|
|
22197
|
+
"type": "object"
|
|
22198
|
+
},
|
|
22199
|
+
"Include": {
|
|
22200
|
+
"additionalProperties": false,
|
|
22201
|
+
"properties": {
|
|
22202
|
+
"reasoning": {
|
|
22203
|
+
"default": false,
|
|
22204
|
+
"description": "Return the model's reasoning text when it provides one.",
|
|
22205
|
+
"title": "Reasoning",
|
|
22206
|
+
"type": "boolean"
|
|
22207
|
+
}
|
|
22208
|
+
},
|
|
22209
|
+
"title": "Include",
|
|
22210
|
+
"type": "object",
|
|
22211
|
+
"required": []
|
|
22212
|
+
},
|
|
22213
|
+
"JsonOutput": {
|
|
22214
|
+
"additionalProperties": false,
|
|
22215
|
+
"properties": {
|
|
22216
|
+
"type": {
|
|
22217
|
+
"const": "json",
|
|
22218
|
+
"title": "Type",
|
|
22219
|
+
"type": "string"
|
|
22220
|
+
}
|
|
22221
|
+
},
|
|
22222
|
+
"required": [
|
|
22223
|
+
"type"
|
|
22224
|
+
],
|
|
22225
|
+
"title": "JsonOutput",
|
|
22226
|
+
"type": "object"
|
|
22227
|
+
},
|
|
22228
|
+
"ObjectOutput": {
|
|
22229
|
+
"additionalProperties": false,
|
|
22230
|
+
"properties": {
|
|
22231
|
+
"type": {
|
|
22232
|
+
"const": "object",
|
|
22233
|
+
"title": "Type",
|
|
22234
|
+
"type": "string"
|
|
22235
|
+
},
|
|
22236
|
+
"schema": {
|
|
22237
|
+
"additionalProperties": {
|
|
22238
|
+
"x-zo-json-value": true
|
|
22239
|
+
},
|
|
22240
|
+
"description": "A JSON Schema whose root type is object. The result matches it.",
|
|
22241
|
+
"title": "Schema",
|
|
22242
|
+
"type": "object"
|
|
22243
|
+
},
|
|
22244
|
+
"name": {
|
|
22245
|
+
"anyOf": [
|
|
22246
|
+
{
|
|
22247
|
+
"maxLength": 64,
|
|
22248
|
+
"minLength": 1,
|
|
22249
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
22250
|
+
"type": "string"
|
|
22251
|
+
},
|
|
22252
|
+
{
|
|
22253
|
+
"type": "null"
|
|
22254
|
+
}
|
|
22255
|
+
],
|
|
22256
|
+
"default": null,
|
|
22257
|
+
"title": "Name"
|
|
22258
|
+
},
|
|
22259
|
+
"description": {
|
|
22260
|
+
"anyOf": [
|
|
22261
|
+
{
|
|
22262
|
+
"maxLength": 1024,
|
|
22263
|
+
"minLength": 1,
|
|
22264
|
+
"type": "string"
|
|
22265
|
+
},
|
|
22266
|
+
{
|
|
22267
|
+
"type": "null"
|
|
22268
|
+
}
|
|
22269
|
+
],
|
|
22270
|
+
"default": null,
|
|
22271
|
+
"title": "Description"
|
|
22272
|
+
}
|
|
22273
|
+
},
|
|
22274
|
+
"required": [
|
|
22275
|
+
"type",
|
|
22276
|
+
"schema"
|
|
22277
|
+
],
|
|
22278
|
+
"title": "ObjectOutput",
|
|
22279
|
+
"type": "object"
|
|
22280
|
+
},
|
|
22281
|
+
"ProviderOptions": {
|
|
22282
|
+
"additionalProperties": false,
|
|
22283
|
+
"description": "Settings for one provider, keyed by provider, passed through to that\nprovider's request as the Vercel AI SDK's providerOptions are. Shared by\nevery model action that takes them.",
|
|
22284
|
+
"properties": {
|
|
22285
|
+
"anthropic": {
|
|
22286
|
+
"anyOf": [
|
|
22287
|
+
{
|
|
22288
|
+
"additionalProperties": {
|
|
22289
|
+
"x-zo-json-value": true
|
|
22290
|
+
},
|
|
22291
|
+
"type": "object"
|
|
22292
|
+
},
|
|
22293
|
+
{
|
|
22294
|
+
"type": "null"
|
|
22295
|
+
}
|
|
22296
|
+
],
|
|
22297
|
+
"default": null,
|
|
22298
|
+
"description": "For Anthropic models: thinking, send_reasoning.",
|
|
22299
|
+
"title": "Anthropic"
|
|
22300
|
+
},
|
|
22301
|
+
"openai": {
|
|
22302
|
+
"anyOf": [
|
|
22303
|
+
{
|
|
22304
|
+
"additionalProperties": {
|
|
22305
|
+
"x-zo-json-value": true
|
|
22306
|
+
},
|
|
22307
|
+
"type": "object"
|
|
22308
|
+
},
|
|
22309
|
+
{
|
|
22310
|
+
"type": "null"
|
|
22311
|
+
}
|
|
22312
|
+
],
|
|
22313
|
+
"default": null,
|
|
22314
|
+
"description": "For OpenAI models: reasoning_summary, text_verbosity, service_tier, user, logit_bias.",
|
|
22315
|
+
"title": "Openai"
|
|
22316
|
+
},
|
|
22317
|
+
"google": {
|
|
22318
|
+
"anyOf": [
|
|
22319
|
+
{
|
|
22320
|
+
"additionalProperties": {
|
|
22321
|
+
"x-zo-json-value": true
|
|
22322
|
+
},
|
|
22323
|
+
"type": "object"
|
|
22324
|
+
},
|
|
22325
|
+
{
|
|
22326
|
+
"type": "null"
|
|
22327
|
+
}
|
|
22328
|
+
],
|
|
22329
|
+
"default": null,
|
|
22330
|
+
"description": "For Google models: thinking_config, safety_settings.",
|
|
22331
|
+
"title": "Google"
|
|
22332
|
+
},
|
|
22333
|
+
"xai": {
|
|
22334
|
+
"anyOf": [
|
|
22335
|
+
{
|
|
22336
|
+
"additionalProperties": {
|
|
22337
|
+
"x-zo-json-value": true
|
|
22338
|
+
},
|
|
22339
|
+
"type": "object"
|
|
22340
|
+
},
|
|
22341
|
+
{
|
|
22342
|
+
"type": "null"
|
|
22343
|
+
}
|
|
22344
|
+
],
|
|
22345
|
+
"default": null,
|
|
22346
|
+
"description": "For xAI models. None are accepted yet.",
|
|
22347
|
+
"title": "Xai"
|
|
22348
|
+
},
|
|
22349
|
+
"deepseek": {
|
|
22350
|
+
"anyOf": [
|
|
22351
|
+
{
|
|
22352
|
+
"additionalProperties": {
|
|
22353
|
+
"x-zo-json-value": true
|
|
22354
|
+
},
|
|
22355
|
+
"type": "object"
|
|
22356
|
+
},
|
|
22357
|
+
{
|
|
22358
|
+
"type": "null"
|
|
22359
|
+
}
|
|
22360
|
+
],
|
|
22361
|
+
"default": null,
|
|
22362
|
+
"description": "For DeepSeek models. None are accepted yet.",
|
|
22363
|
+
"title": "Deepseek"
|
|
22364
|
+
},
|
|
22365
|
+
"moonshot": {
|
|
22366
|
+
"anyOf": [
|
|
22367
|
+
{
|
|
22368
|
+
"additionalProperties": {
|
|
22369
|
+
"x-zo-json-value": true
|
|
22370
|
+
},
|
|
22371
|
+
"type": "object"
|
|
22372
|
+
},
|
|
22373
|
+
{
|
|
22374
|
+
"type": "null"
|
|
22375
|
+
}
|
|
22376
|
+
],
|
|
22377
|
+
"default": null,
|
|
22378
|
+
"description": "For Moonshot models. None are accepted yet.",
|
|
22379
|
+
"title": "Moonshot"
|
|
22380
|
+
},
|
|
22381
|
+
"zai": {
|
|
22382
|
+
"anyOf": [
|
|
22383
|
+
{
|
|
22384
|
+
"additionalProperties": {
|
|
22385
|
+
"x-zo-json-value": true
|
|
22386
|
+
},
|
|
22387
|
+
"type": "object"
|
|
22388
|
+
},
|
|
22389
|
+
{
|
|
22390
|
+
"type": "null"
|
|
22391
|
+
}
|
|
22392
|
+
],
|
|
22393
|
+
"default": null,
|
|
22394
|
+
"description": "For Z.ai models. None are accepted yet.",
|
|
22395
|
+
"title": "Zai"
|
|
22396
|
+
},
|
|
22397
|
+
"voyage": {
|
|
22398
|
+
"anyOf": [
|
|
22399
|
+
{
|
|
22400
|
+
"additionalProperties": {
|
|
22401
|
+
"x-zo-json-value": true
|
|
22402
|
+
},
|
|
22403
|
+
"type": "object"
|
|
22404
|
+
},
|
|
22405
|
+
{
|
|
22406
|
+
"type": "null"
|
|
22407
|
+
}
|
|
22408
|
+
],
|
|
22409
|
+
"default": null,
|
|
22410
|
+
"description": "For Voyage models: truncation.",
|
|
22411
|
+
"title": "Voyage"
|
|
22412
|
+
},
|
|
22413
|
+
"bytedance": {
|
|
22414
|
+
"anyOf": [
|
|
22415
|
+
{
|
|
22416
|
+
"additionalProperties": {
|
|
22417
|
+
"x-zo-json-value": true
|
|
22418
|
+
},
|
|
22419
|
+
"type": "object"
|
|
22420
|
+
},
|
|
22421
|
+
{
|
|
22422
|
+
"type": "null"
|
|
22423
|
+
}
|
|
22424
|
+
],
|
|
22425
|
+
"default": null,
|
|
22426
|
+
"description": "For ByteDance models. None are accepted yet.",
|
|
22427
|
+
"title": "Bytedance"
|
|
22428
|
+
},
|
|
22429
|
+
"recraft": {
|
|
22430
|
+
"anyOf": [
|
|
22431
|
+
{
|
|
22432
|
+
"additionalProperties": {
|
|
22433
|
+
"x-zo-json-value": true
|
|
22434
|
+
},
|
|
22435
|
+
"type": "object"
|
|
22436
|
+
},
|
|
22437
|
+
{
|
|
22438
|
+
"type": "null"
|
|
22439
|
+
}
|
|
22440
|
+
],
|
|
22441
|
+
"default": null,
|
|
22442
|
+
"description": "For Recraft models. None are accepted yet.",
|
|
22443
|
+
"title": "Recraft"
|
|
22444
|
+
},
|
|
22445
|
+
"assemblyai": {
|
|
22446
|
+
"anyOf": [
|
|
22447
|
+
{
|
|
22448
|
+
"additionalProperties": {
|
|
22449
|
+
"x-zo-json-value": true
|
|
22450
|
+
},
|
|
22451
|
+
"type": "object"
|
|
22452
|
+
},
|
|
22453
|
+
{
|
|
22454
|
+
"type": "null"
|
|
22455
|
+
}
|
|
22456
|
+
],
|
|
22457
|
+
"default": null,
|
|
22458
|
+
"description": "For AssemblyAI transcription: punctuate, format_text, disfluencies, filter_profanity, word_boost, boost_param.",
|
|
22459
|
+
"title": "Assemblyai"
|
|
22460
|
+
}
|
|
22461
|
+
},
|
|
22462
|
+
"title": "ProviderOptions",
|
|
22463
|
+
"type": "object",
|
|
22464
|
+
"required": []
|
|
22465
|
+
},
|
|
22466
|
+
"TextPart": {
|
|
22467
|
+
"additionalProperties": false,
|
|
22468
|
+
"properties": {
|
|
22469
|
+
"type": {
|
|
22470
|
+
"const": "text",
|
|
22471
|
+
"title": "Type",
|
|
22472
|
+
"type": "string"
|
|
22473
|
+
},
|
|
22474
|
+
"text": {
|
|
22475
|
+
"title": "Text",
|
|
22476
|
+
"type": "string"
|
|
22477
|
+
}
|
|
22478
|
+
},
|
|
22479
|
+
"required": [
|
|
22480
|
+
"type",
|
|
22481
|
+
"text"
|
|
22482
|
+
],
|
|
22483
|
+
"title": "TextPart",
|
|
22484
|
+
"type": "object"
|
|
22485
|
+
},
|
|
22486
|
+
"UserMessage": {
|
|
22487
|
+
"additionalProperties": false,
|
|
22488
|
+
"properties": {
|
|
22489
|
+
"role": {
|
|
22490
|
+
"const": "user",
|
|
22491
|
+
"title": "Role",
|
|
22492
|
+
"type": "string"
|
|
22493
|
+
},
|
|
22494
|
+
"content": {
|
|
22495
|
+
"description": "Text and file parts, in order.",
|
|
22496
|
+
"items": {
|
|
22497
|
+
"discriminator": {
|
|
22498
|
+
"mapping": {
|
|
22499
|
+
"file": "#/$defs/FilePart",
|
|
22500
|
+
"text": "#/$defs/TextPart"
|
|
22501
|
+
},
|
|
22502
|
+
"propertyName": "type"
|
|
22503
|
+
},
|
|
22504
|
+
"oneOf": [
|
|
22505
|
+
{
|
|
22506
|
+
"$ref": "#/$defs/TextPart"
|
|
22507
|
+
},
|
|
22508
|
+
{
|
|
22509
|
+
"$ref": "#/$defs/FilePart"
|
|
22510
|
+
}
|
|
22511
|
+
]
|
|
22512
|
+
},
|
|
22513
|
+
"maxItems": 100,
|
|
22514
|
+
"minItems": 1,
|
|
22515
|
+
"title": "Content",
|
|
22516
|
+
"type": "array"
|
|
22517
|
+
}
|
|
22518
|
+
},
|
|
22519
|
+
"required": [
|
|
22520
|
+
"role",
|
|
22521
|
+
"content"
|
|
22522
|
+
],
|
|
22523
|
+
"title": "UserMessage",
|
|
22524
|
+
"type": "object"
|
|
22525
|
+
}
|
|
22526
|
+
}
|
|
22527
|
+
},
|
|
22528
|
+
"output_schema": {
|
|
22529
|
+
"additionalProperties": false,
|
|
22530
|
+
"properties": {
|
|
22531
|
+
"text": {
|
|
22532
|
+
"description": "The generated text. For structured output, the JSON the model wrote.",
|
|
22533
|
+
"title": "Text",
|
|
22534
|
+
"type": "string"
|
|
22535
|
+
},
|
|
22536
|
+
"output": {
|
|
22537
|
+
"anyOf": [
|
|
22538
|
+
{
|
|
22539
|
+
"x-zo-json-value": true
|
|
22540
|
+
},
|
|
22541
|
+
{
|
|
22542
|
+
"type": "null"
|
|
22543
|
+
}
|
|
22544
|
+
],
|
|
22545
|
+
"description": "The parsed result when output was set, else null."
|
|
22546
|
+
},
|
|
22547
|
+
"reasoning": {
|
|
22548
|
+
"anyOf": [
|
|
22549
|
+
{
|
|
22550
|
+
"type": "string"
|
|
22551
|
+
},
|
|
22552
|
+
{
|
|
22553
|
+
"type": "null"
|
|
22554
|
+
}
|
|
22555
|
+
],
|
|
22556
|
+
"description": "The model's reasoning text, when asked for and provided.",
|
|
22557
|
+
"title": "Reasoning"
|
|
22558
|
+
},
|
|
22559
|
+
"finish_reason": {
|
|
22560
|
+
"description": "Why generation ended. deadline: the request ran out of time and text holds what was generated by then.",
|
|
22561
|
+
"enum": [
|
|
22562
|
+
"stop",
|
|
22563
|
+
"length",
|
|
22564
|
+
"content_filter",
|
|
22565
|
+
"deadline",
|
|
22566
|
+
"other"
|
|
22567
|
+
],
|
|
22568
|
+
"title": "Finish Reason",
|
|
22569
|
+
"type": "string"
|
|
22570
|
+
},
|
|
22571
|
+
"model": {
|
|
22572
|
+
"description": "The model that answered.",
|
|
22573
|
+
"title": "Model",
|
|
22574
|
+
"type": "string"
|
|
22575
|
+
},
|
|
22576
|
+
"usage": {
|
|
22577
|
+
"$ref": "#/$defs/Usage"
|
|
22578
|
+
},
|
|
22579
|
+
"charge": {
|
|
22580
|
+
"$ref": "#/$defs/Charge"
|
|
22581
|
+
}
|
|
22582
|
+
},
|
|
22583
|
+
"required": [
|
|
22584
|
+
"text",
|
|
22585
|
+
"output",
|
|
22586
|
+
"reasoning",
|
|
22587
|
+
"finish_reason",
|
|
22588
|
+
"model",
|
|
22589
|
+
"usage",
|
|
22590
|
+
"charge"
|
|
22591
|
+
],
|
|
22592
|
+
"title": "GenerateTextResult",
|
|
22593
|
+
"type": "object",
|
|
22594
|
+
"$defs": {
|
|
22595
|
+
"Charge": {
|
|
22596
|
+
"additionalProperties": false,
|
|
22597
|
+
"properties": {
|
|
22598
|
+
"usd": {
|
|
22599
|
+
"anyOf": [
|
|
22600
|
+
{
|
|
22601
|
+
"type": "string"
|
|
22602
|
+
},
|
|
22603
|
+
{
|
|
22604
|
+
"type": "null"
|
|
22605
|
+
}
|
|
22606
|
+
],
|
|
22607
|
+
"description": "What this call added to the workspace's usage, in US dollars as a decimal string. Null when the amount couldn't be confirmed; the workspace's billing entries are the record.",
|
|
22608
|
+
"title": "Usd"
|
|
22609
|
+
}
|
|
22610
|
+
},
|
|
22611
|
+
"required": [
|
|
22612
|
+
"usd"
|
|
22613
|
+
],
|
|
22614
|
+
"title": "Charge",
|
|
22615
|
+
"type": "object"
|
|
22616
|
+
},
|
|
22617
|
+
"Usage": {
|
|
22618
|
+
"additionalProperties": false,
|
|
22619
|
+
"description": "What the provider reported, in the units the model is billed in. A\nmodel action sets only its own units.",
|
|
22620
|
+
"properties": {
|
|
22621
|
+
"input_tokens": {
|
|
22622
|
+
"anyOf": [
|
|
22623
|
+
{
|
|
22624
|
+
"minimum": 0,
|
|
22625
|
+
"type": "integer"
|
|
22626
|
+
},
|
|
22627
|
+
{
|
|
22628
|
+
"type": "null"
|
|
22629
|
+
}
|
|
22630
|
+
],
|
|
22631
|
+
"default": null,
|
|
22632
|
+
"title": "Input Tokens"
|
|
22633
|
+
},
|
|
22634
|
+
"output_tokens": {
|
|
22635
|
+
"anyOf": [
|
|
22636
|
+
{
|
|
22637
|
+
"minimum": 0,
|
|
22638
|
+
"type": "integer"
|
|
22639
|
+
},
|
|
22640
|
+
{
|
|
22641
|
+
"type": "null"
|
|
22642
|
+
}
|
|
22643
|
+
],
|
|
22644
|
+
"default": null,
|
|
22645
|
+
"title": "Output Tokens"
|
|
22646
|
+
},
|
|
22647
|
+
"cache_read_tokens": {
|
|
22648
|
+
"anyOf": [
|
|
22649
|
+
{
|
|
22650
|
+
"minimum": 0,
|
|
22651
|
+
"type": "integer"
|
|
22652
|
+
},
|
|
22653
|
+
{
|
|
22654
|
+
"type": "null"
|
|
22655
|
+
}
|
|
22656
|
+
],
|
|
22657
|
+
"default": null,
|
|
22658
|
+
"title": "Cache Read Tokens"
|
|
22659
|
+
},
|
|
22660
|
+
"cache_write_tokens": {
|
|
22661
|
+
"anyOf": [
|
|
22662
|
+
{
|
|
22663
|
+
"minimum": 0,
|
|
22664
|
+
"type": "integer"
|
|
22665
|
+
},
|
|
22666
|
+
{
|
|
22667
|
+
"type": "null"
|
|
22668
|
+
}
|
|
22669
|
+
],
|
|
22670
|
+
"default": null,
|
|
22671
|
+
"title": "Cache Write Tokens"
|
|
22672
|
+
},
|
|
22673
|
+
"reasoning_tokens": {
|
|
22674
|
+
"anyOf": [
|
|
22675
|
+
{
|
|
22676
|
+
"minimum": 0,
|
|
22677
|
+
"type": "integer"
|
|
22678
|
+
},
|
|
22679
|
+
{
|
|
22680
|
+
"type": "null"
|
|
22681
|
+
}
|
|
22682
|
+
],
|
|
22683
|
+
"default": null,
|
|
22684
|
+
"title": "Reasoning Tokens"
|
|
22685
|
+
}
|
|
22686
|
+
},
|
|
22687
|
+
"title": "Usage",
|
|
22688
|
+
"type": "object",
|
|
22689
|
+
"required": []
|
|
22690
|
+
}
|
|
22691
|
+
}
|
|
22692
|
+
},
|
|
22693
|
+
"target": {
|
|
22694
|
+
"type": "workspace",
|
|
22695
|
+
"input_pointer": "/workspace_id"
|
|
22696
|
+
},
|
|
22697
|
+
"additional_checks": [],
|
|
22698
|
+
"effect": "use",
|
|
22699
|
+
"result_kind": "inline",
|
|
22700
|
+
"error_codes": [
|
|
22701
|
+
"invalid_input",
|
|
22702
|
+
"conflict",
|
|
22703
|
+
"quota_exceeded",
|
|
22704
|
+
"rate_limited",
|
|
22705
|
+
"execution_deadline_exceeded",
|
|
22706
|
+
"provider_failure",
|
|
22707
|
+
"implementation_unavailable",
|
|
22708
|
+
"file_too_large",
|
|
22709
|
+
"output_limit_exceeded"
|
|
22710
|
+
],
|
|
22711
|
+
"digest": "sha256:3b53f6bc7b92dbda22ad01a97d1c69baaf567234ef35d364297f96c979bca184"
|
|
22712
|
+
},
|
|
22713
|
+
{
|
|
22714
|
+
"name": "zo.model.list",
|
|
22715
|
+
"version": 1,
|
|
22716
|
+
"publisher": "zo",
|
|
22717
|
+
"description": "List the models this workspace can call, each with its ID, capabilities, accepted file types, reasoning levels, limits and current prices.",
|
|
22718
|
+
"input_schema": {
|
|
22719
|
+
"additionalProperties": false,
|
|
22720
|
+
"properties": {
|
|
22721
|
+
"workspace_id": {
|
|
22722
|
+
"maxLength": 200,
|
|
22723
|
+
"minLength": 1,
|
|
22724
|
+
"title": "Workspace Id",
|
|
22725
|
+
"type": "string"
|
|
22726
|
+
}
|
|
22727
|
+
},
|
|
22728
|
+
"required": [
|
|
22729
|
+
"workspace_id"
|
|
22730
|
+
],
|
|
22731
|
+
"title": "ModelListInput",
|
|
22732
|
+
"type": "object"
|
|
22733
|
+
},
|
|
22734
|
+
"output_schema": {
|
|
22735
|
+
"additionalProperties": false,
|
|
22736
|
+
"properties": {
|
|
22737
|
+
"models": {
|
|
22738
|
+
"items": {
|
|
22739
|
+
"$ref": "#/$defs/ModelEntry"
|
|
22740
|
+
},
|
|
22741
|
+
"title": "Models",
|
|
22742
|
+
"type": "array"
|
|
22743
|
+
},
|
|
22744
|
+
"next_cursor": {
|
|
22745
|
+
"anyOf": [
|
|
22746
|
+
{
|
|
22747
|
+
"type": "string"
|
|
22748
|
+
},
|
|
22749
|
+
{
|
|
22750
|
+
"type": "null"
|
|
22751
|
+
}
|
|
22752
|
+
],
|
|
22753
|
+
"title": "Next Cursor"
|
|
22754
|
+
}
|
|
22755
|
+
},
|
|
22756
|
+
"required": [
|
|
22757
|
+
"models",
|
|
22758
|
+
"next_cursor"
|
|
22759
|
+
],
|
|
22760
|
+
"title": "ModelListResult",
|
|
22761
|
+
"type": "object",
|
|
22762
|
+
"$defs": {
|
|
22763
|
+
"ModelEntry": {
|
|
22764
|
+
"additionalProperties": false,
|
|
22765
|
+
"properties": {
|
|
22766
|
+
"id": {
|
|
22767
|
+
"description": "The ID to pass as model.",
|
|
22768
|
+
"title": "Id",
|
|
22769
|
+
"type": "string"
|
|
22770
|
+
},
|
|
22771
|
+
"display_name": {
|
|
22772
|
+
"title": "Display Name",
|
|
22773
|
+
"type": "string"
|
|
22774
|
+
},
|
|
22775
|
+
"provider": {
|
|
22776
|
+
"title": "Provider",
|
|
22777
|
+
"type": "string"
|
|
22778
|
+
},
|
|
22779
|
+
"capabilities": {
|
|
22780
|
+
"items": {
|
|
22781
|
+
"enum": [
|
|
22782
|
+
"text",
|
|
22783
|
+
"structured_output",
|
|
22784
|
+
"embedding",
|
|
22785
|
+
"rerank",
|
|
22786
|
+
"image",
|
|
22787
|
+
"speech",
|
|
22788
|
+
"transcription",
|
|
22789
|
+
"video"
|
|
22790
|
+
],
|
|
22791
|
+
"type": "string"
|
|
22792
|
+
},
|
|
22793
|
+
"title": "Capabilities",
|
|
22794
|
+
"type": "array"
|
|
22795
|
+
},
|
|
22796
|
+
"input_media": {
|
|
22797
|
+
"description": "Media types the model accepts in file parts, such as image/* and text/*.",
|
|
22798
|
+
"items": {
|
|
22799
|
+
"type": "string"
|
|
22800
|
+
},
|
|
22801
|
+
"title": "Input Media",
|
|
22802
|
+
"type": "array"
|
|
22803
|
+
},
|
|
22804
|
+
"context_window_tokens": {
|
|
22805
|
+
"anyOf": [
|
|
22806
|
+
{
|
|
22807
|
+
"type": "integer"
|
|
22808
|
+
},
|
|
22809
|
+
{
|
|
22810
|
+
"type": "null"
|
|
22811
|
+
}
|
|
22812
|
+
],
|
|
22813
|
+
"title": "Context Window Tokens"
|
|
22814
|
+
},
|
|
22815
|
+
"max_output_tokens": {
|
|
22816
|
+
"anyOf": [
|
|
22817
|
+
{
|
|
22818
|
+
"type": "integer"
|
|
22819
|
+
},
|
|
22820
|
+
{
|
|
22821
|
+
"type": "null"
|
|
22822
|
+
}
|
|
22823
|
+
],
|
|
22824
|
+
"title": "Max Output Tokens"
|
|
22825
|
+
},
|
|
22826
|
+
"reasoning_levels": {
|
|
22827
|
+
"description": "The reasoning levels the model offers. Empty when it has none.",
|
|
22828
|
+
"items": {
|
|
22829
|
+
"type": "string"
|
|
22830
|
+
},
|
|
22831
|
+
"title": "Reasoning Levels",
|
|
22832
|
+
"type": "array"
|
|
22833
|
+
},
|
|
22834
|
+
"settings": {
|
|
22835
|
+
"description": "Every setting the model accepts, with its allowed values. A setting not listed is refused with invalid_input before the call.",
|
|
22836
|
+
"items": {
|
|
22837
|
+
"$ref": "#/$defs/ModelSetting"
|
|
22838
|
+
},
|
|
22839
|
+
"title": "Settings",
|
|
22840
|
+
"type": "array"
|
|
22841
|
+
},
|
|
22842
|
+
"limits": {
|
|
22843
|
+
"additionalProperties": {
|
|
22844
|
+
"type": "integer"
|
|
22845
|
+
},
|
|
22846
|
+
"description": "Named limits for the model's actions, such as max_values.",
|
|
22847
|
+
"title": "Limits",
|
|
22848
|
+
"type": "object"
|
|
22849
|
+
},
|
|
22850
|
+
"prices": {
|
|
22851
|
+
"description": "Every rate the model is billed at, the rows zo.billing.list_rates returns for it. A call is charged at the rates whose conditions it meets.",
|
|
22852
|
+
"items": {
|
|
22853
|
+
"$ref": "#/$defs/ModelPrice"
|
|
22854
|
+
},
|
|
22855
|
+
"title": "Prices",
|
|
22856
|
+
"type": "array"
|
|
22857
|
+
},
|
|
22858
|
+
"status": {
|
|
22859
|
+
"enum": [
|
|
22860
|
+
"available",
|
|
22861
|
+
"deprecated"
|
|
22862
|
+
],
|
|
22863
|
+
"title": "Status",
|
|
22864
|
+
"type": "string"
|
|
22865
|
+
}
|
|
22866
|
+
},
|
|
22867
|
+
"required": [
|
|
22868
|
+
"id",
|
|
22869
|
+
"display_name",
|
|
22870
|
+
"provider",
|
|
22871
|
+
"capabilities",
|
|
22872
|
+
"input_media",
|
|
22873
|
+
"context_window_tokens",
|
|
22874
|
+
"max_output_tokens",
|
|
22875
|
+
"reasoning_levels",
|
|
22876
|
+
"settings",
|
|
22877
|
+
"limits",
|
|
22878
|
+
"prices",
|
|
22879
|
+
"status"
|
|
22880
|
+
],
|
|
22881
|
+
"title": "ModelEntry",
|
|
22882
|
+
"type": "object"
|
|
22883
|
+
},
|
|
22884
|
+
"ModelPrice": {
|
|
22885
|
+
"additionalProperties": false,
|
|
22886
|
+
"description": "One of the model's rates: the row ``zo.billing.list_rates`` returns for it.",
|
|
22887
|
+
"properties": {
|
|
22888
|
+
"rate_key": {
|
|
22889
|
+
"description": "The rate's key in zo.billing.list_rates.",
|
|
22890
|
+
"title": "Rate Key",
|
|
22891
|
+
"type": "string"
|
|
22892
|
+
},
|
|
22893
|
+
"meter": {
|
|
22894
|
+
"description": "The usage meter the rate prices, as zo.billing.list_rates names it.",
|
|
22895
|
+
"title": "Meter",
|
|
22896
|
+
"type": "string"
|
|
22897
|
+
},
|
|
22898
|
+
"unit": {
|
|
22899
|
+
"description": "What one billed unit is. input, output, cache_read and cache_write are tokens: the usage fields input_tokens, output_tokens, cache_read_tokens and cache_write_tokens. request is one generated output, such as an image or a video.",
|
|
22900
|
+
"enum": [
|
|
22901
|
+
"input",
|
|
22902
|
+
"output",
|
|
22903
|
+
"cache_read",
|
|
22904
|
+
"cache_write",
|
|
22905
|
+
"request",
|
|
22906
|
+
"character",
|
|
22907
|
+
"millisecond",
|
|
22908
|
+
"audio_minute",
|
|
22909
|
+
"megapixel",
|
|
22910
|
+
"video_second"
|
|
22911
|
+
],
|
|
22912
|
+
"title": "Unit",
|
|
22913
|
+
"type": "string"
|
|
22914
|
+
},
|
|
22915
|
+
"usd": {
|
|
22916
|
+
"description": "The workspace's current price for per units, as a decimal string.",
|
|
22917
|
+
"maxLength": 200,
|
|
22918
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
22919
|
+
"title": "Usd",
|
|
22920
|
+
"type": "string"
|
|
22921
|
+
},
|
|
22922
|
+
"per": {
|
|
22923
|
+
"description": "How many units usd is for: 1000000 for tokens.",
|
|
22924
|
+
"maxLength": 200,
|
|
22925
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
22926
|
+
"title": "Per",
|
|
22927
|
+
"type": "string"
|
|
22928
|
+
},
|
|
22929
|
+
"conditions": {
|
|
22930
|
+
"$ref": "#/$defs/RateConditions",
|
|
22931
|
+
"description": "When the rate applies, as zo.billing.list_rates gives it: input-token tiers for text models; operation, selector, resolution, quality, duration and quantity bounds for media models."
|
|
21097
22932
|
}
|
|
21098
22933
|
},
|
|
21099
22934
|
"required": [
|
|
21100
|
-
"
|
|
21101
|
-
"
|
|
21102
|
-
"
|
|
22935
|
+
"rate_key",
|
|
22936
|
+
"meter",
|
|
22937
|
+
"unit",
|
|
22938
|
+
"usd",
|
|
22939
|
+
"per",
|
|
22940
|
+
"conditions"
|
|
21103
22941
|
],
|
|
21104
|
-
"title": "
|
|
22942
|
+
"title": "ModelPrice",
|
|
21105
22943
|
"type": "object"
|
|
21106
22944
|
},
|
|
21107
|
-
"
|
|
22945
|
+
"ModelSetting": {
|
|
21108
22946
|
"additionalProperties": false,
|
|
22947
|
+
"description": "One setting the model accepts and the values it allows.",
|
|
21109
22948
|
"properties": {
|
|
21110
|
-
"
|
|
21111
|
-
"
|
|
21112
|
-
"title": "
|
|
22949
|
+
"name": {
|
|
22950
|
+
"description": "The input field, such as temperature or reasoning.",
|
|
22951
|
+
"title": "Name",
|
|
21113
22952
|
"type": "string"
|
|
21114
22953
|
},
|
|
21115
|
-
"
|
|
21116
|
-
"
|
|
21117
|
-
|
|
21118
|
-
|
|
21119
|
-
|
|
22954
|
+
"minimum": {
|
|
22955
|
+
"anyOf": [
|
|
22956
|
+
{
|
|
22957
|
+
"type": "string"
|
|
22958
|
+
},
|
|
22959
|
+
{
|
|
22960
|
+
"type": "null"
|
|
22961
|
+
}
|
|
22962
|
+
],
|
|
22963
|
+
"description": "The smallest allowed value, as a decimal string.",
|
|
22964
|
+
"title": "Minimum"
|
|
22965
|
+
},
|
|
22966
|
+
"maximum": {
|
|
22967
|
+
"anyOf": [
|
|
22968
|
+
{
|
|
22969
|
+
"type": "string"
|
|
22970
|
+
},
|
|
22971
|
+
{
|
|
22972
|
+
"type": "null"
|
|
22973
|
+
}
|
|
22974
|
+
],
|
|
22975
|
+
"description": "The largest allowed value, as a decimal string.",
|
|
22976
|
+
"title": "Maximum"
|
|
22977
|
+
},
|
|
22978
|
+
"max_items": {
|
|
22979
|
+
"anyOf": [
|
|
22980
|
+
{
|
|
22981
|
+
"type": "integer"
|
|
22982
|
+
},
|
|
22983
|
+
{
|
|
22984
|
+
"type": "null"
|
|
22985
|
+
}
|
|
22986
|
+
],
|
|
22987
|
+
"description": "The most items a list setting takes.",
|
|
22988
|
+
"title": "Max Items"
|
|
22989
|
+
},
|
|
22990
|
+
"values": {
|
|
22991
|
+
"anyOf": [
|
|
22992
|
+
{
|
|
22993
|
+
"items": {
|
|
22994
|
+
"type": "string"
|
|
22995
|
+
},
|
|
22996
|
+
"type": "array"
|
|
22997
|
+
},
|
|
22998
|
+
{
|
|
22999
|
+
"type": "null"
|
|
23000
|
+
}
|
|
23001
|
+
],
|
|
23002
|
+
"description": "The allowed values of a string setting.",
|
|
23003
|
+
"title": "Values"
|
|
21120
23004
|
}
|
|
21121
23005
|
},
|
|
21122
23006
|
"required": [
|
|
21123
|
-
"
|
|
21124
|
-
"
|
|
23007
|
+
"name",
|
|
23008
|
+
"minimum",
|
|
23009
|
+
"maximum",
|
|
23010
|
+
"max_items",
|
|
23011
|
+
"values"
|
|
21125
23012
|
],
|
|
21126
|
-
"title": "
|
|
23013
|
+
"title": "ModelSetting",
|
|
21127
23014
|
"type": "object"
|
|
23015
|
+
},
|
|
23016
|
+
"RateConditions": {
|
|
23017
|
+
"additionalProperties": false,
|
|
23018
|
+
"properties": {
|
|
23019
|
+
"request_input_tokens_min": {
|
|
23020
|
+
"anyOf": [
|
|
23021
|
+
{
|
|
23022
|
+
"minimum": 0,
|
|
23023
|
+
"type": "integer"
|
|
23024
|
+
},
|
|
23025
|
+
{
|
|
23026
|
+
"type": "null"
|
|
23027
|
+
}
|
|
23028
|
+
],
|
|
23029
|
+
"default": null,
|
|
23030
|
+
"description": "Inclusive request-size lower bound.",
|
|
23031
|
+
"title": "Request Input Tokens Min"
|
|
23032
|
+
},
|
|
23033
|
+
"request_input_tokens_max": {
|
|
23034
|
+
"anyOf": [
|
|
23035
|
+
{
|
|
23036
|
+
"minimum": 0,
|
|
23037
|
+
"type": "integer"
|
|
23038
|
+
},
|
|
23039
|
+
{
|
|
23040
|
+
"type": "null"
|
|
23041
|
+
}
|
|
23042
|
+
],
|
|
23043
|
+
"default": null,
|
|
23044
|
+
"description": "Exclusive request-size upper bound.",
|
|
23045
|
+
"title": "Request Input Tokens Max"
|
|
23046
|
+
},
|
|
23047
|
+
"whole_request": {
|
|
23048
|
+
"default": true,
|
|
23049
|
+
"description": "The matching tier prices the whole request.",
|
|
23050
|
+
"title": "Whole Request",
|
|
23051
|
+
"type": "boolean"
|
|
23052
|
+
},
|
|
23053
|
+
"operation": {
|
|
23054
|
+
"anyOf": [
|
|
23055
|
+
{
|
|
23056
|
+
"type": "string"
|
|
23057
|
+
},
|
|
23058
|
+
{
|
|
23059
|
+
"type": "null"
|
|
23060
|
+
}
|
|
23061
|
+
],
|
|
23062
|
+
"default": null,
|
|
23063
|
+
"title": "Operation"
|
|
23064
|
+
},
|
|
23065
|
+
"resolution": {
|
|
23066
|
+
"anyOf": [
|
|
23067
|
+
{
|
|
23068
|
+
"type": "string"
|
|
23069
|
+
},
|
|
23070
|
+
{
|
|
23071
|
+
"type": "null"
|
|
23072
|
+
}
|
|
23073
|
+
],
|
|
23074
|
+
"default": null,
|
|
23075
|
+
"title": "Resolution"
|
|
23076
|
+
},
|
|
23077
|
+
"quality": {
|
|
23078
|
+
"anyOf": [
|
|
23079
|
+
{
|
|
23080
|
+
"type": "string"
|
|
23081
|
+
},
|
|
23082
|
+
{
|
|
23083
|
+
"type": "null"
|
|
23084
|
+
}
|
|
23085
|
+
],
|
|
23086
|
+
"default": null,
|
|
23087
|
+
"title": "Quality"
|
|
23088
|
+
},
|
|
23089
|
+
"duration_seconds": {
|
|
23090
|
+
"anyOf": [
|
|
23091
|
+
{
|
|
23092
|
+
"maxLength": 200,
|
|
23093
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
23094
|
+
"type": "string"
|
|
23095
|
+
},
|
|
23096
|
+
{
|
|
23097
|
+
"type": "null"
|
|
23098
|
+
}
|
|
23099
|
+
],
|
|
23100
|
+
"default": null,
|
|
23101
|
+
"title": "Duration Seconds"
|
|
23102
|
+
},
|
|
23103
|
+
"quantity_min": {
|
|
23104
|
+
"anyOf": [
|
|
23105
|
+
{
|
|
23106
|
+
"maxLength": 200,
|
|
23107
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
23108
|
+
"type": "string"
|
|
23109
|
+
},
|
|
23110
|
+
{
|
|
23111
|
+
"type": "null"
|
|
23112
|
+
}
|
|
23113
|
+
],
|
|
23114
|
+
"default": null,
|
|
23115
|
+
"title": "Quantity Min"
|
|
23116
|
+
},
|
|
23117
|
+
"quantity_max": {
|
|
23118
|
+
"anyOf": [
|
|
23119
|
+
{
|
|
23120
|
+
"maxLength": 200,
|
|
23121
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
23122
|
+
"type": "string"
|
|
23123
|
+
},
|
|
23124
|
+
{
|
|
23125
|
+
"type": "null"
|
|
23126
|
+
}
|
|
23127
|
+
],
|
|
23128
|
+
"default": null,
|
|
23129
|
+
"title": "Quantity Max"
|
|
23130
|
+
},
|
|
23131
|
+
"included_quantity": {
|
|
23132
|
+
"anyOf": [
|
|
23133
|
+
{
|
|
23134
|
+
"maxLength": 200,
|
|
23135
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
23136
|
+
"type": "string"
|
|
23137
|
+
},
|
|
23138
|
+
{
|
|
23139
|
+
"type": "null"
|
|
23140
|
+
}
|
|
23141
|
+
],
|
|
23142
|
+
"default": null,
|
|
23143
|
+
"title": "Included Quantity"
|
|
23144
|
+
},
|
|
23145
|
+
"default_quantity": {
|
|
23146
|
+
"anyOf": [
|
|
23147
|
+
{
|
|
23148
|
+
"maxLength": 200,
|
|
23149
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
|
|
23150
|
+
"type": "string"
|
|
23151
|
+
},
|
|
23152
|
+
{
|
|
23153
|
+
"type": "null"
|
|
23154
|
+
}
|
|
23155
|
+
],
|
|
23156
|
+
"default": null,
|
|
23157
|
+
"title": "Default Quantity"
|
|
23158
|
+
},
|
|
23159
|
+
"quantity_argument": {
|
|
23160
|
+
"anyOf": [
|
|
23161
|
+
{
|
|
23162
|
+
"type": "string"
|
|
23163
|
+
},
|
|
23164
|
+
{
|
|
23165
|
+
"type": "null"
|
|
23166
|
+
}
|
|
23167
|
+
],
|
|
23168
|
+
"default": null,
|
|
23169
|
+
"title": "Quantity Argument"
|
|
23170
|
+
},
|
|
23171
|
+
"selector": {
|
|
23172
|
+
"additionalProperties": {
|
|
23173
|
+
"x-zo-json-value": true
|
|
23174
|
+
},
|
|
23175
|
+
"title": "Selector",
|
|
23176
|
+
"type": "object"
|
|
23177
|
+
},
|
|
23178
|
+
"rounding": {
|
|
23179
|
+
"default": "none",
|
|
23180
|
+
"enum": [
|
|
23181
|
+
"none",
|
|
23182
|
+
"ceil_step"
|
|
23183
|
+
],
|
|
23184
|
+
"title": "Rounding",
|
|
23185
|
+
"type": "string"
|
|
23186
|
+
}
|
|
23187
|
+
},
|
|
23188
|
+
"title": "RateConditions",
|
|
23189
|
+
"type": "object",
|
|
23190
|
+
"required": []
|
|
21128
23191
|
}
|
|
21129
23192
|
}
|
|
21130
23193
|
},
|
|
21131
23194
|
"target": {
|
|
21132
|
-
"type": "
|
|
21133
|
-
"input_pointer": "/
|
|
23195
|
+
"type": "workspace",
|
|
23196
|
+
"input_pointer": "/workspace_id"
|
|
21134
23197
|
},
|
|
21135
23198
|
"additional_checks": [],
|
|
21136
23199
|
"effect": "read",
|
|
21137
23200
|
"result_kind": "inline",
|
|
21138
23201
|
"error_codes": [
|
|
21139
23202
|
"implementation_unavailable",
|
|
21140
|
-
"
|
|
23203
|
+
"invalid_input",
|
|
23204
|
+
"invalid_cursor"
|
|
21141
23205
|
],
|
|
21142
|
-
"digest": "sha256:
|
|
23206
|
+
"digest": "sha256:33b88b18e759ba942f7bf344798e5f693926666a1bc2947b75b1c1cc6e1a8fbc"
|
|
21143
23207
|
},
|
|
21144
23208
|
{
|
|
21145
23209
|
"name": "zo.oauth_app.create",
|
|
@@ -21227,7 +23291,7 @@
|
|
|
21227
23291
|
}
|
|
21228
23292
|
],
|
|
21229
23293
|
"default": null,
|
|
21230
|
-
"description": "The app's client secret. Zo seals it in the workspace vault and
|
|
23294
|
+
"description": "The app's client secret. Zo seals it in the workspace vault and never returns it. A private app needs one. After an update, every connection on the app uses the new secret from its next refresh.",
|
|
21231
23295
|
"title": "Client Secret"
|
|
21232
23296
|
}
|
|
21233
23297
|
},
|
|
@@ -21336,7 +23400,7 @@
|
|
|
21336
23400
|
"invalid_input",
|
|
21337
23401
|
"resource_not_found"
|
|
21338
23402
|
],
|
|
21339
|
-
"digest": "sha256:
|
|
23403
|
+
"digest": "sha256:d9216f3b7e1c6aa991dfd4572f88a4eff1f97e0bbd08bcaa9b28827d7536a828"
|
|
21340
23404
|
},
|
|
21341
23405
|
{
|
|
21342
23406
|
"name": "zo.oauth_app.delete",
|
|
@@ -21763,7 +23827,7 @@
|
|
|
21763
23827
|
}
|
|
21764
23828
|
],
|
|
21765
23829
|
"default": null,
|
|
21766
|
-
"description": "Omitted: keep the app's current `manager_ref
|
|
23830
|
+
"description": "Omitted: keep the app's current `manager_ref`. It can't contain `client_secret`, `client_secret_id` or `client_secret_env`.",
|
|
21767
23831
|
"title": "Manager Ref"
|
|
21768
23832
|
},
|
|
21769
23833
|
"visibility": {
|
|
@@ -21786,7 +23850,7 @@
|
|
|
21786
23850
|
}
|
|
21787
23851
|
],
|
|
21788
23852
|
"default": null,
|
|
21789
|
-
"description": "The app's client secret. Zo seals it in the workspace vault and
|
|
23853
|
+
"description": "The app's client secret. Zo seals it in the workspace vault and never returns it. A private app needs one. After an update, every connection on the app uses the new secret from its next refresh.",
|
|
21790
23854
|
"title": "Client Secret"
|
|
21791
23855
|
}
|
|
21792
23856
|
},
|
|
@@ -21919,7 +23983,7 @@
|
|
|
21919
23983
|
"conflict",
|
|
21920
23984
|
"resource_not_found"
|
|
21921
23985
|
],
|
|
21922
|
-
"digest": "sha256:
|
|
23986
|
+
"digest": "sha256:4b2d3c01b760b5007430f546a25fc645ad587fcc8aac0aacaf61bfcdab6c3d1f"
|
|
21923
23987
|
},
|
|
21924
23988
|
{
|
|
21925
23989
|
"name": "zo.quota.get",
|
|
@@ -37268,226 +39332,291 @@
|
|
|
37268
39332
|
"title": "Website",
|
|
37269
39333
|
"type": "object",
|
|
37270
39334
|
"$defs": {
|
|
37271
|
-
"
|
|
39335
|
+
"WebsiteDnsRecord": {
|
|
39336
|
+
"additionalProperties": false,
|
|
39337
|
+
"properties": {
|
|
39338
|
+
"type": {
|
|
39339
|
+
"enum": [
|
|
39340
|
+
"CNAME",
|
|
39341
|
+
"TXT"
|
|
39342
|
+
],
|
|
39343
|
+
"title": "Type",
|
|
39344
|
+
"type": "string"
|
|
39345
|
+
},
|
|
39346
|
+
"name": {
|
|
39347
|
+
"title": "Name",
|
|
39348
|
+
"type": "string"
|
|
39349
|
+
},
|
|
39350
|
+
"value": {
|
|
39351
|
+
"title": "Value",
|
|
39352
|
+
"type": "string"
|
|
39353
|
+
}
|
|
39354
|
+
},
|
|
39355
|
+
"required": [
|
|
39356
|
+
"type",
|
|
39357
|
+
"name",
|
|
39358
|
+
"value"
|
|
39359
|
+
],
|
|
39360
|
+
"title": "WebsiteDnsRecord",
|
|
39361
|
+
"type": "object"
|
|
39362
|
+
},
|
|
39363
|
+
"WebsiteHostname": {
|
|
39364
|
+
"additionalProperties": false,
|
|
39365
|
+
"properties": {
|
|
39366
|
+
"hostname": {
|
|
39367
|
+
"title": "Hostname",
|
|
39368
|
+
"type": "string"
|
|
39369
|
+
},
|
|
39370
|
+
"state": {
|
|
39371
|
+
"enum": [
|
|
39372
|
+
"pending_dns",
|
|
39373
|
+
"pending_ssl",
|
|
39374
|
+
"active",
|
|
39375
|
+
"released"
|
|
39376
|
+
],
|
|
39377
|
+
"title": "State",
|
|
39378
|
+
"type": "string"
|
|
39379
|
+
},
|
|
39380
|
+
"dns_records": {
|
|
39381
|
+
"description": "The records to keep at your DNS provider: a CNAME that routes the hostname to Zo, and a TXT record whose value is unique to this claim and proves you control the hostname.",
|
|
39382
|
+
"items": {
|
|
39383
|
+
"$ref": "#/$defs/WebsiteDnsRecord"
|
|
39384
|
+
},
|
|
39385
|
+
"title": "Dns Records",
|
|
39386
|
+
"type": "array"
|
|
39387
|
+
}
|
|
39388
|
+
},
|
|
39389
|
+
"required": [
|
|
39390
|
+
"hostname",
|
|
39391
|
+
"state",
|
|
39392
|
+
"dns_records"
|
|
39393
|
+
],
|
|
39394
|
+
"title": "WebsiteHostname",
|
|
39395
|
+
"type": "object"
|
|
39396
|
+
}
|
|
39397
|
+
}
|
|
39398
|
+
},
|
|
39399
|
+
"target": {
|
|
39400
|
+
"type": "workspace",
|
|
39401
|
+
"input_pointer": "/workspace_id"
|
|
39402
|
+
},
|
|
39403
|
+
"additional_checks": [],
|
|
39404
|
+
"effect": "create",
|
|
39405
|
+
"result_kind": "inline",
|
|
39406
|
+
"error_codes": [
|
|
39407
|
+
"implementation_unavailable",
|
|
39408
|
+
"invalid_input",
|
|
39409
|
+
"conflict"
|
|
39410
|
+
],
|
|
39411
|
+
"digest": "sha256:1a383ed93cdc7acb59c8937a36be01157a90dba7923afc6ffc8304a5080475f2"
|
|
39412
|
+
},
|
|
39413
|
+
{
|
|
39414
|
+
"name": "zo.website.delete",
|
|
39415
|
+
"version": 1,
|
|
39416
|
+
"publisher": "zo",
|
|
39417
|
+
"description": "Delete a Website and retire its routes.",
|
|
39418
|
+
"input_schema": {
|
|
39419
|
+
"additionalProperties": false,
|
|
39420
|
+
"properties": {
|
|
39421
|
+
"website_id": {
|
|
39422
|
+
"maxLength": 200,
|
|
39423
|
+
"minLength": 1,
|
|
39424
|
+
"title": "Website Id",
|
|
39425
|
+
"type": "string"
|
|
39426
|
+
},
|
|
39427
|
+
"expected_revision": {
|
|
39428
|
+
"exclusiveMinimum": 0,
|
|
39429
|
+
"maximum": 9007199254740991,
|
|
39430
|
+
"title": "Expected Revision",
|
|
39431
|
+
"type": "integer"
|
|
39432
|
+
}
|
|
39433
|
+
},
|
|
39434
|
+
"required": [
|
|
39435
|
+
"website_id",
|
|
39436
|
+
"expected_revision"
|
|
39437
|
+
],
|
|
39438
|
+
"title": "WebsiteRevisionInput",
|
|
39439
|
+
"type": "object"
|
|
39440
|
+
},
|
|
39441
|
+
"output_schema": {
|
|
39442
|
+
"additionalProperties": false,
|
|
39443
|
+
"properties": {
|
|
39444
|
+
"id": {
|
|
39445
|
+
"title": "Id",
|
|
39446
|
+
"type": "string"
|
|
39447
|
+
},
|
|
39448
|
+
"deleted": {
|
|
39449
|
+
"const": true,
|
|
39450
|
+
"title": "Deleted",
|
|
39451
|
+
"type": "boolean"
|
|
39452
|
+
}
|
|
39453
|
+
},
|
|
39454
|
+
"required": [
|
|
39455
|
+
"id",
|
|
39456
|
+
"deleted"
|
|
39457
|
+
],
|
|
39458
|
+
"title": "Deleted",
|
|
39459
|
+
"type": "object"
|
|
39460
|
+
},
|
|
39461
|
+
"target": {
|
|
39462
|
+
"type": "website",
|
|
39463
|
+
"input_pointer": "/website_id"
|
|
39464
|
+
},
|
|
39465
|
+
"additional_checks": [],
|
|
39466
|
+
"effect": "manage",
|
|
39467
|
+
"result_kind": "inline",
|
|
39468
|
+
"error_codes": [
|
|
39469
|
+
"implementation_unavailable",
|
|
39470
|
+
"conflict"
|
|
39471
|
+
],
|
|
39472
|
+
"digest": "sha256:2db56e54e0b5566279d44af943774876d9996d525a3dab2b7af47389167ec896"
|
|
39473
|
+
},
|
|
39474
|
+
{
|
|
39475
|
+
"name": "zo.website.get",
|
|
39476
|
+
"version": 1,
|
|
39477
|
+
"publisher": "zo",
|
|
39478
|
+
"description": "Read a Website and its hostname.",
|
|
39479
|
+
"input_schema": {
|
|
39480
|
+
"additionalProperties": false,
|
|
39481
|
+
"properties": {
|
|
39482
|
+
"website_id": {
|
|
39483
|
+
"maxLength": 200,
|
|
39484
|
+
"minLength": 1,
|
|
39485
|
+
"title": "Website Id",
|
|
39486
|
+
"type": "string"
|
|
39487
|
+
}
|
|
39488
|
+
},
|
|
39489
|
+
"required": [
|
|
39490
|
+
"website_id"
|
|
39491
|
+
],
|
|
39492
|
+
"title": "WebsiteGetInput",
|
|
39493
|
+
"type": "object"
|
|
39494
|
+
},
|
|
39495
|
+
"output_schema": {
|
|
39496
|
+
"additionalProperties": false,
|
|
39497
|
+
"properties": {
|
|
39498
|
+
"id": {
|
|
39499
|
+
"title": "Id",
|
|
39500
|
+
"type": "string"
|
|
39501
|
+
},
|
|
39502
|
+
"workspace_id": {
|
|
39503
|
+
"title": "Workspace Id",
|
|
39504
|
+
"type": "string"
|
|
39505
|
+
},
|
|
39506
|
+
"slug": {
|
|
39507
|
+
"title": "Slug",
|
|
39508
|
+
"type": "string"
|
|
39509
|
+
},
|
|
39510
|
+
"display_name": {
|
|
39511
|
+
"title": "Display Name",
|
|
39512
|
+
"type": "string"
|
|
39513
|
+
},
|
|
39514
|
+
"description": {
|
|
39515
|
+
"title": "Description",
|
|
39516
|
+
"type": "string"
|
|
39517
|
+
},
|
|
39518
|
+
"generated_hostname": {
|
|
39519
|
+
"title": "Generated Hostname",
|
|
39520
|
+
"type": "string"
|
|
39521
|
+
},
|
|
39522
|
+
"custom_hostname": {
|
|
39523
|
+
"anyOf": [
|
|
39524
|
+
{
|
|
39525
|
+
"$ref": "#/$defs/WebsiteHostname"
|
|
39526
|
+
},
|
|
39527
|
+
{
|
|
39528
|
+
"type": "null"
|
|
39529
|
+
}
|
|
39530
|
+
]
|
|
39531
|
+
},
|
|
39532
|
+
"access": {
|
|
39533
|
+
"enum": [
|
|
39534
|
+
"public",
|
|
39535
|
+
"authenticated"
|
|
39536
|
+
],
|
|
39537
|
+
"title": "Access",
|
|
39538
|
+
"type": "string"
|
|
39539
|
+
},
|
|
39540
|
+
"revision": {
|
|
39541
|
+
"exclusiveMinimum": 0,
|
|
39542
|
+
"maximum": 9007199254740991,
|
|
39543
|
+
"title": "Revision",
|
|
39544
|
+
"type": "integer"
|
|
39545
|
+
},
|
|
39546
|
+
"visibility": {
|
|
39547
|
+
"enum": [
|
|
39548
|
+
"workspace",
|
|
39549
|
+
"protected"
|
|
39550
|
+
],
|
|
39551
|
+
"title": "Visibility",
|
|
39552
|
+
"type": "string"
|
|
39553
|
+
},
|
|
39554
|
+
"owner_user_id": {
|
|
39555
|
+
"anyOf": [
|
|
39556
|
+
{
|
|
39557
|
+
"type": "string"
|
|
39558
|
+
},
|
|
39559
|
+
{
|
|
39560
|
+
"type": "null"
|
|
39561
|
+
}
|
|
39562
|
+
],
|
|
39563
|
+
"title": "Owner User Id"
|
|
39564
|
+
},
|
|
39565
|
+
"created_at": {
|
|
39566
|
+
"title": "Created At",
|
|
39567
|
+
"type": "string"
|
|
39568
|
+
},
|
|
39569
|
+
"updated_at": {
|
|
39570
|
+
"title": "Updated At",
|
|
39571
|
+
"type": "string"
|
|
39572
|
+
}
|
|
39573
|
+
},
|
|
39574
|
+
"required": [
|
|
39575
|
+
"id",
|
|
39576
|
+
"workspace_id",
|
|
39577
|
+
"slug",
|
|
39578
|
+
"display_name",
|
|
39579
|
+
"description",
|
|
39580
|
+
"generated_hostname",
|
|
39581
|
+
"custom_hostname",
|
|
39582
|
+
"access",
|
|
39583
|
+
"revision",
|
|
39584
|
+
"visibility",
|
|
39585
|
+
"owner_user_id",
|
|
39586
|
+
"created_at",
|
|
39587
|
+
"updated_at"
|
|
39588
|
+
],
|
|
39589
|
+
"title": "Website",
|
|
39590
|
+
"type": "object",
|
|
39591
|
+
"$defs": {
|
|
39592
|
+
"WebsiteDnsRecord": {
|
|
37272
39593
|
"additionalProperties": false,
|
|
37273
39594
|
"properties": {
|
|
37274
|
-
"
|
|
37275
|
-
"title": "Hostname",
|
|
37276
|
-
"type": "string"
|
|
37277
|
-
},
|
|
37278
|
-
"state": {
|
|
39595
|
+
"type": {
|
|
37279
39596
|
"enum": [
|
|
37280
|
-
"
|
|
37281
|
-
"
|
|
37282
|
-
"active",
|
|
37283
|
-
"released"
|
|
39597
|
+
"CNAME",
|
|
39598
|
+
"TXT"
|
|
37284
39599
|
],
|
|
37285
|
-
"title": "
|
|
39600
|
+
"title": "Type",
|
|
37286
39601
|
"type": "string"
|
|
37287
|
-
}
|
|
37288
|
-
},
|
|
37289
|
-
"required": [
|
|
37290
|
-
"hostname",
|
|
37291
|
-
"state"
|
|
37292
|
-
],
|
|
37293
|
-
"title": "WebsiteHostname",
|
|
37294
|
-
"type": "object"
|
|
37295
|
-
}
|
|
37296
|
-
}
|
|
37297
|
-
},
|
|
37298
|
-
"target": {
|
|
37299
|
-
"type": "workspace",
|
|
37300
|
-
"input_pointer": "/workspace_id"
|
|
37301
|
-
},
|
|
37302
|
-
"additional_checks": [],
|
|
37303
|
-
"effect": "create",
|
|
37304
|
-
"result_kind": "inline",
|
|
37305
|
-
"error_codes": [
|
|
37306
|
-
"implementation_unavailable",
|
|
37307
|
-
"invalid_input",
|
|
37308
|
-
"conflict"
|
|
37309
|
-
],
|
|
37310
|
-
"digest": "sha256:8c7b48e80e39d01eb6fa121ba0a2688deba2f2ba7396dee8e3f583d7f6c884ff"
|
|
37311
|
-
},
|
|
37312
|
-
{
|
|
37313
|
-
"name": "zo.website.delete",
|
|
37314
|
-
"version": 1,
|
|
37315
|
-
"publisher": "zo",
|
|
37316
|
-
"description": "Delete a Website and retire its routes.",
|
|
37317
|
-
"input_schema": {
|
|
37318
|
-
"additionalProperties": false,
|
|
37319
|
-
"properties": {
|
|
37320
|
-
"website_id": {
|
|
37321
|
-
"maxLength": 200,
|
|
37322
|
-
"minLength": 1,
|
|
37323
|
-
"title": "Website Id",
|
|
37324
|
-
"type": "string"
|
|
37325
|
-
},
|
|
37326
|
-
"expected_revision": {
|
|
37327
|
-
"exclusiveMinimum": 0,
|
|
37328
|
-
"maximum": 9007199254740991,
|
|
37329
|
-
"title": "Expected Revision",
|
|
37330
|
-
"type": "integer"
|
|
37331
|
-
}
|
|
37332
|
-
},
|
|
37333
|
-
"required": [
|
|
37334
|
-
"website_id",
|
|
37335
|
-
"expected_revision"
|
|
37336
|
-
],
|
|
37337
|
-
"title": "WebsiteRevisionInput",
|
|
37338
|
-
"type": "object"
|
|
37339
|
-
},
|
|
37340
|
-
"output_schema": {
|
|
37341
|
-
"additionalProperties": false,
|
|
37342
|
-
"properties": {
|
|
37343
|
-
"id": {
|
|
37344
|
-
"title": "Id",
|
|
37345
|
-
"type": "string"
|
|
37346
|
-
},
|
|
37347
|
-
"deleted": {
|
|
37348
|
-
"const": true,
|
|
37349
|
-
"title": "Deleted",
|
|
37350
|
-
"type": "boolean"
|
|
37351
|
-
}
|
|
37352
|
-
},
|
|
37353
|
-
"required": [
|
|
37354
|
-
"id",
|
|
37355
|
-
"deleted"
|
|
37356
|
-
],
|
|
37357
|
-
"title": "Deleted",
|
|
37358
|
-
"type": "object"
|
|
37359
|
-
},
|
|
37360
|
-
"target": {
|
|
37361
|
-
"type": "website",
|
|
37362
|
-
"input_pointer": "/website_id"
|
|
37363
|
-
},
|
|
37364
|
-
"additional_checks": [],
|
|
37365
|
-
"effect": "manage",
|
|
37366
|
-
"result_kind": "inline",
|
|
37367
|
-
"error_codes": [
|
|
37368
|
-
"implementation_unavailable",
|
|
37369
|
-
"conflict"
|
|
37370
|
-
],
|
|
37371
|
-
"digest": "sha256:2db56e54e0b5566279d44af943774876d9996d525a3dab2b7af47389167ec896"
|
|
37372
|
-
},
|
|
37373
|
-
{
|
|
37374
|
-
"name": "zo.website.get",
|
|
37375
|
-
"version": 1,
|
|
37376
|
-
"publisher": "zo",
|
|
37377
|
-
"description": "Read a Website and its hostname.",
|
|
37378
|
-
"input_schema": {
|
|
37379
|
-
"additionalProperties": false,
|
|
37380
|
-
"properties": {
|
|
37381
|
-
"website_id": {
|
|
37382
|
-
"maxLength": 200,
|
|
37383
|
-
"minLength": 1,
|
|
37384
|
-
"title": "Website Id",
|
|
37385
|
-
"type": "string"
|
|
37386
|
-
}
|
|
37387
|
-
},
|
|
37388
|
-
"required": [
|
|
37389
|
-
"website_id"
|
|
37390
|
-
],
|
|
37391
|
-
"title": "WebsiteGetInput",
|
|
37392
|
-
"type": "object"
|
|
37393
|
-
},
|
|
37394
|
-
"output_schema": {
|
|
37395
|
-
"additionalProperties": false,
|
|
37396
|
-
"properties": {
|
|
37397
|
-
"id": {
|
|
37398
|
-
"title": "Id",
|
|
37399
|
-
"type": "string"
|
|
37400
|
-
},
|
|
37401
|
-
"workspace_id": {
|
|
37402
|
-
"title": "Workspace Id",
|
|
37403
|
-
"type": "string"
|
|
37404
|
-
},
|
|
37405
|
-
"slug": {
|
|
37406
|
-
"title": "Slug",
|
|
37407
|
-
"type": "string"
|
|
37408
|
-
},
|
|
37409
|
-
"display_name": {
|
|
37410
|
-
"title": "Display Name",
|
|
37411
|
-
"type": "string"
|
|
37412
|
-
},
|
|
37413
|
-
"description": {
|
|
37414
|
-
"title": "Description",
|
|
37415
|
-
"type": "string"
|
|
37416
|
-
},
|
|
37417
|
-
"generated_hostname": {
|
|
37418
|
-
"title": "Generated Hostname",
|
|
37419
|
-
"type": "string"
|
|
37420
|
-
},
|
|
37421
|
-
"custom_hostname": {
|
|
37422
|
-
"anyOf": [
|
|
37423
|
-
{
|
|
37424
|
-
"$ref": "#/$defs/WebsiteHostname"
|
|
37425
39602
|
},
|
|
37426
|
-
{
|
|
37427
|
-
"
|
|
37428
|
-
}
|
|
37429
|
-
]
|
|
37430
|
-
},
|
|
37431
|
-
"access": {
|
|
37432
|
-
"enum": [
|
|
37433
|
-
"public",
|
|
37434
|
-
"authenticated"
|
|
37435
|
-
],
|
|
37436
|
-
"title": "Access",
|
|
37437
|
-
"type": "string"
|
|
37438
|
-
},
|
|
37439
|
-
"revision": {
|
|
37440
|
-
"exclusiveMinimum": 0,
|
|
37441
|
-
"maximum": 9007199254740991,
|
|
37442
|
-
"title": "Revision",
|
|
37443
|
-
"type": "integer"
|
|
37444
|
-
},
|
|
37445
|
-
"visibility": {
|
|
37446
|
-
"enum": [
|
|
37447
|
-
"workspace",
|
|
37448
|
-
"protected"
|
|
37449
|
-
],
|
|
37450
|
-
"title": "Visibility",
|
|
37451
|
-
"type": "string"
|
|
37452
|
-
},
|
|
37453
|
-
"owner_user_id": {
|
|
37454
|
-
"anyOf": [
|
|
37455
|
-
{
|
|
39603
|
+
"name": {
|
|
39604
|
+
"title": "Name",
|
|
37456
39605
|
"type": "string"
|
|
37457
39606
|
},
|
|
37458
|
-
{
|
|
37459
|
-
"
|
|
39607
|
+
"value": {
|
|
39608
|
+
"title": "Value",
|
|
39609
|
+
"type": "string"
|
|
37460
39610
|
}
|
|
39611
|
+
},
|
|
39612
|
+
"required": [
|
|
39613
|
+
"type",
|
|
39614
|
+
"name",
|
|
39615
|
+
"value"
|
|
37461
39616
|
],
|
|
37462
|
-
"title": "
|
|
37463
|
-
|
|
37464
|
-
"created_at": {
|
|
37465
|
-
"title": "Created At",
|
|
37466
|
-
"type": "string"
|
|
39617
|
+
"title": "WebsiteDnsRecord",
|
|
39618
|
+
"type": "object"
|
|
37467
39619
|
},
|
|
37468
|
-
"updated_at": {
|
|
37469
|
-
"title": "Updated At",
|
|
37470
|
-
"type": "string"
|
|
37471
|
-
}
|
|
37472
|
-
},
|
|
37473
|
-
"required": [
|
|
37474
|
-
"id",
|
|
37475
|
-
"workspace_id",
|
|
37476
|
-
"slug",
|
|
37477
|
-
"display_name",
|
|
37478
|
-
"description",
|
|
37479
|
-
"generated_hostname",
|
|
37480
|
-
"custom_hostname",
|
|
37481
|
-
"access",
|
|
37482
|
-
"revision",
|
|
37483
|
-
"visibility",
|
|
37484
|
-
"owner_user_id",
|
|
37485
|
-
"created_at",
|
|
37486
|
-
"updated_at"
|
|
37487
|
-
],
|
|
37488
|
-
"title": "Website",
|
|
37489
|
-
"type": "object",
|
|
37490
|
-
"$defs": {
|
|
37491
39620
|
"WebsiteHostname": {
|
|
37492
39621
|
"additionalProperties": false,
|
|
37493
39622
|
"properties": {
|
|
@@ -37504,11 +39633,20 @@
|
|
|
37504
39633
|
],
|
|
37505
39634
|
"title": "State",
|
|
37506
39635
|
"type": "string"
|
|
39636
|
+
},
|
|
39637
|
+
"dns_records": {
|
|
39638
|
+
"description": "The records to keep at your DNS provider: a CNAME that routes the hostname to Zo, and a TXT record whose value is unique to this claim and proves you control the hostname.",
|
|
39639
|
+
"items": {
|
|
39640
|
+
"$ref": "#/$defs/WebsiteDnsRecord"
|
|
39641
|
+
},
|
|
39642
|
+
"title": "Dns Records",
|
|
39643
|
+
"type": "array"
|
|
37507
39644
|
}
|
|
37508
39645
|
},
|
|
37509
39646
|
"required": [
|
|
37510
39647
|
"hostname",
|
|
37511
|
-
"state"
|
|
39648
|
+
"state",
|
|
39649
|
+
"dns_records"
|
|
37512
39650
|
],
|
|
37513
39651
|
"title": "WebsiteHostname",
|
|
37514
39652
|
"type": "object"
|
|
@@ -37526,7 +39664,7 @@
|
|
|
37526
39664
|
"implementation_unavailable",
|
|
37527
39665
|
"resource_not_found"
|
|
37528
39666
|
],
|
|
37529
|
-
"digest": "sha256:
|
|
39667
|
+
"digest": "sha256:2ecc0a4426f4cb62d99e7953c7cc2905417f1a97996ed79ad8b2fa5e539aea9c"
|
|
37530
39668
|
},
|
|
37531
39669
|
{
|
|
37532
39670
|
"name": "zo.website.list",
|
|
@@ -37694,6 +39832,34 @@
|
|
|
37694
39832
|
"title": "MachineRouteConfig",
|
|
37695
39833
|
"type": "object"
|
|
37696
39834
|
},
|
|
39835
|
+
"WebsiteDnsRecord": {
|
|
39836
|
+
"additionalProperties": false,
|
|
39837
|
+
"properties": {
|
|
39838
|
+
"type": {
|
|
39839
|
+
"enum": [
|
|
39840
|
+
"CNAME",
|
|
39841
|
+
"TXT"
|
|
39842
|
+
],
|
|
39843
|
+
"title": "Type",
|
|
39844
|
+
"type": "string"
|
|
39845
|
+
},
|
|
39846
|
+
"name": {
|
|
39847
|
+
"title": "Name",
|
|
39848
|
+
"type": "string"
|
|
39849
|
+
},
|
|
39850
|
+
"value": {
|
|
39851
|
+
"title": "Value",
|
|
39852
|
+
"type": "string"
|
|
39853
|
+
}
|
|
39854
|
+
},
|
|
39855
|
+
"required": [
|
|
39856
|
+
"type",
|
|
39857
|
+
"name",
|
|
39858
|
+
"value"
|
|
39859
|
+
],
|
|
39860
|
+
"title": "WebsiteDnsRecord",
|
|
39861
|
+
"type": "object"
|
|
39862
|
+
},
|
|
37697
39863
|
"WebsiteHostname": {
|
|
37698
39864
|
"additionalProperties": false,
|
|
37699
39865
|
"properties": {
|
|
@@ -37710,11 +39876,20 @@
|
|
|
37710
39876
|
],
|
|
37711
39877
|
"title": "State",
|
|
37712
39878
|
"type": "string"
|
|
39879
|
+
},
|
|
39880
|
+
"dns_records": {
|
|
39881
|
+
"description": "The records to keep at your DNS provider: a CNAME that routes the hostname to Zo, and a TXT record whose value is unique to this claim and proves you control the hostname.",
|
|
39882
|
+
"items": {
|
|
39883
|
+
"$ref": "#/$defs/WebsiteDnsRecord"
|
|
39884
|
+
},
|
|
39885
|
+
"title": "Dns Records",
|
|
39886
|
+
"type": "array"
|
|
37713
39887
|
}
|
|
37714
39888
|
},
|
|
37715
39889
|
"required": [
|
|
37716
39890
|
"hostname",
|
|
37717
|
-
"state"
|
|
39891
|
+
"state",
|
|
39892
|
+
"dns_records"
|
|
37718
39893
|
],
|
|
37719
39894
|
"title": "WebsiteHostname",
|
|
37720
39895
|
"type": "object"
|
|
@@ -37927,7 +40102,7 @@
|
|
|
37927
40102
|
"implementation_unavailable",
|
|
37928
40103
|
"invalid_input"
|
|
37929
40104
|
],
|
|
37930
|
-
"digest": "sha256:
|
|
40105
|
+
"digest": "sha256:a4c5d48b532bc4a9323278889bc14679b58e50f189225e2b191408b16cf0e5b2"
|
|
37931
40106
|
},
|
|
37932
40107
|
{
|
|
37933
40108
|
"name": "zo.website.update",
|
|
@@ -38134,6 +40309,34 @@
|
|
|
38134
40309
|
"title": "Website",
|
|
38135
40310
|
"type": "object",
|
|
38136
40311
|
"$defs": {
|
|
40312
|
+
"WebsiteDnsRecord": {
|
|
40313
|
+
"additionalProperties": false,
|
|
40314
|
+
"properties": {
|
|
40315
|
+
"type": {
|
|
40316
|
+
"enum": [
|
|
40317
|
+
"CNAME",
|
|
40318
|
+
"TXT"
|
|
40319
|
+
],
|
|
40320
|
+
"title": "Type",
|
|
40321
|
+
"type": "string"
|
|
40322
|
+
},
|
|
40323
|
+
"name": {
|
|
40324
|
+
"title": "Name",
|
|
40325
|
+
"type": "string"
|
|
40326
|
+
},
|
|
40327
|
+
"value": {
|
|
40328
|
+
"title": "Value",
|
|
40329
|
+
"type": "string"
|
|
40330
|
+
}
|
|
40331
|
+
},
|
|
40332
|
+
"required": [
|
|
40333
|
+
"type",
|
|
40334
|
+
"name",
|
|
40335
|
+
"value"
|
|
40336
|
+
],
|
|
40337
|
+
"title": "WebsiteDnsRecord",
|
|
40338
|
+
"type": "object"
|
|
40339
|
+
},
|
|
38137
40340
|
"WebsiteHostname": {
|
|
38138
40341
|
"additionalProperties": false,
|
|
38139
40342
|
"properties": {
|
|
@@ -38150,11 +40353,20 @@
|
|
|
38150
40353
|
],
|
|
38151
40354
|
"title": "State",
|
|
38152
40355
|
"type": "string"
|
|
40356
|
+
},
|
|
40357
|
+
"dns_records": {
|
|
40358
|
+
"description": "The records to keep at your DNS provider: a CNAME that routes the hostname to Zo, and a TXT record whose value is unique to this claim and proves you control the hostname.",
|
|
40359
|
+
"items": {
|
|
40360
|
+
"$ref": "#/$defs/WebsiteDnsRecord"
|
|
40361
|
+
},
|
|
40362
|
+
"title": "Dns Records",
|
|
40363
|
+
"type": "array"
|
|
38153
40364
|
}
|
|
38154
40365
|
},
|
|
38155
40366
|
"required": [
|
|
38156
40367
|
"hostname",
|
|
38157
|
-
"state"
|
|
40368
|
+
"state",
|
|
40369
|
+
"dns_records"
|
|
38158
40370
|
],
|
|
38159
40371
|
"title": "WebsiteHostname",
|
|
38160
40372
|
"type": "object"
|
|
@@ -38173,7 +40385,7 @@
|
|
|
38173
40385
|
"invalid_input",
|
|
38174
40386
|
"conflict"
|
|
38175
40387
|
],
|
|
38176
|
-
"digest": "sha256:
|
|
40388
|
+
"digest": "sha256:954824c368536054d6b91ed7131afba47b09abd1e5f9cacfc7a89479f2f37133"
|
|
38177
40389
|
},
|
|
38178
40390
|
{
|
|
38179
40391
|
"name": "zo.website_route.create",
|
|
@@ -40682,6 +42894,7 @@
|
|
|
40682
42894
|
},
|
|
40683
42895
|
"entry_kind": {
|
|
40684
42896
|
"const": "direct",
|
|
42897
|
+
"description": "Always `direct`. Read `trigger` on the run for what started it.",
|
|
40685
42898
|
"title": "Entry Kind",
|
|
40686
42899
|
"type": "string"
|
|
40687
42900
|
},
|
|
@@ -40737,6 +42950,9 @@
|
|
|
40737
42950
|
"result_available": {
|
|
40738
42951
|
"title": "Result Available",
|
|
40739
42952
|
"type": "boolean"
|
|
42953
|
+
},
|
|
42954
|
+
"trigger": {
|
|
42955
|
+
"$ref": "#/$defs/RunTrigger"
|
|
40740
42956
|
}
|
|
40741
42957
|
},
|
|
40742
42958
|
"required": [
|
|
@@ -40753,7 +42969,8 @@
|
|
|
40753
42969
|
"input",
|
|
40754
42970
|
"steps",
|
|
40755
42971
|
"result",
|
|
40756
|
-
"result_available"
|
|
42972
|
+
"result_available",
|
|
42973
|
+
"trigger"
|
|
40757
42974
|
],
|
|
40758
42975
|
"title": "WorkflowRun",
|
|
40759
42976
|
"type": "object",
|
|
@@ -40777,6 +42994,47 @@
|
|
|
40777
42994
|
"title": "Iterations",
|
|
40778
42995
|
"type": "object"
|
|
40779
42996
|
},
|
|
42997
|
+
"RunRef": {
|
|
42998
|
+
"additionalProperties": false,
|
|
42999
|
+
"properties": {
|
|
43000
|
+
"run_id": {
|
|
43001
|
+
"description": "The run that invoked this run.",
|
|
43002
|
+
"title": "Run Id",
|
|
43003
|
+
"type": "string"
|
|
43004
|
+
},
|
|
43005
|
+
"function_id": {
|
|
43006
|
+
"anyOf": [
|
|
43007
|
+
{
|
|
43008
|
+
"type": "string"
|
|
43009
|
+
},
|
|
43010
|
+
{
|
|
43011
|
+
"type": "null"
|
|
43012
|
+
}
|
|
43013
|
+
],
|
|
43014
|
+
"description": "The caller's Function ID, or null for a Workflow run.",
|
|
43015
|
+
"title": "Function Id"
|
|
43016
|
+
},
|
|
43017
|
+
"workflow_id": {
|
|
43018
|
+
"anyOf": [
|
|
43019
|
+
{
|
|
43020
|
+
"type": "string"
|
|
43021
|
+
},
|
|
43022
|
+
{
|
|
43023
|
+
"type": "null"
|
|
43024
|
+
}
|
|
43025
|
+
],
|
|
43026
|
+
"description": "The caller's Workflow ID, or null for a Function run.",
|
|
43027
|
+
"title": "Workflow Id"
|
|
43028
|
+
}
|
|
43029
|
+
},
|
|
43030
|
+
"required": [
|
|
43031
|
+
"run_id",
|
|
43032
|
+
"function_id",
|
|
43033
|
+
"workflow_id"
|
|
43034
|
+
],
|
|
43035
|
+
"title": "RunRef",
|
|
43036
|
+
"type": "object"
|
|
43037
|
+
},
|
|
40780
43038
|
"RunState": {
|
|
40781
43039
|
"enum": [
|
|
40782
43040
|
"queued",
|
|
@@ -40790,6 +43048,93 @@
|
|
|
40790
43048
|
],
|
|
40791
43049
|
"type": "string"
|
|
40792
43050
|
},
|
|
43051
|
+
"RunTrigger": {
|
|
43052
|
+
"additionalProperties": false,
|
|
43053
|
+
"properties": {
|
|
43054
|
+
"kind": {
|
|
43055
|
+
"description": "What started the run.",
|
|
43056
|
+
"enum": [
|
|
43057
|
+
"direct",
|
|
43058
|
+
"http",
|
|
43059
|
+
"event",
|
|
43060
|
+
"workflow_step",
|
|
43061
|
+
"run",
|
|
43062
|
+
"agent"
|
|
43063
|
+
],
|
|
43064
|
+
"title": "Kind",
|
|
43065
|
+
"type": "string"
|
|
43066
|
+
},
|
|
43067
|
+
"subscription_id": {
|
|
43068
|
+
"anyOf": [
|
|
43069
|
+
{
|
|
43070
|
+
"type": "string"
|
|
43071
|
+
},
|
|
43072
|
+
{
|
|
43073
|
+
"type": "null"
|
|
43074
|
+
}
|
|
43075
|
+
],
|
|
43076
|
+
"description": "The event subscription that delivered the run.",
|
|
43077
|
+
"title": "Subscription Id"
|
|
43078
|
+
},
|
|
43079
|
+
"occurrence_id": {
|
|
43080
|
+
"anyOf": [
|
|
43081
|
+
{
|
|
43082
|
+
"type": "string"
|
|
43083
|
+
},
|
|
43084
|
+
{
|
|
43085
|
+
"type": "null"
|
|
43086
|
+
}
|
|
43087
|
+
],
|
|
43088
|
+
"description": "The event occurrence that delivered the run.",
|
|
43089
|
+
"title": "Occurrence Id"
|
|
43090
|
+
},
|
|
43091
|
+
"event_type": {
|
|
43092
|
+
"anyOf": [
|
|
43093
|
+
{
|
|
43094
|
+
"type": "string"
|
|
43095
|
+
},
|
|
43096
|
+
{
|
|
43097
|
+
"type": "null"
|
|
43098
|
+
}
|
|
43099
|
+
],
|
|
43100
|
+
"description": "The delivered event type.",
|
|
43101
|
+
"title": "Event Type"
|
|
43102
|
+
},
|
|
43103
|
+
"caller": {
|
|
43104
|
+
"anyOf": [
|
|
43105
|
+
{
|
|
43106
|
+
"$ref": "#/$defs/RunRef"
|
|
43107
|
+
},
|
|
43108
|
+
{
|
|
43109
|
+
"type": "null"
|
|
43110
|
+
}
|
|
43111
|
+
],
|
|
43112
|
+
"description": "The Function or Workflow run that started this run."
|
|
43113
|
+
},
|
|
43114
|
+
"agent_session_id": {
|
|
43115
|
+
"anyOf": [
|
|
43116
|
+
{
|
|
43117
|
+
"type": "string"
|
|
43118
|
+
},
|
|
43119
|
+
{
|
|
43120
|
+
"type": "null"
|
|
43121
|
+
}
|
|
43122
|
+
],
|
|
43123
|
+
"description": "The Agent session that invoked the run.",
|
|
43124
|
+
"title": "Agent Session Id"
|
|
43125
|
+
}
|
|
43126
|
+
},
|
|
43127
|
+
"required": [
|
|
43128
|
+
"kind",
|
|
43129
|
+
"subscription_id",
|
|
43130
|
+
"occurrence_id",
|
|
43131
|
+
"event_type",
|
|
43132
|
+
"caller",
|
|
43133
|
+
"agent_session_id"
|
|
43134
|
+
],
|
|
43135
|
+
"title": "RunTrigger",
|
|
43136
|
+
"type": "object"
|
|
43137
|
+
},
|
|
40793
43138
|
"StepEntry": {
|
|
40794
43139
|
"additionalProperties": false,
|
|
40795
43140
|
"properties": {
|
|
@@ -40850,15 +43195,195 @@
|
|
|
40850
43195
|
],
|
|
40851
43196
|
"default": null,
|
|
40852
43197
|
"title": "Error Code"
|
|
43198
|
+
},
|
|
43199
|
+
"started_at": {
|
|
43200
|
+
"anyOf": [
|
|
43201
|
+
{
|
|
43202
|
+
"type": "string"
|
|
43203
|
+
},
|
|
43204
|
+
{
|
|
43205
|
+
"type": "null"
|
|
43206
|
+
}
|
|
43207
|
+
],
|
|
43208
|
+
"description": "The first attempt's start time, or null before the step starts.",
|
|
43209
|
+
"title": "Started At"
|
|
43210
|
+
},
|
|
43211
|
+
"finished_at": {
|
|
43212
|
+
"anyOf": [
|
|
43213
|
+
{
|
|
43214
|
+
"type": "string"
|
|
43215
|
+
},
|
|
43216
|
+
{
|
|
43217
|
+
"type": "null"
|
|
43218
|
+
}
|
|
43219
|
+
],
|
|
43220
|
+
"description": "The latest attempt's finish time, or null while the step has not finished.",
|
|
43221
|
+
"title": "Finished At"
|
|
43222
|
+
},
|
|
43223
|
+
"function_id": {
|
|
43224
|
+
"anyOf": [
|
|
43225
|
+
{
|
|
43226
|
+
"type": "string"
|
|
43227
|
+
},
|
|
43228
|
+
{
|
|
43229
|
+
"type": "null"
|
|
43230
|
+
}
|
|
43231
|
+
],
|
|
43232
|
+
"description": "The called Function's ID, or null for wait, Agent, and parallel steps.",
|
|
43233
|
+
"title": "Function Id"
|
|
43234
|
+
},
|
|
43235
|
+
"error_message": {
|
|
43236
|
+
"anyOf": [
|
|
43237
|
+
{
|
|
43238
|
+
"maxLength": 300,
|
|
43239
|
+
"type": "string"
|
|
43240
|
+
},
|
|
43241
|
+
{
|
|
43242
|
+
"type": "null"
|
|
43243
|
+
}
|
|
43244
|
+
],
|
|
43245
|
+
"description": "The child run's error message, or null when it has none.",
|
|
43246
|
+
"title": "Error Message"
|
|
43247
|
+
},
|
|
43248
|
+
"agent_session_id": {
|
|
43249
|
+
"anyOf": [
|
|
43250
|
+
{
|
|
43251
|
+
"type": "string"
|
|
43252
|
+
},
|
|
43253
|
+
{
|
|
43254
|
+
"type": "null"
|
|
43255
|
+
}
|
|
43256
|
+
],
|
|
43257
|
+
"description": "The Agent session that replied, or null when no Agent session replied.",
|
|
43258
|
+
"title": "Agent Session Id"
|
|
43259
|
+
},
|
|
43260
|
+
"skip_reason": {
|
|
43261
|
+
"anyOf": [
|
|
43262
|
+
{
|
|
43263
|
+
"enum": [
|
|
43264
|
+
"condition_false",
|
|
43265
|
+
"parent_skipped"
|
|
43266
|
+
],
|
|
43267
|
+
"type": "string"
|
|
43268
|
+
},
|
|
43269
|
+
{
|
|
43270
|
+
"type": "null"
|
|
43271
|
+
}
|
|
43272
|
+
],
|
|
43273
|
+
"description": "Why the step was skipped, or null when it was not skipped.",
|
|
43274
|
+
"title": "Skip Reason"
|
|
43275
|
+
},
|
|
43276
|
+
"continued": {
|
|
43277
|
+
"description": "Whether the step continued after ending failed, cancelled, or unknown under `on_error: continue`.",
|
|
43278
|
+
"title": "Continued",
|
|
43279
|
+
"type": "boolean"
|
|
43280
|
+
},
|
|
43281
|
+
"failed_iterations": {
|
|
43282
|
+
"anyOf": [
|
|
43283
|
+
{
|
|
43284
|
+
"items": {
|
|
43285
|
+
"$ref": "#/$defs/StepIteration"
|
|
43286
|
+
},
|
|
43287
|
+
"maxItems": 100,
|
|
43288
|
+
"type": "array"
|
|
43289
|
+
},
|
|
43290
|
+
{
|
|
43291
|
+
"type": "null"
|
|
43292
|
+
}
|
|
43293
|
+
],
|
|
43294
|
+
"description": "The first 100 failed, cancelled, or unknown iterations by index; an empty list when a resolved loop has none, and null for every other step.",
|
|
43295
|
+
"title": "Failed Iterations"
|
|
40853
43296
|
}
|
|
40854
43297
|
},
|
|
40855
43298
|
"required": [
|
|
40856
43299
|
"step",
|
|
40857
|
-
"state"
|
|
43300
|
+
"state",
|
|
43301
|
+
"started_at",
|
|
43302
|
+
"finished_at",
|
|
43303
|
+
"function_id",
|
|
43304
|
+
"error_message",
|
|
43305
|
+
"agent_session_id",
|
|
43306
|
+
"skip_reason",
|
|
43307
|
+
"continued",
|
|
43308
|
+
"failed_iterations"
|
|
40858
43309
|
],
|
|
40859
43310
|
"title": "StepEntry",
|
|
40860
43311
|
"type": "object"
|
|
40861
43312
|
},
|
|
43313
|
+
"StepIteration": {
|
|
43314
|
+
"additionalProperties": false,
|
|
43315
|
+
"properties": {
|
|
43316
|
+
"iteration": {
|
|
43317
|
+
"description": "The loop iteration's zero-based index.",
|
|
43318
|
+
"title": "Iteration",
|
|
43319
|
+
"type": "integer"
|
|
43320
|
+
},
|
|
43321
|
+
"state": {
|
|
43322
|
+
"description": "The iteration's final state.",
|
|
43323
|
+
"title": "State",
|
|
43324
|
+
"type": "string"
|
|
43325
|
+
},
|
|
43326
|
+
"run_id": {
|
|
43327
|
+
"anyOf": [
|
|
43328
|
+
{
|
|
43329
|
+
"type": "string"
|
|
43330
|
+
},
|
|
43331
|
+
{
|
|
43332
|
+
"type": "null"
|
|
43333
|
+
}
|
|
43334
|
+
],
|
|
43335
|
+
"description": "The child Function run ID, or null when no Function run started.",
|
|
43336
|
+
"title": "Run Id"
|
|
43337
|
+
},
|
|
43338
|
+
"error_code": {
|
|
43339
|
+
"anyOf": [
|
|
43340
|
+
{
|
|
43341
|
+
"type": "string"
|
|
43342
|
+
},
|
|
43343
|
+
{
|
|
43344
|
+
"type": "null"
|
|
43345
|
+
}
|
|
43346
|
+
],
|
|
43347
|
+
"description": "The iteration's error code, or null when it has none.",
|
|
43348
|
+
"title": "Error Code"
|
|
43349
|
+
},
|
|
43350
|
+
"error_message": {
|
|
43351
|
+
"anyOf": [
|
|
43352
|
+
{
|
|
43353
|
+
"maxLength": 300,
|
|
43354
|
+
"type": "string"
|
|
43355
|
+
},
|
|
43356
|
+
{
|
|
43357
|
+
"type": "null"
|
|
43358
|
+
}
|
|
43359
|
+
],
|
|
43360
|
+
"description": "The child run's error message, or null when it has none.",
|
|
43361
|
+
"title": "Error Message"
|
|
43362
|
+
},
|
|
43363
|
+
"agent_session_id": {
|
|
43364
|
+
"anyOf": [
|
|
43365
|
+
{
|
|
43366
|
+
"type": "string"
|
|
43367
|
+
},
|
|
43368
|
+
{
|
|
43369
|
+
"type": "null"
|
|
43370
|
+
}
|
|
43371
|
+
],
|
|
43372
|
+
"description": "The Agent session that replied, or null when no Agent session replied.",
|
|
43373
|
+
"title": "Agent Session Id"
|
|
43374
|
+
}
|
|
43375
|
+
},
|
|
43376
|
+
"required": [
|
|
43377
|
+
"iteration",
|
|
43378
|
+
"state",
|
|
43379
|
+
"run_id",
|
|
43380
|
+
"error_code",
|
|
43381
|
+
"error_message",
|
|
43382
|
+
"agent_session_id"
|
|
43383
|
+
],
|
|
43384
|
+
"title": "StepIteration",
|
|
43385
|
+
"type": "object"
|
|
43386
|
+
},
|
|
40862
43387
|
"WorkflowRunError": {
|
|
40863
43388
|
"enum": [
|
|
40864
43389
|
"step_failed",
|
|
@@ -40882,7 +43407,7 @@
|
|
|
40882
43407
|
"resource_not_found",
|
|
40883
43408
|
"implementation_unavailable"
|
|
40884
43409
|
],
|
|
40885
|
-
"digest": "sha256:
|
|
43410
|
+
"digest": "sha256:3064b3976db41d34bcabbdc4d709195eb7cb0fa9e5b3dfd7b55cf682e91720ab"
|
|
40886
43411
|
},
|
|
40887
43412
|
{
|
|
40888
43413
|
"name": "zo.workflow.invoke",
|
|
@@ -41231,6 +43756,7 @@
|
|
|
41231
43756
|
},
|
|
41232
43757
|
"entry_kind": {
|
|
41233
43758
|
"const": "direct",
|
|
43759
|
+
"description": "Always `direct`. Read `trigger` on the run for what started it.",
|
|
41234
43760
|
"title": "Entry Kind",
|
|
41235
43761
|
"type": "string"
|
|
41236
43762
|
},
|
|
@@ -41294,7 +43820,7 @@
|
|
|
41294
43820
|
"resource_not_found",
|
|
41295
43821
|
"implementation_unavailable"
|
|
41296
43822
|
],
|
|
41297
|
-
"digest": "sha256:
|
|
43823
|
+
"digest": "sha256:ac1c9dc13fa389ef7a7458da1b2d7a749e7532264aa9f17c14028806fe7be968"
|
|
41298
43824
|
},
|
|
41299
43825
|
{
|
|
41300
43826
|
"name": "zo.workflow.publish",
|
|
@@ -42950,6 +45476,8 @@
|
|
|
42950
45476
|
"zo.machine_image.list": 1,
|
|
42951
45477
|
"zo.machine_image.update": 1,
|
|
42952
45478
|
"zo.message.get": 1,
|
|
45479
|
+
"zo.model.generate_text": 1,
|
|
45480
|
+
"zo.model.list": 1,
|
|
42953
45481
|
"zo.oauth_app.create": 1,
|
|
42954
45482
|
"zo.oauth_app.delete": 1,
|
|
42955
45483
|
"zo.oauth_app.get": 1,
|
|
@@ -43075,6 +45603,220 @@
|
|
|
43075
45603
|
"digest": "sha256:1d66dd3ea01d21efe43ddda679ea5ec337e720b795620ad6cd8dc49e9443eb47",
|
|
43076
45604
|
"contract_digest": "sha256:674ad131dbe9510ecaf0a0162ea12b3adf626ad9f14062559d786288d6ff9a8f"
|
|
43077
45605
|
},
|
|
45606
|
+
{
|
|
45607
|
+
"publisher": "zo",
|
|
45608
|
+
"name": "agent.turn_ended",
|
|
45609
|
+
"version": 1,
|
|
45610
|
+
"description": "An Agent's turn ended. `outcome` is how the runner ended the turn; read the turn's messages from the session's history.",
|
|
45611
|
+
"payload_schema": {
|
|
45612
|
+
"type": "object",
|
|
45613
|
+
"additionalProperties": false,
|
|
45614
|
+
"required": [
|
|
45615
|
+
"agent_id",
|
|
45616
|
+
"session_id",
|
|
45617
|
+
"turn_id",
|
|
45618
|
+
"outcome",
|
|
45619
|
+
"reason",
|
|
45620
|
+
"trigger",
|
|
45621
|
+
"subscription_id",
|
|
45622
|
+
"subscription_ids",
|
|
45623
|
+
"occurrence_ids",
|
|
45624
|
+
"message_ids",
|
|
45625
|
+
"started_at",
|
|
45626
|
+
"duration_ms",
|
|
45627
|
+
"model",
|
|
45628
|
+
"reasoning",
|
|
45629
|
+
"model_requests",
|
|
45630
|
+
"tool_calls",
|
|
45631
|
+
"input_tokens",
|
|
45632
|
+
"output_tokens"
|
|
45633
|
+
],
|
|
45634
|
+
"properties": {
|
|
45635
|
+
"agent_id": {
|
|
45636
|
+
"type": "string",
|
|
45637
|
+
"minLength": 1,
|
|
45638
|
+
"maxLength": 200
|
|
45639
|
+
},
|
|
45640
|
+
"session_id": {
|
|
45641
|
+
"type": "string",
|
|
45642
|
+
"minLength": 1,
|
|
45643
|
+
"maxLength": 200
|
|
45644
|
+
},
|
|
45645
|
+
"turn_id": {
|
|
45646
|
+
"type": "string",
|
|
45647
|
+
"minLength": 1,
|
|
45648
|
+
"maxLength": 200
|
|
45649
|
+
},
|
|
45650
|
+
"outcome": {
|
|
45651
|
+
"type": "string",
|
|
45652
|
+
"enum": [
|
|
45653
|
+
"completed",
|
|
45654
|
+
"cancelled",
|
|
45655
|
+
"interrupted",
|
|
45656
|
+
"failed"
|
|
45657
|
+
]
|
|
45658
|
+
},
|
|
45659
|
+
"reason": {
|
|
45660
|
+
"anyOf": [
|
|
45661
|
+
{
|
|
45662
|
+
"type": "string",
|
|
45663
|
+
"maxLength": 200
|
|
45664
|
+
},
|
|
45665
|
+
{
|
|
45666
|
+
"type": "null"
|
|
45667
|
+
}
|
|
45668
|
+
]
|
|
45669
|
+
},
|
|
45670
|
+
"trigger": {
|
|
45671
|
+
"type": "string",
|
|
45672
|
+
"enum": [
|
|
45673
|
+
"message",
|
|
45674
|
+
"event"
|
|
45675
|
+
]
|
|
45676
|
+
},
|
|
45677
|
+
"subscription_id": {
|
|
45678
|
+
"anyOf": [
|
|
45679
|
+
{
|
|
45680
|
+
"type": "string",
|
|
45681
|
+
"minLength": 1,
|
|
45682
|
+
"maxLength": 200
|
|
45683
|
+
},
|
|
45684
|
+
{
|
|
45685
|
+
"type": "null"
|
|
45686
|
+
}
|
|
45687
|
+
]
|
|
45688
|
+
},
|
|
45689
|
+
"subscription_ids": {
|
|
45690
|
+
"type": "array",
|
|
45691
|
+
"items": {
|
|
45692
|
+
"type": "string",
|
|
45693
|
+
"minLength": 1,
|
|
45694
|
+
"maxLength": 200
|
|
45695
|
+
}
|
|
45696
|
+
},
|
|
45697
|
+
"occurrence_ids": {
|
|
45698
|
+
"type": "array",
|
|
45699
|
+
"items": {
|
|
45700
|
+
"type": "string",
|
|
45701
|
+
"minLength": 1,
|
|
45702
|
+
"maxLength": 200
|
|
45703
|
+
}
|
|
45704
|
+
},
|
|
45705
|
+
"message_ids": {
|
|
45706
|
+
"type": "array",
|
|
45707
|
+
"items": {
|
|
45708
|
+
"type": "string",
|
|
45709
|
+
"minLength": 1,
|
|
45710
|
+
"maxLength": 200
|
|
45711
|
+
}
|
|
45712
|
+
},
|
|
45713
|
+
"started_at": {
|
|
45714
|
+
"anyOf": [
|
|
45715
|
+
{
|
|
45716
|
+
"type": "string",
|
|
45717
|
+
"maxLength": 40
|
|
45718
|
+
},
|
|
45719
|
+
{
|
|
45720
|
+
"type": "null"
|
|
45721
|
+
}
|
|
45722
|
+
]
|
|
45723
|
+
},
|
|
45724
|
+
"duration_ms": {
|
|
45725
|
+
"anyOf": [
|
|
45726
|
+
{
|
|
45727
|
+
"type": "integer",
|
|
45728
|
+
"minimum": 0
|
|
45729
|
+
},
|
|
45730
|
+
{
|
|
45731
|
+
"type": "null"
|
|
45732
|
+
}
|
|
45733
|
+
]
|
|
45734
|
+
},
|
|
45735
|
+
"model": {
|
|
45736
|
+
"anyOf": [
|
|
45737
|
+
{
|
|
45738
|
+
"type": "string",
|
|
45739
|
+
"maxLength": 200
|
|
45740
|
+
},
|
|
45741
|
+
{
|
|
45742
|
+
"type": "null"
|
|
45743
|
+
}
|
|
45744
|
+
]
|
|
45745
|
+
},
|
|
45746
|
+
"reasoning": {
|
|
45747
|
+
"anyOf": [
|
|
45748
|
+
{
|
|
45749
|
+
"type": "string",
|
|
45750
|
+
"maxLength": 200
|
|
45751
|
+
},
|
|
45752
|
+
{
|
|
45753
|
+
"type": "null"
|
|
45754
|
+
}
|
|
45755
|
+
]
|
|
45756
|
+
},
|
|
45757
|
+
"model_requests": {
|
|
45758
|
+
"anyOf": [
|
|
45759
|
+
{
|
|
45760
|
+
"type": "integer",
|
|
45761
|
+
"minimum": 0
|
|
45762
|
+
},
|
|
45763
|
+
{
|
|
45764
|
+
"type": "null"
|
|
45765
|
+
}
|
|
45766
|
+
]
|
|
45767
|
+
},
|
|
45768
|
+
"tool_calls": {
|
|
45769
|
+
"anyOf": [
|
|
45770
|
+
{
|
|
45771
|
+
"type": "integer",
|
|
45772
|
+
"minimum": 0
|
|
45773
|
+
},
|
|
45774
|
+
{
|
|
45775
|
+
"type": "null"
|
|
45776
|
+
}
|
|
45777
|
+
]
|
|
45778
|
+
},
|
|
45779
|
+
"input_tokens": {
|
|
45780
|
+
"anyOf": [
|
|
45781
|
+
{
|
|
45782
|
+
"type": "integer",
|
|
45783
|
+
"minimum": 0
|
|
45784
|
+
},
|
|
45785
|
+
{
|
|
45786
|
+
"type": "null"
|
|
45787
|
+
}
|
|
45788
|
+
]
|
|
45789
|
+
},
|
|
45790
|
+
"output_tokens": {
|
|
45791
|
+
"anyOf": [
|
|
45792
|
+
{
|
|
45793
|
+
"type": "integer",
|
|
45794
|
+
"minimum": 0
|
|
45795
|
+
},
|
|
45796
|
+
{
|
|
45797
|
+
"type": "null"
|
|
45798
|
+
}
|
|
45799
|
+
]
|
|
45800
|
+
}
|
|
45801
|
+
}
|
|
45802
|
+
},
|
|
45803
|
+
"filter_paths": [
|
|
45804
|
+
"/agent_id",
|
|
45805
|
+
"/session_id",
|
|
45806
|
+
"/outcome",
|
|
45807
|
+
"/trigger",
|
|
45808
|
+
"/subscription_id"
|
|
45809
|
+
],
|
|
45810
|
+
"disclosure": {
|
|
45811
|
+
"kind": "custom",
|
|
45812
|
+
"subject": {
|
|
45813
|
+
"resource_type": "agent"
|
|
45814
|
+
}
|
|
45815
|
+
},
|
|
45816
|
+
"type": "zo.events.agent.turn_ended@v1",
|
|
45817
|
+
"digest": "sha256:9093ac8382f10341ad7400146243a43a3bd88c3e9b200ceb901169b27bb31a5b",
|
|
45818
|
+
"contract_digest": "sha256:449b282c2fe8cbc0d3aca4221bad11bbb7277578f5001659c17ef96e87ba0ad6"
|
|
45819
|
+
},
|
|
43078
45820
|
{
|
|
43079
45821
|
"publisher": "zo",
|
|
43080
45822
|
"name": "function.run_finished",
|
|
@@ -43562,7 +46304,7 @@
|
|
|
43562
46304
|
}
|
|
43563
46305
|
],
|
|
43564
46306
|
"default": null,
|
|
43565
|
-
"description": "Only rows after this time.",
|
|
46307
|
+
"description": "Only rows after this time. A run or turn row's time is when it ended.",
|
|
43566
46308
|
"title": "Occurred After"
|
|
43567
46309
|
},
|
|
43568
46310
|
"occurred_before": {
|
|
@@ -43578,9 +46320,21 @@
|
|
|
43578
46320
|
}
|
|
43579
46321
|
],
|
|
43580
46322
|
"default": null,
|
|
43581
|
-
"description": "Only rows before this time.",
|
|
46323
|
+
"description": "Only rows before this time. A run or turn row's time is when it ended.",
|
|
43582
46324
|
"title": "Occurred Before"
|
|
43583
46325
|
},
|
|
46326
|
+
"details": {
|
|
46327
|
+
"anyOf": [
|
|
46328
|
+
{
|
|
46329
|
+
"$ref": "#/$defs/ActivityDetailsFilter"
|
|
46330
|
+
},
|
|
46331
|
+
{
|
|
46332
|
+
"type": "null"
|
|
46333
|
+
}
|
|
46334
|
+
],
|
|
46335
|
+
"default": null,
|
|
46336
|
+
"description": "Match any listed value for each details key; keys combine with AND. Empty is a no-op."
|
|
46337
|
+
},
|
|
43584
46338
|
"principal": {
|
|
43585
46339
|
"anyOf": [
|
|
43586
46340
|
{
|
|
@@ -43694,6 +46448,101 @@
|
|
|
43694
46448
|
},
|
|
43695
46449
|
"required": [],
|
|
43696
46450
|
"$defs": {
|
|
46451
|
+
"ActivityDetailsFilter": {
|
|
46452
|
+
"additionalProperties": false,
|
|
46453
|
+
"properties": {
|
|
46454
|
+
"turn_outcome": {
|
|
46455
|
+
"anyOf": [
|
|
46456
|
+
{
|
|
46457
|
+
"items": {
|
|
46458
|
+
"enum": [
|
|
46459
|
+
"completed",
|
|
46460
|
+
"failed",
|
|
46461
|
+
"cancelled",
|
|
46462
|
+
"interrupted"
|
|
46463
|
+
],
|
|
46464
|
+
"type": "string"
|
|
46465
|
+
},
|
|
46466
|
+
"maxItems": 4,
|
|
46467
|
+
"minItems": 1,
|
|
46468
|
+
"type": "array"
|
|
46469
|
+
},
|
|
46470
|
+
{
|
|
46471
|
+
"type": "null"
|
|
46472
|
+
}
|
|
46473
|
+
],
|
|
46474
|
+
"default": null,
|
|
46475
|
+
"description": "system_agent_turn_ended rows carry the runner's turn_outcome.",
|
|
46476
|
+
"title": "Turn Outcome"
|
|
46477
|
+
},
|
|
46478
|
+
"reason": {
|
|
46479
|
+
"anyOf": [
|
|
46480
|
+
{
|
|
46481
|
+
"items": {
|
|
46482
|
+
"maxLength": 64,
|
|
46483
|
+
"minLength": 1,
|
|
46484
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
46485
|
+
"type": "string"
|
|
46486
|
+
},
|
|
46487
|
+
"maxItems": 20,
|
|
46488
|
+
"minItems": 1,
|
|
46489
|
+
"type": "array"
|
|
46490
|
+
},
|
|
46491
|
+
{
|
|
46492
|
+
"type": "null"
|
|
46493
|
+
}
|
|
46494
|
+
],
|
|
46495
|
+
"default": null,
|
|
46496
|
+
"description": "system_agent_turn_ended rows carry reason when the turn has an error reason.",
|
|
46497
|
+
"title": "Reason"
|
|
46498
|
+
},
|
|
46499
|
+
"error_code": {
|
|
46500
|
+
"anyOf": [
|
|
46501
|
+
{
|
|
46502
|
+
"items": {
|
|
46503
|
+
"maxLength": 64,
|
|
46504
|
+
"minLength": 1,
|
|
46505
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
46506
|
+
"type": "string"
|
|
46507
|
+
},
|
|
46508
|
+
"maxItems": 20,
|
|
46509
|
+
"minItems": 1,
|
|
46510
|
+
"type": "array"
|
|
46511
|
+
},
|
|
46512
|
+
{
|
|
46513
|
+
"type": "null"
|
|
46514
|
+
}
|
|
46515
|
+
],
|
|
46516
|
+
"default": null,
|
|
46517
|
+
"description": "function_run_ended and workflow_run_ended carry error_code on errors. managed_machine_create_failed, managed_machine_resume_failed, machine_image_import_failed and database_create_failed carry error_code, including \"none\".",
|
|
46518
|
+
"title": "Error Code"
|
|
46519
|
+
},
|
|
46520
|
+
"trigger": {
|
|
46521
|
+
"anyOf": [
|
|
46522
|
+
{
|
|
46523
|
+
"items": {
|
|
46524
|
+
"maxLength": 64,
|
|
46525
|
+
"minLength": 1,
|
|
46526
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
46527
|
+
"type": "string"
|
|
46528
|
+
},
|
|
46529
|
+
"maxItems": 20,
|
|
46530
|
+
"minItems": 1,
|
|
46531
|
+
"type": "array"
|
|
46532
|
+
},
|
|
46533
|
+
{
|
|
46534
|
+
"type": "null"
|
|
46535
|
+
}
|
|
46536
|
+
],
|
|
46537
|
+
"default": null,
|
|
46538
|
+
"description": "system_agent_turn_ended rows carry message or event; scheduled_runs_summarized rows carry schedule or event.",
|
|
46539
|
+
"title": "Trigger"
|
|
46540
|
+
}
|
|
46541
|
+
},
|
|
46542
|
+
"title": "ActivityDetailsFilter",
|
|
46543
|
+
"type": "object",
|
|
46544
|
+
"required": []
|
|
46545
|
+
},
|
|
43697
46546
|
"EntityFilter": {
|
|
43698
46547
|
"additionalProperties": false,
|
|
43699
46548
|
"properties": {
|
|
@@ -43813,6 +46662,70 @@
|
|
|
43813
46662
|
"last_activity_at.desc"
|
|
43814
46663
|
],
|
|
43815
46664
|
"default": "id.asc"
|
|
46665
|
+
},
|
|
46666
|
+
"filter": {
|
|
46667
|
+
"additionalProperties": false,
|
|
46668
|
+
"properties": {
|
|
46669
|
+
"last_turn_ended_after": {
|
|
46670
|
+
"anyOf": [
|
|
46671
|
+
{
|
|
46672
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
46673
|
+
"maxLength": 40,
|
|
46674
|
+
"minLength": 1,
|
|
46675
|
+
"type": "string"
|
|
46676
|
+
},
|
|
46677
|
+
{
|
|
46678
|
+
"type": "null"
|
|
46679
|
+
}
|
|
46680
|
+
],
|
|
46681
|
+
"default": null,
|
|
46682
|
+
"description": "Only sessions whose last turn ended after this time, exclusively.",
|
|
46683
|
+
"title": "Last Turn Ended After"
|
|
46684
|
+
},
|
|
46685
|
+
"last_turn_ended_before": {
|
|
46686
|
+
"anyOf": [
|
|
46687
|
+
{
|
|
46688
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
46689
|
+
"maxLength": 40,
|
|
46690
|
+
"minLength": 1,
|
|
46691
|
+
"type": "string"
|
|
46692
|
+
},
|
|
46693
|
+
{
|
|
46694
|
+
"type": "null"
|
|
46695
|
+
}
|
|
46696
|
+
],
|
|
46697
|
+
"default": null,
|
|
46698
|
+
"description": "Only sessions whose last turn ended before this time, exclusively.",
|
|
46699
|
+
"title": "Last Turn Ended Before"
|
|
46700
|
+
},
|
|
46701
|
+
"last_turn_outcome": {
|
|
46702
|
+
"anyOf": [
|
|
46703
|
+
{
|
|
46704
|
+
"items": {
|
|
46705
|
+
"enum": [
|
|
46706
|
+
"completed",
|
|
46707
|
+
"cancelled",
|
|
46708
|
+
"interrupted",
|
|
46709
|
+
"failed"
|
|
46710
|
+
],
|
|
46711
|
+
"type": "string"
|
|
46712
|
+
},
|
|
46713
|
+
"maxItems": 4,
|
|
46714
|
+
"minItems": 1,
|
|
46715
|
+
"type": "array"
|
|
46716
|
+
},
|
|
46717
|
+
{
|
|
46718
|
+
"type": "null"
|
|
46719
|
+
}
|
|
46720
|
+
],
|
|
46721
|
+
"default": null,
|
|
46722
|
+
"description": "Only sessions whose last turn has any of these outcomes.",
|
|
46723
|
+
"title": "Last Turn Outcome"
|
|
46724
|
+
}
|
|
46725
|
+
},
|
|
46726
|
+
"type": "object",
|
|
46727
|
+
"required": [],
|
|
46728
|
+
"default": {}
|
|
43816
46729
|
}
|
|
43817
46730
|
},
|
|
43818
46731
|
"required": []
|
|
@@ -43847,6 +46760,62 @@
|
|
|
43847
46760
|
"filter": {
|
|
43848
46761
|
"additionalProperties": false,
|
|
43849
46762
|
"properties": {
|
|
46763
|
+
"last_turn_ended_after": {
|
|
46764
|
+
"anyOf": [
|
|
46765
|
+
{
|
|
46766
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
46767
|
+
"maxLength": 40,
|
|
46768
|
+
"minLength": 1,
|
|
46769
|
+
"type": "string"
|
|
46770
|
+
},
|
|
46771
|
+
{
|
|
46772
|
+
"type": "null"
|
|
46773
|
+
}
|
|
46774
|
+
],
|
|
46775
|
+
"default": null,
|
|
46776
|
+
"description": "Only sessions whose last turn ended after this time, exclusively.",
|
|
46777
|
+
"title": "Last Turn Ended After"
|
|
46778
|
+
},
|
|
46779
|
+
"last_turn_ended_before": {
|
|
46780
|
+
"anyOf": [
|
|
46781
|
+
{
|
|
46782
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
46783
|
+
"maxLength": 40,
|
|
46784
|
+
"minLength": 1,
|
|
46785
|
+
"type": "string"
|
|
46786
|
+
},
|
|
46787
|
+
{
|
|
46788
|
+
"type": "null"
|
|
46789
|
+
}
|
|
46790
|
+
],
|
|
46791
|
+
"default": null,
|
|
46792
|
+
"description": "Only sessions whose last turn ended before this time, exclusively.",
|
|
46793
|
+
"title": "Last Turn Ended Before"
|
|
46794
|
+
},
|
|
46795
|
+
"last_turn_outcome": {
|
|
46796
|
+
"anyOf": [
|
|
46797
|
+
{
|
|
46798
|
+
"items": {
|
|
46799
|
+
"enum": [
|
|
46800
|
+
"completed",
|
|
46801
|
+
"cancelled",
|
|
46802
|
+
"interrupted",
|
|
46803
|
+
"failed"
|
|
46804
|
+
],
|
|
46805
|
+
"type": "string"
|
|
46806
|
+
},
|
|
46807
|
+
"maxItems": 4,
|
|
46808
|
+
"minItems": 1,
|
|
46809
|
+
"type": "array"
|
|
46810
|
+
},
|
|
46811
|
+
{
|
|
46812
|
+
"type": "null"
|
|
46813
|
+
}
|
|
46814
|
+
],
|
|
46815
|
+
"default": null,
|
|
46816
|
+
"description": "Only sessions whose last turn has any of these outcomes.",
|
|
46817
|
+
"title": "Last Turn Outcome"
|
|
46818
|
+
},
|
|
43850
46819
|
"agent_id": {
|
|
43851
46820
|
"anyOf": [
|
|
43852
46821
|
{
|
|
@@ -44392,57 +47361,360 @@
|
|
|
44392
47361
|
"display_name.asc"
|
|
44393
47362
|
],
|
|
44394
47363
|
"default": "id.asc"
|
|
44395
|
-
}
|
|
44396
|
-
},
|
|
44397
|
-
"required": []
|
|
44398
|
-
},
|
|
44399
|
-
"zo.event.list@1": {
|
|
44400
|
-
"type": "object",
|
|
44401
|
-
"additionalProperties": false,
|
|
44402
|
-
"properties": {
|
|
44403
|
-
"limit": {
|
|
44404
|
-
"type": "integer",
|
|
44405
|
-
"minimum": 1,
|
|
44406
|
-
"default": 33,
|
|
44407
|
-
"description": "Rows per page, at most 33; a larger value is reduced to it."
|
|
47364
|
+
}
|
|
47365
|
+
},
|
|
47366
|
+
"required": []
|
|
47367
|
+
},
|
|
47368
|
+
"zo.event.list@1": {
|
|
47369
|
+
"type": "object",
|
|
47370
|
+
"additionalProperties": false,
|
|
47371
|
+
"properties": {
|
|
47372
|
+
"limit": {
|
|
47373
|
+
"type": "integer",
|
|
47374
|
+
"minimum": 1,
|
|
47375
|
+
"default": 33,
|
|
47376
|
+
"description": "Rows per page, at most 33; a larger value is reduced to it."
|
|
47377
|
+
},
|
|
47378
|
+
"cursor": {
|
|
47379
|
+
"type": "string",
|
|
47380
|
+
"minLength": 1,
|
|
47381
|
+
"maxLength": 5504,
|
|
47382
|
+
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
47383
|
+
}
|
|
47384
|
+
},
|
|
47385
|
+
"required": []
|
|
47386
|
+
},
|
|
47387
|
+
"zo.function.list@1": {
|
|
47388
|
+
"type": "object",
|
|
47389
|
+
"additionalProperties": false,
|
|
47390
|
+
"properties": {
|
|
47391
|
+
"limit": {
|
|
47392
|
+
"type": "integer",
|
|
47393
|
+
"minimum": 1,
|
|
47394
|
+
"default": 50,
|
|
47395
|
+
"description": "Rows per page, at most 200; a larger value is reduced to it."
|
|
47396
|
+
},
|
|
47397
|
+
"cursor": {
|
|
47398
|
+
"type": "string",
|
|
47399
|
+
"minLength": 1,
|
|
47400
|
+
"maxLength": 5504,
|
|
47401
|
+
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
47402
|
+
},
|
|
47403
|
+
"filter": {
|
|
47404
|
+
"additionalProperties": false,
|
|
47405
|
+
"properties": {
|
|
47406
|
+
"connection_id": {
|
|
47407
|
+
"anyOf": [
|
|
47408
|
+
{
|
|
47409
|
+
"type": "string"
|
|
47410
|
+
},
|
|
47411
|
+
{
|
|
47412
|
+
"type": "null"
|
|
47413
|
+
}
|
|
47414
|
+
],
|
|
47415
|
+
"default": null,
|
|
47416
|
+
"title": "Connection Id"
|
|
47417
|
+
}
|
|
47418
|
+
},
|
|
47419
|
+
"type": "object",
|
|
47420
|
+
"required": [],
|
|
47421
|
+
"default": {}
|
|
47422
|
+
}
|
|
47423
|
+
},
|
|
47424
|
+
"required": []
|
|
47425
|
+
},
|
|
47426
|
+
"zo.function.list_runs@1": {
|
|
47427
|
+
"type": "object",
|
|
47428
|
+
"additionalProperties": false,
|
|
47429
|
+
"properties": {
|
|
47430
|
+
"limit": {
|
|
47431
|
+
"type": "integer",
|
|
47432
|
+
"minimum": 1,
|
|
47433
|
+
"default": 50,
|
|
47434
|
+
"description": "Rows per page, at most 200; a larger value is reduced to it."
|
|
47435
|
+
},
|
|
47436
|
+
"cursor": {
|
|
47437
|
+
"type": "string",
|
|
47438
|
+
"minLength": 1,
|
|
47439
|
+
"maxLength": 5504,
|
|
47440
|
+
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
47441
|
+
},
|
|
47442
|
+
"sort": {
|
|
47443
|
+
"type": "string",
|
|
47444
|
+
"enum": [
|
|
47445
|
+
"created_at.desc",
|
|
47446
|
+
"created_at.asc"
|
|
47447
|
+
],
|
|
47448
|
+
"default": "created_at.desc"
|
|
47449
|
+
},
|
|
47450
|
+
"filter": {
|
|
47451
|
+
"additionalProperties": false,
|
|
47452
|
+
"properties": {
|
|
47453
|
+
"created_after": {
|
|
47454
|
+
"anyOf": [
|
|
47455
|
+
{
|
|
47456
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
47457
|
+
"maxLength": 40,
|
|
47458
|
+
"minLength": 1,
|
|
47459
|
+
"type": "string"
|
|
47460
|
+
},
|
|
47461
|
+
{
|
|
47462
|
+
"type": "null"
|
|
47463
|
+
}
|
|
47464
|
+
],
|
|
47465
|
+
"default": null,
|
|
47466
|
+
"description": "Only runs created after this time.",
|
|
47467
|
+
"title": "Created After"
|
|
47468
|
+
},
|
|
47469
|
+
"created_before": {
|
|
47470
|
+
"anyOf": [
|
|
47471
|
+
{
|
|
47472
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
47473
|
+
"maxLength": 40,
|
|
47474
|
+
"minLength": 1,
|
|
47475
|
+
"type": "string"
|
|
47476
|
+
},
|
|
47477
|
+
{
|
|
47478
|
+
"type": "null"
|
|
47479
|
+
}
|
|
47480
|
+
],
|
|
47481
|
+
"default": null,
|
|
47482
|
+
"description": "Only runs created before this time.",
|
|
47483
|
+
"title": "Created Before"
|
|
47484
|
+
},
|
|
47485
|
+
"state": {
|
|
47486
|
+
"anyOf": [
|
|
47487
|
+
{
|
|
47488
|
+
"items": {
|
|
47489
|
+
"$ref": "#/$defs/RunState"
|
|
47490
|
+
},
|
|
47491
|
+
"maxItems": 8,
|
|
47492
|
+
"minItems": 1,
|
|
47493
|
+
"type": "array"
|
|
47494
|
+
},
|
|
47495
|
+
{
|
|
47496
|
+
"type": "null"
|
|
47497
|
+
}
|
|
47498
|
+
],
|
|
47499
|
+
"default": null,
|
|
47500
|
+
"description": "Only runs in any of these states.",
|
|
47501
|
+
"title": "State"
|
|
47502
|
+
},
|
|
47503
|
+
"error_code": {
|
|
47504
|
+
"anyOf": [
|
|
47505
|
+
{
|
|
47506
|
+
"items": {
|
|
47507
|
+
"pattern": "^[a-z][a-z0-9_]{0,63}$",
|
|
47508
|
+
"type": "string"
|
|
47509
|
+
},
|
|
47510
|
+
"maxItems": 20,
|
|
47511
|
+
"minItems": 1,
|
|
47512
|
+
"type": "array"
|
|
47513
|
+
},
|
|
47514
|
+
{
|
|
47515
|
+
"type": "null"
|
|
47516
|
+
}
|
|
47517
|
+
],
|
|
47518
|
+
"default": null,
|
|
47519
|
+
"description": "Only runs with any of these error codes.",
|
|
47520
|
+
"title": "Error Code"
|
|
47521
|
+
},
|
|
47522
|
+
"deployment_id": {
|
|
47523
|
+
"anyOf": [
|
|
47524
|
+
{
|
|
47525
|
+
"maxLength": 200,
|
|
47526
|
+
"minLength": 1,
|
|
47527
|
+
"type": "string"
|
|
47528
|
+
},
|
|
47529
|
+
{
|
|
47530
|
+
"type": "null"
|
|
47531
|
+
}
|
|
47532
|
+
],
|
|
47533
|
+
"default": null,
|
|
47534
|
+
"description": "Only runs of this deployment.",
|
|
47535
|
+
"title": "Deployment Id"
|
|
47536
|
+
},
|
|
47537
|
+
"entry_kind": {
|
|
47538
|
+
"anyOf": [
|
|
47539
|
+
{
|
|
47540
|
+
"items": {
|
|
47541
|
+
"enum": [
|
|
47542
|
+
"direct",
|
|
47543
|
+
"connection",
|
|
47544
|
+
"http"
|
|
47545
|
+
],
|
|
47546
|
+
"type": "string"
|
|
47547
|
+
},
|
|
47548
|
+
"maxItems": 3,
|
|
47549
|
+
"minItems": 1,
|
|
47550
|
+
"type": "array"
|
|
47551
|
+
},
|
|
47552
|
+
{
|
|
47553
|
+
"type": "null"
|
|
47554
|
+
}
|
|
47555
|
+
],
|
|
47556
|
+
"default": null,
|
|
47557
|
+
"description": "Only runs with any of these entry kinds.",
|
|
47558
|
+
"title": "Entry Kind"
|
|
47559
|
+
},
|
|
47560
|
+
"trigger": {
|
|
47561
|
+
"anyOf": [
|
|
47562
|
+
{
|
|
47563
|
+
"items": {
|
|
47564
|
+
"enum": [
|
|
47565
|
+
"direct",
|
|
47566
|
+
"http",
|
|
47567
|
+
"event",
|
|
47568
|
+
"workflow_step",
|
|
47569
|
+
"run",
|
|
47570
|
+
"agent"
|
|
47571
|
+
],
|
|
47572
|
+
"type": "string"
|
|
47573
|
+
},
|
|
47574
|
+
"maxItems": 6,
|
|
47575
|
+
"minItems": 1,
|
|
47576
|
+
"type": "array"
|
|
47577
|
+
},
|
|
47578
|
+
{
|
|
47579
|
+
"type": "null"
|
|
47580
|
+
}
|
|
47581
|
+
],
|
|
47582
|
+
"default": null,
|
|
47583
|
+
"description": "Only runs with any of these trigger kinds.",
|
|
47584
|
+
"title": "Trigger"
|
|
47585
|
+
},
|
|
47586
|
+
"subscription_id": {
|
|
47587
|
+
"anyOf": [
|
|
47588
|
+
{
|
|
47589
|
+
"maxLength": 200,
|
|
47590
|
+
"minLength": 1,
|
|
47591
|
+
"type": "string"
|
|
47592
|
+
},
|
|
47593
|
+
{
|
|
47594
|
+
"type": "null"
|
|
47595
|
+
}
|
|
47596
|
+
],
|
|
47597
|
+
"default": null,
|
|
47598
|
+
"description": "Only runs delivered by this subscription.",
|
|
47599
|
+
"title": "Subscription Id"
|
|
47600
|
+
},
|
|
47601
|
+
"agent_session_id": {
|
|
47602
|
+
"anyOf": [
|
|
47603
|
+
{
|
|
47604
|
+
"maxLength": 200,
|
|
47605
|
+
"minLength": 1,
|
|
47606
|
+
"type": "string"
|
|
47607
|
+
},
|
|
47608
|
+
{
|
|
47609
|
+
"type": "null"
|
|
47610
|
+
}
|
|
47611
|
+
],
|
|
47612
|
+
"default": null,
|
|
47613
|
+
"description": "Only runs started by this Agent session.",
|
|
47614
|
+
"title": "Agent Session Id"
|
|
47615
|
+
}
|
|
47616
|
+
},
|
|
47617
|
+
"type": "object",
|
|
47618
|
+
"required": [],
|
|
47619
|
+
"default": {}
|
|
47620
|
+
}
|
|
47621
|
+
},
|
|
47622
|
+
"required": [],
|
|
47623
|
+
"$defs": {
|
|
47624
|
+
"RunState": {
|
|
47625
|
+
"enum": [
|
|
47626
|
+
"queued",
|
|
47627
|
+
"starting",
|
|
47628
|
+
"running",
|
|
47629
|
+
"succeeded",
|
|
47630
|
+
"failed",
|
|
47631
|
+
"cancel_requested",
|
|
47632
|
+
"cancelled",
|
|
47633
|
+
"unknown"
|
|
47634
|
+
],
|
|
47635
|
+
"type": "string"
|
|
47636
|
+
}
|
|
47637
|
+
}
|
|
47638
|
+
},
|
|
47639
|
+
"zo.machine.list@1": {
|
|
47640
|
+
"type": "object",
|
|
47641
|
+
"additionalProperties": false,
|
|
47642
|
+
"properties": {
|
|
47643
|
+
"limit": {
|
|
47644
|
+
"type": "integer",
|
|
47645
|
+
"minimum": 1,
|
|
47646
|
+
"default": 50,
|
|
47647
|
+
"description": "Rows per page, at most 200; a larger value is reduced to it."
|
|
47648
|
+
},
|
|
47649
|
+
"cursor": {
|
|
47650
|
+
"type": "string",
|
|
47651
|
+
"minLength": 1,
|
|
47652
|
+
"maxLength": 5504,
|
|
47653
|
+
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
47654
|
+
},
|
|
47655
|
+
"sort": {
|
|
47656
|
+
"type": "string",
|
|
47657
|
+
"enum": [
|
|
47658
|
+
"id.asc",
|
|
47659
|
+
"created_at.desc",
|
|
47660
|
+
"created_at.asc",
|
|
47661
|
+
"display_name.asc"
|
|
47662
|
+
],
|
|
47663
|
+
"default": "id.asc"
|
|
44408
47664
|
},
|
|
44409
|
-
"
|
|
44410
|
-
"
|
|
44411
|
-
"
|
|
44412
|
-
|
|
44413
|
-
|
|
47665
|
+
"filter": {
|
|
47666
|
+
"additionalProperties": false,
|
|
47667
|
+
"properties": {
|
|
47668
|
+
"state": {
|
|
47669
|
+
"anyOf": [
|
|
47670
|
+
{
|
|
47671
|
+
"items": {
|
|
47672
|
+
"$ref": "#/$defs/ObservedState"
|
|
47673
|
+
},
|
|
47674
|
+
"maxItems": 8,
|
|
47675
|
+
"minItems": 1,
|
|
47676
|
+
"type": "array"
|
|
47677
|
+
},
|
|
47678
|
+
{
|
|
47679
|
+
"type": "null"
|
|
47680
|
+
}
|
|
47681
|
+
],
|
|
47682
|
+
"default": null,
|
|
47683
|
+
"description": "Only machines in any of these states.",
|
|
47684
|
+
"title": "State"
|
|
47685
|
+
}
|
|
47686
|
+
},
|
|
47687
|
+
"type": "object",
|
|
47688
|
+
"required": [],
|
|
47689
|
+
"default": {}
|
|
44414
47690
|
}
|
|
44415
47691
|
},
|
|
44416
|
-
"required": []
|
|
44417
|
-
|
|
44418
|
-
|
|
44419
|
-
|
|
44420
|
-
|
|
44421
|
-
|
|
44422
|
-
|
|
44423
|
-
|
|
44424
|
-
|
|
44425
|
-
|
|
44426
|
-
|
|
44427
|
-
|
|
44428
|
-
|
|
44429
|
-
"type": "string"
|
|
44430
|
-
"minLength": 1,
|
|
44431
|
-
"maxLength": 5504,
|
|
44432
|
-
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
47692
|
+
"required": [],
|
|
47693
|
+
"$defs": {
|
|
47694
|
+
"ObservedState": {
|
|
47695
|
+
"enum": [
|
|
47696
|
+
"creating",
|
|
47697
|
+
"running",
|
|
47698
|
+
"stopping",
|
|
47699
|
+
"stopped",
|
|
47700
|
+
"resuming",
|
|
47701
|
+
"destroying",
|
|
47702
|
+
"destroyed",
|
|
47703
|
+
"failed"
|
|
47704
|
+
],
|
|
47705
|
+
"type": "string"
|
|
44433
47706
|
}
|
|
44434
|
-
}
|
|
44435
|
-
"required": []
|
|
47707
|
+
}
|
|
44436
47708
|
},
|
|
44437
|
-
"zo.
|
|
47709
|
+
"zo.machine.list_files@1": {
|
|
44438
47710
|
"type": "object",
|
|
44439
47711
|
"additionalProperties": false,
|
|
44440
47712
|
"properties": {
|
|
44441
47713
|
"limit": {
|
|
44442
47714
|
"type": "integer",
|
|
44443
47715
|
"minimum": 1,
|
|
44444
|
-
"default":
|
|
44445
|
-
"description": "Rows per page, at most
|
|
47716
|
+
"default": 200,
|
|
47717
|
+
"description": "Rows per page, at most 500; a larger value is reduced to it."
|
|
44446
47718
|
},
|
|
44447
47719
|
"cursor": {
|
|
44448
47720
|
"type": "string",
|
|
@@ -44453,7 +47725,7 @@
|
|
|
44453
47725
|
},
|
|
44454
47726
|
"required": []
|
|
44455
47727
|
},
|
|
44456
|
-
"zo.
|
|
47728
|
+
"zo.machine_image.list@1": {
|
|
44457
47729
|
"type": "object",
|
|
44458
47730
|
"additionalProperties": false,
|
|
44459
47731
|
"properties": {
|
|
@@ -44482,33 +47754,14 @@
|
|
|
44482
47754
|
},
|
|
44483
47755
|
"required": []
|
|
44484
47756
|
},
|
|
44485
|
-
"zo.
|
|
44486
|
-
"type": "object",
|
|
44487
|
-
"additionalProperties": false,
|
|
44488
|
-
"properties": {
|
|
44489
|
-
"limit": {
|
|
44490
|
-
"type": "integer",
|
|
44491
|
-
"minimum": 1,
|
|
44492
|
-
"default": 200,
|
|
44493
|
-
"description": "Rows per page, at most 500; a larger value is reduced to it."
|
|
44494
|
-
},
|
|
44495
|
-
"cursor": {
|
|
44496
|
-
"type": "string",
|
|
44497
|
-
"minLength": 1,
|
|
44498
|
-
"maxLength": 5504,
|
|
44499
|
-
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
44500
|
-
}
|
|
44501
|
-
},
|
|
44502
|
-
"required": []
|
|
44503
|
-
},
|
|
44504
|
-
"zo.machine_image.list@1": {
|
|
47757
|
+
"zo.model.list@1": {
|
|
44505
47758
|
"type": "object",
|
|
44506
47759
|
"additionalProperties": false,
|
|
44507
47760
|
"properties": {
|
|
44508
47761
|
"limit": {
|
|
44509
47762
|
"type": "integer",
|
|
44510
47763
|
"minimum": 1,
|
|
44511
|
-
"default":
|
|
47764
|
+
"default": 100,
|
|
44512
47765
|
"description": "Rows per page, at most 200; a larger value is reduced to it."
|
|
44513
47766
|
},
|
|
44514
47767
|
"cursor": {
|
|
@@ -44520,12 +47773,40 @@
|
|
|
44520
47773
|
"sort": {
|
|
44521
47774
|
"type": "string",
|
|
44522
47775
|
"enum": [
|
|
44523
|
-
"id.asc"
|
|
44524
|
-
"created_at.desc",
|
|
44525
|
-
"created_at.asc",
|
|
44526
|
-
"display_name.asc"
|
|
47776
|
+
"id.asc"
|
|
44527
47777
|
],
|
|
44528
47778
|
"default": "id.asc"
|
|
47779
|
+
},
|
|
47780
|
+
"filter": {
|
|
47781
|
+
"additionalProperties": false,
|
|
47782
|
+
"properties": {
|
|
47783
|
+
"capability": {
|
|
47784
|
+
"anyOf": [
|
|
47785
|
+
{
|
|
47786
|
+
"enum": [
|
|
47787
|
+
"text",
|
|
47788
|
+
"structured_output",
|
|
47789
|
+
"embedding",
|
|
47790
|
+
"rerank",
|
|
47791
|
+
"image",
|
|
47792
|
+
"speech",
|
|
47793
|
+
"transcription",
|
|
47794
|
+
"video"
|
|
47795
|
+
],
|
|
47796
|
+
"type": "string"
|
|
47797
|
+
},
|
|
47798
|
+
{
|
|
47799
|
+
"type": "null"
|
|
47800
|
+
}
|
|
47801
|
+
],
|
|
47802
|
+
"default": null,
|
|
47803
|
+
"description": "Only models with this capability.",
|
|
47804
|
+
"title": "Capability"
|
|
47805
|
+
}
|
|
47806
|
+
},
|
|
47807
|
+
"type": "object",
|
|
47808
|
+
"required": [],
|
|
47809
|
+
"default": {}
|
|
44529
47810
|
}
|
|
44530
47811
|
},
|
|
44531
47812
|
"required": []
|
|
@@ -44695,6 +47976,21 @@
|
|
|
44695
47976
|
"description": "Only subscriptions to this event definition.",
|
|
44696
47977
|
"title": "Event Id"
|
|
44697
47978
|
},
|
|
47979
|
+
"schedule_id": {
|
|
47980
|
+
"anyOf": [
|
|
47981
|
+
{
|
|
47982
|
+
"maxLength": 200,
|
|
47983
|
+
"minLength": 1,
|
|
47984
|
+
"type": "string"
|
|
47985
|
+
},
|
|
47986
|
+
{
|
|
47987
|
+
"type": "null"
|
|
47988
|
+
}
|
|
47989
|
+
],
|
|
47990
|
+
"default": null,
|
|
47991
|
+
"description": "Only subscriptions that run for this schedule.",
|
|
47992
|
+
"title": "Schedule Id"
|
|
47993
|
+
},
|
|
44698
47994
|
"handler": {
|
|
44699
47995
|
"anyOf": [
|
|
44700
47996
|
{
|
|
@@ -44775,6 +48071,21 @@
|
|
|
44775
48071
|
"description": "Only subscriptions to this event definition.",
|
|
44776
48072
|
"title": "Event Id"
|
|
44777
48073
|
},
|
|
48074
|
+
"schedule_id": {
|
|
48075
|
+
"anyOf": [
|
|
48076
|
+
{
|
|
48077
|
+
"maxLength": 200,
|
|
48078
|
+
"minLength": 1,
|
|
48079
|
+
"type": "string"
|
|
48080
|
+
},
|
|
48081
|
+
{
|
|
48082
|
+
"type": "null"
|
|
48083
|
+
}
|
|
48084
|
+
],
|
|
48085
|
+
"default": null,
|
|
48086
|
+
"description": "Only subscriptions that run for this schedule.",
|
|
48087
|
+
"title": "Schedule Id"
|
|
48088
|
+
},
|
|
44778
48089
|
"handler": {
|
|
44779
48090
|
"anyOf": [
|
|
44780
48091
|
{
|
|
@@ -45142,9 +48453,186 @@
|
|
|
45142
48453
|
"minLength": 1,
|
|
45143
48454
|
"maxLength": 5504,
|
|
45144
48455
|
"description": "The previous page's next_cursor, sent with the same sort, filter and search."
|
|
48456
|
+
},
|
|
48457
|
+
"sort": {
|
|
48458
|
+
"type": "string",
|
|
48459
|
+
"enum": [
|
|
48460
|
+
"created_at.desc",
|
|
48461
|
+
"created_at.asc"
|
|
48462
|
+
],
|
|
48463
|
+
"default": "created_at.desc"
|
|
48464
|
+
},
|
|
48465
|
+
"filter": {
|
|
48466
|
+
"additionalProperties": false,
|
|
48467
|
+
"properties": {
|
|
48468
|
+
"created_after": {
|
|
48469
|
+
"anyOf": [
|
|
48470
|
+
{
|
|
48471
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
48472
|
+
"maxLength": 40,
|
|
48473
|
+
"minLength": 1,
|
|
48474
|
+
"type": "string"
|
|
48475
|
+
},
|
|
48476
|
+
{
|
|
48477
|
+
"type": "null"
|
|
48478
|
+
}
|
|
48479
|
+
],
|
|
48480
|
+
"default": null,
|
|
48481
|
+
"description": "Only runs created after this time.",
|
|
48482
|
+
"title": "Created After"
|
|
48483
|
+
},
|
|
48484
|
+
"created_before": {
|
|
48485
|
+
"anyOf": [
|
|
48486
|
+
{
|
|
48487
|
+
"description": "An ISO 8601 timestamp with a time zone.",
|
|
48488
|
+
"maxLength": 40,
|
|
48489
|
+
"minLength": 1,
|
|
48490
|
+
"type": "string"
|
|
48491
|
+
},
|
|
48492
|
+
{
|
|
48493
|
+
"type": "null"
|
|
48494
|
+
}
|
|
48495
|
+
],
|
|
48496
|
+
"default": null,
|
|
48497
|
+
"description": "Only runs created before this time.",
|
|
48498
|
+
"title": "Created Before"
|
|
48499
|
+
},
|
|
48500
|
+
"state": {
|
|
48501
|
+
"anyOf": [
|
|
48502
|
+
{
|
|
48503
|
+
"items": {
|
|
48504
|
+
"$ref": "#/$defs/WorkflowRunState"
|
|
48505
|
+
},
|
|
48506
|
+
"maxItems": 7,
|
|
48507
|
+
"minItems": 1,
|
|
48508
|
+
"type": "array"
|
|
48509
|
+
},
|
|
48510
|
+
{
|
|
48511
|
+
"type": "null"
|
|
48512
|
+
}
|
|
48513
|
+
],
|
|
48514
|
+
"default": null,
|
|
48515
|
+
"description": "Only runs in any of these states.",
|
|
48516
|
+
"title": "State"
|
|
48517
|
+
},
|
|
48518
|
+
"error_code": {
|
|
48519
|
+
"anyOf": [
|
|
48520
|
+
{
|
|
48521
|
+
"items": {
|
|
48522
|
+
"$ref": "#/$defs/WorkflowRunError"
|
|
48523
|
+
},
|
|
48524
|
+
"maxItems": 5,
|
|
48525
|
+
"minItems": 1,
|
|
48526
|
+
"type": "array"
|
|
48527
|
+
},
|
|
48528
|
+
{
|
|
48529
|
+
"type": "null"
|
|
48530
|
+
}
|
|
48531
|
+
],
|
|
48532
|
+
"default": null,
|
|
48533
|
+
"description": "Only runs with any of these error codes.",
|
|
48534
|
+
"title": "Error Code"
|
|
48535
|
+
},
|
|
48536
|
+
"revision_id": {
|
|
48537
|
+
"anyOf": [
|
|
48538
|
+
{
|
|
48539
|
+
"maxLength": 200,
|
|
48540
|
+
"minLength": 1,
|
|
48541
|
+
"type": "string"
|
|
48542
|
+
},
|
|
48543
|
+
{
|
|
48544
|
+
"type": "null"
|
|
48545
|
+
}
|
|
48546
|
+
],
|
|
48547
|
+
"default": null,
|
|
48548
|
+
"description": "Only runs of this revision.",
|
|
48549
|
+
"title": "Revision Id"
|
|
48550
|
+
},
|
|
48551
|
+
"trigger": {
|
|
48552
|
+
"anyOf": [
|
|
48553
|
+
{
|
|
48554
|
+
"items": {
|
|
48555
|
+
"enum": [
|
|
48556
|
+
"direct",
|
|
48557
|
+
"event",
|
|
48558
|
+
"run",
|
|
48559
|
+
"agent"
|
|
48560
|
+
],
|
|
48561
|
+
"type": "string"
|
|
48562
|
+
},
|
|
48563
|
+
"maxItems": 4,
|
|
48564
|
+
"minItems": 1,
|
|
48565
|
+
"type": "array"
|
|
48566
|
+
},
|
|
48567
|
+
{
|
|
48568
|
+
"type": "null"
|
|
48569
|
+
}
|
|
48570
|
+
],
|
|
48571
|
+
"default": null,
|
|
48572
|
+
"description": "Only runs with any of these trigger kinds.",
|
|
48573
|
+
"title": "Trigger"
|
|
48574
|
+
},
|
|
48575
|
+
"subscription_id": {
|
|
48576
|
+
"anyOf": [
|
|
48577
|
+
{
|
|
48578
|
+
"maxLength": 200,
|
|
48579
|
+
"minLength": 1,
|
|
48580
|
+
"type": "string"
|
|
48581
|
+
},
|
|
48582
|
+
{
|
|
48583
|
+
"type": "null"
|
|
48584
|
+
}
|
|
48585
|
+
],
|
|
48586
|
+
"default": null,
|
|
48587
|
+
"description": "Only runs delivered by this subscription.",
|
|
48588
|
+
"title": "Subscription Id"
|
|
48589
|
+
},
|
|
48590
|
+
"agent_session_id": {
|
|
48591
|
+
"anyOf": [
|
|
48592
|
+
{
|
|
48593
|
+
"maxLength": 200,
|
|
48594
|
+
"minLength": 1,
|
|
48595
|
+
"type": "string"
|
|
48596
|
+
},
|
|
48597
|
+
{
|
|
48598
|
+
"type": "null"
|
|
48599
|
+
}
|
|
48600
|
+
],
|
|
48601
|
+
"default": null,
|
|
48602
|
+
"description": "Only runs started by this Agent session.",
|
|
48603
|
+
"title": "Agent Session Id"
|
|
48604
|
+
}
|
|
48605
|
+
},
|
|
48606
|
+
"type": "object",
|
|
48607
|
+
"required": [],
|
|
48608
|
+
"default": {}
|
|
45145
48609
|
}
|
|
45146
48610
|
},
|
|
45147
|
-
"required": []
|
|
48611
|
+
"required": [],
|
|
48612
|
+
"$defs": {
|
|
48613
|
+
"WorkflowRunError": {
|
|
48614
|
+
"enum": [
|
|
48615
|
+
"step_failed",
|
|
48616
|
+
"deadline_exceeded",
|
|
48617
|
+
"engine_error",
|
|
48618
|
+
"engine_rejected",
|
|
48619
|
+
"engine_unavailable"
|
|
48620
|
+
],
|
|
48621
|
+
"type": "string"
|
|
48622
|
+
},
|
|
48623
|
+
"WorkflowRunState": {
|
|
48624
|
+
"enum": [
|
|
48625
|
+
"queued",
|
|
48626
|
+
"running",
|
|
48627
|
+
"cancel_requested",
|
|
48628
|
+
"succeeded",
|
|
48629
|
+
"failed",
|
|
48630
|
+
"cancelled",
|
|
48631
|
+
"unknown"
|
|
48632
|
+
],
|
|
48633
|
+
"type": "string"
|
|
48634
|
+
}
|
|
48635
|
+
}
|
|
45148
48636
|
},
|
|
45149
48637
|
"zo.workspace.list_resources@1": {
|
|
45150
48638
|
"type": "object",
|