@runtypelabs/sdk 7.3.0 → 8.0.0
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/index.cjs +16 -21
- package/dist/index.d.cts +499 -151
- package/dist/index.d.ts +499 -151
- package/dist/index.mjs +16 -21
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2722,6 +2722,24 @@ interface paths {
|
|
|
2722
2722
|
"application/json": components["schemas"]["Error"];
|
|
2723
2723
|
};
|
|
2724
2724
|
};
|
|
2725
|
+
/** @description Organization model configuration needs configuration */
|
|
2726
|
+
409: {
|
|
2727
|
+
headers: {
|
|
2728
|
+
[name: string]: unknown;
|
|
2729
|
+
};
|
|
2730
|
+
content: {
|
|
2731
|
+
"application/json": {
|
|
2732
|
+
candidateCount: number;
|
|
2733
|
+
/** @enum {string} */
|
|
2734
|
+
code: "ORGANIZATION_MODEL_CONFIG_NEEDS_CONFIGURATION";
|
|
2735
|
+
configId: string;
|
|
2736
|
+
details: string;
|
|
2737
|
+
error: string;
|
|
2738
|
+
modelId: string;
|
|
2739
|
+
provider: string;
|
|
2740
|
+
};
|
|
2741
|
+
};
|
|
2742
|
+
};
|
|
2725
2743
|
/** @description Internal server error */
|
|
2726
2744
|
500: {
|
|
2727
2745
|
headers: {
|
|
@@ -18500,6 +18518,21 @@ interface paths {
|
|
|
18500
18518
|
"application/json": components["schemas"]["Error"];
|
|
18501
18519
|
};
|
|
18502
18520
|
};
|
|
18521
|
+
/** @description Organization model configuration already migrated */
|
|
18522
|
+
409: {
|
|
18523
|
+
headers: {
|
|
18524
|
+
[name: string]: unknown;
|
|
18525
|
+
};
|
|
18526
|
+
content: {
|
|
18527
|
+
"application/json": {
|
|
18528
|
+
/** @enum {string} */
|
|
18529
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
18530
|
+
configId: string;
|
|
18531
|
+
details: string;
|
|
18532
|
+
error: string;
|
|
18533
|
+
};
|
|
18534
|
+
};
|
|
18535
|
+
};
|
|
18503
18536
|
/** @description Internal server error */
|
|
18504
18537
|
500: {
|
|
18505
18538
|
headers: {
|
|
@@ -18556,6 +18589,21 @@ interface paths {
|
|
|
18556
18589
|
"application/json": components["schemas"]["Error"];
|
|
18557
18590
|
};
|
|
18558
18591
|
};
|
|
18592
|
+
/** @description Organization model configuration already migrated */
|
|
18593
|
+
409: {
|
|
18594
|
+
headers: {
|
|
18595
|
+
[name: string]: unknown;
|
|
18596
|
+
};
|
|
18597
|
+
content: {
|
|
18598
|
+
"application/json": {
|
|
18599
|
+
/** @enum {string} */
|
|
18600
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
18601
|
+
configId: string;
|
|
18602
|
+
details: string;
|
|
18603
|
+
error: string;
|
|
18604
|
+
};
|
|
18605
|
+
};
|
|
18606
|
+
};
|
|
18559
18607
|
};
|
|
18560
18608
|
};
|
|
18561
18609
|
options?: never;
|
|
@@ -18799,7 +18847,7 @@ interface paths {
|
|
|
18799
18847
|
};
|
|
18800
18848
|
/**
|
|
18801
18849
|
* List connected integration accounts
|
|
18802
|
-
* @description List
|
|
18850
|
+
* @description List connected integration accounts available in the caller's active personal or organization scope. Use an integration ID to pin a tool instance to a specific connection, e.g. a Granola tool's toolConfigs integrationId.
|
|
18803
18851
|
*/
|
|
18804
18852
|
get: {
|
|
18805
18853
|
parameters: {
|
|
@@ -18823,7 +18871,10 @@ interface paths {
|
|
|
18823
18871
|
connections: {
|
|
18824
18872
|
accountName: string;
|
|
18825
18873
|
createdAt: string;
|
|
18874
|
+
/** @enum {string} */
|
|
18875
|
+
environment?: "development" | "production";
|
|
18826
18876
|
integrationId: string;
|
|
18877
|
+
isDefault?: boolean;
|
|
18827
18878
|
metadata?: {
|
|
18828
18879
|
[key: string]: unknown;
|
|
18829
18880
|
};
|
|
@@ -21927,6 +21978,22 @@ interface paths {
|
|
|
21927
21978
|
"application/json": components["schemas"]["Error"];
|
|
21928
21979
|
};
|
|
21929
21980
|
};
|
|
21981
|
+
/** @description The organization credential has moved to the normalized connection plane. The legacy route refuses the mutation and identifies whether the blocking authority is a connection or provider policy. */
|
|
21982
|
+
409: {
|
|
21983
|
+
headers: {
|
|
21984
|
+
[name: string]: unknown;
|
|
21985
|
+
};
|
|
21986
|
+
content: {
|
|
21987
|
+
"application/json": {
|
|
21988
|
+
authorityId: string;
|
|
21989
|
+
/** @enum {string} */
|
|
21990
|
+
authorityType: "connection" | "policy";
|
|
21991
|
+
/** @enum {string} */
|
|
21992
|
+
code: "ORGANIZATION_CONNECTION_MIGRATED";
|
|
21993
|
+
error: string;
|
|
21994
|
+
};
|
|
21995
|
+
};
|
|
21996
|
+
};
|
|
21930
21997
|
/** @description Internal server error */
|
|
21931
21998
|
500: {
|
|
21932
21999
|
headers: {
|
|
@@ -22005,6 +22072,22 @@ interface paths {
|
|
|
22005
22072
|
"application/json": components["schemas"]["Error"];
|
|
22006
22073
|
};
|
|
22007
22074
|
};
|
|
22075
|
+
/** @description The organization credential has moved to the normalized connection plane. The legacy route refuses the mutation and identifies whether the blocking authority is a connection or provider policy. */
|
|
22076
|
+
409: {
|
|
22077
|
+
headers: {
|
|
22078
|
+
[name: string]: unknown;
|
|
22079
|
+
};
|
|
22080
|
+
content: {
|
|
22081
|
+
"application/json": {
|
|
22082
|
+
authorityId: string;
|
|
22083
|
+
/** @enum {string} */
|
|
22084
|
+
authorityType: "connection" | "policy";
|
|
22085
|
+
/** @enum {string} */
|
|
22086
|
+
code: "ORGANIZATION_CONNECTION_MIGRATED";
|
|
22087
|
+
error: string;
|
|
22088
|
+
};
|
|
22089
|
+
};
|
|
22090
|
+
};
|
|
22008
22091
|
/** @description Internal server error */
|
|
22009
22092
|
500: {
|
|
22010
22093
|
headers: {
|
|
@@ -22293,7 +22376,7 @@ interface paths {
|
|
|
22293
22376
|
flowId?: string;
|
|
22294
22377
|
/** @description Filter by agent ID */
|
|
22295
22378
|
agentId?: string;
|
|
22296
|
-
/** @description Filter by execution ID */
|
|
22379
|
+
/** @description Filter by runtime execution_id / executionSessionId (for example exec_... or otel-...), not the aex_... agent-execution row ID */
|
|
22297
22380
|
executionId?: string;
|
|
22298
22381
|
/** @description Filter by surface ID */
|
|
22299
22382
|
surfaceId?: string;
|
|
@@ -22472,7 +22555,7 @@ interface paths {
|
|
|
22472
22555
|
flowId?: string;
|
|
22473
22556
|
/** @description Filter by agent ID */
|
|
22474
22557
|
agentId?: string;
|
|
22475
|
-
/** @description Filter by execution ID */
|
|
22558
|
+
/** @description Filter by runtime execution_id / executionSessionId (for example exec_... or otel-...), not the aex_... agent-execution row ID */
|
|
22476
22559
|
executionId?: string;
|
|
22477
22560
|
/** @description Filter by surface ID */
|
|
22478
22561
|
surfaceId?: string;
|
|
@@ -22657,7 +22740,7 @@ interface paths {
|
|
|
22657
22740
|
query?: never;
|
|
22658
22741
|
header?: never;
|
|
22659
22742
|
path: {
|
|
22660
|
-
/** @description
|
|
22743
|
+
/** @description Runtime execution_id / executionSessionId to trace (for example exec_... or otel-...), not the aex_... agent-execution row ID */
|
|
22661
22744
|
executionId: string;
|
|
22662
22745
|
};
|
|
22663
22746
|
cookie?: never;
|
|
@@ -24865,8 +24948,15 @@ interface paths {
|
|
|
24865
24948
|
"application/json": {
|
|
24866
24949
|
data: {
|
|
24867
24950
|
configScope?: string;
|
|
24951
|
+
/**
|
|
24952
|
+
* @description Organization configuration readiness. `needs_configuration` means conflicting legacy teammate settings were preserved and execution fails closed until an authorized actor deliberately updates the canonical row.
|
|
24953
|
+
* @enum {string}
|
|
24954
|
+
*/
|
|
24955
|
+
configurationStatus?: "ready" | "needs_configuration";
|
|
24868
24956
|
costPer1kTokens?: number;
|
|
24869
24957
|
createdAt: string;
|
|
24958
|
+
/** @description Nullable creation provenance for organization-owned model configurations; never authorization or execution authority. */
|
|
24959
|
+
createdByUserId?: string | null;
|
|
24870
24960
|
creator?: string;
|
|
24871
24961
|
creatorDisplayName?: string | null;
|
|
24872
24962
|
displayName?: string;
|
|
@@ -24877,10 +24967,15 @@ interface paths {
|
|
|
24877
24967
|
/** @enum {string} */
|
|
24878
24968
|
keyStatus?: "platform" | "custom" | "needs_setup";
|
|
24879
24969
|
maxOutputTokens?: number;
|
|
24970
|
+
/** @description Number of preserved legacy candidates considered during organization migration. Candidate settings remain internal. */
|
|
24971
|
+
migrationCandidateCount?: number;
|
|
24880
24972
|
modelId: string;
|
|
24973
|
+
/** @description Normalized organization-owned connection reference. Null for platform selection, personal credentials, and providers that have not migrated. */
|
|
24974
|
+
organizationConnectionId?: string | null;
|
|
24881
24975
|
organizationId: string | null;
|
|
24882
24976
|
outputCostPer1kTokens?: number;
|
|
24883
24977
|
provider: string;
|
|
24978
|
+
/** @description Previous-Worker-compatible provider-key alias. Updated organization clients should use organizationConnectionId; platform selection is null. */
|
|
24884
24979
|
providerKeyId: string | null;
|
|
24885
24980
|
reasoningCapability?: {
|
|
24886
24981
|
/** @enum {string} */
|
|
@@ -24897,7 +24992,8 @@ interface paths {
|
|
|
24897
24992
|
supportsSearch?: boolean;
|
|
24898
24993
|
supportsStreaming?: boolean;
|
|
24899
24994
|
updatedAt: string;
|
|
24900
|
-
|
|
24995
|
+
/** @description Legacy actor owner for personal/compatibility rows. Null for organization-owned model configurations. */
|
|
24996
|
+
userId: string | null;
|
|
24901
24997
|
}[];
|
|
24902
24998
|
total: number;
|
|
24903
24999
|
};
|
|
@@ -24950,6 +25046,7 @@ interface paths {
|
|
|
24950
25046
|
modelId: string;
|
|
24951
25047
|
/** @enum {string} */
|
|
24952
25048
|
provider: "model" | "runtype" | "mock" | "modelsocket" | "mixlayer" | "openai" | "anthropic" | "google" | "xai" | "togetherai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25049
|
+
/** @description Credential selector: `platform`, a provider-key ID, or an organization-connection ID. For migrated model providers this stores the model reference without changing organization-wide credential policy. */
|
|
24953
25050
|
providerKeyId?: string;
|
|
24954
25051
|
/** @default {} */
|
|
24955
25052
|
settings?: {
|
|
@@ -24993,8 +25090,15 @@ interface paths {
|
|
|
24993
25090
|
content: {
|
|
24994
25091
|
"application/json": {
|
|
24995
25092
|
configScope?: string;
|
|
25093
|
+
/**
|
|
25094
|
+
* @description Organization configuration readiness. `needs_configuration` means conflicting legacy teammate settings were preserved and execution fails closed until an authorized actor deliberately updates the canonical row.
|
|
25095
|
+
* @enum {string}
|
|
25096
|
+
*/
|
|
25097
|
+
configurationStatus?: "ready" | "needs_configuration";
|
|
24996
25098
|
costPer1kTokens?: number;
|
|
24997
25099
|
createdAt: string;
|
|
25100
|
+
/** @description Nullable creation provenance for organization-owned model configurations; never authorization or execution authority. */
|
|
25101
|
+
createdByUserId?: string | null;
|
|
24998
25102
|
creator?: string;
|
|
24999
25103
|
creatorDisplayName?: string | null;
|
|
25000
25104
|
displayName?: string;
|
|
@@ -25005,10 +25109,15 @@ interface paths {
|
|
|
25005
25109
|
/** @enum {string} */
|
|
25006
25110
|
keyStatus?: "platform" | "custom" | "needs_setup";
|
|
25007
25111
|
maxOutputTokens?: number;
|
|
25112
|
+
/** @description Number of preserved legacy candidates considered during organization migration. Candidate settings remain internal. */
|
|
25113
|
+
migrationCandidateCount?: number;
|
|
25008
25114
|
modelId: string;
|
|
25115
|
+
/** @description Normalized organization-owned connection reference. Null for platform selection, personal credentials, and providers that have not migrated. */
|
|
25116
|
+
organizationConnectionId?: string | null;
|
|
25009
25117
|
organizationId: string | null;
|
|
25010
25118
|
outputCostPer1kTokens?: number;
|
|
25011
25119
|
provider: string;
|
|
25120
|
+
/** @description Previous-Worker-compatible provider-key alias. Updated organization clients should use organizationConnectionId; platform selection is null. */
|
|
25012
25121
|
providerKeyId: string | null;
|
|
25013
25122
|
reasoningCapability?: {
|
|
25014
25123
|
/** @enum {string} */
|
|
@@ -25025,7 +25134,8 @@ interface paths {
|
|
|
25025
25134
|
supportsSearch?: boolean;
|
|
25026
25135
|
supportsStreaming?: boolean;
|
|
25027
25136
|
updatedAt: string;
|
|
25028
|
-
|
|
25137
|
+
/** @description Legacy actor owner for personal/compatibility rows. Null for organization-owned model configurations. */
|
|
25138
|
+
userId: string | null;
|
|
25029
25139
|
};
|
|
25030
25140
|
};
|
|
25031
25141
|
};
|
|
@@ -25065,6 +25175,30 @@ interface paths {
|
|
|
25065
25175
|
"application/json": components["schemas"]["Error"];
|
|
25066
25176
|
};
|
|
25067
25177
|
};
|
|
25178
|
+
/** @description Organization model configuration migration conflict */
|
|
25179
|
+
409: {
|
|
25180
|
+
headers: {
|
|
25181
|
+
[name: string]: unknown;
|
|
25182
|
+
};
|
|
25183
|
+
content: {
|
|
25184
|
+
"application/json": {
|
|
25185
|
+
/** @enum {string} */
|
|
25186
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
25187
|
+
configId: string;
|
|
25188
|
+
details: string;
|
|
25189
|
+
error: string;
|
|
25190
|
+
} | {
|
|
25191
|
+
candidateCount: number;
|
|
25192
|
+
/** @enum {string} */
|
|
25193
|
+
code: "ORGANIZATION_MODEL_CONFIG_NEEDS_CONFIGURATION";
|
|
25194
|
+
configId: string;
|
|
25195
|
+
details: string;
|
|
25196
|
+
error: string;
|
|
25197
|
+
modelId: string;
|
|
25198
|
+
provider: string;
|
|
25199
|
+
};
|
|
25200
|
+
};
|
|
25201
|
+
};
|
|
25068
25202
|
/** @description Internal server error */
|
|
25069
25203
|
500: {
|
|
25070
25204
|
headers: {
|
|
@@ -25519,6 +25653,7 @@ interface paths {
|
|
|
25519
25653
|
"application/json": {
|
|
25520
25654
|
isDefault?: boolean;
|
|
25521
25655
|
isEnabled?: boolean;
|
|
25656
|
+
/** @description Credential selector: `platform`, a provider-key ID, or an organization-connection ID. For migrated model providers this stores the model reference without changing organization-wide credential policy. */
|
|
25522
25657
|
providerKeyId?: string;
|
|
25523
25658
|
settings?: {
|
|
25524
25659
|
customModel?: {
|
|
@@ -25561,8 +25696,15 @@ interface paths {
|
|
|
25561
25696
|
content: {
|
|
25562
25697
|
"application/json": {
|
|
25563
25698
|
configScope?: string;
|
|
25699
|
+
/**
|
|
25700
|
+
* @description Organization configuration readiness. `needs_configuration` means conflicting legacy teammate settings were preserved and execution fails closed until an authorized actor deliberately updates the canonical row.
|
|
25701
|
+
* @enum {string}
|
|
25702
|
+
*/
|
|
25703
|
+
configurationStatus?: "ready" | "needs_configuration";
|
|
25564
25704
|
costPer1kTokens?: number;
|
|
25565
25705
|
createdAt: string;
|
|
25706
|
+
/** @description Nullable creation provenance for organization-owned model configurations; never authorization or execution authority. */
|
|
25707
|
+
createdByUserId?: string | null;
|
|
25566
25708
|
creator?: string;
|
|
25567
25709
|
creatorDisplayName?: string | null;
|
|
25568
25710
|
displayName?: string;
|
|
@@ -25573,10 +25715,15 @@ interface paths {
|
|
|
25573
25715
|
/** @enum {string} */
|
|
25574
25716
|
keyStatus?: "platform" | "custom" | "needs_setup";
|
|
25575
25717
|
maxOutputTokens?: number;
|
|
25718
|
+
/** @description Number of preserved legacy candidates considered during organization migration. Candidate settings remain internal. */
|
|
25719
|
+
migrationCandidateCount?: number;
|
|
25576
25720
|
modelId: string;
|
|
25721
|
+
/** @description Normalized organization-owned connection reference. Null for platform selection, personal credentials, and providers that have not migrated. */
|
|
25722
|
+
organizationConnectionId?: string | null;
|
|
25577
25723
|
organizationId: string | null;
|
|
25578
25724
|
outputCostPer1kTokens?: number;
|
|
25579
25725
|
provider: string;
|
|
25726
|
+
/** @description Previous-Worker-compatible provider-key alias. Updated organization clients should use organizationConnectionId; platform selection is null. */
|
|
25580
25727
|
providerKeyId: string | null;
|
|
25581
25728
|
reasoningCapability?: {
|
|
25582
25729
|
/** @enum {string} */
|
|
@@ -25593,7 +25740,8 @@ interface paths {
|
|
|
25593
25740
|
supportsSearch?: boolean;
|
|
25594
25741
|
supportsStreaming?: boolean;
|
|
25595
25742
|
updatedAt: string;
|
|
25596
|
-
|
|
25743
|
+
/** @description Legacy actor owner for personal/compatibility rows. Null for organization-owned model configurations. */
|
|
25744
|
+
userId: string | null;
|
|
25597
25745
|
};
|
|
25598
25746
|
};
|
|
25599
25747
|
};
|
|
@@ -25633,6 +25781,30 @@ interface paths {
|
|
|
25633
25781
|
"application/json": components["schemas"]["Error"];
|
|
25634
25782
|
};
|
|
25635
25783
|
};
|
|
25784
|
+
/** @description Organization model configuration migration conflict */
|
|
25785
|
+
409: {
|
|
25786
|
+
headers: {
|
|
25787
|
+
[name: string]: unknown;
|
|
25788
|
+
};
|
|
25789
|
+
content: {
|
|
25790
|
+
"application/json": {
|
|
25791
|
+
/** @enum {string} */
|
|
25792
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
25793
|
+
configId: string;
|
|
25794
|
+
details: string;
|
|
25795
|
+
error: string;
|
|
25796
|
+
} | {
|
|
25797
|
+
candidateCount: number;
|
|
25798
|
+
/** @enum {string} */
|
|
25799
|
+
code: "ORGANIZATION_MODEL_CONFIG_NEEDS_CONFIGURATION";
|
|
25800
|
+
configId: string;
|
|
25801
|
+
details: string;
|
|
25802
|
+
error: string;
|
|
25803
|
+
modelId: string;
|
|
25804
|
+
provider: string;
|
|
25805
|
+
};
|
|
25806
|
+
};
|
|
25807
|
+
};
|
|
25636
25808
|
/** @description Internal server error */
|
|
25637
25809
|
500: {
|
|
25638
25810
|
headers: {
|
|
@@ -25703,6 +25875,30 @@ interface paths {
|
|
|
25703
25875
|
"application/json": components["schemas"]["Error"];
|
|
25704
25876
|
};
|
|
25705
25877
|
};
|
|
25878
|
+
/** @description Organization model configuration migration conflict */
|
|
25879
|
+
409: {
|
|
25880
|
+
headers: {
|
|
25881
|
+
[name: string]: unknown;
|
|
25882
|
+
};
|
|
25883
|
+
content: {
|
|
25884
|
+
"application/json": {
|
|
25885
|
+
/** @enum {string} */
|
|
25886
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
25887
|
+
configId: string;
|
|
25888
|
+
details: string;
|
|
25889
|
+
error: string;
|
|
25890
|
+
} | {
|
|
25891
|
+
candidateCount: number;
|
|
25892
|
+
/** @enum {string} */
|
|
25893
|
+
code: "ORGANIZATION_MODEL_CONFIG_NEEDS_CONFIGURATION";
|
|
25894
|
+
configId: string;
|
|
25895
|
+
details: string;
|
|
25896
|
+
error: string;
|
|
25897
|
+
modelId: string;
|
|
25898
|
+
provider: string;
|
|
25899
|
+
};
|
|
25900
|
+
};
|
|
25901
|
+
};
|
|
25706
25902
|
/** @description Internal server error */
|
|
25707
25903
|
500: {
|
|
25708
25904
|
headers: {
|
|
@@ -25756,8 +25952,15 @@ interface paths {
|
|
|
25756
25952
|
"application/json": {
|
|
25757
25953
|
data: {
|
|
25758
25954
|
configScope?: string;
|
|
25955
|
+
/**
|
|
25956
|
+
* @description Organization configuration readiness. `needs_configuration` means conflicting legacy teammate settings were preserved and execution fails closed until an authorized actor deliberately updates the canonical row.
|
|
25957
|
+
* @enum {string}
|
|
25958
|
+
*/
|
|
25959
|
+
configurationStatus?: "ready" | "needs_configuration";
|
|
25759
25960
|
costPer1kTokens?: number;
|
|
25760
25961
|
createdAt: string;
|
|
25962
|
+
/** @description Nullable creation provenance for organization-owned model configurations; never authorization or execution authority. */
|
|
25963
|
+
createdByUserId?: string | null;
|
|
25761
25964
|
creator?: string;
|
|
25762
25965
|
creatorDisplayName?: string | null;
|
|
25763
25966
|
displayName?: string;
|
|
@@ -25768,10 +25971,15 @@ interface paths {
|
|
|
25768
25971
|
/** @enum {string} */
|
|
25769
25972
|
keyStatus?: "platform" | "custom" | "needs_setup";
|
|
25770
25973
|
maxOutputTokens?: number;
|
|
25974
|
+
/** @description Number of preserved legacy candidates considered during organization migration. Candidate settings remain internal. */
|
|
25975
|
+
migrationCandidateCount?: number;
|
|
25771
25976
|
modelId: string;
|
|
25977
|
+
/** @description Normalized organization-owned connection reference. Null for platform selection, personal credentials, and providers that have not migrated. */
|
|
25978
|
+
organizationConnectionId?: string | null;
|
|
25772
25979
|
organizationId: string | null;
|
|
25773
25980
|
outputCostPer1kTokens?: number;
|
|
25774
25981
|
provider: string;
|
|
25982
|
+
/** @description Previous-Worker-compatible provider-key alias. Updated organization clients should use organizationConnectionId; platform selection is null. */
|
|
25775
25983
|
providerKeyId: string | null;
|
|
25776
25984
|
reasoningCapability?: {
|
|
25777
25985
|
/** @enum {string} */
|
|
@@ -25788,7 +25996,8 @@ interface paths {
|
|
|
25788
25996
|
supportsSearch?: boolean;
|
|
25789
25997
|
supportsStreaming?: boolean;
|
|
25790
25998
|
updatedAt: string;
|
|
25791
|
-
|
|
25999
|
+
/** @description Legacy actor owner for personal/compatibility rows. Null for organization-owned model configurations. */
|
|
26000
|
+
userId: string | null;
|
|
25792
26001
|
};
|
|
25793
26002
|
message: string;
|
|
25794
26003
|
success: boolean;
|
|
@@ -25831,6 +26040,30 @@ interface paths {
|
|
|
25831
26040
|
"application/json": components["schemas"]["Error"];
|
|
25832
26041
|
};
|
|
25833
26042
|
};
|
|
26043
|
+
/** @description Organization model configuration migration conflict */
|
|
26044
|
+
409: {
|
|
26045
|
+
headers: {
|
|
26046
|
+
[name: string]: unknown;
|
|
26047
|
+
};
|
|
26048
|
+
content: {
|
|
26049
|
+
"application/json": {
|
|
26050
|
+
/** @enum {string} */
|
|
26051
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
26052
|
+
configId: string;
|
|
26053
|
+
details: string;
|
|
26054
|
+
error: string;
|
|
26055
|
+
} | {
|
|
26056
|
+
candidateCount: number;
|
|
26057
|
+
/** @enum {string} */
|
|
26058
|
+
code: "ORGANIZATION_MODEL_CONFIG_NEEDS_CONFIGURATION";
|
|
26059
|
+
configId: string;
|
|
26060
|
+
details: string;
|
|
26061
|
+
error: string;
|
|
26062
|
+
modelId: string;
|
|
26063
|
+
provider: string;
|
|
26064
|
+
};
|
|
26065
|
+
};
|
|
26066
|
+
};
|
|
25834
26067
|
/** @description Internal server error */
|
|
25835
26068
|
500: {
|
|
25836
26069
|
headers: {
|
|
@@ -25926,6 +26159,30 @@ interface paths {
|
|
|
25926
26159
|
"application/json": components["schemas"]["Error"];
|
|
25927
26160
|
};
|
|
25928
26161
|
};
|
|
26162
|
+
/** @description Organization model configuration migration conflict */
|
|
26163
|
+
409: {
|
|
26164
|
+
headers: {
|
|
26165
|
+
[name: string]: unknown;
|
|
26166
|
+
};
|
|
26167
|
+
content: {
|
|
26168
|
+
"application/json": {
|
|
26169
|
+
/** @enum {string} */
|
|
26170
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
26171
|
+
configId: string;
|
|
26172
|
+
details: string;
|
|
26173
|
+
error: string;
|
|
26174
|
+
} | {
|
|
26175
|
+
candidateCount: number;
|
|
26176
|
+
/** @enum {string} */
|
|
26177
|
+
code: "ORGANIZATION_MODEL_CONFIG_NEEDS_CONFIGURATION";
|
|
26178
|
+
configId: string;
|
|
26179
|
+
details: string;
|
|
26180
|
+
error: string;
|
|
26181
|
+
modelId: string;
|
|
26182
|
+
provider: string;
|
|
26183
|
+
};
|
|
26184
|
+
};
|
|
26185
|
+
};
|
|
25929
26186
|
/** @description Internal server error */
|
|
25930
26187
|
500: {
|
|
25931
26188
|
headers: {
|
|
@@ -32368,7 +32625,7 @@ interface paths {
|
|
|
32368
32625
|
requestBody?: {
|
|
32369
32626
|
content: {
|
|
32370
32627
|
"application/json": {
|
|
32371
|
-
/** @default gemini-3.
|
|
32628
|
+
/** @default gemini-3.7-flash */
|
|
32372
32629
|
model?: string;
|
|
32373
32630
|
name: string;
|
|
32374
32631
|
/**
|
|
@@ -32565,7 +32822,7 @@ interface paths {
|
|
|
32565
32822
|
requestBody?: {
|
|
32566
32823
|
content: {
|
|
32567
32824
|
"application/json": {
|
|
32568
|
-
/** @default gemini-3.
|
|
32825
|
+
/** @default gemini-3.7-flash */
|
|
32569
32826
|
model?: string;
|
|
32570
32827
|
name?: string;
|
|
32571
32828
|
/**
|
|
@@ -32726,7 +32983,7 @@ interface paths {
|
|
|
32726
32983
|
};
|
|
32727
32984
|
/**
|
|
32728
32985
|
* List provider keys
|
|
32729
|
-
* @description Returns
|
|
32986
|
+
* @description Returns provider credentials for the active account. Migrated organization integrations and model-provider credentials are organization-owned; personal compatibility credentials remain user-owned.
|
|
32730
32987
|
*/
|
|
32731
32988
|
get: {
|
|
32732
32989
|
parameters: {
|
|
@@ -32771,6 +33028,15 @@ interface paths {
|
|
|
32771
33028
|
"application/json": components["schemas"]["Error"];
|
|
32772
33029
|
};
|
|
32773
33030
|
};
|
|
33031
|
+
/** @description Forbidden */
|
|
33032
|
+
403: {
|
|
33033
|
+
headers: {
|
|
33034
|
+
[name: string]: unknown;
|
|
33035
|
+
};
|
|
33036
|
+
content: {
|
|
33037
|
+
"application/json": components["schemas"]["Error"];
|
|
33038
|
+
};
|
|
33039
|
+
};
|
|
32774
33040
|
/** @description Internal server error */
|
|
32775
33041
|
500: {
|
|
32776
33042
|
headers: {
|
|
@@ -32785,7 +33051,7 @@ interface paths {
|
|
|
32785
33051
|
put?: never;
|
|
32786
33052
|
/**
|
|
32787
33053
|
* Create a provider key
|
|
32788
|
-
* @description Creates a
|
|
33054
|
+
* @description Creates a provider credential for the active account. In an organization, Braintrust and migrated model providers (currently OpenAI, Anthropic, Google, xAI, Mixlayer, Vercel AI Gateway, Together.ai, Tinfoil, Amazon Bedrock, Vertex AI, Vertex AI (Claude), and generic-openai) create organization-owned connections and return connection IDs. For OpenAI, Anthropic, Google, and xAI, isDefault=true selects organization BYOK authority; false stores the connection without changing custody. Mixlayer, Vercel AI Gateway, Together.ai, Tinfoil, Amazon Bedrock, Vertex AI, Vertex AI (Claude), and generic-openai creates are always storage-only; use the organization-policy endpoint to select one explicitly. Personal accounts and providers that have not migrated retain provider-key ownership. Requires BYOK entitlement.
|
|
32789
33055
|
*/
|
|
32790
33056
|
post: {
|
|
32791
33057
|
parameters: {
|
|
@@ -32975,6 +33241,109 @@ interface paths {
|
|
|
32975
33241
|
patch?: never;
|
|
32976
33242
|
trace?: never;
|
|
32977
33243
|
};
|
|
33244
|
+
"/v1/provider-keys/organization-policy": {
|
|
33245
|
+
parameters: {
|
|
33246
|
+
query?: never;
|
|
33247
|
+
header?: never;
|
|
33248
|
+
path?: never;
|
|
33249
|
+
cookie?: never;
|
|
33250
|
+
};
|
|
33251
|
+
get?: never;
|
|
33252
|
+
/**
|
|
33253
|
+
* Select organization model-provider credential custody
|
|
33254
|
+
* @description Selects the organization-wide credential used for a migrated model provider. This is an explicit audited authority change affecting all members and detached execution.
|
|
33255
|
+
*/
|
|
33256
|
+
put: {
|
|
33257
|
+
parameters: {
|
|
33258
|
+
query?: never;
|
|
33259
|
+
header?: never;
|
|
33260
|
+
path?: never;
|
|
33261
|
+
cookie?: never;
|
|
33262
|
+
};
|
|
33263
|
+
requestBody?: {
|
|
33264
|
+
content: {
|
|
33265
|
+
"application/json": {
|
|
33266
|
+
/** @enum {string} */
|
|
33267
|
+
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vercel" | "tinfoil" | "bedrock" | "generic-openai" | "togetherai" | "vertex" | "vertex-anthropic";
|
|
33268
|
+
selection: {
|
|
33269
|
+
connectionId: string;
|
|
33270
|
+
};
|
|
33271
|
+
} | {
|
|
33272
|
+
/** @enum {string} */
|
|
33273
|
+
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vercel";
|
|
33274
|
+
/** @enum {string} */
|
|
33275
|
+
selection: "platform";
|
|
33276
|
+
};
|
|
33277
|
+
};
|
|
33278
|
+
};
|
|
33279
|
+
responses: {
|
|
33280
|
+
/** @description Organization provider credential selected */
|
|
33281
|
+
200: {
|
|
33282
|
+
headers: {
|
|
33283
|
+
[name: string]: unknown;
|
|
33284
|
+
};
|
|
33285
|
+
content: {
|
|
33286
|
+
"application/json": {
|
|
33287
|
+
connectionId: string | null;
|
|
33288
|
+
policy: string;
|
|
33289
|
+
provider: string;
|
|
33290
|
+
};
|
|
33291
|
+
};
|
|
33292
|
+
};
|
|
33293
|
+
/** @description Invalid request */
|
|
33294
|
+
400: {
|
|
33295
|
+
headers: {
|
|
33296
|
+
[name: string]: unknown;
|
|
33297
|
+
};
|
|
33298
|
+
content: {
|
|
33299
|
+
"application/json": components["schemas"]["Error"];
|
|
33300
|
+
};
|
|
33301
|
+
};
|
|
33302
|
+
/** @description Unauthorized */
|
|
33303
|
+
401: {
|
|
33304
|
+
headers: {
|
|
33305
|
+
[name: string]: unknown;
|
|
33306
|
+
};
|
|
33307
|
+
content: {
|
|
33308
|
+
"application/json": components["schemas"]["Error"];
|
|
33309
|
+
};
|
|
33310
|
+
};
|
|
33311
|
+
/** @description Organization context or permission required */
|
|
33312
|
+
403: {
|
|
33313
|
+
headers: {
|
|
33314
|
+
[name: string]: unknown;
|
|
33315
|
+
};
|
|
33316
|
+
content: {
|
|
33317
|
+
"application/json": components["schemas"]["Error"];
|
|
33318
|
+
};
|
|
33319
|
+
};
|
|
33320
|
+
/** @description Credential selection unavailable */
|
|
33321
|
+
422: {
|
|
33322
|
+
headers: {
|
|
33323
|
+
[name: string]: unknown;
|
|
33324
|
+
};
|
|
33325
|
+
content: {
|
|
33326
|
+
"application/json": components["schemas"]["Error"];
|
|
33327
|
+
};
|
|
33328
|
+
};
|
|
33329
|
+
/** @description Internal server error */
|
|
33330
|
+
500: {
|
|
33331
|
+
headers: {
|
|
33332
|
+
[name: string]: unknown;
|
|
33333
|
+
};
|
|
33334
|
+
content: {
|
|
33335
|
+
"application/json": components["schemas"]["Error"];
|
|
33336
|
+
};
|
|
33337
|
+
};
|
|
33338
|
+
};
|
|
33339
|
+
};
|
|
33340
|
+
post?: never;
|
|
33341
|
+
delete?: never;
|
|
33342
|
+
options?: never;
|
|
33343
|
+
head?: never;
|
|
33344
|
+
patch?: never;
|
|
33345
|
+
trace?: never;
|
|
33346
|
+
};
|
|
32978
33347
|
"/v1/provider-keys/provider/{provider}": {
|
|
32979
33348
|
parameters: {
|
|
32980
33349
|
query?: never;
|
|
@@ -32984,7 +33353,7 @@ interface paths {
|
|
|
32984
33353
|
};
|
|
32985
33354
|
/**
|
|
32986
33355
|
* List provider keys by provider
|
|
32987
|
-
* @description Returns provider
|
|
33356
|
+
* @description Returns active-account provider credentials filtered by provider, including organization-owned migrated connections.
|
|
32988
33357
|
*/
|
|
32989
33358
|
get: {
|
|
32990
33359
|
parameters: {
|
|
@@ -33005,6 +33374,8 @@ interface paths {
|
|
|
33005
33374
|
};
|
|
33006
33375
|
content: {
|
|
33007
33376
|
"application/json": {
|
|
33377
|
+
/** @enum {string|null} */
|
|
33378
|
+
organizationPolicy?: "organization-byok-required" | "organization-byok-with-platform-fallback" | "platform-managed" | null;
|
|
33008
33379
|
providerKeys: {
|
|
33009
33380
|
createdAt: string;
|
|
33010
33381
|
id: string;
|
|
@@ -33032,6 +33403,15 @@ interface paths {
|
|
|
33032
33403
|
"application/json": components["schemas"]["Error"];
|
|
33033
33404
|
};
|
|
33034
33405
|
};
|
|
33406
|
+
/** @description Forbidden */
|
|
33407
|
+
403: {
|
|
33408
|
+
headers: {
|
|
33409
|
+
[name: string]: unknown;
|
|
33410
|
+
};
|
|
33411
|
+
content: {
|
|
33412
|
+
"application/json": components["schemas"]["Error"];
|
|
33413
|
+
};
|
|
33414
|
+
};
|
|
33035
33415
|
/** @description Internal server error */
|
|
33036
33416
|
500: {
|
|
33037
33417
|
headers: {
|
|
@@ -33063,14 +33443,14 @@ interface paths {
|
|
|
33063
33443
|
post?: never;
|
|
33064
33444
|
/**
|
|
33065
33445
|
* Delete a provider key
|
|
33066
|
-
* @description Deletes a provider
|
|
33446
|
+
* @description Deletes a provider key or supported organization-owned connection. Generic-openai deletion also cleans up associated model configs.
|
|
33067
33447
|
*/
|
|
33068
33448
|
delete: {
|
|
33069
33449
|
parameters: {
|
|
33070
33450
|
query?: never;
|
|
33071
33451
|
header?: never;
|
|
33072
33452
|
path: {
|
|
33073
|
-
/** @description Provider key ID */
|
|
33453
|
+
/** @description Provider key or organization connection ID */
|
|
33074
33454
|
id: string;
|
|
33075
33455
|
};
|
|
33076
33456
|
cookie?: never;
|
|
@@ -33124,6 +33504,35 @@ interface paths {
|
|
|
33124
33504
|
"application/json": components["schemas"]["Error"];
|
|
33125
33505
|
};
|
|
33126
33506
|
};
|
|
33507
|
+
/** @description Credential or model inventory moved during mixed-version rollout */
|
|
33508
|
+
409: {
|
|
33509
|
+
headers: {
|
|
33510
|
+
[name: string]: unknown;
|
|
33511
|
+
};
|
|
33512
|
+
content: {
|
|
33513
|
+
"application/json": {
|
|
33514
|
+
/** @enum {string} */
|
|
33515
|
+
code: "ORGANIZATION_CONNECTION_MIGRATED";
|
|
33516
|
+
error: string;
|
|
33517
|
+
replacementId: string;
|
|
33518
|
+
} | {
|
|
33519
|
+
/** @enum {string} */
|
|
33520
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
33521
|
+
configId: string;
|
|
33522
|
+
details: string;
|
|
33523
|
+
error: string;
|
|
33524
|
+
};
|
|
33525
|
+
};
|
|
33526
|
+
};
|
|
33527
|
+
/** @description Mutation would leave organization credential selection ambiguous */
|
|
33528
|
+
422: {
|
|
33529
|
+
headers: {
|
|
33530
|
+
[name: string]: unknown;
|
|
33531
|
+
};
|
|
33532
|
+
content: {
|
|
33533
|
+
"application/json": components["schemas"]["Error"];
|
|
33534
|
+
};
|
|
33535
|
+
};
|
|
33127
33536
|
/** @description Internal server error */
|
|
33128
33537
|
500: {
|
|
33129
33538
|
headers: {
|
|
@@ -33139,14 +33548,14 @@ interface paths {
|
|
|
33139
33548
|
head?: never;
|
|
33140
33549
|
/**
|
|
33141
33550
|
* Update a provider key
|
|
33142
|
-
* @description Updates
|
|
33551
|
+
* @description Updates a provider key or a supported organization-owned connection returned by create/list. For migrated organization model providers, isDefault=true explicitly selects organization BYOK authority; rotation and non-default metadata changes do not change custody policy.
|
|
33143
33552
|
*/
|
|
33144
33553
|
patch: {
|
|
33145
33554
|
parameters: {
|
|
33146
33555
|
query?: never;
|
|
33147
33556
|
header?: never;
|
|
33148
33557
|
path: {
|
|
33149
|
-
/** @description Provider key ID */
|
|
33558
|
+
/** @description Provider key or organization connection ID */
|
|
33150
33559
|
id: string;
|
|
33151
33560
|
};
|
|
33152
33561
|
cookie?: never;
|
|
@@ -33226,6 +33635,29 @@ interface paths {
|
|
|
33226
33635
|
"application/json": components["schemas"]["Error"];
|
|
33227
33636
|
};
|
|
33228
33637
|
};
|
|
33638
|
+
/** @description Legacy ID replacement during mixed-version rollout */
|
|
33639
|
+
409: {
|
|
33640
|
+
headers: {
|
|
33641
|
+
[name: string]: unknown;
|
|
33642
|
+
};
|
|
33643
|
+
content: {
|
|
33644
|
+
"application/json": {
|
|
33645
|
+
/** @enum {string} */
|
|
33646
|
+
code: "ORGANIZATION_CONNECTION_MIGRATED";
|
|
33647
|
+
error: string;
|
|
33648
|
+
replacementId: string;
|
|
33649
|
+
};
|
|
33650
|
+
};
|
|
33651
|
+
};
|
|
33652
|
+
/** @description Mutation would leave organization credential selection ambiguous */
|
|
33653
|
+
422: {
|
|
33654
|
+
headers: {
|
|
33655
|
+
[name: string]: unknown;
|
|
33656
|
+
};
|
|
33657
|
+
content: {
|
|
33658
|
+
"application/json": components["schemas"]["Error"];
|
|
33659
|
+
};
|
|
33660
|
+
};
|
|
33229
33661
|
/** @description Internal server error */
|
|
33230
33662
|
500: {
|
|
33231
33663
|
headers: {
|
|
@@ -33250,14 +33682,14 @@ interface paths {
|
|
|
33250
33682
|
put?: never;
|
|
33251
33683
|
/**
|
|
33252
33684
|
* Discover models from existing key
|
|
33253
|
-
* @description Discover available models from an existing generic-openai provider key.
|
|
33685
|
+
* @description Discover available models from an existing generic-openai provider key or organization connection.
|
|
33254
33686
|
*/
|
|
33255
33687
|
post: {
|
|
33256
33688
|
parameters: {
|
|
33257
33689
|
query?: never;
|
|
33258
33690
|
header?: never;
|
|
33259
33691
|
path: {
|
|
33260
|
-
/** @description Provider key ID */
|
|
33692
|
+
/** @description Provider key or organization connection ID */
|
|
33261
33693
|
id: string;
|
|
33262
33694
|
};
|
|
33263
33695
|
cookie?: never;
|
|
@@ -33351,14 +33783,14 @@ interface paths {
|
|
|
33351
33783
|
put?: never;
|
|
33352
33784
|
/**
|
|
33353
33785
|
* Sync models for a provider key
|
|
33354
|
-
* @description Sync and upsert model configurations for a generic-openai provider key.
|
|
33786
|
+
* @description Sync and upsert model configurations for a generic-openai provider key or organization connection.
|
|
33355
33787
|
*/
|
|
33356
33788
|
post: {
|
|
33357
33789
|
parameters: {
|
|
33358
33790
|
query?: never;
|
|
33359
33791
|
header?: never;
|
|
33360
33792
|
path: {
|
|
33361
|
-
/** @description Provider key ID */
|
|
33793
|
+
/** @description Provider key or organization connection ID */
|
|
33362
33794
|
id: string;
|
|
33363
33795
|
};
|
|
33364
33796
|
cookie?: never;
|
|
@@ -33436,6 +33868,26 @@ interface paths {
|
|
|
33436
33868
|
"application/json": components["schemas"]["Error"];
|
|
33437
33869
|
};
|
|
33438
33870
|
};
|
|
33871
|
+
/** @description Organization connection or model inventory is managed by a newer Worker */
|
|
33872
|
+
409: {
|
|
33873
|
+
headers: {
|
|
33874
|
+
[name: string]: unknown;
|
|
33875
|
+
};
|
|
33876
|
+
content: {
|
|
33877
|
+
"application/json": {
|
|
33878
|
+
/** @enum {string} */
|
|
33879
|
+
code: "ORGANIZATION_CONNECTION_MIGRATED";
|
|
33880
|
+
error: string;
|
|
33881
|
+
replacementId: string;
|
|
33882
|
+
} | {
|
|
33883
|
+
/** @enum {string} */
|
|
33884
|
+
code: "ORGANIZATION_MODEL_CONFIG_MIGRATED";
|
|
33885
|
+
configId: string;
|
|
33886
|
+
details: string;
|
|
33887
|
+
error: string;
|
|
33888
|
+
};
|
|
33889
|
+
};
|
|
33890
|
+
};
|
|
33439
33891
|
/** @description Internal server error */
|
|
33440
33892
|
500: {
|
|
33441
33893
|
headers: {
|
|
@@ -40791,80 +41243,6 @@ interface paths {
|
|
|
40791
41243
|
patch?: never;
|
|
40792
41244
|
trace?: never;
|
|
40793
41245
|
};
|
|
40794
|
-
"/v1/skills/scan": {
|
|
40795
|
-
parameters: {
|
|
40796
|
-
query?: never;
|
|
40797
|
-
header?: never;
|
|
40798
|
-
path?: never;
|
|
40799
|
-
cookie?: never;
|
|
40800
|
-
};
|
|
40801
|
-
get?: never;
|
|
40802
|
-
put?: never;
|
|
40803
|
-
/**
|
|
40804
|
-
* Scan a skill for malicious patterns
|
|
40805
|
-
* @description Statically scan a SKILL.md string (`markdown`) or structured manifest (`frontmatter` + `body`) and return a two-tier verdict (warning when suspected malicious, error when high-confidence malicious). Does not persist or gate.
|
|
40806
|
-
*/
|
|
40807
|
-
post: {
|
|
40808
|
-
parameters: {
|
|
40809
|
-
query?: never;
|
|
40810
|
-
header?: never;
|
|
40811
|
-
path?: never;
|
|
40812
|
-
cookie?: never;
|
|
40813
|
-
};
|
|
40814
|
-
requestBody?: {
|
|
40815
|
-
content: {
|
|
40816
|
-
"application/json": {
|
|
40817
|
-
[key: string]: unknown;
|
|
40818
|
-
};
|
|
40819
|
-
};
|
|
40820
|
-
};
|
|
40821
|
-
responses: {
|
|
40822
|
-
/** @description Scan verdict */
|
|
40823
|
-
200: {
|
|
40824
|
-
headers: {
|
|
40825
|
-
[name: string]: unknown;
|
|
40826
|
-
};
|
|
40827
|
-
content: {
|
|
40828
|
-
"application/json": {
|
|
40829
|
-
[key: string]: unknown;
|
|
40830
|
-
};
|
|
40831
|
-
};
|
|
40832
|
-
};
|
|
40833
|
-
/** @description Invalid manifest */
|
|
40834
|
-
400: {
|
|
40835
|
-
headers: {
|
|
40836
|
-
[name: string]: unknown;
|
|
40837
|
-
};
|
|
40838
|
-
content: {
|
|
40839
|
-
"application/json": components["schemas"]["Error"];
|
|
40840
|
-
};
|
|
40841
|
-
};
|
|
40842
|
-
/** @description Unauthorized */
|
|
40843
|
-
401: {
|
|
40844
|
-
headers: {
|
|
40845
|
-
[name: string]: unknown;
|
|
40846
|
-
};
|
|
40847
|
-
content: {
|
|
40848
|
-
"application/json": components["schemas"]["Error"];
|
|
40849
|
-
};
|
|
40850
|
-
};
|
|
40851
|
-
/** @description Insufficient permissions */
|
|
40852
|
-
403: {
|
|
40853
|
-
headers: {
|
|
40854
|
-
[name: string]: unknown;
|
|
40855
|
-
};
|
|
40856
|
-
content: {
|
|
40857
|
-
"application/json": components["schemas"]["Error"];
|
|
40858
|
-
};
|
|
40859
|
-
};
|
|
40860
|
-
};
|
|
40861
|
-
};
|
|
40862
|
-
delete?: never;
|
|
40863
|
-
options?: never;
|
|
40864
|
-
head?: never;
|
|
40865
|
-
patch?: never;
|
|
40866
|
-
trace?: never;
|
|
40867
|
-
};
|
|
40868
41246
|
"/v1/skills/{id}": {
|
|
40869
41247
|
parameters: {
|
|
40870
41248
|
query?: never;
|
|
@@ -43422,7 +43800,6 @@ interface paths {
|
|
|
43422
43800
|
enableRuntown: boolean;
|
|
43423
43801
|
enableRuntypeApps: boolean;
|
|
43424
43802
|
enableSelfServeOauthClients: boolean;
|
|
43425
|
-
enableSkillScanner: boolean;
|
|
43426
43803
|
enableVoice: boolean;
|
|
43427
43804
|
enableWorkspaceModel: boolean;
|
|
43428
43805
|
workspaceModelEligible: boolean;
|
|
@@ -47419,6 +47796,10 @@ interface ApiKey {
|
|
|
47419
47796
|
}
|
|
47420
47797
|
interface ModelConfig {
|
|
47421
47798
|
id: string;
|
|
47799
|
+
/** Legacy actor owner. Null for organization-owned model configurations. */
|
|
47800
|
+
userId?: string | null;
|
|
47801
|
+
/** Nullable creation provenance; never authorization or execution authority. */
|
|
47802
|
+
createdByUserId?: string | null;
|
|
47422
47803
|
provider: string;
|
|
47423
47804
|
modelId: string;
|
|
47424
47805
|
displayName?: string;
|
|
@@ -47440,7 +47821,14 @@ interface ModelConfig {
|
|
|
47440
47821
|
settings: JsonObject;
|
|
47441
47822
|
createdAt: string;
|
|
47442
47823
|
updatedAt: string;
|
|
47824
|
+
/** Previous-Worker-compatible provider-key alias; use organizationConnectionId for migrated organization providers. */
|
|
47443
47825
|
providerKeyId?: string | null;
|
|
47826
|
+
/** Normalized organization-owned connection reference; null for platform and personal credentials. */
|
|
47827
|
+
organizationConnectionId?: string | null;
|
|
47828
|
+
/** Organization conflict readiness; unresolved rows fail closed at execution. */
|
|
47829
|
+
configurationStatus?: 'ready' | 'needs_configuration';
|
|
47830
|
+
/** Count of preserved legacy candidates; candidate contents remain internal. */
|
|
47831
|
+
migrationCandidateCount?: number;
|
|
47444
47832
|
requiresIntegration?: string;
|
|
47445
47833
|
apiKey?: string;
|
|
47446
47834
|
scope?: 'personal' | 'organization';
|
|
@@ -47609,6 +47997,8 @@ interface UpdateProviderKeyRequest {
|
|
|
47609
47997
|
/** Provider-specific settings, e.g. `{ baseUrl }` for generic-openai endpoints. */
|
|
47610
47998
|
settings?: JsonObject;
|
|
47611
47999
|
}
|
|
48000
|
+
type SelectOrganizationProviderCredentialRequest = NonNullable<paths['/v1/provider-keys/organization-policy']['put']['requestBody']>['content']['application/json'];
|
|
48001
|
+
type SelectOrganizationProviderCredentialResponse = paths['/v1/provider-keys/organization-policy']['put']['responses'][200]['content']['application/json'];
|
|
47612
48002
|
interface CreateApiKeyRequest {
|
|
47613
48003
|
name: string;
|
|
47614
48004
|
permissions?: string[];
|
|
@@ -51048,43 +51438,6 @@ interface SkillManifestInput {
|
|
|
51048
51438
|
}
|
|
51049
51439
|
/** A skill create/update payload — either a SKILL.md string or a manifest. */
|
|
51050
51440
|
type SkillWriteInput = SkillMarkdownInput | SkillManifestInput;
|
|
51051
|
-
/** Per-finding tier surfaced to the user. */
|
|
51052
|
-
interface SkillScanFinding {
|
|
51053
|
-
ruleId: string;
|
|
51054
|
-
category: string | null;
|
|
51055
|
-
severity: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
|
|
51056
|
-
confidence: number;
|
|
51057
|
-
tier: 'warning' | 'error';
|
|
51058
|
-
hardBlock: boolean;
|
|
51059
|
-
message: string;
|
|
51060
|
-
file: string;
|
|
51061
|
-
startLine: number;
|
|
51062
|
-
remediation: string | null;
|
|
51063
|
-
}
|
|
51064
|
-
/** Two-tier verdict over a skill scan. `tier` is authoritative. */
|
|
51065
|
-
interface SkillScanVerdict {
|
|
51066
|
-
tier: 'clean' | 'warning' | 'error';
|
|
51067
|
-
riskScore: number;
|
|
51068
|
-
riskSeverity: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
|
|
51069
|
-
recommendation: 'SAFE' | 'CAUTION' | 'DO_NOT_INSTALL';
|
|
51070
|
-
errors: SkillScanFinding[];
|
|
51071
|
-
warnings: SkillScanFinding[];
|
|
51072
|
-
summary: string;
|
|
51073
|
-
scannerVersion: string;
|
|
51074
|
-
verdictVersion: number;
|
|
51075
|
-
}
|
|
51076
|
-
/** The `POST /v1/skills/scan` response. */
|
|
51077
|
-
interface SkillScanResult {
|
|
51078
|
-
status: 'passed' | 'warning' | 'blocked' | 'scanner_error';
|
|
51079
|
-
verdict: SkillScanVerdict;
|
|
51080
|
-
reportBody: string;
|
|
51081
|
-
scannerVersion: string;
|
|
51082
|
-
completedAt: string;
|
|
51083
|
-
error?: {
|
|
51084
|
-
code: string;
|
|
51085
|
-
message: string;
|
|
51086
|
-
};
|
|
51087
|
-
}
|
|
51088
51441
|
/** Options for binding a skill to an agent. */
|
|
51089
51442
|
interface BindSkillInput {
|
|
51090
51443
|
agentId: string;
|
|
@@ -51245,19 +51598,6 @@ declare class SkillsNamespace {
|
|
|
51245
51598
|
* ```
|
|
51246
51599
|
*/
|
|
51247
51600
|
publishVersion(skillId: string, versionId: string): Promise<void>;
|
|
51248
|
-
/**
|
|
51249
|
-
* Statically scan a SKILL.md document for malicious patterns and return a
|
|
51250
|
-
* two-tier verdict — `warning` when a skill appears suspicious (low–medium
|
|
51251
|
-
* confidence), `error` when high-confidence malicious. Does not persist or
|
|
51252
|
-
* gate; use it as a "scan before save" affordance.
|
|
51253
|
-
*
|
|
51254
|
-
* @example
|
|
51255
|
-
* ```typescript
|
|
51256
|
-
* const { verdict } = await Runtype.skills.scan(skillMarkdown)
|
|
51257
|
-
* if (verdict.tier === 'error') console.warn(verdict.summary)
|
|
51258
|
-
* ```
|
|
51259
|
-
*/
|
|
51260
|
-
scan(markdown: string): Promise<SkillScanResult>;
|
|
51261
51601
|
/**
|
|
51262
51602
|
* Import a single SKILL.md document. The imported skill lands with
|
|
51263
51603
|
* `trustLevel: 'imported'` and a draft version.
|
|
@@ -53514,6 +53854,12 @@ declare class ProviderKeysEndpoint {
|
|
|
53514
53854
|
* associated model configs.
|
|
53515
53855
|
*/
|
|
53516
53856
|
delete(id: string): Promise<void>;
|
|
53857
|
+
/**
|
|
53858
|
+
* Select organization-wide execution custody for a migrated model provider.
|
|
53859
|
+
* Pass a concrete connection ID for BYOK or `platform` for Runtype-managed
|
|
53860
|
+
* custody. This is an audited organization-wide action.
|
|
53861
|
+
*/
|
|
53862
|
+
selectOrganizationProviderCredential(data: SelectOrganizationProviderCredentialRequest): Promise<SelectOrganizationProviderCredentialResponse>;
|
|
53517
53863
|
/**
|
|
53518
53864
|
* Discover models from an OpenAI-compatible endpoint (calls its `/v1/models`)
|
|
53519
53865
|
* before a key is saved.
|
|
@@ -53525,15 +53871,17 @@ declare class ProviderKeysEndpoint {
|
|
|
53525
53871
|
models: DiscoveredModel[];
|
|
53526
53872
|
}>;
|
|
53527
53873
|
/**
|
|
53528
|
-
* Discover models from the endpoint of an existing generic-openai provider
|
|
53874
|
+
* Discover models from the endpoint of an existing generic-openai provider
|
|
53875
|
+
* key or organization connection.
|
|
53529
53876
|
*/
|
|
53530
53877
|
discoverModelsForKey(id: string): Promise<{
|
|
53531
53878
|
models: DiscoveredModel[];
|
|
53532
53879
|
}>;
|
|
53533
53880
|
/**
|
|
53534
|
-
* Set the discrete model list for a generic-openai provider key
|
|
53535
|
-
* discovered models, or a hand-authored
|
|
53536
|
-
* `/v1/models`. An empty array removes all
|
|
53881
|
+
* Set the discrete model list for a generic-openai provider key or
|
|
53882
|
+
* organization connection. Pass the discovered models, or a hand-authored
|
|
53883
|
+
* list when the endpoint has no `/v1/models`. An empty array removes all
|
|
53884
|
+
* models for that credential.
|
|
53537
53885
|
*/
|
|
53538
53886
|
syncModels(id: string, models: ProviderKeyModel[]): Promise<{
|
|
53539
53887
|
success: boolean;
|
|
@@ -57456,4 +57804,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
57456
57804
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
57457
57805
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
57458
57806
|
|
|
57459
|
-
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, ChatEndpoint, type CheckGrader, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withUnifiedEvents };
|
|
57807
|
+
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, ChatEndpoint, type CheckGrader, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withUnifiedEvents };
|