@truefoundry/ai-gateway-sdk 0.0.31 → 0.0.33

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.
@@ -26,7 +26,7 @@ export type AwsBedrockAssumedRoleBasedAuth = AwsAssumedRoleBasedAuth & {
26
26
  };
27
27
  /**
28
28
  * +label=Enforcing Strategy
29
- * +usage=Strategy for enforcing this guardrail: enforce (block on failure), enforce_but_ignore_on_error (continue on error but block on failure), or audit (only audit violations)
29
+ * +usage=Strategy for enforcing this guardrail: fail closed (block on failure), fail open (continue on error but block on failure), or audit (only audit violations)
30
30
  * +uiType=Select
31
31
  * +sort=175
32
32
  */
@@ -305,11 +305,6 @@ export type BitbucketIntegrations = BitbucketIntegration | BitbucketDataCenterIn
305
305
  * +usage=Unit for budget limit calculation
306
306
  */
307
307
  export type BudgetLimitUnit = 'cost_per_day' | 'cost_per_month' | 'cost_per_week' | 'cost_per_quarter' | 'tokens_per_day' | 'tokens_per_month';
308
- /**
309
- * MCP tool approval policies. Webhook receives the structured approval.requested event.
310
- * +discriminator=type
311
- */
312
- export type NotificationTargetForApproval = Email | SlackWebhook | SlackBot | PagerDuty | MSTeamsWebhook | Webhook;
313
308
  /**
314
309
  * +discriminator=type
315
310
  */
@@ -330,6 +325,12 @@ export type SlackBotWithUsers = SlackBot & {
330
325
  * +discriminator=type
331
326
  */
332
327
  export type BudgetV2AppliesTo = BudgetV2AppliesToAggregate | BudgetV2AppliesToPerUser | BudgetV2AppliesToPerModel | BudgetV2AppliesToPerVirtualAccount | BudgetV2AppliesToPerAgent | BudgetV2AppliesToMetadata;
328
+ /**
329
+ * Partitioning for self-service user budgets. Owner is already fixed by owned_by, so split by
330
+ * aggregate / per-model / metadata only (not per-user, per-virtual-account, or per-agent).
331
+ * +discriminator=type
332
+ */
333
+ export type BudgetV2AppliesToUserScoped = BudgetV2AppliesToAggregate | BudgetV2AppliesToPerModel | BudgetV2AppliesToMetadata;
333
334
  /**
334
335
  * +discriminator=type
335
336
  */
@@ -503,6 +504,11 @@ export type Feature = 'function_calling' | 'parallel_function_calling' | 'cache_
503
504
  export type FiddlerGuardType = 'fiddler-safety' | 'fiddler-response-faithfulness';
504
505
  export type FlyteTaskTemplate = TruefoundryFlyteTaskTemplate | NativeSnowflakeFlyteTaskTemplate;
505
506
  export type GCPRegion = 'global' | 'africa-south1' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'asia-southeast3' | 'australia-southeast1' | 'australia-southeast2' | 'europe-central2' | 'europe-north1' | 'europe-north2' | 'europe-southwest1' | 'europe-west1' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'europe-west10' | 'europe-west12' | 'me-central1' | 'me-central2' | 'me-west1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'northamerica-south1' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4';
507
+ /**
508
+ * MCP tool approval policies. Webhook receives the structured approval.requested event.
509
+ * +discriminator=type
510
+ */
511
+ export type NotificationTargetForApproval = Email | SlackWebhook | SlackBot | PagerDuty | MSTeamsWebhook | Webhook;
506
512
  /**
507
513
  * +label=Validity Mode
508
514
  * +usage=How long an approval grant stays valid after it is given.
@@ -512,7 +518,7 @@ export type MCPToolApprovalValidityMode = MCPToolApprovalTimeBasedValidity | MCP
512
518
  /**
513
519
  * +discriminator=type
514
520
  */
515
- export type GatewayConfig = TenantModelRateLimitConfig | TenantMCPRateLimitConfig | RateLimitConfig | LoadBalancingConfig | GuardrailsConfig | BudgetConfig | TenantBudgetConfig | TeamBudgetConfig | GatewayOTELConfig | GatewayMetadataConfig | GlobalSettings | GatewayDataAccessConfig | GatewayDataRoutingConfig | GatewayLoggingConfig;
521
+ export type GatewayConfig = TenantModelRateLimitConfig | TenantMCPRateLimitConfig | RateLimitConfig | LoadBalancingConfig | GuardrailsConfig | BudgetConfig | TenantBudgetConfig | TeamBudgetConfig | UserBudgetConfig | GatewayOTELConfig | GatewayMetadataConfig | GlobalSettings | GatewayDataAccessConfig | GatewayDataRoutingConfig | GatewayLoggingConfig;
516
522
  export type RateLimitV2ModelAppliesTo = RateLimitV2ModelAppliesToAggregate | RateLimitV2ModelAppliesToPerUser | RateLimitV2ModelAppliesToPerModel | RateLimitV2ModelAppliesToPerVirtualAccount | RateLimitV2ModelAppliesToMetadata;
517
523
  /**
518
524
  * +discriminator=type
@@ -672,6 +678,7 @@ export type PatronusJudgeCriteria = 'patronus:answer-refusal' | 'patronus:no-ope
672
678
  export type PatronusPIICriteria = 'patronus:pii';
673
679
  export type PatronusPhiCriteria = 'patronus:phi';
674
680
  export type PatronusToxicityCriteria = 'patronus:toxicity';
681
+ export type TfyContentModerationCategory = 'Hate' | 'Harassment' | 'SelfHarm' | 'Sexual' | 'Violence' | 'Illicit';
675
682
  /**
676
683
  * +label=Rule
677
684
  */
@@ -699,7 +706,7 @@ export type InfraProviderAccount = AwsProviderAccount | SnowflakeProviderAccount
699
706
  * +discriminator=type
700
707
  */
701
708
  export type SlackIntegrations = SlackWebhookIntegration | SlackBotIntegration;
702
- export type Input = AccountManifest | ClusterManifest | VirtualAccountManifest | PersonalAccessTokenManifest | WorkspaceManifest | ProviderIntegrations | Service | AsyncService | Workflow | Job | SparkJob | Helm | Volume | Notebook | SparkNotebook | Codeserver | SSHServer | RStudio | ApplicationSet | Intercept | MCPServerManifest | MLRepoManifest | ModelManifest | ArtifactManifest | DataDirectoryManifest | GatewayConfig | GatewayPolicyManifest | CacheConfig | HeaderRoutingConfig | TeamManifest | EnvironmentManifest | PolicyManifest | RoleManifest | RoleBindingManifest | AlertConfig | TracingProjectManifest | TracingApplicationManifest | ProviderAccounts | ChatPromptManifest | AgentSkillManifest | AWSTerraformConfig | GCPTerraformConfig | AzureTerraformConfig | GenericTerraformConfig | CommonToolsSettings | AIFeaturesSettings | SSOSettings | SecuritySettings | TracingProjectsControlPlaneStorage | FeaturesSettings | ThemeSettings | ProvisioningSettings | AgentAppManifest | GatewayInstallationManifest | SecretGroupManifest | IdentityProviderManifest | AgentIdentityManifest | OidcClientManifest | ModelConfig | MCPUserAuthInput | MCPUserAuthInputV2 | AgentManifestV2 | AgentChannelManifest;
709
+ export type Input = AccountManifest | ClusterManifest | VirtualAccountManifest | PersonalAccessTokenManifest | WorkspaceManifest | ProviderIntegrations | Service | AsyncService | Workflow | Job | SparkJob | Helm | Volume | Notebook | SparkNotebook | Codeserver | SSHServer | RStudio | ApplicationSet | Intercept | MCPServerManifest | MLRepoManifest | ModelManifest | ArtifactManifest | DataDirectoryManifest | GatewayConfig | GatewayPolicyManifest | CacheConfig | HeaderRoutingConfig | TeamManifest | EnvironmentManifest | PolicyManifest | RoleManifest | RoleBindingManifest | AlertConfig | TracingProjectManifest | TracingApplicationManifest | ProviderAccounts | ChatPromptManifest | AgentSkillManifest | AWSTerraformConfig | GCPTerraformConfig | AzureTerraformConfig | GenericTerraformConfig | CommonToolsSettings | MCPGatewaySettings | AIFeaturesSettings | SSOSettings | SecuritySettings | TracingProjectsControlPlaneStorage | FeaturesSettings | ThemeSettings | ProvisioningSettings | SupportPortalSettings | GatewayInstallationManifest | SecretGroupManifest | IdentityProviderManifest | AgentIdentityManifest | OidcClientManifest | ModelConfig | MCPUserAuthInput | MCPUserAuthInputV2 | AgentManifestV2 | AgentChannelManifest;
703
710
  /**
704
711
  * +label=Sync to Secret Manager
705
712
  * +sort=6
@@ -824,7 +831,7 @@ export type MCPServerOAuth2 = MCPServerOAuth2ProviderAuth0Settings & MCPServerOA
824
831
  * +label=Grant Type
825
832
  * +usage=The OAuth2 grant type to use for authentication.
826
833
  * +sort=150
827
- * +uiType=RadioCard
834
+ * +uiType=RadioPills
828
835
  */
829
836
  grant_type: 'authorization_code' | 'client_credentials' | 'token_exchange' | 'id_jag' | 'jwt_bearer';
830
837
  /**
@@ -850,7 +857,7 @@ export type MCPServerOAuth2 = MCPServerOAuth2ProviderAuth0Settings & MCPServerOA
850
857
  * +label=Client Authentication
851
858
  * +usage=How the OAuth client authenticates to the token endpoint. Certificate auth is available for Microsoft Entra client_credentials and jwt_bearer (on-behalf-of).
852
859
  * +sort=450
853
- * +uiType=RadioCard
860
+ * +uiType=RadioPills
854
861
  */
855
862
  client_authentication?: 'client_secret' | 'certificate';
856
863
  /**
@@ -900,13 +907,14 @@ export type MCPServerOAuth2 = MCPServerOAuth2ProviderAuth0Settings & MCPServerOA
900
907
  * +label=OAuth Provider
901
908
  * +usage=Select the OAuth provider. Provider-specific configuration (e.g. Auth0 organization) is unlocked based on this value.
902
909
  * +sort=120
903
- * +uiType=Select
910
+ * +uiType=RadioPills
904
911
  */
905
912
  provider: 'custom' | 'auth0' | 'okta' | 'microsoft-entra';
906
913
  /**
907
914
  * +label=Code Challenge Methods Supported
908
915
  * +usage=List of supported PKCE code challenge methods (S256 only)
909
916
  * +sort=700
917
+ * +uiType=TagsInput
910
918
  */
911
919
  code_challenge_methods_supported?: 'S256'[];
912
920
  /**
@@ -919,6 +927,7 @@ export type MCPServerOAuth2 = MCPServerOAuth2ProviderAuth0Settings & MCPServerOA
919
927
  * +label=Scopes
920
928
  * +usage=List of scopes to request from the OAuth2 provider.
921
929
  * +sort=900
930
+ * +uiType=TagsInput
922
931
  */
923
932
  scopes?: string[];
924
933
  /**
@@ -1376,16 +1385,27 @@ export interface OwnedBy {
1376
1385
  */
1377
1386
  account: string;
1378
1387
  }
1388
+ /**
1389
+ * +label=Bring Your Own Models
1390
+ * +usage=Use your own Gateway models. You pick one for each level of task difficulty, and the
1391
+ * usage is billed to your own provider accounts.
1392
+ */
1393
+ export interface AIFeaturesBringYourOwnModelsProvider {
1394
+ /**
1395
+ * +value=self-managed
1396
+ */
1397
+ type: 'self-managed';
1398
+ models: AIFeaturesModels;
1399
+ }
1379
1400
  /**
1380
1401
  * +label=AI Features Models
1381
- * +usage=Gateway model to use for each task complexity tier. AI features route each
1382
- * request to the model matching the estimated difficulty of the task, trading off cost,
1383
- * latency and quality. Each value is a Gateway model FQN in the form provider/model.
1402
+ * +usage=Pick one of your Gateway models for each level of task difficulty.
1384
1403
  */
1385
1404
  export interface AIFeaturesModels {
1386
1405
  /**
1387
1406
  * +label=Simple Tasks
1388
- * +usage=Fast, low-cost model for high-volume, well-defined tasks like classification, extraction, formatting and short summaries.
1407
+ * +usage=Quick, well-defined work such as classification, extraction and short summaries.
1408
+ * Use Claude Haiku 5.5 or GPT-6 Luna.
1389
1409
  * +sort=1
1390
1410
  * +uiType=IntegrationSelect
1391
1411
  * +uiProps={"integrationType":"model","descriptionInline":true,"valuePattern":"${providerAccount.name}/${manifest.name}"}
@@ -1394,7 +1414,8 @@ export interface AIFeaturesModels {
1394
1414
  simple: string;
1395
1415
  /**
1396
1416
  * +label=Medium Tasks
1397
- * +usage=Balanced mid-tier model for standard tasks like general Q&A, structured output.
1417
+ * +usage=Everyday work such as answering questions and summarizing longer content.
1418
+ * Use Claude Sonnet 5.5, GPT-6.1 Sol or Grok 4.7.
1398
1419
  * +sort=2
1399
1420
  * +uiType=IntegrationSelect
1400
1421
  * +uiProps={"integrationType":"model","descriptionInline":true,"valuePattern":"${providerAccount.name}/${manifest.name}"}
@@ -1403,7 +1424,8 @@ export interface AIFeaturesModels {
1403
1424
  medium: string;
1404
1425
  /**
1405
1426
  * +label=Complex Tasks
1406
- * +usage=Most capable model for demanding tasks like multi-step reasoning, code generation and nuanced analysis.
1427
+ * +usage=Demanding work such as multi-step reasoning and writing code.
1428
+ * Use Claude Opus 5.5 or GPT-6 Astra.
1407
1429
  * +sort=3
1408
1430
  * +uiType=IntegrationSelect
1409
1431
  * +uiProps={"integrationType":"model","descriptionInline":true,"valuePattern":"${providerAccount.name}/${manifest.name}"}
@@ -1422,19 +1444,27 @@ export interface AIFeaturesSettings {
1422
1444
  type: 'settings/ai-features';
1423
1445
  /**
1424
1446
  * +label=Enabled
1425
- * +usage=Enable/Disable AI features.
1426
- * Other fields only apply when this is true
1427
1447
  * +sort=1
1428
1448
  */
1429
1449
  enabled: boolean;
1430
1450
  /**
1431
1451
  * +label=AI Provider
1432
- * +usage=AI provider to use for AI features.
1433
- * TrueFoundry manages models on SaaS. Self-Managed uses your gateway models.
1452
+ * +usage=Choose the models that power AI features like Ask TFY on the platform. Let
1453
+ * TrueFoundry provide them, or bring your own from your Gateway.
1434
1454
  * +sort=2
1455
+ * +discriminator=type
1456
+ */
1457
+ ai_provider?: AIFeaturesTrueFoundryProvider | AIFeaturesBringYourOwnModelsProvider;
1458
+ }
1459
+ /**
1460
+ * +label=TrueFoundry Models
1461
+ * +usage=TrueFoundry provides and manages the models. There is nothing for you to set up.
1462
+ */
1463
+ export interface AIFeaturesTrueFoundryProvider {
1464
+ /**
1465
+ * +value=truefoundry
1435
1466
  */
1436
- ai_provider: 'truefoundry' | 'self-managed';
1437
- models?: AIFeaturesModels;
1467
+ type: 'truefoundry';
1438
1468
  }
1439
1469
  /**
1440
1470
  * +docs=Describes the configuration for the input AMQP worker
@@ -2411,41 +2441,6 @@ export interface AccountManifest {
2411
2441
  */
2412
2442
  scope: string[];
2413
2443
  }
2414
- export interface AgentAppManifest {
2415
- /**
2416
- * +value=agent-app
2417
- */
2418
- type: 'agent-app';
2419
- /**
2420
- * +label=Name
2421
- * +sort=100
2422
- * +usage=The name of the Agent
2423
- * +message=3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
2424
- * +uiProps={"disableEdit":true}
2425
- */
2426
- name: string;
2427
- /**
2428
- * +label=Description
2429
- * +sort=200
2430
- * +usage=The description of the Agent
2431
- */
2432
- description: string;
2433
- /**
2434
- * +label=Collaborators
2435
- * +sort=300
2436
- * +usage=List of users who have access to this Agent App
2437
- * +uiType=Collaborators
2438
- */
2439
- collaborators?: Collaborator[];
2440
- /**
2441
- * +label=Root Agent FQN
2442
- * +sort=400
2443
- * +usage=The FQN of the root agent
2444
- * +uiType=AgentFqn
2445
- */
2446
- root_agent_fqn: string;
2447
- ownedBy?: OwnedBy;
2448
- }
2449
2444
  /**
2450
2445
  * +label=Agent
2451
2446
  * +uiType=Hidden
@@ -2715,23 +2710,6 @@ export interface MSTeamsWebhook {
2715
2710
  */
2716
2711
  notification_channel: string;
2717
2712
  }
2718
- /**
2719
- * +label=Webhook
2720
- */
2721
- export interface Webhook {
2722
- /**
2723
- * +value=webhook
2724
- */
2725
- type: 'webhook';
2726
- /**
2727
- * +label=Notification Channel
2728
- * +usage=Specify the notification channel to send alerts to
2729
- * +uiType=AlertNotificationChannel
2730
- * +uiProps={"integrationType":"notification-channel"}
2731
- * +sort=660
2732
- */
2733
- notification_channel: string;
2734
- }
2735
2713
  /**
2736
2714
  * +label=Sync to Secret Manager
2737
2715
  * +usage=Enable to store the agent identity token in a secret store
@@ -2787,7 +2765,15 @@ export interface AgentIdentityProviderMapping {
2787
2765
  * +usage=Claim value that should resolve to this agent identity
2788
2766
  * +sort=200
2789
2767
  */
2790
- value: string;
2768
+ value?: string;
2769
+ /**
2770
+ * +label=Claims
2771
+ * +usage=Claim names and values from the workload token. Every name listed here must be present on the token. For example, `kubernetes.io/namespace`: `production` and `kubernetes.io/serviceaccount/name`: `build-agent`.
2772
+ * +sort=300
2773
+ */
2774
+ claims?: {
2775
+ [k: string]: string;
2776
+ };
2791
2777
  }
2792
2778
  export interface AgentIdentityManifest {
2793
2779
  /**
@@ -3537,14 +3523,7 @@ export interface AgentManifestV2 {
3537
3523
  */
3538
3524
  description: string;
3539
3525
  source?: RemoteAgentSource;
3540
- /**
3541
- * +label=State
3542
- * +usage=Lifecycle state of the agent. Active: managed and available for use. Unmanaged: imported from an external registry for governance (not fully managed yet). Inactive: disabled and cannot be used or invoked.
3543
- * +sort=116
3544
- * +uiType=Select
3545
- */
3546
- state?: 'active' | 'unmanaged' | 'inactive';
3547
- identity: RemoteAgentV2AgentIdentity;
3526
+ identity?: RemoteAgentV2AgentIdentity;
3548
3527
  proxy_via_gateway: RemoteAgentProxyViaGatewayConfig;
3549
3528
  /**
3550
3529
  * +label=Collaborators
@@ -3573,7 +3552,7 @@ export interface RemoteAgentSource {
3573
3552
  * +sort=100
3574
3553
  * +uiType=Select
3575
3554
  */
3576
- type: 'trueforge' | 'aws-agentcore-harness' | 'aws-agentcore-runtime' | 'microsoft-foundry' | 'microsoft-copilot-studio';
3555
+ type: 'trueforge' | 'aws-agentcore-harness' | 'aws-agentcore-runtime' | 'snowflake-cortex-agent' | 'microsoft-foundry' | 'microsoft-copilot-studio';
3577
3556
  /**
3578
3557
  * +label=Provider Integration FQN
3579
3558
  * +usage=FQN of the provider integration used by this agent source.
@@ -3653,8 +3632,19 @@ export interface IdentityProviderMapping {
3653
3632
  * +label=Subject value
3654
3633
  * +usage=The value that must appear in the subject claim of the IdP token for this mapping to match. For example, a service account email or a group name.
3655
3634
  * +sort=200
3635
+ * +placeholder=Subject value
3636
+ * +uiProps={"keyPlaceholder":"Subject key"}
3656
3637
  */
3657
- value: string;
3638
+ value?: string;
3639
+ /**
3640
+ * +label=Subject
3641
+ * +usage=Add a subject key and the value that must match on the token. The keys shown are required for this provider.
3642
+ * +sort=300
3643
+ * +uiProps={"keyPlaceholder":"Subject key","valuePlaceholder":"Subject value"}
3644
+ */
3645
+ claims?: {
3646
+ [k: string]: string;
3647
+ };
3658
3648
  }
3659
3649
  /**
3660
3650
  * +label=Proxy via Gateway
@@ -3690,14 +3680,14 @@ export interface RemoteAgentOAuth2 {
3690
3680
  * +label=OAuth Provider
3691
3681
  * +usage=Select the OAuth provider. Provider-specific behaviour is unlocked based on this value.
3692
3682
  * +sort=25
3693
- * +uiType=Select
3683
+ * +uiType=RadioPills
3694
3684
  */
3695
3685
  provider: 'custom' | 'microsoft-entra' | 'okta';
3696
3686
  /**
3697
3687
  * +label=Grant Type
3698
3688
  * +usage=How the Gateway acquires the token: client_credentials (machine-to-machine), jwt_bearer (Microsoft Entra on-behalf-of) or token_exchange (Okta on-behalf-of).
3699
3689
  * +sort=50
3700
- * +uiType=RadioCard
3690
+ * +uiType=RadioPills
3701
3691
  */
3702
3692
  grant_type: 'client_credentials' | 'jwt_bearer' | 'token_exchange';
3703
3693
  /**
@@ -3717,7 +3707,7 @@ export interface RemoteAgentOAuth2 {
3717
3707
  * +label=Client Authentication
3718
3708
  * +usage=How the OAuth client authenticates to the token endpoint. Certificate auth is available for Microsoft Entra client_credentials and jwt_bearer (on-behalf-of).
3719
3709
  * +sort=250
3720
- * +uiType=RadioCard
3710
+ * +uiType=RadioPills
3721
3711
  */
3722
3712
  client_authentication?: 'client_secret' | 'certificate';
3723
3713
  /**
@@ -5059,10 +5049,12 @@ export interface NvidiaMIGGPU {
5059
5049
  * A100 80 GB / H100 80 GB - [1g.10gb, 1g.20gb, 2g.20gb, 3g.40gb, 4g.40gb, 7g.80gb]
5060
5050
  * H100 94 GB - [1g.12gb, 1g.24gb, 2g.24gb, 3g.47gb, 4g.47gb, 7g.94gb]
5061
5051
  * H100 96 GB - [1g.12gb, 1g.24gb, 2g.24gb, 3g.48gb, 4g.48gb, 7g.96gb]
5062
- * H200 141 GB - [1g.18gb, 1g.35gb, 2g.35gb, 3g.71gb, 4g.71gb]
5052
+ * H200 141 GB - [1g.18gb, 1g.35gb, 2g.35gb, 3g.71gb, 4g.71gb, 7g.141gb]
5063
5053
  * B200 180 GB - [1g.23gb, 1g.45gb, 2g.45gb, 3g.90gb, 4g.90gb, 7g.180gb]
5054
+ * RTX PRO 6000 96 GB - [1g.24gb, 2g.48gb, 4g.96gb]
5055
+ * RTX PRO 4500 32 GB - [1g.16gb, 2g.32gb]
5064
5056
  */
5065
- profile: '1g.6gb' | '2g.12gb' | '1g.5gb' | '1g.10gb' | '2g.10gb' | '3g.20gb' | '4g.20gb' | '1g.20gb' | '2g.20gb' | '3g.40gb' | '4g.40gb' | '1g.12gb' | '1g.24gb' | '2g.24gb' | '3g.47gb' | '4g.47gb' | '3g.48gb' | '4g.48gb' | '1g.18gb' | '1g.35gb' | '2g.35gb' | '3g.71gb' | '4g.71gb' | '1g.23gb' | '1g.45gb' | '2g.45gb' | '3g.90gb' | '4g.90gb' | '4g.24gb' | '7g.40gb' | '7g.80gb' | '7g.94gb' | '7g.96gb' | '7g.180gb';
5057
+ profile: '1g.6gb' | '2g.12gb' | '1g.5gb' | '1g.10gb' | '2g.10gb' | '3g.20gb' | '4g.20gb' | '1g.20gb' | '2g.20gb' | '3g.40gb' | '4g.40gb' | '1g.12gb' | '1g.24gb' | '2g.24gb' | '3g.47gb' | '4g.47gb' | '3g.48gb' | '4g.48gb' | '2g.48gb' | '4g.96gb' | '1g.16gb' | '2g.32gb' | '1g.18gb' | '1g.35gb' | '2g.35gb' | '3g.71gb' | '4g.71gb' | '1g.23gb' | '1g.45gb' | '2g.45gb' | '3g.90gb' | '4g.90gb' | '4g.24gb' | '7g.40gb' | '7g.80gb' | '7g.94gb' | '7g.96gb' | '7g.141gb' | '7g.180gb';
5066
5058
  }
5067
5059
  export interface NvidiaTimeslicingGPU {
5068
5060
  /**
@@ -7325,7 +7317,7 @@ export interface AzureBasicAuth {
7325
7317
  }
7326
7318
  /**
7327
7319
  * +icon=azure-blob
7328
- * +label=Azure ABS
7320
+ * +label=Azure Blob Storage
7329
7321
  */
7330
7322
  export interface AzureBlobStorage {
7331
7323
  /**
@@ -9091,6 +9083,23 @@ export interface BudgetV2Alert {
9091
9083
  */
9092
9084
  notification_target?: NotificationTargetForBudget[];
9093
9085
  }
9086
+ /**
9087
+ * +label=Webhook
9088
+ */
9089
+ export interface Webhook {
9090
+ /**
9091
+ * +value=webhook
9092
+ */
9093
+ type: 'webhook';
9094
+ /**
9095
+ * +label=Notification Channel
9096
+ * +usage=Specify the notification channel to send alerts to
9097
+ * +uiType=AlertNotificationChannel
9098
+ * +uiProps={"integrationType":"notification-channel"}
9099
+ * +sort=660
9100
+ */
9101
+ notification_channel: string;
9102
+ }
9094
9103
  /**
9095
9104
  * +label=Aggregate
9096
9105
  * +usage=A single shared budget across every matching request.
@@ -9364,8 +9373,27 @@ export interface BudgetV2SubjectsTenantScoped {
9364
9373
  virtual_accounts?: BudgetV2InNotInFilter;
9365
9374
  agents?: BudgetV2InNotInFilter;
9366
9375
  }
9376
+ /**
9377
+ * +label=User Budget Owner
9378
+ */
9379
+ export interface BudgetV2UserOwner {
9380
+ /**
9381
+ * +usage=Subject type of the principal that owns this budget. Set by the server from the caller's session.
9382
+ * +label=Subject Type
9383
+ * +sort=1
9384
+ */
9385
+ subject_type: 'user' | 'virtualaccount';
9386
+ /**
9387
+ * +usage=Subject slug of the principal that owns this budget. Set by the server from the caller's session.
9388
+ * +label=Subject Slug
9389
+ * +sort=2
9390
+ */
9391
+ subject_slug: string;
9392
+ }
9367
9393
  /**
9368
9394
  * +label=Team Budget Conditions
9395
+ * virtual_models | virtual_provider_accounts cannot be combined with models | provider_accounts
9396
+ * (enforced in GatewayBudgetService).
9369
9397
  */
9370
9398
  export interface BudgetV2WhenTeamScoped {
9371
9399
  subjects?: BudgetV2SubjectsTeamScoped;
@@ -9384,6 +9412,8 @@ export interface BudgetV2WhenTeamScoped {
9384
9412
  }
9385
9413
  /**
9386
9414
  * +label=Tenant Budget Conditions
9415
+ * virtual_models | virtual_provider_accounts cannot be combined with models | provider_accounts
9416
+ * (enforced in GatewayBudgetService).
9387
9417
  */
9388
9418
  export interface BudgetV2WhenTenantScoped {
9389
9419
  subjects?: BudgetV2SubjectsTenantScoped;
@@ -9400,6 +9430,27 @@ export interface BudgetV2WhenTenantScoped {
9400
9430
  [k: string]: BudgetV2InNotInFilter;
9401
9431
  };
9402
9432
  }
9433
+ /**
9434
+ * +label=User Budget Conditions
9435
+ * No when.subjects: matching is owned_by + models/metadata/etc. (subjects were only useful for
9436
+ * dropped per-pat / unused VA filters that conflict with applies_to).
9437
+ * virtual_models | virtual_provider_accounts cannot be combined with models | provider_accounts
9438
+ * (enforced in GatewayBudgetService).
9439
+ */
9440
+ export interface BudgetV2WhenUserScoped {
9441
+ models?: BudgetV2InNotInFilter;
9442
+ provider_accounts?: BudgetV2InNotInFilter;
9443
+ virtual_models?: BudgetV2InNotInFilter;
9444
+ virtual_provider_accounts?: BudgetV2InNotInFilter;
9445
+ /**
9446
+ * +usage=Filter by metadata key-value pairs this budget applies to
9447
+ * +label=Metadata
9448
+ * +sort=5
9449
+ */
9450
+ metadata?: {
9451
+ [k: string]: BudgetV2InNotInFilter;
9452
+ };
9453
+ }
9403
9454
  /**
9404
9455
  * +label=Semantic Cache Configuration
9405
9456
  * +uiType=Ignore
@@ -10139,85 +10190,6 @@ export interface FunctionSchema {
10139
10190
  */
10140
10191
  strict?: boolean;
10141
10192
  }
10142
- /**
10143
- * +label=MCP Server FQN
10144
- * +icon=puzzle-piece
10145
- * +usage=MCP server with FQN
10146
- */
10147
- export interface MCPServerWithFQN {
10148
- /**
10149
- * +label=MCP Server FQN Type
10150
- * +usage=The FQN of the MCP server
10151
- * +value=mcp-server-fqn
10152
- */
10153
- type: 'mcp-server-fqn';
10154
- /**
10155
- * +label=MCP Server Integration FQN
10156
- * +usage=The FQN of the MCP server
10157
- */
10158
- integration_fqn: string;
10159
- /**
10160
- * +label=Enable All Tools
10161
- * +usage=Whether to enable all tools from the MCP server
10162
- */
10163
- enable_all_tools: boolean;
10164
- /**
10165
- * +label=Tools
10166
- * +usage=The tools to enable from the MCP server
10167
- */
10168
- tools?: MCPTool[];
10169
- }
10170
- /**
10171
- * +label=MCP Tool
10172
- * +usage=Tool configuration for MCP server
10173
- */
10174
- export interface MCPTool {
10175
- /**
10176
- * +label=Name
10177
- * +usage=The name of the tool as it appears in the MCP server
10178
- */
10179
- name: string;
10180
- }
10181
- /**
10182
- * +label=MCP Server URL
10183
- * +icon=puzzle-piece
10184
- * +usage=MCP server with URL
10185
- */
10186
- export interface MCPServerWithURL {
10187
- /**
10188
- * +label=URL
10189
- * +usage=The URL of the MCP server
10190
- * +value=mcp-server-url
10191
- * +sort=1
10192
- */
10193
- type: 'mcp-server-url';
10194
- /**
10195
- * +label=URL
10196
- * +usage=The URL of the MCP server
10197
- * +sort=2
10198
- */
10199
- url: string;
10200
- /**
10201
- * +label=Headers
10202
- * +usage=The headers to send to the MCP server
10203
- * +sort=3
10204
- */
10205
- headers?: {
10206
- [k: string]: string;
10207
- };
10208
- /**
10209
- * +label=Enable All Tools
10210
- * +usage=Whether to enable all tools from the MCP server
10211
- * +sort=4
10212
- */
10213
- enable_all_tools: boolean;
10214
- /**
10215
- * +label=Tools
10216
- * +usage=The tools to enable from the MCP server
10217
- * +sort=5
10218
- */
10219
- tools?: MCPTool[];
10220
- }
10221
10193
  /**
10222
10194
  * +label=Guardrails
10223
10195
  */
@@ -10555,22 +10527,6 @@ export interface SLACutoff {
10555
10527
  */
10556
10528
  time_to_first_token_ms?: number;
10557
10529
  }
10558
- /**
10559
- * +label=Mcp Server Tool Details
10560
- * +usage=Mapping configuration for tool calls to MCP server integration and tool names
10561
- */
10562
- export interface MCPServerToolDetails {
10563
- /**
10564
- * +label=MCP Server Integration ID
10565
- * +usage=The integration ID of the MCP server
10566
- */
10567
- mcp_server_integration_id: string;
10568
- /**
10569
- * +label=Tool Name
10570
- * +usage=The name of the tool in the MCP server
10571
- */
10572
- tool_name: string;
10573
- }
10574
10530
  /**
10575
10531
  * +label=Logging Configuration
10576
10532
  * +usage=Logging configuration for the chat prompt
@@ -11467,41 +11423,6 @@ export interface StaticFallbackStrategy {
11467
11423
  */
11468
11424
  default_tier: 'medium' | 'simple' | 'complex';
11469
11425
  }
11470
- /**
11471
- * +label=Decision Model
11472
- * +usage=Classify request using a decision model. The gateway builds the question itself; the rubric is built in and not configurable.
11473
- */
11474
- export interface DecisionClassificationStrategy {
11475
- /**
11476
- * +value=decision-classifier
11477
- * +sort=1
11478
- * +label=Strategy
11479
- */
11480
- type: 'decision-classifier';
11481
- /**
11482
- * +usage=Catalog model FQN used to classify request complexity. Must be resolvable by this tenant, must be a decision model (not a virtual model), and must belong to a TypeSafe, OpenAI, OpenRouter, Perplexity, Databricks, Microsoft Foundry, or self-hosted model account.
11483
- * +uiType=IntegrationSelect
11484
- * +uiProps={"integrationType":"model", "valuePattern": "${providerAccount.name}/${manifest.name}", "filterConfig": {"model_types": ["decision"]}}
11485
- * +sort=2
11486
- * +label=Classifier Model
11487
- */
11488
- model: string;
11489
- /**
11490
- * +usage=Maximum time to wait for the classifier response in milliseconds before applying the fallback strategy.
11491
- * +uiProps={"descriptionInline":true}
11492
- * +sort=3
11493
- * +label=Timeout (ms)
11494
- */
11495
- timeout_ms?: number;
11496
- /**
11497
- * +usage=Fallback strategy applied when the classifier fails.
11498
- * +uiProps={"descriptionInline":true}
11499
- * +sort=4
11500
- * +label=Fallback Strategy
11501
- * +discriminator=type
11502
- */
11503
- fallback_strategy: HeuristicFallbackStrategy | StaticFallbackStrategy;
11504
- }
11505
11426
  /**
11506
11427
  * +label=Custom / Bring your own
11507
11428
  * +usage=Classify request by calling your own HTTP endpoint. The gateway POSTs extracted prompt text and expects a tier in the response.
@@ -11600,21 +11521,56 @@ export interface CustomBearerAuth {
11600
11521
  */
11601
11522
  bearer_token: string;
11602
11523
  }
11603
- export interface ContainerTaskConfig {
11524
+ /**
11525
+ * +label=Decision Model
11526
+ * +usage=Classify request using a decision model
11527
+ */
11528
+ export interface DecisionClassificationStrategy {
11604
11529
  /**
11605
- * +value=container-task-config
11530
+ * +value=decision-classifier
11531
+ * +sort=1
11532
+ * +label=Strategy
11606
11533
  */
11607
- type: 'container-task-config';
11534
+ type: 'decision-classifier';
11608
11535
  /**
11609
- * +docs=Specify whether you want to deploy a Docker image or build and deploy from source code
11610
- * +label=Deploy a Docker image or build and deploy from source code
11611
- * +icon=fa-solid fa-cloud-arrow-up:#21B6A8
11612
- * +sort=200
11613
- * +discriminator=type
11536
+ * +usage=Catalog model FQN used to classify request complexity. Must be resolvable by this tenant, must be a decision model (not a virtual model), and must belong to a TypeSafe, OpenAI, OpenRouter, Perplexity, Databricks, Microsoft Foundry, or self-hosted model account.
11537
+ * +uiType=IntegrationSelect
11538
+ * +uiProps={"integrationType":"model", "valuePattern": "${providerAccount.name}/${manifest.name}", "filterConfig": {"model_types": ["decision"]}}
11539
+ * +sort=2
11540
+ * +label=Classifier Model
11614
11541
  */
11615
- image: Build | Image;
11542
+ model: string;
11616
11543
  /**
11617
- * +label=Environment Variables
11544
+ * +usage=Maximum time to wait for the classifier response in milliseconds before applying the fallback strategy.
11545
+ * +uiProps={"descriptionInline":true}
11546
+ * +sort=3
11547
+ * +label=Timeout (ms)
11548
+ */
11549
+ timeout_ms?: number;
11550
+ /**
11551
+ * +usage=Fallback strategy applied when the classifier fails.
11552
+ * +uiProps={"descriptionInline":true}
11553
+ * +sort=4
11554
+ * +label=Fallback Strategy
11555
+ * +discriminator=type
11556
+ */
11557
+ fallback_strategy: HeuristicFallbackStrategy | StaticFallbackStrategy;
11558
+ }
11559
+ export interface ContainerTaskConfig {
11560
+ /**
11561
+ * +value=container-task-config
11562
+ */
11563
+ type: 'container-task-config';
11564
+ /**
11565
+ * +docs=Specify whether you want to deploy a Docker image or build and deploy from source code
11566
+ * +label=Deploy a Docker image or build and deploy from source code
11567
+ * +icon=fa-solid fa-cloud-arrow-up:#21B6A8
11568
+ * +sort=200
11569
+ * +discriminator=type
11570
+ */
11571
+ image: Build | Image;
11572
+ /**
11573
+ * +label=Environment Variables
11618
11574
  * +usage=Configure environment variables to be injected in the task either as plain text or secrets. [Docs](https://docs.truefoundry.com/docs/env-variables)
11619
11575
  * +icon=fa-globe
11620
11576
  * +sort=200
@@ -12651,6 +12607,12 @@ export interface TaskDockerFileBuild {
12651
12607
  build_args?: {
12652
12608
  [k: string]: string;
12653
12609
  };
12610
+ /**
12611
+ * +label=Build secrets to pass to docker build
12612
+ * +usage=Build secrets you can use in run statements inside dockerfile like RUN --mount=type=secret,id=pip_index_url ... you can learn more about build secrets here https://www.truefoundry.com/docs/docker-build-secrets
12613
+ * +uiProps={"showTableView": true, "widthRatios": {"id":0.4286}}
12614
+ */
12615
+ build_secrets?: BuildSecret[];
12654
12616
  }
12655
12617
  /**
12656
12618
  * +label=Databricks Model
@@ -14833,6 +14795,10 @@ export interface TenantModelRateLimitConfig {
14833
14795
  */
14834
14796
  log_request_body_on_block: boolean;
14835
14797
  }
14798
+ /**
14799
+ * virtual_models | virtual_provider_accounts cannot be combined with models | provider_accounts
14800
+ * (enforced in GatewayConfigService).
14801
+ */
14836
14802
  export interface RateLimitV2ModelWhen {
14837
14803
  subjects?: RateLimitV2Subjects;
14838
14804
  models?: RateLimitV2InNotInFilter;
@@ -15326,12 +15292,6 @@ export interface GuardrailsConfig {
15326
15292
  * +sort=2
15327
15293
  */
15328
15294
  name: string;
15329
- /**
15330
- * +usage=Conditions when this configuration applies
15331
- * +uiProps={"descriptionInline":true}
15332
- * +sort=3
15333
- * +label=Conditions
15334
- */
15335
15295
  when: GuardrailsWhen;
15336
15296
  /**
15337
15297
  * +usage=Guardrail selectors of the guardrails to apply to the input (format: groupName/guardrailName)
@@ -15371,19 +15331,6 @@ export interface GuardrailsConfig {
15371
15331
  */
15372
15332
  custom_error_message?: string;
15373
15333
  }
15374
- /**
15375
- * Folded / legacy rule shape published under the single NATS key for older gateways.
15376
- * API manifests use GuardrailsConfig (named) instead.
15377
- */
15378
- export interface GuardrailsRule {
15379
- id: string;
15380
- when: GuardrailsWhen;
15381
- llm_input_guardrails: string[];
15382
- llm_output_guardrails: string[];
15383
- mcp_tool_pre_invoke_guardrails: string[];
15384
- mcp_tool_post_invoke_guardrails: string[];
15385
- custom_error_message?: string;
15386
- }
15387
15334
  export interface GuardrailsWhen {
15388
15335
  target?: TargetConditionGroup;
15389
15336
  subjects?: SubjectConditionGroup;
@@ -15494,6 +15441,35 @@ export interface TeamBudgetConfig {
15494
15441
  mode: 'enforce' | 'audit' | 'soft_enforce';
15495
15442
  alerts?: BudgetV2Alert;
15496
15443
  }
15444
+ /**
15445
+ * +label=User Budget Configuration
15446
+ * Self-service budget owned by an end user or virtual account. Team/tenant budgets remain
15447
+ * the upper bound; this type lets the owner set a lower personal limit on their own traffic.
15448
+ */
15449
+ export interface UserBudgetConfig {
15450
+ /**
15451
+ * +value=user-budget-config
15452
+ * +sort=1
15453
+ */
15454
+ type: 'user-budget-config';
15455
+ owned_by?: BudgetV2UserOwner;
15456
+ /**
15457
+ * +usage=Unique name for this budget
15458
+ * +label=Name
15459
+ * +sort=3
15460
+ */
15461
+ name: string;
15462
+ when?: BudgetV2WhenUserScoped;
15463
+ limits: BudgetV2Limits;
15464
+ applies_to: BudgetV2AppliesToUserScoped;
15465
+ /**
15466
+ * +usage=`enforce` blocks breaching requests, `audit` only tracks them, `soft_enforce` blocks only when no other matching budget allows the request.
15467
+ * +label=Mode
15468
+ * +sort=7
15469
+ */
15470
+ mode: 'enforce' | 'audit' | 'soft_enforce';
15471
+ alerts?: BudgetV2Alert;
15472
+ }
15497
15473
  export interface GatewayOTELConfig {
15498
15474
  /**
15499
15475
  * +value=gateway-otel-config
@@ -15955,12 +15931,6 @@ export interface GatewayLoggingConfig {
15955
15931
  export interface LoggingWhen {
15956
15932
  subjects?: InNotIn;
15957
15933
  models?: InNotIn;
15958
- /**
15959
- * +usage=MCP servers this config applies to. Use serverName for every tool, or serverName:toolName for one tool.
15960
- * +uiProps={"descriptionInline":true}
15961
- * +label=MCP Servers
15962
- * +sort=3
15963
- */
15964
15934
  mcp_servers?: InNotIn;
15965
15935
  /**
15966
15936
  * +usage=Metadata key-value pairs this config applies to (exact match)
@@ -17650,19 +17620,61 @@ export interface TfyContentModerationGuardrailConfig {
17650
17620
  * +uiProps={"forwardJsonKey": true}
17651
17621
  */
17652
17622
  config: {
17653
- /**
17654
- * +label=Severity Threshold
17655
- * +usage=Minimum severity level (0-6) to flag content. Lower values are more restrictive (more content is blocked). 0=Safe, 2=Low risk, 4=Medium risk, 6=High risk
17656
- * +sort=500
17657
- */
17658
- severity_threshold: number;
17659
17623
  /**
17660
17624
  * +label=Categories
17661
- * +usage=Types of harmful content to detect: Hate (hate speech), SelfHarm (self-injury), Sexual (sexual content), Violence (violent content)
17625
+ * +usage=Types of harmful content to detect: Hate (hate speech), Harassment (harassing or threatening language), SelfHarm (self-injury), Sexual (sexual content), Violence (violent content), Illicit (instructions for wrongdoing)
17662
17626
  * +uiType=Select
17663
17627
  * +sort=600
17664
17628
  */
17665
- categories: AzureContentSafetyCategory[];
17629
+ categories: TfyContentModerationCategory[];
17630
+ /**
17631
+ * +label=Threshold
17632
+ * +usage=Score (0-1) at or above which a selected category is flagged. Lower values are more restrictive (more content is blocked). Defaults to 0.5. Category Thresholds under Advanced override it per category.
17633
+ * +sort=650
17634
+ */
17635
+ threshold?: number;
17636
+ /**
17637
+ * +uiType=Hidden
17638
+ */
17639
+ severity_threshold?: number;
17640
+ /**
17641
+ * +label=Category Thresholds
17642
+ * +usage=Per-category score (0-1) that overrides Threshold for that category.
17643
+ * +sort=700
17644
+ * +isAdvanced=true
17645
+ */
17646
+ category_thresholds?: {
17647
+ /**
17648
+ * +label=Hate
17649
+ * +sort=100
17650
+ */
17651
+ Hate?: number;
17652
+ /**
17653
+ * +label=Harassment
17654
+ * +sort=200
17655
+ */
17656
+ Harassment?: number;
17657
+ /**
17658
+ * +label=SelfHarm
17659
+ * +sort=300
17660
+ */
17661
+ SelfHarm?: number;
17662
+ /**
17663
+ * +label=Sexual
17664
+ * +sort=400
17665
+ */
17666
+ Sexual?: number;
17667
+ /**
17668
+ * +label=Violence
17669
+ * +sort=500
17670
+ */
17671
+ Violence?: number;
17672
+ /**
17673
+ * +label=Illicit
17674
+ * +sort=600
17675
+ */
17676
+ Illicit?: number;
17677
+ };
17666
17678
  };
17667
17679
  }
17668
17680
  /**
@@ -18191,6 +18203,136 @@ export interface HiddenLayerOAuth2ClientCredentialsAuth {
18191
18203
  */
18192
18204
  client_secret: string;
18193
18205
  }
18206
+ /**
18207
+ * +label=Zscaler AI Guard
18208
+ * +icon=https://assets.production.truefoundry.com/zscaler.svg
18209
+ */
18210
+ export interface ZscalerAIGuardGuardrailConfig {
18211
+ /**
18212
+ * +label=Name
18213
+ * +sort=50
18214
+ * +usage=The name of the Guardrail Config.
18215
+ * +message=3 to 36 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
18216
+ * +uiProps={"disableEdit":true}
18217
+ */
18218
+ name: string;
18219
+ /**
18220
+ * +label=Description
18221
+ * +sort=75
18222
+ * +usage=Optional description for this Guardrail Config.
18223
+ */
18224
+ description?: string;
18225
+ /**
18226
+ * +uiType=Hidden
18227
+ * +value=integration/guardrail-config/zscaler-ai-guard
18228
+ */
18229
+ type: 'integration/guardrail-config/zscaler-ai-guard';
18230
+ auth_data: ZscalerAIGuardApiKeyAuth;
18231
+ /**
18232
+ * +label=Operation
18233
+ * +usage=Validate treats a Zscaler BLOCK action as a violation and leaves the payload unchanged. Mutate also replaces content with Zscaler maskedContent when returned.
18234
+ * Validate guardrails are run in parallel while mutate guardrails are run sequentially.
18235
+ * +uiType=MultiSelectPills
18236
+ * +uiProps={"hideRadioIcon": true}
18237
+ * +sort=100
18238
+ */
18239
+ operation: 'validate' | 'mutate';
18240
+ /**
18241
+ * +label=Priority
18242
+ * +usage=Execution order for mutate guardrails. Lower values run first. Only applicable when operation is mutate.
18243
+ * +sort=150
18244
+ */
18245
+ priority?: number;
18246
+ enforcing_strategy: EnforcingStrategy;
18247
+ /**
18248
+ * +uiType=Ignore
18249
+ * +uiProps={"forwardJsonKey": true}
18250
+ */
18251
+ config: {
18252
+ /**
18253
+ * +label=Base URL
18254
+ * +usage=The AI Guard API base URL.
18255
+ * +sort=100
18256
+ * +message=Base URL must be an http or https URL
18257
+ */
18258
+ base_url?: string;
18259
+ /**
18260
+ * +label=Policy ID
18261
+ * +usage=Optional AI Guard policy ID. When set, calls /v1/detection/execute-policy. When omitted, calls /v1/detection/resolve-and-execute-policy for automatic policy resolution.
18262
+ * +sort=200
18263
+ */
18264
+ policy_id?: number;
18265
+ };
18266
+ }
18267
+ /**
18268
+ * +label=Zscaler AI Guard API Key Auth
18269
+ */
18270
+ export interface ZscalerAIGuardApiKeyAuth {
18271
+ /**
18272
+ * +value=api-key
18273
+ */
18274
+ type: 'api-key';
18275
+ /**
18276
+ * +sort=100
18277
+ * +usage=Zscaler AI Guard API key. Sent as a Bearer token against the AI Guard detection API.
18278
+ * +message=API key must not be empty
18279
+ * +uiType=SecretSelect
18280
+ * +uiProps={"isPassword": true, "enableNew": true}
18281
+ */
18282
+ api_key: string;
18283
+ }
18284
+ /**
18285
+ * Folded / legacy rule shape published under the single NATS key for older gateways.
18286
+ * API manifests use #GuardrailsConfig (named) instead.
18287
+ * +label=Guardrails Rule
18288
+ */
18289
+ export interface GuardrailsRule {
18290
+ /**
18291
+ * +usage=Unique identifier for the rule
18292
+ * +uiProps={"descriptionInline":true}
18293
+ * +sort=1
18294
+ * +label=Rule ID
18295
+ */
18296
+ id: string;
18297
+ when: GuardrailsWhen;
18298
+ /**
18299
+ * +usage=Guardrail selectors of the guardrails to apply to the input (format: groupName/guardrailName)
18300
+ * +uiProps={"descriptionInline":true}
18301
+ * +sort=4
18302
+ * +label=Input Guardrails
18303
+ */
18304
+ llm_input_guardrails: string[];
18305
+ /**
18306
+ * +usage=Guardrail selectors of the guardrails to apply to the output (format: groupName/guardrailName)
18307
+ * +uiProps={"descriptionInline":true}
18308
+ * +sort=5
18309
+ * +label=Output Guardrails
18310
+ */
18311
+ llm_output_guardrails: string[];
18312
+ /**
18313
+ * +usage=Guardrail selectors of the guardrails to apply to the MCP tool pre invoke (format: groupName/guardrailName)
18314
+ * +uiProps={"descriptionInline":true}
18315
+ * +sort=6
18316
+ * +label=MCP Tool Pre Invoke Guardrails
18317
+ */
18318
+ mcp_tool_pre_invoke_guardrails: string[];
18319
+ /**
18320
+ * +usage=Guardrail selectors of the guardrails to apply to the MCP tool post invoke (format: groupName/guardrailName)
18321
+ * +uiProps={"descriptionInline":true}
18322
+ * +sort=7
18323
+ * +label=MCP Tool Post Invoke Guardrails
18324
+ */
18325
+ mcp_tool_post_invoke_guardrails: string[];
18326
+ /**
18327
+ * +label=Custom Error Message
18328
+ * +usage=Optional message returned to the client when a guardrail in this rule blocks a request. Supported placeholders: {{guardrail_message}} (default guardrail failure detail), {{failed_guardrails}} (comma-separated list of the guardrails that failed).
18329
+ * +sort=500
18330
+ * +isAdvanced=true
18331
+ * +placeholder=Your request was blocked by {{failed_guardrails}}: {{guardrail_message}}
18332
+ * +uiProps={"descriptionInline":true}
18333
+ */
18334
+ custom_error_message?: string;
18335
+ }
18194
18336
  /**
18195
18337
  * +label=H2O
18196
18338
  * +icon=h2o
@@ -18422,19 +18564,21 @@ export interface IdentityProviderManifest {
18422
18564
  */
18423
18565
  type: 'identity-provider';
18424
18566
  /**
18425
- * +label=Provider Name
18567
+ * +label=Name
18426
18568
  * +sort=10010
18427
- * +usage=A unique identifier for this Identity Provider configuration. Used to reference this provider across the platform.
18569
+ * +usage=A short unique name for this identity provider connection.
18428
18570
  * +placeholder=my-okta-provider
18429
18571
  * +message=Must be 3–32 characters: lowercase letters, numbers, and hyphens only. Cannot start with a number or hyphen.
18572
+ * +uiProps={"descriptionInline":true}
18430
18573
  */
18431
18574
  name: string;
18432
18575
  provider: IdentityProviders;
18433
18576
  config: JWTBasedValidationConfig;
18434
18577
  /**
18435
- * +label=Resolve Token To
18436
- * +usage=Controls how JWT token claims are mapped to a TrueFoundry identity. Tokens can be resolved to a Virtual Account (recommended for machine users or shared external identities) or directly to a TrueFoundry User. If both options are configured, Virtual Account resolution takes precedence.
18578
+ * +label=Map Tokens to Identities
18579
+ * +usage=Choose how a validated token maps to a TrueFoundry identity: Agent Identity, Virtual Account, or TrueFoundry User.
18437
18580
  * +sort=10040
18581
+ * +uiProps={"descriptionInline":true}
18438
18582
  */
18439
18583
  resolve_token_to?: {
18440
18584
  virtual_account?: ResolveToVirtualAccount;
@@ -18449,6 +18593,7 @@ export interface IdentityProviderManifest {
18449
18593
  * +isAdvanced=true
18450
18594
  * +uiType=Hidden
18451
18595
  * +message=Email claim must not be empty if provided
18596
+ * +uiProps={"descriptionInline":true}
18452
18597
  */
18453
18598
  email_claim?: string;
18454
18599
  /**
@@ -18458,12 +18603,14 @@ export interface IdentityProviderManifest {
18458
18603
  * +isAdvanced=true
18459
18604
  * +uiType=Hidden
18460
18605
  * +message=Unique ID claim must not be empty if provided
18606
+ * +uiProps={"descriptionInline":true}
18461
18607
  */
18462
18608
  unique_id_claim?: string;
18463
18609
  }
18464
18610
  /**
18465
- * +label=JWT Validation Config
18466
- * +usage=Configuration for JWT validation
18611
+ * +label=Token Validation
18612
+ * +usage=Configure how TrueFoundry validates tokens issued by this identity provider.
18613
+ * +uiProps={"descriptionInline":true}
18467
18614
  * +discriminator=type
18468
18615
  */
18469
18616
  export interface JWTBasedValidationConfig {
@@ -18474,148 +18621,209 @@ export interface JWTBasedValidationConfig {
18474
18621
  type: 'jwt';
18475
18622
  /**
18476
18623
  * +label=Issuer
18477
- * +usage=TThe OIDC issuer URL. Must exactly match the `iss` claim in JWT tokens issued by your provider (e.g. `https://accounts.example.com`).
18624
+ * +usage=The issuer URL of the identity provider. Must match the issuer in tokens from this provider.
18478
18625
  * +placeholder=https://accounts.example.com
18479
18626
  * +sort=1000
18480
18627
  * +message=Issuer must not be empty
18628
+ * +uiProps={"descriptionInline":true}
18481
18629
  */
18482
18630
  issuer: string;
18483
18631
  /**
18484
18632
  * +label=Audience
18485
- * +usage=One or more audience values that must be present in the `aud` claim of incoming JWT tokens. Tokens with an audience not listed here will be rejected.
18633
+ * +usage=Audience values that tokens from this provider are allowed to present.
18486
18634
  * +sort=1500
18487
18635
  * +uiType=Hidden
18636
+ * +uiProps={"descriptionInline":true}
18488
18637
  */
18489
18638
  audience?: string;
18490
18639
  /**
18491
18640
  * +label=Allowed Audiences
18492
- * +usage=One or more audience values that must be present in the `aud` claim of incoming JWT tokens. Tokens with an audience not listed here will be rejected.
18641
+ * +usage=Audience values that tokens from this provider are allowed to present.
18493
18642
  * +sort=2000
18494
18643
  * +message=At least one allowed audience must be specified.
18495
18644
  * +minItems=1
18496
18645
  * +placeholder=e.g. https://api.truefoundry.com
18646
+ * +uiProps={"descriptionInline":true}
18497
18647
  */
18498
18648
  audiences: string[];
18499
18649
  /**
18500
- * +label=JWKS URI
18501
- * +usage=The public HTTPS endpoint exposing your provider's JSON Web Key Set (JWKS). TrueFoundry fetches public keys from this URL to verify JWT signatures — ensure it is reachable from the TrueFoundry control plane.
18650
+ * +label=JWKS URL
18651
+ * +usage=URL of the identity provider's public key set, used to verify token signatures.
18502
18652
  * +sort=2500
18503
18653
  * +message=Must be a valid HTTPS URL.
18504
18654
  * +placeholder=https://accounts.example.com/.well-known/jwks.json
18655
+ * +uiProps={"descriptionInline":true}
18505
18656
  */
18506
18657
  jwks_uri: string;
18507
18658
  /**
18508
- * +label=Token TTL (seconds)
18509
- * +usage=Lifetime of tokens TrueFoundry issues after exchanging a token from this provider. Allowed range is 60 to 3600 seconds.
18659
+ * +label=Token Lifetime (seconds)
18660
+ * +usage=Lifetime of tokens TrueFoundry issues after exchanging a token from this provider.
18510
18661
  * +sort=3000
18511
18662
  * +message=Must be between 60 and 3600 seconds.
18663
+ * +uiProps={"descriptionInline":true}
18512
18664
  */
18513
18665
  token_ttl_seconds?: number;
18666
+ /**
18667
+ * +label=Enable OIDC Login
18668
+ * +usage=Lets users connect this identity provider so a TrueFoundry token works with On-Behalf-Of MCP servers and agents.
18669
+ * +sort=4000
18670
+ * +uiType=Switch
18671
+ */
18672
+ oidc_login_enabled?: boolean;
18673
+ /**
18674
+ * +label=Client ID
18675
+ * +usage=Client ID of the app users sign in to, or the TrueFoundry secret FQN containing it.
18676
+ * +sort=4100
18677
+ */
18678
+ client_id?: string;
18679
+ /**
18680
+ * +label=Client Secret
18681
+ * +usage=Client secret of the app users sign in to, or the TrueFoundry secret FQN containing it.
18682
+ * +sort=4200
18683
+ * +uiType=SecretSelect
18684
+ */
18685
+ client_secret?: string;
18686
+ /**
18687
+ * +label=Scopes
18688
+ * +usage=OAuth scopes sent on authorize. An empty list sends no scope parameter. Microsoft Entra also needs the API scope of the app. Connect may apply defaults when scopes are omitted.
18689
+ * +sort=4300
18690
+ * +placeholder=e.g. openid profile email
18691
+ */
18692
+ scopes?: string[];
18693
+ /**
18694
+ * +label=Authorization URL
18695
+ * +usage=OAuth authorize endpoint for this issuer. The UI fills this from OpenID discovery when OIDC login is enabled; you can edit it before save.
18696
+ * +sort=4400
18697
+ * +message=Must be an https URL without credentials, a query, or a fragment
18698
+ */
18699
+ authorization_url?: string;
18700
+ /**
18701
+ * +label=Token URL
18702
+ * +usage=OAuth token endpoint for this issuer. The UI fills this from OpenID discovery when OIDC login is enabled; you can edit it before save.
18703
+ * +sort=4500
18704
+ * +message=Must be an https URL without credentials, a query, or a fragment
18705
+ */
18706
+ token_url?: string;
18514
18707
  }
18515
18708
  /**
18516
18709
  * +label=Virtual Account
18517
- * +usage=Map incoming JWT tokens to a Virtual Account (machine user). Suitable for service-to-service authentication or when a single virtual identity represents multiple external users.
18710
+ * +usage=Map tokens to a Virtual Account for machine or shared identities.
18711
+ * +uiProps={"descriptionInline":true}
18518
18712
  */
18519
18713
  export interface ResolveToVirtualAccount {
18520
18714
  /**
18521
18715
  * +label=Name Claim
18522
- * +usage=The JWT claim whose value will be used as the Virtual Account name (e.g. `sub`, `client_id`).
18716
+ * +usage=Token claim used as the Virtual Account name.
18523
18717
  * +sort=1000
18524
18718
  * +placeholder=e.g. sub
18719
+ * +uiProps={"descriptionInline":true}
18525
18720
  */
18526
18721
  name_claim: string;
18527
18722
  /**
18528
18723
  * +label=User Slug Claim
18529
- * +usage=Optional. The JWT claim used to distinguish individual external users within a shared Virtual Account. Configure this when one Virtual Account represents multiple external users, allowing each token to resolve to a distinct identity.
18724
+ * +usage=Token claim used to distinguish individual users under a shared Virtual Account.
18530
18725
  * +sort=2000
18531
18726
  * +placeholder=e.g. user_id
18727
+ * +uiProps={"descriptionInline":true}
18532
18728
  */
18533
18729
  slug_claim?: string;
18534
18730
  /**
18535
18731
  * +label=Organization Claim
18536
- * +usage=Optional. Specific to Auth0 identity providers. The JWT claim containing the user's organization name. TrueFoundry uses this value to assign the resolved user to the corresponding organization.
18732
+ * +usage=Token claim containing the organization name (Auth0).
18537
18733
  * +sort=3000
18538
18734
  * +placeholder=e.g. organization
18735
+ * +uiProps={"descriptionInline":true}
18539
18736
  */
18540
18737
  organization_claim?: string;
18541
18738
  }
18542
18739
  /**
18543
18740
  * +label=TrueFoundry User
18544
- * +usage=Map incoming JWT tokens directly to an existing TrueFoundry user account, matched by their email address.
18741
+ * +usage=Map tokens to an existing TrueFoundry user by email.
18742
+ * +uiProps={"descriptionInline":true}
18545
18743
  */
18546
18744
  export interface ResolveToUser {
18547
18745
  /**
18548
18746
  * +label=Email Claim
18549
- * +usage=The JWT claim containing the user's email address. Used to look up and match an existing TrueFoundry user account.
18747
+ * +usage=Token claim containing the user's email address.
18550
18748
  * +sort=1000
18551
18749
  * +placeholder=e.g. email
18750
+ * +uiProps={"descriptionInline":true}
18552
18751
  */
18553
18752
  email_claim: string;
18554
18753
  /**
18555
18754
  * +label=Team Claim
18556
- * +usage=Optional. The JWT claim containing the user's team name. TrueFoundry uses this value to assign the resolved user to the corresponding team.
18755
+ * +usage=Token claim containing the user's team name.
18557
18756
  * +sort=2000
18558
18757
  * +placeholder=e.g. groups
18758
+ * +uiProps={"descriptionInline":true}
18559
18759
  */
18560
18760
  team_claim?: string;
18561
18761
  }
18562
18762
  /**
18563
18763
  * +label=Agent Identity
18564
- * +usage=Map incoming JWT tokens to an Agent Identity. Suitable for autonomous agents, or agents acting on behalf of a user.
18764
+ * +usage=Map tokens to an Agent Identity for agents acting independently or on behalf of a user.
18765
+ * +uiProps={"descriptionInline":true}
18565
18766
  */
18566
18767
  export interface ResolveToAgent {
18567
18768
  /**
18568
18769
  * +label=Name Claim
18569
- * +usage=The JWT claim whose value identifies the Agent Identity (e.g. `client_id`).
18770
+ * +usage=Token claim used to identify the Agent Identity.
18570
18771
  * +sort=1000
18571
18772
  * +placeholder=e.g. client_id
18773
+ * +uiProps={"descriptionInline":true}
18572
18774
  */
18573
18775
  name_claim: string;
18574
18776
  /**
18575
- * +label=Acting On Behalf Of User Slug Claim
18576
- * +usage=Optional. The JWT claim identifying the user the agent is acting on behalf of. Used to attribute the agent's actions to that user.
18777
+ * +label=Acting On Behalf Of Claim
18778
+ * +usage=Token claim identifying the user the agent is acting on behalf of.
18577
18779
  * +sort=2000
18578
18780
  * +placeholder=e.g. email
18781
+ * +uiProps={"descriptionInline":true}
18579
18782
  */
18580
18783
  acting_on_behalf_of_slug_claim?: string;
18581
18784
  }
18582
18785
  /**
18583
18786
  * +label=Cross App Access
18584
- * +usage=Okta Cross App Access (XAA) app credentials on the org authorization server, used to obtain ID-JAG tokens for MCP servers configured with the id_jag grant type.
18787
+ * +usage=Okta Cross App Access credentials used to obtain ID-JAG tokens for MCP servers.
18788
+ * +uiProps={"descriptionInline":true}
18585
18789
  */
18586
18790
  export interface OktaCrossAppAccessSettings {
18587
18791
  /**
18588
18792
  * +label=Token Endpoint
18589
- * +usage=Token endpoint of the Okta org authorization server used to obtain the ID-JAG token (Leg 1).
18793
+ * +usage=Token endpoint used to obtain the ID-JAG token.
18590
18794
  * +sort=1000
18591
18795
  * +placeholder=https://your-org.okta.com/oauth2/v1/token
18592
18796
  * +message=Must be a valid HTTPS URL
18797
+ * +uiProps={"descriptionInline":true}
18593
18798
  */
18594
18799
  token_endpoint: string;
18595
18800
  /**
18596
18801
  * +label=Client ID
18597
- * +usage=Client ID of the XAA app on the Okta org authorization server, or the TrueFoundry secret FQN containing it.
18802
+ * +usage=Client ID of the Cross App Access application.
18598
18803
  * +sort=2000
18804
+ * +uiProps={"descriptionInline":true}
18599
18805
  */
18600
18806
  client_id: string;
18601
18807
  /**
18602
18808
  * +label=Client Secret
18603
- * +usage=Client secret of the XAA app on the Okta org authorization server, or the TrueFoundry secret FQN containing it.
18809
+ * +usage=Client secret of the Cross App Access application.
18604
18810
  * +sort=3000
18605
18811
  * +uiType=SecretSelect
18812
+ * +uiProps={"descriptionInline":true}
18606
18813
  */
18607
18814
  client_secret: string;
18608
18815
  /**
18609
18816
  * +label=Scopes
18610
- * +usage=OAuth scopes requested when obtaining the ID-JAG token from the Okta org authorization server.
18817
+ * +usage=Scopes requested when obtaining the ID-JAG token.
18611
18818
  * +sort=3500
18819
+ * +uiProps={"descriptionInline":true}
18612
18820
  */
18613
18821
  scopes?: string[];
18614
18822
  /**
18615
18823
  * +label=Additional Token Parameters
18616
- * +usage=Extra key/value pairs sent when requesting an ID-JAG token from the Okta org authorization server.
18824
+ * +usage=Extra parameters sent when requesting the ID-JAG token.
18617
18825
  * +sort=4000
18618
- * +uiProps={"keyPlaceholder": "parameter", "valuePlaceholder": "value", "addEmptyFieldOnCreate": true}
18826
+ * +uiProps={"keyPlaceholder": "parameter", "valuePlaceholder": "value", "addEmptyFieldOnCreate": true, "descriptionInline": true}
18619
18827
  */
18620
18828
  additional_token_params?: {
18621
18829
  [k: string]: string;
@@ -19387,7 +19595,6 @@ export interface VirtualAccountManifest {
19387
19595
  * +label=Identity Provider Mapping
19388
19596
  * +usage=Mappings from external identity provider claim value to this virtual account
19389
19597
  * +sort=9
19390
- * +isAdvanced=true
19391
19598
  */
19392
19599
  identity_provider_mapping?: IdentityProviderMapping[];
19393
19600
  /**
@@ -21108,7 +21315,7 @@ export interface MCPServerHeaderAuth {
21108
21315
  /**
21109
21316
  * +label=API Key Configuration
21110
21317
  * +usage=Level at which this authentication will be applied. Values: global (default), per_user
21111
- * +uiType=RadioCard
21318
+ * +uiType=RadioPills
21112
21319
  * +sort=200
21113
21320
  */
21114
21321
  auth_level: 'global' | 'per_user';
@@ -21591,7 +21798,7 @@ export interface MCPServerEnvAuth {
21591
21798
  /**
21592
21799
  * +label=Auth level
21593
21800
  * +usage=Level at which this authentication will be applied. Values: global (default), per_user
21594
- * +uiType=RadioCard
21801
+ * +uiType=RadioPills
21595
21802
  * +sort=200
21596
21803
  */
21597
21804
  auth_level?: 'global' | 'per_user';
@@ -23733,7 +23940,24 @@ export interface VirtualMCPServerSource {
23733
23940
  * +sort=200
23734
23941
  */
23735
23942
  enabled_tools?: string[];
23736
- auth_data?: MCPServerHeaderOverrideAuth;
23943
+ }
23944
+ /**
23945
+ * +docs=Tenant-wide defaults for MCP Gateway
23946
+ * +label=MCP Gateway Settings
23947
+ */
23948
+ export interface MCPGatewaySettings {
23949
+ /**
23950
+ * +value=settings/mcp-gateway
23951
+ */
23952
+ type: 'settings/mcp-gateway';
23953
+ /**
23954
+ * +label=Enable new tools by default
23955
+ * +usage=When enabled, newly created MCP servers expose all tools unless you disable specific ones. When disabled, new servers expose only tools you explicitly enable. Existing servers are not changed.
23956
+ * +uiType=Switch
23957
+ * +uiProps={"descriptionInline":true}
23958
+ * +sort=1
23959
+ */
23960
+ enable_tools_by_default: boolean;
23737
23961
  }
23738
23962
  /**
23739
23963
  * +docs=Describes the SSO configuration settings
@@ -23753,7 +23977,7 @@ export interface SSOSettings {
23753
23977
  enabled: boolean;
23754
23978
  /**
23755
23979
  * +label=Disable Password Grant
23756
- * +usage=When enabled, username/password login is turned off and users can only sign in with SSO.
23980
+ * +usage=When enabled, username/password login is turned off. Users can still sign in with SSO or passwordless invite links.
23757
23981
  * Requires SSO to be enabled.
23758
23982
  * +sort=2
23759
23983
  */
@@ -24028,6 +24252,23 @@ export interface ThemeSettings {
24028
24252
  export interface ThemeConfig {
24029
24253
  light?: LightThemeConfig;
24030
24254
  dark?: DarkThemeConfig;
24255
+ /**
24256
+ * +label=Name
24257
+ * +usage=Application name shown with the logo
24258
+ */
24259
+ name?: string;
24260
+ /**
24261
+ * +label=Title
24262
+ * +usage=Application title shown in the browser tab
24263
+ */
24264
+ title?: string;
24265
+ /**
24266
+ * +label=Description
24267
+ * +usage=Application description used as the page meta description
24268
+ * +uiType=TextArea
24269
+ * +uiProps={"minRows":3,"maxRows":8}
24270
+ */
24271
+ description?: string;
24031
24272
  }
24032
24273
  /**
24033
24274
  * Light Theme Configuration
@@ -24074,6 +24315,30 @@ export interface ProvisioningSettings {
24074
24315
  enabled: boolean;
24075
24316
  };
24076
24317
  }
24318
+ /**
24319
+ * Describes support portal access for managers and users
24320
+ * +label=Support Portal Settings
24321
+ */
24322
+ export interface SupportPortalSettings {
24323
+ /**
24324
+ * +value=settings/support-portal
24325
+ */
24326
+ type: 'settings/support-portal';
24327
+ /**
24328
+ * +label=Portal Managers
24329
+ * +usage=Users and teams who can see and manage all issues. Tenant admins are always portal managers and cannot be removed.
24330
+ * +sort=1
24331
+ * +uiProps={"descriptionInline":true, "optionTypes": ["users","teams"]}
24332
+ */
24333
+ managers?: string[];
24334
+ /**
24335
+ * +label=Portal Users
24336
+ * +usage=Users and teams who can see and manage only their own issues. Defaults to team everyone. An empty list allows portal managers only.
24337
+ * +sort=2
24338
+ * +uiProps={"descriptionInline":true, "optionTypes": ["users","teams"]}
24339
+ */
24340
+ users?: string[];
24341
+ }
24077
24342
  export interface SecretGroupManifest {
24078
24343
  /**
24079
24344
  * +value=secret-group
@@ -24560,6 +24825,87 @@ export interface OpenRouterModel {
24560
24825
  */
24561
24826
  authorized_subjects?: string[];
24562
24827
  }
24828
+ /**
24829
+ * +label=API Key
24830
+ * +usage=Authenticate using a static key or token sent as a request header.
24831
+ */
24832
+ export interface OutboundAuthConnectionHeaderAuth {
24833
+ /**
24834
+ * +value=header
24835
+ */
24836
+ type: 'header';
24837
+ /**
24838
+ * +label=API Key Configuration
24839
+ * +usage=One shared header value for every subject this connection applies to.
24840
+ * +uiType=Hidden
24841
+ * +sort=200
24842
+ */
24843
+ auth_level: 'global';
24844
+ /**
24845
+ * +usage=Map each header name to its shared value.
24846
+ * +uiProps={"keyPlaceholder": "Authorization", "valuePlaceholder": "Enter Value", "addEmptyFieldOnCreate": true, "allowSecrets": true}
24847
+ */
24848
+ headers: {
24849
+ [k: string]: string;
24850
+ };
24851
+ }
24852
+ /**
24853
+ * +label=In/Not-In Filter
24854
+ */
24855
+ export interface OutboundAuthConnectionInNotInFilter {
24856
+ /**
24857
+ * +usage=Match when the value is present in this list
24858
+ * +label=In
24859
+ * +sort=1
24860
+ */
24861
+ in?: string[];
24862
+ /**
24863
+ * +usage=Match when the value is NOT present in this list
24864
+ * +label=Not In
24865
+ * +sort=2
24866
+ */
24867
+ not_in?: string[];
24868
+ }
24869
+ export interface OutboundAuthConnectionManifest {
24870
+ /**
24871
+ * +sort=1
24872
+ */
24873
+ type: 'outbound-auth-connection';
24874
+ /**
24875
+ * +label=Name
24876
+ * +usage=Unique name for this connection
24877
+ * +sort=2
24878
+ */
24879
+ name: string;
24880
+ /**
24881
+ * +label=Resources
24882
+ * +usage=This connection always applies to this server.
24883
+ * +uiType=Hidden
24884
+ * +sort=3
24885
+ * +minItems=1
24886
+ */
24887
+ resources: OutboundAuthConnectionResource[];
24888
+ when: OutboundAuthConnectionWhen;
24889
+ /**
24890
+ * +sort=5
24891
+ */
24892
+ auth_data: OutboundAuthConnectionHeaderAuth | MCPServerOAuth2;
24893
+ }
24894
+ export interface OutboundAuthConnectionResource {
24895
+ type: 'mcp-server';
24896
+ id: string;
24897
+ }
24898
+ export interface OutboundAuthConnectionWhen {
24899
+ subjects: OutboundAuthConnectionSubjects;
24900
+ }
24901
+ /**
24902
+ * A connection is either IN or NOT IN across all buckets. `*` in an `in` list means every subject of that type.
24903
+ */
24904
+ export interface OutboundAuthConnectionSubjects {
24905
+ users?: OutboundAuthConnectionInNotInFilter;
24906
+ virtual_accounts?: OutboundAuthConnectionInNotInFilter;
24907
+ agents?: OutboundAuthConnectionInNotInFilter;
24908
+ }
24563
24909
  /**
24564
24910
  * +label=PaLM Model
24565
24911
  * +icon=palm
@@ -24704,14 +25050,7 @@ export interface RemoteAgentV2 {
24704
25050
  */
24705
25051
  description: string;
24706
25052
  source?: RemoteAgentSource;
24707
- /**
24708
- * +label=State
24709
- * +usage=Lifecycle state of the agent. Active: managed and available for use. Unmanaged: imported from an external registry for governance (not fully managed yet). Inactive: disabled and cannot be used or invoked.
24710
- * +sort=116
24711
- * +uiType=Select
24712
- */
24713
- state?: 'active' | 'unmanaged' | 'inactive';
24714
- identity: RemoteAgentV2AgentIdentity;
25053
+ identity?: RemoteAgentV2AgentIdentity;
24715
25054
  proxy_via_gateway: RemoteAgentProxyViaGatewayConfig;
24716
25055
  /**
24717
25056
  * +label=Collaborators
@@ -25158,81 +25497,3 @@ export interface XAIModel {
25158
25497
  */
25159
25498
  authorized_subjects?: string[];
25160
25499
  }
25161
- /**
25162
- * +label=Zscaler AI Guard API Key Auth
25163
- */
25164
- export interface ZscalerAIGuardApiKeyAuth {
25165
- /**
25166
- * +value=api-key
25167
- */
25168
- type: 'api-key';
25169
- /**
25170
- * +sort=100
25171
- * +usage=Zscaler AI Guard API key. Sent as a Bearer token against the AI Guard detection API.
25172
- * +message=API key must not be empty
25173
- * +uiType=SecretSelect
25174
- * +uiProps={"isPassword": true, "enableNew": true}
25175
- */
25176
- api_key: string;
25177
- }
25178
- /**
25179
- * +label=Zscaler AI Guard
25180
- * +icon=https://assets.production.truefoundry.com/zscaler.svg
25181
- */
25182
- export interface ZscalerAIGuardGuardrailConfig {
25183
- /**
25184
- * +label=Name
25185
- * +sort=50
25186
- * +usage=The name of the Guardrail Config.
25187
- * +message=3 to 36 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
25188
- * +uiProps={"disableEdit":true}
25189
- */
25190
- name: string;
25191
- /**
25192
- * +label=Description
25193
- * +sort=75
25194
- * +usage=Optional description for this Guardrail Config.
25195
- */
25196
- description?: string;
25197
- /**
25198
- * +uiType=Hidden
25199
- * +value=integration/guardrail-config/zscaler-ai-guard
25200
- */
25201
- type: 'integration/guardrail-config/zscaler-ai-guard';
25202
- auth_data: ZscalerAIGuardApiKeyAuth;
25203
- /**
25204
- * +label=Operation
25205
- * +usage=Validate treats a Zscaler BLOCK action as a violation and leaves the payload unchanged. Mutate also replaces content with Zscaler maskedContent when returned.
25206
- * Validate guardrails are run in parallel while mutate guardrails are run sequentially.
25207
- * +uiType=MultiSelectPills
25208
- * +uiProps={"hideRadioIcon": true}
25209
- * +sort=100
25210
- */
25211
- operation: 'validate' | 'mutate';
25212
- /**
25213
- * +label=Priority
25214
- * +usage=Execution order for mutate guardrails. Lower values run first. Only applicable when operation is mutate.
25215
- * +sort=150
25216
- */
25217
- priority?: number;
25218
- enforcing_strategy: EnforcingStrategy;
25219
- /**
25220
- * +uiType=Ignore
25221
- * +uiProps={"forwardJsonKey": true}
25222
- */
25223
- config: {
25224
- /**
25225
- * +label=Base URL
25226
- * +usage=The AI Guard API base URL.
25227
- * +sort=100
25228
- * +message=Base URL must be an http or https URL
25229
- */
25230
- base_url?: string;
25231
- /**
25232
- * +label=Policy ID
25233
- * +usage=Optional AI Guard policy ID. When set, calls /v1/detection/execute-policy. When omitted, calls /v1/detection/resolve-and-execute-policy for automatic policy resolution.
25234
- * +sort=200
25235
- */
25236
- policy_id?: number;
25237
- };
25238
- }