@@ -424,7 +424,7 @@ export interface paths {
424424 get : operations [ "GetProviderStatus" ] ;
425425 } ;
426426 "/v1/providers" : {
427- get : operations [ "GetProviders" ] ;
427+ post : operations [ "GetProviders" ] ;
428428 } ;
429429 "/v1/property/query" : {
430430 post : operations [ "GetProperties" ] ;
@@ -2580,6 +2580,180 @@ Json: JsonObject;
25802580 error : null ;
25812581 } ;
25822582 "Result_ProviderMetric-Array.string_" : components [ "schemas" ] [ "ResultSuccess_ProviderMetric-Array_" ] | components [ "schemas" ] [ "ResultError_string_" ] ;
2583+ /** @description Make all properties in T optional */
2584+ Partial_UserMetricsToOperators_ : {
2585+ user_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2586+ last_active ?: components [ "schemas" ] [ "Partial_TimestampOperators_" ] ;
2587+ total_requests ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2588+ active_for ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2589+ average_requests_per_day_active ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2590+ average_tokens_per_request ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2591+ total_completion_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2592+ total_prompt_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2593+ cost ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2594+ } ;
2595+ /** @description Make all properties in T optional */
2596+ Partial_UserApiKeysTableToOperators_ : {
2597+ api_key_hash ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2598+ api_key_name ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2599+ } ;
2600+ /** @description Make all properties in T optional */
2601+ Partial_PropertiesTableToOperators_ : {
2602+ auth_hash ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2603+ key ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2604+ value ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2605+ } ;
2606+ /** @description Make all properties in T optional */
2607+ Partial_ExperimentToOperators_ : {
2608+ id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2609+ prompt_v2 ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2610+ } ;
2611+ /** @description Make all properties in T optional */
2612+ Partial_ExperimentHypothesisRunToOperator_ : {
2613+ result_request_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2614+ } ;
2615+ /** @description Make all properties in T optional */
2616+ Partial_ScoreValueToOperator_ : {
2617+ request_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2618+ } ;
2619+ /** @description Make all properties in T optional */
2620+ Partial_RequestResponseLogToOperators_ : {
2621+ latency ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2622+ status ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2623+ request_created_at ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2624+ response_created_at ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2625+ auth_hash ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2626+ model ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2627+ user_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2628+ organization_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2629+ node_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2630+ job_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2631+ threat ?: components [ "schemas" ] [ "Partial_BooleanOperators_" ] ;
2632+ } ;
2633+ /** @description Make all properties in T optional */
2634+ Partial_PropertiesV3ToOperators_ : {
2635+ key ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2636+ value ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2637+ organization_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2638+ } ;
2639+ /** @description Make all properties in T optional */
2640+ Partial_PropertyWithResponseV1ToOperators_ : {
2641+ property_key ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2642+ property_value ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2643+ request_created_at ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2644+ organization_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2645+ threat ?: components [ "schemas" ] [ "Partial_BooleanOperators_" ] ;
2646+ } ;
2647+ /** @description Make all properties in T optional */
2648+ Partial_JobToOperators_ : {
2649+ id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2650+ name ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2651+ description ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2652+ status ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2653+ created_at ?: components [ "schemas" ] [ "Partial_TimestampOperators_" ] ;
2654+ updated_at ?: components [ "schemas" ] [ "Partial_TimestampOperators_" ] ;
2655+ timeout_seconds ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2656+ custom_properties ?: {
2657+ [ key : string ] : components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2658+ } ;
2659+ org_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2660+ } ;
2661+ /** @description Make all properties in T optional */
2662+ Partial_NodesToOperators_ : {
2663+ id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2664+ name ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2665+ description ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2666+ job_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2667+ status ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2668+ created_at ?: components [ "schemas" ] [ "Partial_TimestampOperators_" ] ;
2669+ updated_at ?: components [ "schemas" ] [ "Partial_TimestampOperators_" ] ;
2670+ timeout_seconds ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2671+ custom_properties ?: {
2672+ [ key : string ] : components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2673+ } ;
2674+ org_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2675+ } ;
2676+ /** @description Make all properties in T optional */
2677+ Partial_CacheMetricsTableToOperators_ : {
2678+ organization_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2679+ request_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2680+ date ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2681+ hour ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2682+ model ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2683+ cache_hit_count ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2684+ saved_latency_ms ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2685+ saved_completion_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2686+ saved_prompt_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2687+ saved_completion_audio_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2688+ saved_prompt_audio_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2689+ saved_prompt_cache_write_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2690+ saved_prompt_cache_read_tokens ?: components [ "schemas" ] [ "Partial_NumberOperators_" ] ;
2691+ first_hit ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2692+ last_hit ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2693+ request_body ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2694+ response_body ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2695+ } ;
2696+ /** @description Make all properties in T optional */
2697+ Partial_RateLimitTableToOperators_ : {
2698+ organization_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2699+ created_at ?: components [ "schemas" ] [ "Partial_TimestampOperatorsTyped_" ] ;
2700+ } ;
2701+ /** @description Make all properties in T optional */
2702+ Partial_OrganizationPropertiesToOperators_ : {
2703+ organization_id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2704+ property_key ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2705+ } ;
2706+ /** @description Make all properties in T optional */
2707+ Partial_TablesAndViews_ : {
2708+ user_metrics ?: components [ "schemas" ] [ "Partial_UserMetricsToOperators_" ] ;
2709+ user_api_keys ?: components [ "schemas" ] [ "Partial_UserApiKeysTableToOperators_" ] ;
2710+ response ?: components [ "schemas" ] [ "Partial_ResponseTableToOperators_" ] ;
2711+ request ?: components [ "schemas" ] [ "Partial_RequestTableToOperators_" ] ;
2712+ feedback ?: components [ "schemas" ] [ "Partial_FeedbackTableToOperators_" ] ;
2713+ properties_table ?: components [ "schemas" ] [ "Partial_PropertiesTableToOperators_" ] ;
2714+ prompt_v2 ?: components [ "schemas" ] [ "Partial_PromptToOperators_" ] ;
2715+ prompts_versions ?: components [ "schemas" ] [ "Partial_PromptVersionsToOperators_" ] ;
2716+ experiment ?: components [ "schemas" ] [ "Partial_ExperimentToOperators_" ] ;
2717+ experiment_hypothesis_run ?: components [ "schemas" ] [ "Partial_ExperimentHypothesisRunToOperator_" ] ;
2718+ score_value ?: components [ "schemas" ] [ "Partial_ScoreValueToOperator_" ] ;
2719+ request_response_log ?: components [ "schemas" ] [ "Partial_RequestResponseLogToOperators_" ] ;
2720+ request_response_rmt ?: components [ "schemas" ] [ "Partial_RequestResponseRMTToOperators_" ] ;
2721+ sessions_request_response_rmt ?: components [ "schemas" ] [ "Partial_SessionsRequestResponseRMTToOperators_" ] ;
2722+ users_view ?: components [ "schemas" ] [ "Partial_UserViewToOperators_" ] ;
2723+ properties_v3 ?: components [ "schemas" ] [ "Partial_PropertiesV3ToOperators_" ] ;
2724+ property_with_response_v1 ?: components [ "schemas" ] [ "Partial_PropertyWithResponseV1ToOperators_" ] ;
2725+ job ?: components [ "schemas" ] [ "Partial_JobToOperators_" ] ;
2726+ job_node ?: components [ "schemas" ] [ "Partial_NodesToOperators_" ] ;
2727+ cache_metrics ?: components [ "schemas" ] [ "Partial_CacheMetricsTableToOperators_" ] ;
2728+ rate_limit_log ?: components [ "schemas" ] [ "Partial_RateLimitTableToOperators_" ] ;
2729+ organization_properties ?: components [ "schemas" ] [ "Partial_OrganizationPropertiesToOperators_" ] ;
2730+ properties ?: {
2731+ [ key : string ] : components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2732+ } ;
2733+ values ?: {
2734+ [ key : string ] : components [ "schemas" ] [ "Partial_TextOperators_" ] ;
2735+ } ;
2736+ } ;
2737+ SingleKey_TablesAndViews_ : components [ "schemas" ] [ "Partial_TablesAndViews_" ] ;
2738+ FilterLeaf : components [ "schemas" ] [ "SingleKey_TablesAndViews_" ] ;
2739+ FilterNode : components [ "schemas" ] [ "FilterLeaf" ] | components [ "schemas" ] [ "FilterBranch" ] | Record < string , never > ;
2740+ FilterBranch : {
2741+ left : components [ "schemas" ] [ "FilterNode" ] ;
2742+ /** @enum {string} */
2743+ operator : "or" | "and" ;
2744+ right : components [ "schemas" ] [ "FilterNode" ] ;
2745+ } ;
2746+ ProviderQueryParams : {
2747+ filter : components [ "schemas" ] [ "FilterNode" ] ;
2748+ /** Format: double */
2749+ offset : number ;
2750+ /** Format: double */
2751+ limit : number ;
2752+ timeFilter : {
2753+ end : string ;
2754+ start : string ;
2755+ } ;
2756+ } ;
25832757 Property : {
25842758 property : string ;
25852759 } ;
@@ -3537,11 +3711,6 @@ Json: JsonObject;
35373711 error : null ;
35383712 } ;
35393713 "Result_Experiment-Array.string_" : components [ "schemas" ] [ "ResultSuccess_Experiment-Array_" ] | components [ "schemas" ] [ "ResultError_string_" ] ;
3540- /** @description Make all properties in T optional */
3541- Partial_ExperimentToOperators_ : {
3542- id ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
3543- prompt_v2 ?: components [ "schemas" ] [ "Partial_TextOperators_" ] ;
3544- } ;
35453714 /** @description From T, pick a set of properties whose keys are in the union K */
35463715 "Pick_FilterLeaf.experiment_" : {
35473716 experiment ?: components [ "schemas" ] [ "Partial_ExperimentToOperators_" ] ;
@@ -6457,6 +6626,11 @@ export interface operations {
64576626 } ;
64586627 } ;
64596628 GetProviders : {
6629+ requestBody : {
6630+ content : {
6631+ "application/json" : components [ "schemas" ] [ "ProviderQueryParams" ] ;
6632+ } ;
6633+ } ;
64606634 responses : {
64616635 /** @description Ok */
64626636 200 : {
0 commit comments