eval-studio-client 1.2.0a1__py3-none-any.whl → 1.2.0a2__py3-none-any.whl
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.
- eval_studio_client/api/__init__.py +20 -0
- eval_studio_client/api/api/__init__.py +1 -0
- eval_studio_client/api/api/dashboard_service_api.py +1134 -73
- eval_studio_client/api/api/info_service_api.py +240 -0
- eval_studio_client/api/api/test_service_api.py +1233 -172
- eval_studio_client/api/api/workflow_result_service_api.py +1057 -0
- eval_studio_client/api/api/workflow_service_api.py +1420 -101
- eval_studio_client/api/docs/DashboardServiceApi.md +272 -0
- eval_studio_client/api/docs/InfoServiceApi.md +63 -0
- eval_studio_client/api/docs/TestServiceApi.md +268 -0
- eval_studio_client/api/docs/TestServiceGrantTestAccessRequest.md +30 -0
- eval_studio_client/api/docs/TestServiceRevokeTestAccessRequest.md +30 -0
- eval_studio_client/api/docs/V1FindWorkflowsByCollectionIDResponse.md +29 -0
- eval_studio_client/api/docs/V1GetStatsResponse.md +29 -0
- eval_studio_client/api/docs/V1GetWorkflowResultCorpusPatchResponse.md +29 -0
- eval_studio_client/api/docs/V1GetWorkflowResultReportResponse.md +29 -0
- eval_studio_client/api/docs/V1GetWorkflowResultSummaryResponse.md +32 -0
- eval_studio_client/api/docs/V1GetWorkflowResultSystemPromptPatchResponse.md +29 -0
- eval_studio_client/api/docs/V1Info.md +1 -0
- eval_studio_client/api/docs/V1ListDashboardAccessResponse.md +29 -0
- eval_studio_client/api/docs/V1ListDashboardsSharedWithMeResponse.md +29 -0
- eval_studio_client/api/docs/V1ListTestAccessResponse.md +29 -0
- eval_studio_client/api/docs/V1ListTestsSharedWithMeResponse.md +29 -0
- eval_studio_client/api/docs/V1ListWorkflowAccessResponse.md +29 -0
- eval_studio_client/api/docs/V1ListWorkflowsSharedWithMeResponse.md +29 -0
- eval_studio_client/api/docs/V1Role.md +12 -0
- eval_studio_client/api/docs/V1RoleBinding.md +32 -0
- eval_studio_client/api/docs/V1Stats.md +31 -0
- eval_studio_client/api/docs/V1WorkflowResultArtifactType.md +12 -0
- eval_studio_client/api/docs/WorkflowResultServiceApi.md +280 -0
- eval_studio_client/api/docs/WorkflowServiceApi.md +345 -5
- eval_studio_client/api/docs/WorkflowServiceRevokeWorkflowAccessRequest.md +30 -0
- eval_studio_client/api/models/__init__.py +19 -0
- eval_studio_client/api/models/test_service_grant_test_access_request.py +90 -0
- eval_studio_client/api/models/test_service_revoke_test_access_request.py +90 -0
- eval_studio_client/api/models/v1_find_workflows_by_collection_id_response.py +95 -0
- eval_studio_client/api/models/v1_get_stats_response.py +91 -0
- eval_studio_client/api/models/v1_get_workflow_result_corpus_patch_response.py +87 -0
- eval_studio_client/api/models/v1_get_workflow_result_report_response.py +87 -0
- eval_studio_client/api/models/v1_get_workflow_result_summary_response.py +94 -0
- eval_studio_client/api/models/v1_get_workflow_result_system_prompt_patch_response.py +87 -0
- eval_studio_client/api/models/v1_info.py +4 -2
- eval_studio_client/api/models/v1_list_dashboard_access_response.py +95 -0
- eval_studio_client/api/models/v1_list_dashboards_shared_with_me_response.py +95 -0
- eval_studio_client/api/models/v1_list_test_access_response.py +95 -0
- eval_studio_client/api/models/v1_list_tests_shared_with_me_response.py +95 -0
- eval_studio_client/api/models/v1_list_workflow_access_response.py +95 -0
- eval_studio_client/api/models/v1_list_workflows_shared_with_me_response.py +95 -0
- eval_studio_client/api/models/v1_role.py +38 -0
- eval_studio_client/api/models/v1_role_binding.py +92 -0
- eval_studio_client/api/models/v1_stats.py +99 -0
- eval_studio_client/api/models/v1_workflow_result_artifact_type.py +40 -0
- eval_studio_client/api/models/workflow_service_revoke_workflow_access_request.py +90 -0
- eval_studio_client/api/test/test_dashboard_service_api.py +28 -0
- eval_studio_client/api/test/test_info_service_api.py +6 -0
- eval_studio_client/api/test/test_test_service_api.py +24 -0
- eval_studio_client/api/test/test_test_service_grant_test_access_request.py +52 -0
- eval_studio_client/api/test/test_test_service_revoke_test_access_request.py +52 -0
- eval_studio_client/api/test/test_v1_find_workflows_by_collection_id_response.py +95 -0
- eval_studio_client/api/test/test_v1_get_info_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_stats_response.py +53 -0
- eval_studio_client/api/test/test_v1_get_workflow_result_corpus_patch_response.py +51 -0
- eval_studio_client/api/test/test_v1_get_workflow_result_report_response.py +51 -0
- eval_studio_client/api/test/test_v1_get_workflow_result_summary_response.py +58 -0
- eval_studio_client/api/test/test_v1_get_workflow_result_system_prompt_patch_response.py +51 -0
- eval_studio_client/api/test/test_v1_info.py +2 -1
- eval_studio_client/api/test/test_v1_list_dashboard_access_response.py +56 -0
- eval_studio_client/api/test/test_v1_list_dashboards_shared_with_me_response.py +69 -0
- eval_studio_client/api/test/test_v1_list_test_access_response.py +56 -0
- eval_studio_client/api/test/test_v1_list_tests_shared_with_me_response.py +70 -0
- eval_studio_client/api/test/test_v1_list_workflow_access_response.py +56 -0
- eval_studio_client/api/test/test_v1_list_workflows_shared_with_me_response.py +95 -0
- eval_studio_client/api/test/test_v1_role.py +33 -0
- eval_studio_client/api/test/test_v1_role_binding.py +53 -0
- eval_studio_client/api/test/test_v1_stats.py +52 -0
- eval_studio_client/api/test/test_v1_workflow_result_artifact_type.py +33 -0
- eval_studio_client/api/test/test_workflow_result_service_api.py +59 -0
- eval_studio_client/api/test/test_workflow_service_api.py +35 -0
- eval_studio_client/api/test/test_workflow_service_revoke_workflow_access_request.py +52 -0
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +905 -16
- {eval_studio_client-1.2.0a1.dist-info → eval_studio_client-1.2.0a2.dist-info}/METADATA +2 -1
- {eval_studio_client-1.2.0a1.dist-info → eval_studio_client-1.2.0a2.dist-info}/RECORD +83 -23
- {eval_studio_client-1.2.0a1.dist-info → eval_studio_client-1.2.0a2.dist-info}/WHEEL +0 -0
|
@@ -77,6 +77,9 @@
|
|
|
77
77
|
{
|
|
78
78
|
"name": "WorkflowNodeService"
|
|
79
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"name": "WorkflowResultService"
|
|
82
|
+
},
|
|
80
83
|
{
|
|
81
84
|
"name": "WorkflowService"
|
|
82
85
|
}
|
|
@@ -256,6 +259,29 @@
|
|
|
256
259
|
]
|
|
257
260
|
}
|
|
258
261
|
},
|
|
262
|
+
"/v1/dashboards:sharedWithMe": {
|
|
263
|
+
"get": {
|
|
264
|
+
"summary": "ListDashboardsSharedWithMe lists Dashboards shared with the authenticated user.",
|
|
265
|
+
"operationId": "DashboardService_ListDashboardsSharedWithMe",
|
|
266
|
+
"responses": {
|
|
267
|
+
"200": {
|
|
268
|
+
"description": "A successful response.",
|
|
269
|
+
"schema": {
|
|
270
|
+
"$ref": "#/definitions/v1ListDashboardsSharedWithMeResponse"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"default": {
|
|
274
|
+
"description": "An unexpected error response.",
|
|
275
|
+
"schema": {
|
|
276
|
+
"$ref": "#/definitions/rpcStatus"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"tags": [
|
|
281
|
+
"DashboardService"
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
},
|
|
259
285
|
"/v1/documents": {
|
|
260
286
|
"get": {
|
|
261
287
|
"operationId": "DocumentService_ListDocuments",
|
|
@@ -1778,6 +1804,28 @@
|
|
|
1778
1804
|
]
|
|
1779
1805
|
}
|
|
1780
1806
|
},
|
|
1807
|
+
"/v1/stats": {
|
|
1808
|
+
"get": {
|
|
1809
|
+
"operationId": "InfoService_GetStats",
|
|
1810
|
+
"responses": {
|
|
1811
|
+
"200": {
|
|
1812
|
+
"description": "A successful response.",
|
|
1813
|
+
"schema": {
|
|
1814
|
+
"$ref": "#/definitions/v1GetStatsResponse"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
"default": {
|
|
1818
|
+
"description": "An unexpected error response.",
|
|
1819
|
+
"schema": {
|
|
1820
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
"tags": [
|
|
1825
|
+
"InfoService"
|
|
1826
|
+
]
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1781
1829
|
"/v1/testClasses": {
|
|
1782
1830
|
"get": {
|
|
1783
1831
|
"operationId": "TestClassService_ListTestClasses",
|
|
@@ -2142,6 +2190,28 @@
|
|
|
2142
2190
|
]
|
|
2143
2191
|
}
|
|
2144
2192
|
},
|
|
2193
|
+
"/v1/tests:sharedWithMe": {
|
|
2194
|
+
"get": {
|
|
2195
|
+
"operationId": "TestService_ListTestsSharedWithMe",
|
|
2196
|
+
"responses": {
|
|
2197
|
+
"200": {
|
|
2198
|
+
"description": "A successful response.",
|
|
2199
|
+
"schema": {
|
|
2200
|
+
"$ref": "#/definitions/v1ListTestsSharedWithMeResponse"
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
"default": {
|
|
2204
|
+
"description": "An unexpected error response.",
|
|
2205
|
+
"schema": {
|
|
2206
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2210
|
+
"tags": [
|
|
2211
|
+
"TestService"
|
|
2212
|
+
]
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2145
2215
|
"/v1/whoAmI": {
|
|
2146
2216
|
"get": {
|
|
2147
2217
|
"summary": "WhoAmI is used to retrieve the caller's identity.",
|
|
@@ -2338,6 +2408,61 @@
|
|
|
2338
2408
|
]
|
|
2339
2409
|
}
|
|
2340
2410
|
},
|
|
2411
|
+
"/v1/workflows:findWorkflowByH2OGPTeCollectionID": {
|
|
2412
|
+
"get": {
|
|
2413
|
+
"summary": "FindWorkflowByCollectionID finds a Workflow by used H2OGPTe collection ID.",
|
|
2414
|
+
"operationId": "WorkflowService_FindWorkflowsByCollectionID",
|
|
2415
|
+
"responses": {
|
|
2416
|
+
"200": {
|
|
2417
|
+
"description": "A successful response.",
|
|
2418
|
+
"schema": {
|
|
2419
|
+
"$ref": "#/definitions/v1FindWorkflowsByCollectionIDResponse"
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
"default": {
|
|
2423
|
+
"description": "An unexpected error response.",
|
|
2424
|
+
"schema": {
|
|
2425
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
"parameters": [
|
|
2430
|
+
{
|
|
2431
|
+
"name": "collectionId",
|
|
2432
|
+
"description": "Required. The H2OGPTe collection ID to find the Workflow by.",
|
|
2433
|
+
"in": "query",
|
|
2434
|
+
"required": false,
|
|
2435
|
+
"type": "string"
|
|
2436
|
+
}
|
|
2437
|
+
],
|
|
2438
|
+
"tags": [
|
|
2439
|
+
"WorkflowService"
|
|
2440
|
+
]
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
"/v1/workflows:sharedWithMe": {
|
|
2444
|
+
"get": {
|
|
2445
|
+
"summary": "ListWorkflowsSharedWithMe lists Workflows shared with the authenticated user.",
|
|
2446
|
+
"operationId": "WorkflowService_ListWorkflowsSharedWithMe",
|
|
2447
|
+
"responses": {
|
|
2448
|
+
"200": {
|
|
2449
|
+
"description": "A successful response.",
|
|
2450
|
+
"schema": {
|
|
2451
|
+
"$ref": "#/definitions/v1ListWorkflowsSharedWithMeResponse"
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
"default": {
|
|
2455
|
+
"description": "An unexpected error response.",
|
|
2456
|
+
"schema": {
|
|
2457
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2461
|
+
"tags": [
|
|
2462
|
+
"WorkflowService"
|
|
2463
|
+
]
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2341
2466
|
"/v1/{dashboard.name}": {
|
|
2342
2467
|
"patch": {
|
|
2343
2468
|
"operationId": "DashboardService_UpdateDashboard",
|
|
@@ -2900,6 +3025,138 @@
|
|
|
2900
3025
|
}
|
|
2901
3026
|
},
|
|
2902
3027
|
"/v1/{name_12}": {
|
|
3028
|
+
"get": {
|
|
3029
|
+
"summary": "GetWorkflowResultSummary retrieves the 3x3x3 summary of a Workflow result.\nThe summary includes 3 summary sentences, 3 bullets with most serious highlights,\nand 3 recommended actions sentences.",
|
|
3030
|
+
"operationId": "WorkflowResultService_GetWorkflowResultSummary",
|
|
3031
|
+
"responses": {
|
|
3032
|
+
"200": {
|
|
3033
|
+
"description": "A successful response.",
|
|
3034
|
+
"schema": {
|
|
3035
|
+
"$ref": "#/definitions/v1GetWorkflowResultSummaryResponse"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"default": {
|
|
3039
|
+
"description": "An unexpected error response.",
|
|
3040
|
+
"schema": {
|
|
3041
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
},
|
|
3045
|
+
"parameters": [
|
|
3046
|
+
{
|
|
3047
|
+
"name": "name_12",
|
|
3048
|
+
"description": "Required. The name of the Workflow for which to retrieve the 3x3x3 summary.",
|
|
3049
|
+
"in": "path",
|
|
3050
|
+
"required": true,
|
|
3051
|
+
"type": "string",
|
|
3052
|
+
"pattern": "workflows/[^/]+/results/summary"
|
|
3053
|
+
}
|
|
3054
|
+
],
|
|
3055
|
+
"tags": [
|
|
3056
|
+
"WorkflowResultService"
|
|
3057
|
+
]
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
"/v1/{name_13}": {
|
|
3061
|
+
"get": {
|
|
3062
|
+
"summary": "GetWorkflowResultReport retrieves the report of a Workflow result.\nThe report is a detailed HTML document summarizing the Workflow's execution and findings.",
|
|
3063
|
+
"operationId": "WorkflowResultService_GetWorkflowResultReport",
|
|
3064
|
+
"responses": {
|
|
3065
|
+
"200": {
|
|
3066
|
+
"description": "A successful response.",
|
|
3067
|
+
"schema": {
|
|
3068
|
+
"$ref": "#/definitions/v1GetWorkflowResultReportResponse"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
"default": {
|
|
3072
|
+
"description": "An unexpected error response.",
|
|
3073
|
+
"schema": {
|
|
3074
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
"parameters": [
|
|
3079
|
+
{
|
|
3080
|
+
"name": "name_13",
|
|
3081
|
+
"description": "Required. The name of the report workflow for which to retrieve the report.",
|
|
3082
|
+
"in": "path",
|
|
3083
|
+
"required": true,
|
|
3084
|
+
"type": "string",
|
|
3085
|
+
"pattern": "workflows/[^/]+/results/report"
|
|
3086
|
+
}
|
|
3087
|
+
],
|
|
3088
|
+
"tags": [
|
|
3089
|
+
"WorkflowResultService"
|
|
3090
|
+
]
|
|
3091
|
+
}
|
|
3092
|
+
},
|
|
3093
|
+
"/v1/{name_14}": {
|
|
3094
|
+
"get": {
|
|
3095
|
+
"summary": "GetWorkflowResultCorpusPatch retrieves the corpus patch of a Workflow result.\nThe corpus patch is a HTML document that contains questions and answers identified as problematic in HEC and RT IV workflow steps.",
|
|
3096
|
+
"operationId": "WorkflowResultService_GetWorkflowResultCorpusPatch",
|
|
3097
|
+
"responses": {
|
|
3098
|
+
"200": {
|
|
3099
|
+
"description": "A successful response.",
|
|
3100
|
+
"schema": {
|
|
3101
|
+
"$ref": "#/definitions/v1GetWorkflowResultCorpusPatchResponse"
|
|
3102
|
+
}
|
|
3103
|
+
},
|
|
3104
|
+
"default": {
|
|
3105
|
+
"description": "An unexpected error response.",
|
|
3106
|
+
"schema": {
|
|
3107
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
},
|
|
3111
|
+
"parameters": [
|
|
3112
|
+
{
|
|
3113
|
+
"name": "name_14",
|
|
3114
|
+
"description": "Required. The name of the corpus patch workflow for which to retrieve the corpus patch.",
|
|
3115
|
+
"in": "path",
|
|
3116
|
+
"required": true,
|
|
3117
|
+
"type": "string",
|
|
3118
|
+
"pattern": "workflows/[^/]+/results/corpusPatch"
|
|
3119
|
+
}
|
|
3120
|
+
],
|
|
3121
|
+
"tags": [
|
|
3122
|
+
"WorkflowResultService"
|
|
3123
|
+
]
|
|
3124
|
+
}
|
|
3125
|
+
},
|
|
3126
|
+
"/v1/{name_15}": {
|
|
3127
|
+
"get": {
|
|
3128
|
+
"summary": "GetWorkflowResultSystemPromptPatch retrieves the system prompt patch of a Workflow result.",
|
|
3129
|
+
"operationId": "WorkflowResultService_GetWorkflowResultSystemPromptPatch",
|
|
3130
|
+
"responses": {
|
|
3131
|
+
"200": {
|
|
3132
|
+
"description": "A successful response.",
|
|
3133
|
+
"schema": {
|
|
3134
|
+
"$ref": "#/definitions/v1GetWorkflowResultSystemPromptPatchResponse"
|
|
3135
|
+
}
|
|
3136
|
+
},
|
|
3137
|
+
"default": {
|
|
3138
|
+
"description": "An unexpected error response.",
|
|
3139
|
+
"schema": {
|
|
3140
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
},
|
|
3144
|
+
"parameters": [
|
|
3145
|
+
{
|
|
3146
|
+
"name": "name_15",
|
|
3147
|
+
"description": "Required. The name of the system prompt patch workflow for which to retrieve the system prompt patch.",
|
|
3148
|
+
"in": "path",
|
|
3149
|
+
"required": true,
|
|
3150
|
+
"type": "string",
|
|
3151
|
+
"pattern": "workflows/[^/]+/results/systemPromptPatch"
|
|
3152
|
+
}
|
|
3153
|
+
],
|
|
3154
|
+
"tags": [
|
|
3155
|
+
"WorkflowResultService"
|
|
3156
|
+
]
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
"/v1/{name_16}": {
|
|
2903
3160
|
"get": {
|
|
2904
3161
|
"summary": "GetWorkflow retrieves a Workflow by name. Deleted Workflow is returned without error, it has a\ndelete_time and deleter fields set.",
|
|
2905
3162
|
"operationId": "WorkflowService_GetWorkflow",
|
|
@@ -2919,7 +3176,7 @@
|
|
|
2919
3176
|
},
|
|
2920
3177
|
"parameters": [
|
|
2921
3178
|
{
|
|
2922
|
-
"name": "
|
|
3179
|
+
"name": "name_16",
|
|
2923
3180
|
"description": "Required. The name of the Workflow to retrieve.",
|
|
2924
3181
|
"in": "path",
|
|
2925
3182
|
"required": true,
|
|
@@ -3057,6 +3314,138 @@
|
|
|
3057
3314
|
]
|
|
3058
3315
|
}
|
|
3059
3316
|
},
|
|
3317
|
+
"/v1/{name_1}:grantAccess": {
|
|
3318
|
+
"post": {
|
|
3319
|
+
"operationId": "TestService_GrantTestAccess",
|
|
3320
|
+
"responses": {
|
|
3321
|
+
"200": {
|
|
3322
|
+
"description": "A successful response.",
|
|
3323
|
+
"schema": {
|
|
3324
|
+
"$ref": "#/definitions/v1GrantTestAccessResponse"
|
|
3325
|
+
}
|
|
3326
|
+
},
|
|
3327
|
+
"default": {
|
|
3328
|
+
"description": "An unexpected error response.",
|
|
3329
|
+
"schema": {
|
|
3330
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
},
|
|
3334
|
+
"parameters": [
|
|
3335
|
+
{
|
|
3336
|
+
"name": "name_1",
|
|
3337
|
+
"description": "Required. The name of the Test to grant access to.",
|
|
3338
|
+
"in": "path",
|
|
3339
|
+
"required": true,
|
|
3340
|
+
"type": "string",
|
|
3341
|
+
"pattern": "tests/[^/]+"
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"name": "body",
|
|
3345
|
+
"in": "body",
|
|
3346
|
+
"required": true,
|
|
3347
|
+
"schema": {
|
|
3348
|
+
"type": "object",
|
|
3349
|
+
"properties": {
|
|
3350
|
+
"subject": {
|
|
3351
|
+
"type": "string",
|
|
3352
|
+
"description": "Required. The subject to grant access to."
|
|
3353
|
+
},
|
|
3354
|
+
"role": {
|
|
3355
|
+
"$ref": "#/definitions/v1Role",
|
|
3356
|
+
"description": "Required. The role to assign to the subject."
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
],
|
|
3362
|
+
"tags": [
|
|
3363
|
+
"TestService"
|
|
3364
|
+
]
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"/v1/{name_1}:listAccess": {
|
|
3368
|
+
"get": {
|
|
3369
|
+
"operationId": "TestService_ListTestAccess",
|
|
3370
|
+
"responses": {
|
|
3371
|
+
"200": {
|
|
3372
|
+
"description": "A successful response.",
|
|
3373
|
+
"schema": {
|
|
3374
|
+
"$ref": "#/definitions/v1ListTestAccessResponse"
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
"default": {
|
|
3378
|
+
"description": "An unexpected error response.",
|
|
3379
|
+
"schema": {
|
|
3380
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
"parameters": [
|
|
3385
|
+
{
|
|
3386
|
+
"name": "name_1",
|
|
3387
|
+
"description": "Required. The name of the Test to list access for.",
|
|
3388
|
+
"in": "path",
|
|
3389
|
+
"required": true,
|
|
3390
|
+
"type": "string",
|
|
3391
|
+
"pattern": "tests/[^/]+"
|
|
3392
|
+
}
|
|
3393
|
+
],
|
|
3394
|
+
"tags": [
|
|
3395
|
+
"TestService"
|
|
3396
|
+
]
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
"/v1/{name_1}:revokeAccess": {
|
|
3400
|
+
"post": {
|
|
3401
|
+
"operationId": "TestService_RevokeTestAccess",
|
|
3402
|
+
"responses": {
|
|
3403
|
+
"200": {
|
|
3404
|
+
"description": "A successful response.",
|
|
3405
|
+
"schema": {
|
|
3406
|
+
"$ref": "#/definitions/v1RevokeTestAccessResponse"
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
"default": {
|
|
3410
|
+
"description": "An unexpected error response.",
|
|
3411
|
+
"schema": {
|
|
3412
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"parameters": [
|
|
3417
|
+
{
|
|
3418
|
+
"name": "name_1",
|
|
3419
|
+
"description": "Required. The name of the Test to revoke access for.",
|
|
3420
|
+
"in": "path",
|
|
3421
|
+
"required": true,
|
|
3422
|
+
"type": "string",
|
|
3423
|
+
"pattern": "tests/[^/]+"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"name": "body",
|
|
3427
|
+
"in": "body",
|
|
3428
|
+
"required": true,
|
|
3429
|
+
"schema": {
|
|
3430
|
+
"type": "object",
|
|
3431
|
+
"properties": {
|
|
3432
|
+
"subject": {
|
|
3433
|
+
"type": "string",
|
|
3434
|
+
"description": "Required. The subject to revoke access to."
|
|
3435
|
+
},
|
|
3436
|
+
"role": {
|
|
3437
|
+
"$ref": "#/definitions/v1Role",
|
|
3438
|
+
"description": "Required. The role to revoke from the subject."
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
],
|
|
3444
|
+
"tags": [
|
|
3445
|
+
"TestService"
|
|
3446
|
+
]
|
|
3447
|
+
}
|
|
3448
|
+
},
|
|
3060
3449
|
"/v1/{name_2}": {
|
|
3061
3450
|
"get": {
|
|
3062
3451
|
"operationId": "EvaluatorService_GetEvaluator",
|
|
@@ -3119,6 +3508,141 @@
|
|
|
3119
3508
|
]
|
|
3120
3509
|
}
|
|
3121
3510
|
},
|
|
3511
|
+
"/v1/{name_2}:grantAccess": {
|
|
3512
|
+
"post": {
|
|
3513
|
+
"summary": "GrantWorkflowAccess grants access to a Workflow to a subject with a specified role.",
|
|
3514
|
+
"operationId": "WorkflowService_GrantWorkflowAccess",
|
|
3515
|
+
"responses": {
|
|
3516
|
+
"200": {
|
|
3517
|
+
"description": "A successful response.",
|
|
3518
|
+
"schema": {
|
|
3519
|
+
"$ref": "#/definitions/v1GrantWorkflowAccessResponse"
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3522
|
+
"default": {
|
|
3523
|
+
"description": "An unexpected error response.",
|
|
3524
|
+
"schema": {
|
|
3525
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3526
|
+
}
|
|
3527
|
+
}
|
|
3528
|
+
},
|
|
3529
|
+
"parameters": [
|
|
3530
|
+
{
|
|
3531
|
+
"name": "name_2",
|
|
3532
|
+
"description": "Required. The name of the Workflow to grant access to.",
|
|
3533
|
+
"in": "path",
|
|
3534
|
+
"required": true,
|
|
3535
|
+
"type": "string",
|
|
3536
|
+
"pattern": "workflows/[^/]+"
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"name": "body",
|
|
3540
|
+
"in": "body",
|
|
3541
|
+
"required": true,
|
|
3542
|
+
"schema": {
|
|
3543
|
+
"type": "object",
|
|
3544
|
+
"properties": {
|
|
3545
|
+
"subject": {
|
|
3546
|
+
"type": "string",
|
|
3547
|
+
"description": "Required. The subject to grant access to."
|
|
3548
|
+
},
|
|
3549
|
+
"role": {
|
|
3550
|
+
"$ref": "#/definitions/v1Role",
|
|
3551
|
+
"description": "Required. The role to assign to the subject."
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
],
|
|
3557
|
+
"tags": [
|
|
3558
|
+
"WorkflowService"
|
|
3559
|
+
]
|
|
3560
|
+
}
|
|
3561
|
+
},
|
|
3562
|
+
"/v1/{name_2}:listAccess": {
|
|
3563
|
+
"get": {
|
|
3564
|
+
"summary": "ListWorkflowAccess lists access to a Workflow.",
|
|
3565
|
+
"operationId": "WorkflowService_ListWorkflowAccess",
|
|
3566
|
+
"responses": {
|
|
3567
|
+
"200": {
|
|
3568
|
+
"description": "A successful response.",
|
|
3569
|
+
"schema": {
|
|
3570
|
+
"$ref": "#/definitions/v1ListWorkflowAccessResponse"
|
|
3571
|
+
}
|
|
3572
|
+
},
|
|
3573
|
+
"default": {
|
|
3574
|
+
"description": "An unexpected error response.",
|
|
3575
|
+
"schema": {
|
|
3576
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
},
|
|
3580
|
+
"parameters": [
|
|
3581
|
+
{
|
|
3582
|
+
"name": "name_2",
|
|
3583
|
+
"description": "Required. The name of the Workflow to list access for.",
|
|
3584
|
+
"in": "path",
|
|
3585
|
+
"required": true,
|
|
3586
|
+
"type": "string",
|
|
3587
|
+
"pattern": "workflows/[^/]+"
|
|
3588
|
+
}
|
|
3589
|
+
],
|
|
3590
|
+
"tags": [
|
|
3591
|
+
"WorkflowService"
|
|
3592
|
+
]
|
|
3593
|
+
}
|
|
3594
|
+
},
|
|
3595
|
+
"/v1/{name_2}:revokeAccess": {
|
|
3596
|
+
"post": {
|
|
3597
|
+
"summary": "RevokeWorkflowAccess revokes access to a Workflow from a subject.",
|
|
3598
|
+
"operationId": "WorkflowService_RevokeWorkflowAccess",
|
|
3599
|
+
"responses": {
|
|
3600
|
+
"200": {
|
|
3601
|
+
"description": "A successful response.",
|
|
3602
|
+
"schema": {
|
|
3603
|
+
"$ref": "#/definitions/v1RevokeWorkflowAccessResponse"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
"default": {
|
|
3607
|
+
"description": "An unexpected error response.",
|
|
3608
|
+
"schema": {
|
|
3609
|
+
"$ref": "#/definitions/rpcStatus"
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
},
|
|
3613
|
+
"parameters": [
|
|
3614
|
+
{
|
|
3615
|
+
"name": "name_2",
|
|
3616
|
+
"description": "Required. The name of the Workflow to revoke access from.",
|
|
3617
|
+
"in": "path",
|
|
3618
|
+
"required": true,
|
|
3619
|
+
"type": "string",
|
|
3620
|
+
"pattern": "workflows/[^/]+"
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"name": "body",
|
|
3624
|
+
"in": "body",
|
|
3625
|
+
"required": true,
|
|
3626
|
+
"schema": {
|
|
3627
|
+
"type": "object",
|
|
3628
|
+
"properties": {
|
|
3629
|
+
"subject": {
|
|
3630
|
+
"type": "string",
|
|
3631
|
+
"description": "Required. The subject to revoke access from."
|
|
3632
|
+
},
|
|
3633
|
+
"role": {
|
|
3634
|
+
"$ref": "#/definitions/v1Role",
|
|
3635
|
+
"description": "Required. The role to revoke from the subject."
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
],
|
|
3641
|
+
"tags": [
|
|
3642
|
+
"WorkflowService"
|
|
3643
|
+
]
|
|
3644
|
+
}
|
|
3645
|
+
},
|
|
3122
3646
|
"/v1/{name_3}": {
|
|
3123
3647
|
"get": {
|
|
3124
3648
|
"operationId": "LeaderboardReportService_GetLeaderboardReport",
|
|
@@ -3870,18 +4394,51 @@
|
|
|
3870
4394
|
}
|
|
3871
4395
|
],
|
|
3872
4396
|
"tags": [
|
|
3873
|
-
"TestService"
|
|
4397
|
+
"TestService"
|
|
4398
|
+
]
|
|
4399
|
+
}
|
|
4400
|
+
},
|
|
4401
|
+
"/v1/{name}:getGuardrailsConfiguration": {
|
|
4402
|
+
"get": {
|
|
4403
|
+
"operationId": "WorkflowService_GetGuardrailsConfiguration",
|
|
4404
|
+
"responses": {
|
|
4405
|
+
"200": {
|
|
4406
|
+
"description": "A successful response.",
|
|
4407
|
+
"schema": {
|
|
4408
|
+
"$ref": "#/definitions/v1GetGuardrailsConfigurationResponse"
|
|
4409
|
+
}
|
|
4410
|
+
},
|
|
4411
|
+
"default": {
|
|
4412
|
+
"description": "An unexpected error response.",
|
|
4413
|
+
"schema": {
|
|
4414
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
},
|
|
4418
|
+
"parameters": [
|
|
4419
|
+
{
|
|
4420
|
+
"name": "name",
|
|
4421
|
+
"description": "Required. The name of the Workflow to retrieve guardrails configuration for. The Human\nCalibration node must be completed, otherwise an error is returned.",
|
|
4422
|
+
"in": "path",
|
|
4423
|
+
"required": true,
|
|
4424
|
+
"type": "string",
|
|
4425
|
+
"pattern": "workflows/[^/]+"
|
|
4426
|
+
}
|
|
4427
|
+
],
|
|
4428
|
+
"tags": [
|
|
4429
|
+
"WorkflowService"
|
|
3874
4430
|
]
|
|
3875
4431
|
}
|
|
3876
4432
|
},
|
|
3877
|
-
"/v1/{name}:
|
|
4433
|
+
"/v1/{name}:getPrerequisites": {
|
|
3878
4434
|
"get": {
|
|
3879
|
-
"
|
|
4435
|
+
"summary": "GetWorkflowNodePrerequisites retrieves the WorkflowNodes and WorkflowEdges that are the\nprerequisites of the specified WorkflowNode. The list might be empty. Large data might be\nstored in storage and not returned in the response. It is client's responsibility to retrieve\nthe data from storage using the content handlers. It is intended to be used by the Eval Studio\nWorkers.",
|
|
4436
|
+
"operationId": "WorkflowNodeService_GetWorkflowNodePrerequisites",
|
|
3880
4437
|
"responses": {
|
|
3881
4438
|
"200": {
|
|
3882
4439
|
"description": "A successful response.",
|
|
3883
4440
|
"schema": {
|
|
3884
|
-
"$ref": "#/definitions/
|
|
4441
|
+
"$ref": "#/definitions/v1GetWorkflowNodePrerequisitesResponse"
|
|
3885
4442
|
}
|
|
3886
4443
|
},
|
|
3887
4444
|
"default": {
|
|
@@ -3894,27 +4451,27 @@
|
|
|
3894
4451
|
"parameters": [
|
|
3895
4452
|
{
|
|
3896
4453
|
"name": "name",
|
|
3897
|
-
"description": "Required. The name of the
|
|
4454
|
+
"description": "Required. The name of the WorkflowNode to retrieve the prerequisites for.",
|
|
3898
4455
|
"in": "path",
|
|
3899
4456
|
"required": true,
|
|
3900
4457
|
"type": "string",
|
|
3901
|
-
"pattern": "workflows/[^/]+"
|
|
4458
|
+
"pattern": "workflows/[^/]+/nodes/[^/]+"
|
|
3902
4459
|
}
|
|
3903
4460
|
],
|
|
3904
4461
|
"tags": [
|
|
3905
|
-
"
|
|
4462
|
+
"WorkflowNodeService"
|
|
3906
4463
|
]
|
|
3907
4464
|
}
|
|
3908
4465
|
},
|
|
3909
|
-
"/v1/{name}:
|
|
3910
|
-
"
|
|
3911
|
-
"summary": "
|
|
3912
|
-
"operationId": "
|
|
4466
|
+
"/v1/{name}:grantAccess": {
|
|
4467
|
+
"post": {
|
|
4468
|
+
"summary": "GrantDashboardAccess grants access to a Dashboard to a subject with a specified role.",
|
|
4469
|
+
"operationId": "DashboardService_GrantDashboardAccess",
|
|
3913
4470
|
"responses": {
|
|
3914
4471
|
"200": {
|
|
3915
4472
|
"description": "A successful response.",
|
|
3916
4473
|
"schema": {
|
|
3917
|
-
"$ref": "#/definitions/
|
|
4474
|
+
"$ref": "#/definitions/v1GrantDashboardAccessResponse"
|
|
3918
4475
|
}
|
|
3919
4476
|
},
|
|
3920
4477
|
"default": {
|
|
@@ -3927,15 +4484,33 @@
|
|
|
3927
4484
|
"parameters": [
|
|
3928
4485
|
{
|
|
3929
4486
|
"name": "name",
|
|
3930
|
-
"description": "Required. The name of the
|
|
4487
|
+
"description": "Required. The name of the Dashboard to grant access to.",
|
|
3931
4488
|
"in": "path",
|
|
3932
4489
|
"required": true,
|
|
3933
4490
|
"type": "string",
|
|
3934
|
-
"pattern": "
|
|
4491
|
+
"pattern": "dashboards/[^/]+"
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"name": "body",
|
|
4495
|
+
"in": "body",
|
|
4496
|
+
"required": true,
|
|
4497
|
+
"schema": {
|
|
4498
|
+
"type": "object",
|
|
4499
|
+
"properties": {
|
|
4500
|
+
"subject": {
|
|
4501
|
+
"type": "string",
|
|
4502
|
+
"description": "Required. The subject to grant access to."
|
|
4503
|
+
},
|
|
4504
|
+
"role": {
|
|
4505
|
+
"$ref": "#/definitions/v1Role",
|
|
4506
|
+
"description": "Required. The role to assign to the subject."
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
3935
4510
|
}
|
|
3936
4511
|
],
|
|
3937
4512
|
"tags": [
|
|
3938
|
-
"
|
|
4513
|
+
"DashboardService"
|
|
3939
4514
|
]
|
|
3940
4515
|
}
|
|
3941
4516
|
},
|
|
@@ -4034,6 +4609,39 @@
|
|
|
4034
4609
|
]
|
|
4035
4610
|
}
|
|
4036
4611
|
},
|
|
4612
|
+
"/v1/{name}:listAccess": {
|
|
4613
|
+
"get": {
|
|
4614
|
+
"summary": "ListDashboardAccess lists access to a Dashboard.",
|
|
4615
|
+
"operationId": "DashboardService_ListDashboardAccess",
|
|
4616
|
+
"responses": {
|
|
4617
|
+
"200": {
|
|
4618
|
+
"description": "A successful response.",
|
|
4619
|
+
"schema": {
|
|
4620
|
+
"$ref": "#/definitions/v1ListDashboardAccessResponse"
|
|
4621
|
+
}
|
|
4622
|
+
},
|
|
4623
|
+
"default": {
|
|
4624
|
+
"description": "An unexpected error response.",
|
|
4625
|
+
"schema": {
|
|
4626
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4627
|
+
}
|
|
4628
|
+
}
|
|
4629
|
+
},
|
|
4630
|
+
"parameters": [
|
|
4631
|
+
{
|
|
4632
|
+
"name": "name",
|
|
4633
|
+
"description": "Required. The name of the Dashboard to list access for.",
|
|
4634
|
+
"in": "path",
|
|
4635
|
+
"required": true,
|
|
4636
|
+
"type": "string",
|
|
4637
|
+
"pattern": "dashboards/[^/]+"
|
|
4638
|
+
}
|
|
4639
|
+
],
|
|
4640
|
+
"tags": [
|
|
4641
|
+
"DashboardService"
|
|
4642
|
+
]
|
|
4643
|
+
}
|
|
4644
|
+
},
|
|
4037
4645
|
"/v1/{name}:listTestCaseLibraryItems": {
|
|
4038
4646
|
"post": {
|
|
4039
4647
|
"operationId": "TestService_ListTestCaseLibraryItems",
|
|
@@ -4336,6 +4944,57 @@
|
|
|
4336
4944
|
]
|
|
4337
4945
|
}
|
|
4338
4946
|
},
|
|
4947
|
+
"/v1/{name}:revokeAccess": {
|
|
4948
|
+
"post": {
|
|
4949
|
+
"summary": "RevokeDashboardAccess revokes access to a Dashboard from a subject.",
|
|
4950
|
+
"operationId": "DashboardService_RevokeDashboardAccess",
|
|
4951
|
+
"responses": {
|
|
4952
|
+
"200": {
|
|
4953
|
+
"description": "A successful response.",
|
|
4954
|
+
"schema": {
|
|
4955
|
+
"$ref": "#/definitions/v1RevokeDashboardAccessResponse"
|
|
4956
|
+
}
|
|
4957
|
+
},
|
|
4958
|
+
"default": {
|
|
4959
|
+
"description": "An unexpected error response.",
|
|
4960
|
+
"schema": {
|
|
4961
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4962
|
+
}
|
|
4963
|
+
}
|
|
4964
|
+
},
|
|
4965
|
+
"parameters": [
|
|
4966
|
+
{
|
|
4967
|
+
"name": "name",
|
|
4968
|
+
"description": "Required. The name of the Dashboard to revoke access from.",
|
|
4969
|
+
"in": "path",
|
|
4970
|
+
"required": true,
|
|
4971
|
+
"type": "string",
|
|
4972
|
+
"pattern": "dashboards/[^/]+"
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
"name": "body",
|
|
4976
|
+
"in": "body",
|
|
4977
|
+
"required": true,
|
|
4978
|
+
"schema": {
|
|
4979
|
+
"type": "object",
|
|
4980
|
+
"properties": {
|
|
4981
|
+
"subject": {
|
|
4982
|
+
"type": "string",
|
|
4983
|
+
"description": "Required. The subject to revoke access from."
|
|
4984
|
+
},
|
|
4985
|
+
"role": {
|
|
4986
|
+
"$ref": "#/definitions/v1Role",
|
|
4987
|
+
"description": "Required. The role to revoke from the subject."
|
|
4988
|
+
}
|
|
4989
|
+
}
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
],
|
|
4993
|
+
"tags": [
|
|
4994
|
+
"DashboardService"
|
|
4995
|
+
]
|
|
4996
|
+
}
|
|
4997
|
+
},
|
|
4339
4998
|
"/v1/{node.name}": {
|
|
4340
4999
|
"patch": {
|
|
4341
5000
|
"summary": "UpdateWorkflowNode updates a WorkflowNode. The update_mask is used to specify the fields to be\nupdated.",
|
|
@@ -6849,6 +7508,19 @@
|
|
|
6849
7508
|
}
|
|
6850
7509
|
}
|
|
6851
7510
|
},
|
|
7511
|
+
"v1FindWorkflowsByCollectionIDResponse": {
|
|
7512
|
+
"type": "object",
|
|
7513
|
+
"properties": {
|
|
7514
|
+
"workflows": {
|
|
7515
|
+
"type": "array",
|
|
7516
|
+
"items": {
|
|
7517
|
+
"type": "object",
|
|
7518
|
+
"$ref": "#/definitions/v1Workflow"
|
|
7519
|
+
},
|
|
7520
|
+
"description": "The Workflows found."
|
|
7521
|
+
}
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
6852
7524
|
"v1GenerateTestCasesResponse": {
|
|
6853
7525
|
"type": "object",
|
|
6854
7526
|
"properties": {
|
|
@@ -6956,6 +7628,14 @@
|
|
|
6956
7628
|
}
|
|
6957
7629
|
}
|
|
6958
7630
|
},
|
|
7631
|
+
"v1GetStatsResponse": {
|
|
7632
|
+
"type": "object",
|
|
7633
|
+
"properties": {
|
|
7634
|
+
"stats": {
|
|
7635
|
+
"$ref": "#/definitions/v1Stats"
|
|
7636
|
+
}
|
|
7637
|
+
}
|
|
7638
|
+
},
|
|
6959
7639
|
"v1GetTestCaseResponse": {
|
|
6960
7640
|
"type": "object",
|
|
6961
7641
|
"properties": {
|
|
@@ -7020,6 +7700,66 @@
|
|
|
7020
7700
|
}
|
|
7021
7701
|
}
|
|
7022
7702
|
},
|
|
7703
|
+
"v1GetWorkflowResultCorpusPatchResponse": {
|
|
7704
|
+
"type": "object",
|
|
7705
|
+
"properties": {
|
|
7706
|
+
"patchHtml": {
|
|
7707
|
+
"type": "string",
|
|
7708
|
+
"description": "The corpus patch workflow result content as a HTML string."
|
|
7709
|
+
}
|
|
7710
|
+
}
|
|
7711
|
+
},
|
|
7712
|
+
"v1GetWorkflowResultReportResponse": {
|
|
7713
|
+
"type": "object",
|
|
7714
|
+
"properties": {
|
|
7715
|
+
"reportHtml": {
|
|
7716
|
+
"type": "string",
|
|
7717
|
+
"description": "The report workflow result content as a HTML string."
|
|
7718
|
+
}
|
|
7719
|
+
}
|
|
7720
|
+
},
|
|
7721
|
+
"v1GetWorkflowResultSummaryResponse": {
|
|
7722
|
+
"type": "object",
|
|
7723
|
+
"properties": {
|
|
7724
|
+
"intro": {
|
|
7725
|
+
"type": "string",
|
|
7726
|
+
"description": "The 3x3x3 workflow summary: 3 summary sentences + 3 bullets with most serious highlights + 3 recommended actions sentences."
|
|
7727
|
+
},
|
|
7728
|
+
"bullets": {
|
|
7729
|
+
"type": "array",
|
|
7730
|
+
"items": {
|
|
7731
|
+
"type": "string"
|
|
7732
|
+
}
|
|
7733
|
+
},
|
|
7734
|
+
"actions": {
|
|
7735
|
+
"type": "string"
|
|
7736
|
+
},
|
|
7737
|
+
"artifactTypes": {
|
|
7738
|
+
"type": "array",
|
|
7739
|
+
"items": {
|
|
7740
|
+
"$ref": "#/definitions/v1WorkflowResultArtifactType"
|
|
7741
|
+
}
|
|
7742
|
+
}
|
|
7743
|
+
}
|
|
7744
|
+
},
|
|
7745
|
+
"v1GetWorkflowResultSystemPromptPatchResponse": {
|
|
7746
|
+
"type": "object",
|
|
7747
|
+
"properties": {
|
|
7748
|
+
"patchText": {
|
|
7749
|
+
"type": "string",
|
|
7750
|
+
"description": "The system prompt patch workflow result content as a text string."
|
|
7751
|
+
}
|
|
7752
|
+
}
|
|
7753
|
+
},
|
|
7754
|
+
"v1GrantDashboardAccessResponse": {
|
|
7755
|
+
"type": "object"
|
|
7756
|
+
},
|
|
7757
|
+
"v1GrantTestAccessResponse": {
|
|
7758
|
+
"type": "object"
|
|
7759
|
+
},
|
|
7760
|
+
"v1GrantWorkflowAccessResponse": {
|
|
7761
|
+
"type": "object"
|
|
7762
|
+
},
|
|
7023
7763
|
"v1ImportEvaluationRequest": {
|
|
7024
7764
|
"type": "object",
|
|
7025
7765
|
"properties": {
|
|
@@ -7191,6 +7931,10 @@
|
|
|
7191
7931
|
"publicInstance": {
|
|
7192
7932
|
"type": "boolean",
|
|
7193
7933
|
"description": "If the Eval Studio instance is public."
|
|
7934
|
+
},
|
|
7935
|
+
"sharingEnabled": {
|
|
7936
|
+
"type": "boolean",
|
|
7937
|
+
"description": "Whether the sharing capability is enabled."
|
|
7194
7938
|
}
|
|
7195
7939
|
}
|
|
7196
7940
|
},
|
|
@@ -7964,6 +8708,19 @@
|
|
|
7964
8708
|
}
|
|
7965
8709
|
}
|
|
7966
8710
|
},
|
|
8711
|
+
"v1ListDashboardAccessResponse": {
|
|
8712
|
+
"type": "object",
|
|
8713
|
+
"properties": {
|
|
8714
|
+
"roleBindings": {
|
|
8715
|
+
"type": "array",
|
|
8716
|
+
"items": {
|
|
8717
|
+
"type": "object",
|
|
8718
|
+
"$ref": "#/definitions/v1RoleBinding"
|
|
8719
|
+
},
|
|
8720
|
+
"description": "The RoleBindings for the Dashboard requested."
|
|
8721
|
+
}
|
|
8722
|
+
}
|
|
8723
|
+
},
|
|
7967
8724
|
"v1ListDashboardsResponse": {
|
|
7968
8725
|
"type": "object",
|
|
7969
8726
|
"properties": {
|
|
@@ -7977,6 +8734,19 @@
|
|
|
7977
8734
|
}
|
|
7978
8735
|
}
|
|
7979
8736
|
},
|
|
8737
|
+
"v1ListDashboardsSharedWithMeResponse": {
|
|
8738
|
+
"type": "object",
|
|
8739
|
+
"properties": {
|
|
8740
|
+
"dashboards": {
|
|
8741
|
+
"type": "array",
|
|
8742
|
+
"items": {
|
|
8743
|
+
"type": "object",
|
|
8744
|
+
"$ref": "#/definitions/v1Dashboard"
|
|
8745
|
+
},
|
|
8746
|
+
"description": "The Dashboards that match the request."
|
|
8747
|
+
}
|
|
8748
|
+
}
|
|
8749
|
+
},
|
|
7980
8750
|
"v1ListDocumentsResponse": {
|
|
7981
8751
|
"type": "object",
|
|
7982
8752
|
"properties": {
|
|
@@ -8162,6 +8932,19 @@
|
|
|
8162
8932
|
}
|
|
8163
8933
|
}
|
|
8164
8934
|
},
|
|
8935
|
+
"v1ListTestAccessResponse": {
|
|
8936
|
+
"type": "object",
|
|
8937
|
+
"properties": {
|
|
8938
|
+
"roleBindings": {
|
|
8939
|
+
"type": "array",
|
|
8940
|
+
"items": {
|
|
8941
|
+
"type": "object",
|
|
8942
|
+
"$ref": "#/definitions/v1RoleBinding"
|
|
8943
|
+
},
|
|
8944
|
+
"description": "The RoleBindings for the Test requested."
|
|
8945
|
+
}
|
|
8946
|
+
}
|
|
8947
|
+
},
|
|
8165
8948
|
"v1ListTestCaseLibraryItemsResponse": {
|
|
8166
8949
|
"type": "object",
|
|
8167
8950
|
"properties": {
|
|
@@ -8227,6 +9010,32 @@
|
|
|
8227
9010
|
}
|
|
8228
9011
|
}
|
|
8229
9012
|
},
|
|
9013
|
+
"v1ListTestsSharedWithMeResponse": {
|
|
9014
|
+
"type": "object",
|
|
9015
|
+
"properties": {
|
|
9016
|
+
"tests": {
|
|
9017
|
+
"type": "array",
|
|
9018
|
+
"items": {
|
|
9019
|
+
"type": "object",
|
|
9020
|
+
"$ref": "#/definitions/v1Test"
|
|
9021
|
+
},
|
|
9022
|
+
"description": "The Tests that match the request."
|
|
9023
|
+
}
|
|
9024
|
+
}
|
|
9025
|
+
},
|
|
9026
|
+
"v1ListWorkflowAccessResponse": {
|
|
9027
|
+
"type": "object",
|
|
9028
|
+
"properties": {
|
|
9029
|
+
"roleBindings": {
|
|
9030
|
+
"type": "array",
|
|
9031
|
+
"items": {
|
|
9032
|
+
"type": "object",
|
|
9033
|
+
"$ref": "#/definitions/v1RoleBinding"
|
|
9034
|
+
},
|
|
9035
|
+
"description": "The RoleBindings for the Workflow requested."
|
|
9036
|
+
}
|
|
9037
|
+
}
|
|
9038
|
+
},
|
|
8230
9039
|
"v1ListWorkflowDependenciesResponse": {
|
|
8231
9040
|
"type": "object",
|
|
8232
9041
|
"properties": {
|
|
@@ -8261,6 +9070,19 @@
|
|
|
8261
9070
|
}
|
|
8262
9071
|
}
|
|
8263
9072
|
},
|
|
9073
|
+
"v1ListWorkflowsSharedWithMeResponse": {
|
|
9074
|
+
"type": "object",
|
|
9075
|
+
"properties": {
|
|
9076
|
+
"workflows": {
|
|
9077
|
+
"type": "array",
|
|
9078
|
+
"items": {
|
|
9079
|
+
"type": "object",
|
|
9080
|
+
"$ref": "#/definitions/v1Workflow"
|
|
9081
|
+
},
|
|
9082
|
+
"description": "The Workflows that match the request."
|
|
9083
|
+
}
|
|
9084
|
+
}
|
|
9085
|
+
},
|
|
8264
9086
|
"v1MetricScore": {
|
|
8265
9087
|
"type": "object",
|
|
8266
9088
|
"properties": {
|
|
@@ -8758,6 +9580,61 @@
|
|
|
8758
9580
|
}
|
|
8759
9581
|
}
|
|
8760
9582
|
},
|
|
9583
|
+
"v1RevokeDashboardAccessResponse": {
|
|
9584
|
+
"type": "object"
|
|
9585
|
+
},
|
|
9586
|
+
"v1RevokeTestAccessResponse": {
|
|
9587
|
+
"type": "object"
|
|
9588
|
+
},
|
|
9589
|
+
"v1RevokeWorkflowAccessResponse": {
|
|
9590
|
+
"type": "object"
|
|
9591
|
+
},
|
|
9592
|
+
"v1Role": {
|
|
9593
|
+
"type": "string",
|
|
9594
|
+
"enum": [
|
|
9595
|
+
"ROLE_UNSPECIFIED",
|
|
9596
|
+
"ROLE_READER",
|
|
9597
|
+
"ROLE_WRITER"
|
|
9598
|
+
],
|
|
9599
|
+
"default": "ROLE_UNSPECIFIED",
|
|
9600
|
+
"description": "Roles are used to define the access level of a user to a specific resource.\n\n - ROLE_UNSPECIFIED: Unspecified role. This is used when the role is not set or not applicable.\n - ROLE_READER: Reader role. This role allows read-only access to the resource.\n - ROLE_WRITER: Writer role. This role allows read and write access to the resource. This does not allow to\nmanage access to the resource or to delete it."
|
|
9601
|
+
},
|
|
9602
|
+
"v1RoleBinding": {
|
|
9603
|
+
"type": "object",
|
|
9604
|
+
"properties": {
|
|
9605
|
+
"subject": {
|
|
9606
|
+
"type": "string",
|
|
9607
|
+
"description": "The subject to which the role is assigned."
|
|
9608
|
+
},
|
|
9609
|
+
"role": {
|
|
9610
|
+
"$ref": "#/definitions/v1Role",
|
|
9611
|
+
"description": "The role assigned to the subject."
|
|
9612
|
+
},
|
|
9613
|
+
"resource": {
|
|
9614
|
+
"type": "string",
|
|
9615
|
+
"description": "The resource to which the role is assigned."
|
|
9616
|
+
}
|
|
9617
|
+
},
|
|
9618
|
+
"description": "RoleBinding is used to bind a user to a specific role for a specific resource."
|
|
9619
|
+
},
|
|
9620
|
+
"v1Stats": {
|
|
9621
|
+
"type": "object",
|
|
9622
|
+
"properties": {
|
|
9623
|
+
"topicModelingPendingJobs": {
|
|
9624
|
+
"type": "string",
|
|
9625
|
+
"format": "int64",
|
|
9626
|
+
"x-nullable": true,
|
|
9627
|
+
"description": "Number of pending jobs in the topic modeling queue. It's marked as optional to always be part of the response, even when the value is zero."
|
|
9628
|
+
},
|
|
9629
|
+
"testValidationPendingJobs": {
|
|
9630
|
+
"type": "string",
|
|
9631
|
+
"format": "int64",
|
|
9632
|
+
"x-nullable": true,
|
|
9633
|
+
"description": "Number of pending jobs in the test validation queue. It's marked as optional to always be part of the response, even when the value is zero."
|
|
9634
|
+
}
|
|
9635
|
+
},
|
|
9636
|
+
"description": "Stats represents statistics about the Eval Studio instance, jobs and utilization."
|
|
9637
|
+
},
|
|
8761
9638
|
"v1Test": {
|
|
8762
9639
|
"type": "object",
|
|
8763
9640
|
"properties": {
|
|
@@ -9677,6 +10554,18 @@
|
|
|
9677
10554
|
"default": "WORKFLOW_NODE_VIEW_UNSPECIFIED",
|
|
9678
10555
|
"description": "WorkflowNodeView specifies the level of detail to include in the response.\n\n - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view.\n - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted.\n - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields."
|
|
9679
10556
|
},
|
|
10557
|
+
"v1WorkflowResultArtifactType": {
|
|
10558
|
+
"type": "string",
|
|
10559
|
+
"enum": [
|
|
10560
|
+
"WORKFLOW_RESULT_ARTIFACT_TYPE_UNSPECIFIED",
|
|
10561
|
+
"WORKFLOW_RESULT_ARTIFACT_TYPE_REPORT",
|
|
10562
|
+
"WORKFLOW_RESULT_ARTIFACT_TYPE_CORPUS_PATCH",
|
|
10563
|
+
"WORKFLOW_RESULT_ARTIFACT_TYPE_SYSTEM_PROMPT_PATCH",
|
|
10564
|
+
"WORKFLOW_RESULT_ARTIFACT_TYPE_GUARDRAIL_CONFIG"
|
|
10565
|
+
],
|
|
10566
|
+
"default": "WORKFLOW_RESULT_ARTIFACT_TYPE_UNSPECIFIED",
|
|
10567
|
+
"description": "WorkflowResultArtifactType enum representing the types of artifacts that can be produced by a Workflow result."
|
|
10568
|
+
},
|
|
9680
10569
|
"v1WorkflowType": {
|
|
9681
10570
|
"type": "string",
|
|
9682
10571
|
"enum": [
|