ActivateUserResponse
Union, One Of:
AddonComponent
name
AddonComponentName
required
app_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
application_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
addon_folder
typing_extensions.Annotated[(typing.Optional[str], Any)]
status
typing.Optional[AddonComponentStatus]
manifest
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
installation_source
typing_extensions.Annotated[(typing.Optional[str], Any)]
unsupported_cluster_types
typing_extensions.Annotated[(typing.Optional[typing.List[ClusterType]], Any)]
known_cr_ds
typing_extensions.Annotated[(typing.Optional[typing.List[str]], Any)]
source
typing.Optional[AddOnComponentSource]
upgrades
typing.Optional[UpgradeData]
labels
typing.Optional[typing.List[str]]
recommendations
typing.Optional[typing.List[Recommendation]]
workspace_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
AddOnComponentSource
Repository URL of the source
AddonComponentStatus
health_status
typing_extensions.Annotated[(typing.Optional[str], Any)]
Health status of the addon
sync_status
typing_extensions.Annotated[(typing.Optional[str], Any)]
Sync status of the addon
Indicates whether the addon is installed
Ai21KeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
Ai21Model
type
typing.Literal[Any]
default:"integration/model/ai21"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
Ai21ProviderAccount
type
typing.Literal[Any]
default:"provider-account/ai21"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[Ai21Integrations]]
List of integrations that are associated with the AI21 provider account
collaborators
typing.Optional[typing.List[Collaborator]]
AiFeaturesSettings
type
typing.Literal[Any]
default:"settings/ai-features"
required
Enable/Disable AI features.
Other fields only apply when this is true
ai_provider
typing.Literal[Any]
default:"truefoundry"
required
AI provider to use for AI features
When TrueFoundry is selected, TrueFoundry will manage and provide the AI models for the features.
timestamps
typing.List[dt.datetime]
required
start_time
typing_extensions.Annotated[(dt.datetime, Any)]
required
resolved_time
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
application_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
cluster_id
typing_extensions.Annotated[(str, Any)]
required
tenant_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[str], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[str], Any)]
application_debug_info_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
AlertConfig
type
typing.Literal[Any]
default:"alert-config"
required
3 to 35 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
resource
AlertConfigResource
required
notification_targets
typing.List[NotificationTargetForAlertRule]
required
rules
typing.List[PrometheusAlertRule]
required
π PrometheusAlertRuleDefine one or more alert rules that specify the conditions to monitor, when to trigger alerts, and how they should be handled.
AlertConfigResource
type
AlertConfigResourceType
required
FQN of the resource this alert config belongs to.
type
typing.Literal[Any]
default:"amqp"
required
AMQP Queue URL of Subscriber
Wait timeout for long polling.
AmqpMetricConfig
type
typing.Literal[Any]
default:"amqp"
required
Upper limit of the number of backlog messages the auto-scaler will try to maintain per replica. If you set this number to 10 and have 30 messages in the stream and one replica, the auto-scaler will scale the number of replicas to 3.
AmqpOutputConfig
type
typing.Literal[Any]
default:"amqp"
required
AMQP Queue URL of Publisher
AMQP Routing Key to publish to.
AnthropicKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
AnthropicModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
type
typing.Literal[Any]
default:"integration/model/anthropic"
required
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AnthropicProviderAccount
type
typing.Literal[Any]
default:"provider-account/anthropic"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[AnthropicIntegrations]]
List of integrations that are associated with the Anthropic provider account
collaborators
typing.Optional[typing.List[Collaborator]]
Application
type
typing.Optional[ApplicationType]
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
tenant_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
metadata
typing.Optional[ApplicationMetadata]
lifecycle_stage
typing_extensions.Annotated[(ApplicationLifecycleStage, Any)]
required
workspace_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
last_version
typing_extensions.Annotated[(typing.Optional[int], Any)]
active_version
typing_extensions.Annotated[(typing.Optional[int], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
recommendations
typing.Optional[typing.List[Recommendation]]
alerts
typing.Optional[typing.List[Alert]]
alerts_summary
typing_extensions.Annotated[(typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]], Any)]
Summary of alerts for this application
application_debug_infos
typing_extensions.Annotated[(typing.Optional[typing.List[Any]], Any)]
Debug infos for this application
potential_problems
typing_extensions.Annotated[(typing.Optional[typing.List[ApplicationProblem]], Any)]
autopilot
typing.Dict[(str, typing.Optional[typing.Any])]
workspace_fqn
typing_extensions.Annotated[(typing.Optional[str], Any)]
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
active_deployment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
last_deployment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
ApplicationDebugInfo
application_id
typing_extensions.Annotated[(str, Any)]
required
debug_info
typing_extensions.Annotated[(typing.Dict[(str, typing.Optional[typing.Any])], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
ApplicationProblem
ApplicationsCancelDeploymentResponse
ApplicationSet
type
typing.Literal[Any]
default:"application-set"
required
Name of the application set.
components
typing.Optional[typing.List[ApplicationSetComponentsItem]]
Template to be used for the application set.
values
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Values to be used to render components for the application set.
convert_template_manifest
ApplicationSetComponentsItem
Union, One Of:
ApplyMlEntityResponse
data
ApplyMlEntityResponseData
required
ApplyMlEntityResponseData
Union, One Of:
Artifact
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
latest_version
typing.Optional[BaseArtifactVersion]
run_steps
typing.Optional[typing.List[int]]
ArtifactManifest
metadata
typing.Dict[(str, typing.Optional[typing.Any])]
Key value metadata. Should be valid JSON. For e.g. \{"business-unit": "sales", "quality": "good", "rating": 4.5\}
Version alias is alternate, ideally human readable, version string to reference an artifact version. It should start with v
followed by alphanumeric and it can include .
and -
in between (e.g. v1.0.0
, v1-prod
, v3-dev
, etc)
type
typing.Literal[Any]
default:"artifact-version"
required
source
ArtifactManifestSource
required
Step/Epoch number in an iterative training loop the artifact version was created. Generally useful when logging a model version from a MLRepo Run
ID of the MLRepo Run that generated the artifact version
ArtifactManifestSource
Union, One Of:
ArtifactPath
Local file or folder path
Relative path where the file or folder will be uploaded to in the artifact
ArtifactsCacheVolume
Storage class of the Volume where artifacts will be cached
Size of the Volume (in GB) where artifacts will be cached. Should be greater than twice the size of artifacts getting cached
ArtifactsDownload
cache_volume
typing.Optional[ArtifactsCacheVolume]
artifacts
typing.List[ArtifactsDownloadArtifactsItem]
required
ArtifactsDownloadArtifactsItem
Union, One Of:
ArtifactVersion
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
AssistantMessage
role
typing.Literal[Any]
default:"assistant"
required
Role of the message
content
typing.Optional[AssistantMessageContent]
tool_calls
typing.Optional[typing.List[ToolCall]]
Name of the assistant this message is from
AssistantMessageContent
Union, One Of:
AssistantMessageContentItem
Union, One Of:
AsyncProcessorSidecar
URL for the processor to invoke
request_timeout
typing.Optional[int]
default:"10"
Timeout for the invoke request in seconds
Image for the processor sidecar (This field will be deprecated in the future)
AsyncService
type
typing.Optional[typing.Literal[Any]]
replicas
typing.Optional[AsyncServiceReplicas]
π AsyncServiceReplicasDeploy multiple instances of your pods to distribute incoming traffic across them, ensuring effective load balancing.
worker_config
typing.Optional[WorkerConfig]
sidecar
typing.Optional[AsyncProcessorSidecar]
AsyncServiceAutoscaling
metrics
typing.Optional[AsyncServiceAutoscalingMetrics]
AsyncServiceAutoscalingMetrics
Union, One Of:
AsyncServiceReplicas
Union, One Of:
Autoshutdown
The period to wait after the last received request before scaling the replicas to 0. This value should be high enough to allow for the replicas of the service to come up to avoid premature scaling down.
AwsAccessKeyAuth
AWS Secret Access Key for the user to authenticate with
AWS Session Token, only required when using temporary credentials
AwsAccessKeyBasedAuth
type
typing.Literal[Any]
default:"access-key-based"
required
AWS access key ID that you want to use for authentication.
AWS access key secret that you want to use for authentication.
AwsAssumedRoleBasedAuth
type
typing.Literal[Any]
default:"assumed-role-based"
required
ARN of the role you want to assume.
AwsBedrockGuardrailConfig
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/guardrail-config/aws-bedrock"
required
operation
AwsBedrockGuardrailConfigOperation
required
π AwsBedrockGuardrailConfigOperationThe operation type to use for the Guardrail. Validate guardrails are used to validate requests and mutate can validate as well as mutate requests.
Validate guardrails are run in parallel while mutate guardrails are run sequentially.
auth_data
typing.Optional[AwsBedrockGuardrailConfigAuthData]
The ID of the Guardrail to use.
The version of the Guardrail to use.
AwsBedrockGuardrailConfigAuthData
Union, One Of:
AwsBedrockProviderAccount
type
typing.Literal[Any]
default:"provider-account/aws-bedrock"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AwsBedrockProviderAccountAuthData]
integrations
typing.List[BedrockModelV2]
required
π BedrockModelV2List of integrations that are associated with the AWS Bedrock provider account
collaborators
typing.Optional[typing.List[Collaborator]]
AwsBedrockProviderAccountAuthData
Union, One Of:
type
typing.Literal[Any]
default:"integration/docker-registry/aws/ecr"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AwsEcrAuthData]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AwsEcrAuthData
Union, One Of:
AwsEksIntegration
type
typing.Literal[Any]
default:"integration/cluster/aws/eks"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Name of the cluster given in the cloud account.
auth_data
typing.Optional[AwsEksIntegrationAuthData]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AwsEksIntegrationAuthData
Union, One Of:
AwsInferentia
type
typing.Literal[Any]
default:"aws_inferentia"
required
Name of the AWS Inferentia Accccelerator. One of [INF1, INF2].
This field is required for Node Selector and can be ignored in Nodepool Selector.
Count of Inferentia accelerator chips to provide to the application
AwsIntegrations
Union, One Of:
AwsParameterStore
type
typing.Literal[Any]
default:"integration/secret-store/aws/parameter-store"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AwsParameterStoreAuthData]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AwsParameterStoreAuthData
Union, One Of:
AwsProviderAccount
type
typing.Literal[Any]
default:"provider-account/aws"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AwsProviderAccountAuthData]
integrations
typing.List[AwsIntegrations]
required
AwsProviderAccountAuthData
Union, One Of:
type
typing.Literal[Any]
default:"integration/blob-storage/aws/s3"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The root path of the storage.
auth_data
typing.Optional[AwsS3AuthData]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AwsS3AuthData
Union, One Of:
AwsSecretsManager
type
typing.Literal[Any]
default:"integration/secret-store/aws/secrets-manager"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AwsSecretsManagerAuthData]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AwsSecretsManagerAuthData
Union, One Of:
AzureAiInferenceModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/model/azure/ai-inference"
required
model_types
typing.List[ModelType]
required
auth_data
typing.Optional[AzureKeyAuth]
deployment_details
typing_extensions.Annotated[(AzureAiInferenceModelDeploymentDetails, Any)]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureAiInferenceModelDeploymentDetails
Union, One Of:
AzureAiManagedDeployment
type
typing.Literal[Any]
default:"managed"
required
deployment_name
typing_extensions.Annotated[(str, Any)]
required
Name of the Azure AI deployment
endpoint_name
typing_extensions.Annotated[(str, Any)]
required
Name of the Azure AI endpoint
AzureAiServerlessDeployment
type
typing.Literal[Any]
default:"serverless"
required
deployment_name
typing_extensions.Annotated[(str, Any)]
required
Name of the Azure AI deployment
Region where the Azure AI deployment is located
AzureAksIntegration
type
typing.Literal[Any]
default:"integration/cluster/azure/aks"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The resource group of the cluster in the cloud account.
Name of the cluster given in the cloud account.
auth_data
typing.Optional[AzureOAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureBasicAuth
type
typing.Literal[Any]
default:"basic-auth"
required
The username for the Azure managed identity.
The password for the Azure managed identity.
AzureBlobStorage
type
typing.Literal[Any]
default:"integration/blob-storage/azure/blob"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The root path of the storage.
auth_data
typing.Optional[AzureConnectionStringAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureConnectionStringAuth
type
typing.Literal[Any]
default:"connection-string"
required
The connection string for the Azure managed identity.
AzureContainerRegistry
type
typing.Literal[Any]
default:"integration/docker-registry/azure/acr"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AzureBasicAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureContentSafetyGuardrailConfig
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
required
The resource name where API is deployed.
api_version
str
default:"2024-09-01"
required
API version for the Content Safety API
Custom host for the PII detection API
blocklist_names
typing.Optional[typing.List[str]]
Array of blocklist names to check against
severity_threshold
float
default:"2.0"
required
Severity threshold for the Content Safety API
categories
typing.List[AzureContentSafetyCategory]
required
AzureFoundryModel
type
typing.Literal[Any]
default:"integration/model/azure/ai-foundry"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
This is the Model Name on Azure
model_types
typing.List[ModelType]
required
π ModelTypeTypes of models supported by this Azure AI Foundry deployment
auth_data
typing.Optional[AzureKeyAuth]
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureFoundryModelV2
type
typing.Literal[Any]
default:"integration/model/azure-foundry"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
model_types
typing.List[ModelType]
required
π ModelTypeTypes of models supported by this Azure AI Foundry deployment
The name of the Azure Foundry deployment
Endpoint URL must not be empty
The API version for the Azure Foundry model
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureFoundryProviderAccount
type
typing.Literal[Any]
default:"provider-account/azure-foundry"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[AzureFoundryModelV2]
required
collaborators
typing.Optional[typing.List[Collaborator]]
AzureIntegrations
Union, One Of:
AzureKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
AzureOAuth
type
typing.Literal[Any]
default:"oauth"
required
The Azure Active Directory tenant (directory) ID.
The client (application) ID of an App Registration in the tenant.
A client secret that was generated for the App Registration.
The ID of the target subscription. The value must be an UUID.
AzureOpenAiModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
This is the name of the deployment
type
typing.Literal[Any]
default:"integration/model/azure"
required
Azure OpenAI Service endpoint
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureOpenAiModelV2
type
typing.Literal[Any]
default:"integration/model/azure-openai"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
API version must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureOpenAiProviderAccount
type
typing.Literal[Any]
default:"provider-account/azure-openai"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Endpoint URL must not be empty
integrations
typing.List[AzureOpenAiModelV2]
required
collaborators
typing.Optional[typing.List[Collaborator]]
AzurePiiGuardrailConfig
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/guardrail-config/azure-pii"
required
The resource name where API is deployed.
api_version
str
default:"2024-11-01"
required
API version for the Content Safety API
Custom host for the PII detection API
domain
AzurePiiGuardrailConfigDomain
required
pii_categories
typing.List[AzurePiiCategory]
required
model_version
str
default:"latest"
required
Version of the PII detection model to use
Language code for PII detection
AzureProviderAccount
type
typing.Literal[Any]
default:"provider-account/azure"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The ID of the target subscription. The value must be an UUID.
integrations
typing.List[AzureIntegrations]
required
AzureReposIntegration
type
typing.Literal[Any]
default:"integration/vcs/azure"
required
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
AzureVault
type
typing.Literal[Any]
default:"integration/secret-store/azure/vault"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[AzureOAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
BaseArtifactVersion
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
manifest
typing.Optional[BaseArtifactVersionManifest]
BaseArtifactVersionManifest
Union, One Of:
BaseAutoscaling
Minimum number of replicas to keep available
Maximum number of replicas allowed for the component.
polling_interval
typing.Optional[int]
default:"30"
This is the interval to check each trigger on.
BaseOAuth2Login
Client secret or the TrueFoundry secret containing the client secret for OAuth2.
URL for the authorization request
The endpoint to exchange auth code for tokens.
List of scopes to request from the OAuth2 provider.
jwt_source
BaseOAuth2LoginJwtSource
required
BaseOAuth2McpServerLogin
client ID for OAuth2 or the TrueFoundry secret FQN containing the client ID.
Client secret or the TrueFoundry secret FQN containing the client secret for OAuth2.
URL for the authorization request
The endpoint to exchange auth code for tokens.
List of scopes to request from the OAuth2 provider.
jwt_source
BaseOAuth2McpServerLoginJwtSource
required
BaseService
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
artifacts_download
typing.Optional[ArtifactsDownload]
resources
typing.Optional[Resources]
env
typing.Optional[typing.Dict[(str, typing.Optional[str])]]
Configure environment variables to be injected in the service either as plain text or secrets. Docs
ports
typing.List[Port]
required
π PortExpose the deployment to make it accessible over the internet or keep it private. Implement authentication to restrict access. Docs
mounts
typing.Optional[typing.List[BaseServiceMountsItem]]
labels
typing.Optional[typing.Dict[(str, str)]]
kustomize
typing.Optional[Kustomize]
liveness_probe
typing.Optional[HealthProbe]
readiness_probe
typing.Optional[HealthProbe]
startup_probe
typing.Optional[HealthProbe]
BaseServiceImage
Union, One Of:
BaseServiceMountsItem
Union, One Of:
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Size of the home directory for the workbench (Persistent Storage)
resources
typing.Optional[Resources]
env
typing.Optional[typing.Dict[(str, typing.Optional[str])]]
Configure environment variables to be injected in the service either as plain text or secrets. Docs
mounts
typing.Optional[typing.List[BaseWorkbenchInputMountsItem]]
kustomize
typing.Optional[Kustomize]
Union, One Of:
BasicAuthCreds
type
typing.Literal[Any]
default:"basic_auth"
required
Username for the user to authenticate with
Password for the user to authenticate with
BedrockKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
BedrockModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/model/aws"
required
auth_data
typing.Optional[BedrockModelAuthData]
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
BedrockModelAuthData
Union, One Of:
BedrockModelV2
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
type
typing.Literal[Any]
default:"integration/model/bedrock"
required
model_types
typing.List[ModelType]
required
region
typing.Optional[AwsRegion]
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
BitbucketIntegration
type
typing.Literal[Any]
default:"integration/vcs/bitbucket"
required
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
BitbucketProviderAccount
type
typing.Literal[Any]
default:"provider-account/bitbucket"
required
integrations
typing.List[BitbucketIntegration]
required
BlobStorageReference
type
typing.Literal[Any]
default:"blob-storage"
required
Path to the content in blob storage
BlueGreen
type
typing.Literal[Any]
default:"blue_green"
required
auto_promotion_seconds
typing.Optional[int]
default:"30"
BudgetConfig
Name of the budget configuration
type
typing.Literal[Any]
default:"gateway-budget-config"
required
rules
typing.List[BudgetRule]
required
BudgetRule
Unique identifier for the rule
Numeric limit value for the budget
BudgetWhen
subjects
typing.Optional[typing.List[str]]
List of subjects that this rule applies to
models
typing.Optional[typing.List[str]]
List of models that this rule applies to
metadata
typing.Optional[typing.Dict[(str, str)]]
Metadata key-value pairs that this rule applies to
type
typing.Literal[Any]
default:"build"
required
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
BuildBuildSource
Union, One Of:
BuildBuildSpec
Union, One Of:
BuildInfo
Status of the build: STARTED = 20, SUCCEEDED = 30, FAILED = 40
type
typing.Literal[Any]
default:"canary"
required
steps
typing.List[CanaryStep]
required
CanaryStep
The rest will continue to go to the existing deployment
pause_duration
typing.Optional[int]
default:"30"
If this is not set, the step will pause indefinitely on this step
ChangePasswordResponse
Union, One Of:
ChatPromptManifest
metadata
typing.Dict[(str, typing.Optional[typing.Any])]
Key value metadata. Should be valid JSON. For e.g. \{"business-unit": "sales", "quality": "good", "rating": 4.5\}
Version alias is alternate, ideally human readable, version string to reference an artifact version. It should start with v
followed by alphanumeric and it can include .
and -
in between (e.g. v1.0.0
, v1-prod
, v3-dev
, etc)
type
typing.Literal[Any]
default:"chat_prompt"
required
messages
typing.List[ChatPromptManifestMessagesItem]
required
variables
typing.Optional[typing.Dict[(str, str)]]
Variables referenced in messages and that can be replaced when running generation
model_configuration
typing.Optional[ModelConfiguration]
tools
typing.Optional[typing.List[ToolSchema]]
mcp_servers
typing.Optional[typing.List[ChatPromptManifestMcpServersItem]]
guardrails
typing.Optional[Guardrails]
ChatPromptManifestMcpServersItem
Union, One Of:
ChatPromptManifestMessagesItem
Union, One Of:
Cluster
tenant_name
typing_extensions.Annotated[(str, Any)]
required
created_by_subject
typing_extensions.Annotated[(typing.Optional[Subject], Any)]
created_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
updated_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
ClusterGateway
is_tie_breaker
typing_extensions.Annotated[(typing.Optional[bool], Any)]
Used when there are 2 gateways with same host
selector
typing.Dict[(str, str)]
required
ClusterManifest
type
typing.Literal[Any]
default:"cluster"
required
3 to 35 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
cluster_type
ClusterManifestClusterType
required
Tag the environment like dev, staging or production. You will need to create environments if you donβt have already.
base_domains
typing.Optional[typing.List[str]]
Domain URL should be valid domain or IP address
monitoring
typing.Optional[ClusterManifestMonitoring]
workbench_config
typing.Optional[ClusterManifestWorkbenchConfig]
spark_config
typing.Optional[SparkConfig]
workflow_storage_integration_fqn
supported_nodepools
typing.Optional[typing.List[Nodepool]]
π NodepoolAdd nodepools that are already created in your cluster.
When deploying, applications can choose to schedule from these nodepools.
node_label_keys
typing.Optional[ClusterManifestNodeLabelKeys]
collaborators
typing.List[Collaborator]
required
ClusterManifestMonitoring
ClusterManifestNodeLabelKeys
The nodepool selector label that this cluster supports
ClusterManifestWorkbenchConfig
notebook_config
typing.Optional[NotebookConfig]
ssh_server_config
typing.Optional[SshServerConfig]
Must not contain any spaces.
ClustersDeleteResponse
Codeserver
type
typing.Optional[typing.Literal[Any]]
image
typing.Optional[WorkbenchImage]
CohereKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
CohereModel
type
typing.Literal[Any]
default:"integration/model/cohere"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
CohereProviderAccount
type
typing.Literal[Any]
default:"provider-account/cohere"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[CohereIntegrations]]
List of integrations that are associated with the Cohere provider account
collaborators
typing.Optional[typing.List[Collaborator]]
Collaborator
Fully Qualified Name of the subject. eg: user:email or team:teamname
type
typing.Literal[Any]
default:"settings/common-tools"
required
Enable web search tool
Allows model to search the web for information.
Enable code executor tool
Allows model to execute code and return the results.
Enable sequential thinking tool
Allows model to reason step-by-step to solve complex problems.
Enable vision OCR tool
Allows model to extract text from images or PDFs.
Enable web scraping tool.
Allows model to scrape content from web pages with intelligent format selection for structured or unstructured data.
ContainerTaskConfig
type
typing.Literal[Any]
default:"container-task-config"
required
image
ContainerTaskConfigImage
required
env
typing.Optional[typing.Dict[(str, typing.Optional[str])]]
Configure environment variables to be injected in the task either as plain text or secrets. Docs
resources
typing.Optional[Resources]
mounts
typing.Optional[typing.List[VolumeMount]]
ContainerTaskConfigImage
Union, One Of:
CoreNatsOutputConfig
type
typing.Literal[Any]
default:"core-nats"
required
Output NATS root subject should only contain alphanumeric letters, dashes(-), and periods(.)
auth
typing.Optional[NatsUserPasswordAuth]
CpuUtilizationMetric
type
typing.Literal[Any]
default:"cpu_utilization"
required
Percentage of cpu request averaged over all replicas which the autoscaler should try to maintain
CreateMultiPartUploadRequest
CreatePersonalAccessTokenResponse
CronMetric
type
typing.Literal[Any]
default:"cron"
required
Desired number of replicas during the given interval. Default value is max_replicas.
Cron expression indicating the start of the cron schedule.* * * * *
| | | | |
| | | | |___ day of week (0-6) (Sunday is 0)
| | | |_____ month (1-12)
| | |_______ day of month (1-31)
| |_________ hour (0-23)
|___________ minute (0-59)
Cron expression indicating the end of the cron schedule.* * * * *
| | | | |
| | | | |___ day of week (0-6) (Sunday is 0)
| | | |_____ month (1-12)
| | |_______ day of month (1-31)
| |_________ hour (0-23)
|___________ minute (0-59)
CustomBasicAuth
type
typing.Literal[Any]
default:"basic-auth"
required
The username for the basic authentication.
The password for the basic authentication.
CustomBearerAuth
type
typing.Literal[Any]
default:"bearer-auth"
required
The bearer token for the custom bearer authentication.
CustomBlobStorage
type
typing.Literal[Any]
default:"integration/blob-storage/custom"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The endpoint of the storage provider.
The root path of the storage.
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
CustomGuardrailConfig
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/guardrail-config/custom"
required
operation
CustomGuardrailConfigOperation
required
π CustomGuardrailConfigOperationThe operation type to use for the Guardrail. Validate guardrails are used to validate requests and mutate can validate as well as mutate requests.
Validate guardrails are run in parallel while mutate guardrails are run sequentially.
target
CustomGuardrailConfigTarget
required
π CustomGuardrailConfigTargetSpecify whether the guardrail should be applied to the request or response. Guardrails with target βRequestβ can be only used in input guardrails and guardrails with target βResponseβ can only be used in output guardrails.
The URL of the Guardrail to send a post request to.
auth_data
typing.Optional[CustomGuardrailConfigAuthData]
Headers for the Guardrail Server. Forwarded to the Guardrail Server as is. For example: \{"Authorization": "APIKey \<token\>"\}
config
typing.Dict[(str, typing.Optional[typing.Any])]
The config for the Guardrail Server. This is a JSON object that will be sent as a config to Guardrail Server along with the request.
CustomGuardrailConfigAuthData
Union, One Of:
CustomHelmRepo
type
typing.Literal[Any]
default:"integration/helm-repo/custom"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The URL of the Helm Repo.
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
CustomIntegrations
Union, One Of:
CustomJwtAuthIntegration
type
typing.Literal[Any]
default:"integration/jwt-auth/custom"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The base URL of the authentication provider.
The JSON Web Key Set URI for JWT verification.
login_provider
typing.Optional[OAuth2LoginProvider]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
CustomModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
enter valid https/http URL that should not end with trailing slash
model_server
CustomModelModelServer
required
type
typing.Literal[Any]
default:"integration/model/custom"
required
model_types
typing.List[ModelType]
required
auth_data
typing.Optional[CustomModelAuthData]
Custom headers for the integration. Forwarded to the provider as is. For example: \{"Authorization": "APIKey \<token\>"\}
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
CustomModelAuthData
Union, One Of:
CustomProviderAccount
type
typing.Literal[Any]
default:"provider-account/custom"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[CustomBasicAuth]
integrations
typing.List[CustomIntegrations]
required
CustomUsernamePasswordArtifactsRegistry
type
typing.Literal[Any]
default:"integration/docker-registry/custom"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[CustomBasicAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
DatabricksApiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key for Databricks authentication.
DatabricksModel
type
typing.Literal[Any]
default:"integration/model/databricks"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
DatabricksProviderAccount
type
typing.Literal[Any]
default:"provider-account/databricks"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
DatabricksProviderAccountAuthData
required
Base URL must not be empty
integrations
typing.List[DatabricksIntegrations]
required
List of integrations that are associated with the Databricks provider account
collaborators
typing.Optional[typing.List[Collaborator]]
DatabricksProviderAccountAuthData
Union, One Of:
DatabricksServicePrincipalAuth
type
typing.Literal[Any]
default:"service-principal"
required
OAuth secret of the Databricks service principal.
Client ID or Application ID of the Databricks service principal.
DataDirectory
manifest
DataDirectoryManifest
required
DataDirectoryManifest
type
typing.Literal[Any]
default:"data-dir"
required
Name of the data directory
Name of the ML Repo to create the data directory under
Description for the data directory
metadata
typing.Dict[(str, typing.Optional[typing.Any])]
Key Value metadata. Should be valid JSON. For e.g. \{"business-unit": "sales", "quality": "good", "rating": 4.5\}
source
DataDirectoryManifestSource
required
DataDirectoryManifestSource
Union, One Of:
DeactivateUserResponse
Union, One Of:
DeepinfraKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
DeepinfraModel
type
typing.Literal[Any]
default:"integration/model/deepinfra"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
DeepinfraProviderAccount
type
typing.Literal[Any]
default:"provider-account/deepinfra"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[DeepinfraIntegrations]]
List of integrations that are associated with the DeepInfra provider account
collaborators
typing.Optional[typing.List[Collaborator]]
DeleteApplicationResponse
Application deletion message
DeleteJobRunResponse
DeletePersonalAccessTokenResponse
Union, One Of:
DeleteSecretGroupResponse
Union, One Of:
DeleteTeamResponse
Union, One Of:
DeleteVirtualAccountResponse
Union, One Of:
Deployment
application_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
manifest
DeploymentManifest
required
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
deployment_builds
typing_extensions.Annotated[(typing.Optional[typing.List[BuildInfo]], Any)]
deployment_statuses
typing_extensions.Annotated[(typing.Optional[typing.List[DeploymentStatus]], Any)]
current_status_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
current_status
typing_extensions.Annotated[(typing.Optional[DeploymentStatus], Any)]
applied_recommendations
typing_extensions.Annotated[(typing.Optional[typing.List[Recommendation]], Any)]
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
DeploymentBuild
deployment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
component_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
build
typing.Optional[BuildInfo]
build_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
image_uri
typing_extensions.Annotated[(typing.Optional[str], Any)]
status
typing.Optional[BuildStatus]
get_logs_url
typing_extensions.Annotated[(typing.Optional[str], Any)]
tail_logs_url
typing_extensions.Annotated[(typing.Optional[str], Any)]
logs_start_ts
typing_extensions.Annotated[(typing.Optional[str], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
DeploymentManifest
Union, One Of:
DeploymentStatus
deployment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
status
typing.Optional[DeploymentStatusValue]
state
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
transition
typing.Optional[DeploymentTransition]
retry_count
typing_extensions.Annotated[(typing.Optional[float], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
DeveloperMessage
role
typing.Literal[Any]
default:"developer"
required
The role of the messages author, in this case developer.
content
DeveloperMessageContent
required
An optional name for the participant.
DeveloperMessageContent
Union, One Of:
DockerFileBuild
type
typing.Literal[Any]
default:"dockerfile"
required
dockerfile_path
str
default:"./Dockerfile"
required
The file path of the Dockerfile relative to project root path.
Build context path for the Dockerfile relative to project root path.
command
typing.Optional[DockerFileBuildCommand]
π DockerFileBuildCommandOverride the command to run when the container starts
When deploying a Job, the command can be templatized by defining params
and referencing them in command
E.g. python main.py --learning_rate \{\{learning_rate\}\}
build_args
typing.Optional[typing.Dict[(str, str)]]
DockerFileBuildCommand
Union, One Of:
DockerhubBasicAuth
type
typing.Literal[Any]
default:"basic-auth"
required
DockerhubProviderAccount
type
typing.Literal[Any]
default:"provider-account/dockerhub"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[DockerhubBasicAuth]
integrations
typing.List[DockerhubIntegrations]
required
DockerhubRegistry
type
typing.Literal[Any]
default:"integration/docker-registry/dockerhub"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[DockerhubBasicAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
DynamicVolumeConfig
type
typing.Literal[Any]
default:"dynamic"
required
Volume Type for the volume.
Name of the storage class to be used for the volume.
type
typing.Literal[Any]
default:"email"
required
Specify the notification channel to send alerts to
List of recipientsβ email addresses if the notification channel is Email.
EmailNotificationChannel
type
typing.Literal[Any]
default:"integration/notification-channel/email"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The email address from which the email will be sent.
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
EmptyResponse
Union, One Of:
Endpoint
Upto 253 characters, each part of host should be at most 63 characters long, can contain alphabets, digits and hypen, must begin and end with an alphanumeric characters. Parts must be separated by periods (.)
Should begin and end with a forward slash (/). Each part can can contain alphabets, digits and hypen, must begin and end with an alphanumeric characters. Parts should be separated by forward slashes (/)
EnkryptAiGuardrailConfig
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/guardrail-config/enkrypt-ai"
required
operation
EnkryptAiGuardrailConfigOperation
required
π EnkryptAiGuardrailConfigOperationThe operation type to use for the Guardrail. Validate guardrails are used to validate requests and mutate can validate as well as mutate requests.
Validate guardrails are run in parallel while mutate guardrails are run sequentially.
The name of the guardrail to use for the Enkrypt AI Guardrail.
EnkryptAiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
Environment
tenant_name
typing_extensions.Annotated[(str, Any)]
required
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
is_production
typing_extensions.Annotated[(bool, Any)]
required
optimize_for
typing_extensions.Annotated[(typing.Optional[EnvironmentOptimizeFor], Any)]
manifest
EnvironmentManifest
required
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
EnvironmentColor
color_hex
typing_extensions.Annotated[(typing.Optional[str], Any)]
background_color_hex
typing_extensions.Annotated[(typing.Optional[str], Any)]
background_color
typing_extensions.Annotated[(typing.Optional[str], Any)]
EnvironmentManifest
type
typing.Literal[Any]
default:"environment"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
is_production
typing_extensions.Annotated[(bool, Any)]
required
Indicates if the environment is for production use
optimize_for
typing_extensions.Annotated[(EnvironmentOptimizeFor, Any)]
required
first_timestamp
typing_extensions.Annotated[(typing.Optional[str], Any)]
Timestamp when the event was first observed
last_timestamp
typing_extensions.Annotated[(str, Any)]
required
Timestamp when the event was last observed
involved_object
typing_extensions.Annotated[(EventInvolvedObject, Any)]
required
Number of occurrences of the event
Message describing the event
EventChart
category
EventChartCategory
required
EventInvolvedObject
api_version
typing_extensions.Annotated[(typing.Optional[str], Any)]
container_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
ExternalBlobStorageSource
type
typing.Literal[Any]
default:"external"
required
Type of the source
URI referencing a path in the blob storage bucket linked to the MLRepo
FailureToleranceConfig
allowed_failures_per_minute
Number of failures allowed per minute before cooldown
Cooldown period in minutes after failure threshold is reached
HTTP status codes considered as failures
FallbackConfig
Name of the fallback configuration
type
typing.Literal[Any]
default:"gateway-fallback-config"
required
rules
typing.List[FallbackRule]
required
FallbackModel
Target model or provider FQN to use as fallback
override_params
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Optional parameters to override in the fallback request
FallbackRule
Unique identifier for the rule
fallback_models
typing.List[FallbackModel]
required
FallbackWhen
subjects
typing.Optional[typing.List[str]]
List of subjects that this rule applies to
models
typing.Optional[typing.List[str]]
List of models that this rule applies to
metadata
typing.Optional[typing.Dict[(str, str)]]
Metadata key-value pairs that this rule applies to
HTTP status codes that trigger fallback behavior
FastAiFramework
type
typing.Literal[Any]
default:"fastai"
required
Type of the framework
FileInfo
last_modified
typing.Optional[dt.datetime]
FlyteLaunchPlan
id
FlyteLaunchPlanId
required
spec
FlyteLaunchPlanSpec
required
closure
typing.Optional[typing.Any]
FlyteLaunchPlanId
resource_type
typing_extensions.Annotated[(typing.Literal[Any], Any)]
default:"LAUNCH_PLAN"
required
FlyteLaunchPlanSpec
workflow_id
typing_extensions.Annotated[(FlyteWorkflowId, Any)]
required
FlyteTask
template
FlyteTaskTemplate
required
description
typing.Optional[typing.Optional[typing.Any]]
FlyteTaskCustom
truefoundry
FlyteTaskCustomTruefoundry
required
FlyteTaskCustomTruefoundry
Union, One Of:
FlyteTaskId
resource_type
typing_extensions.Annotated[(typing.Literal[Any], Any)]
default:"TASK"
required
FlyteTaskTemplate
FlyteWorkflow
template
FlyteWorkflowTemplate
required
description
typing.Optional[typing.Optional[typing.Any]]
FlyteWorkflowId
resource_type
typing_extensions.Annotated[(typing.Literal[Any], Any)]
default:"WORKFLOW"
required
FlyteWorkflowTemplate
ForwardAction
type
typing.Literal[Any]
default:"forward"
required
Eg - For a service called sample-service
in workspace ws
this would be `sample-service.ws.svc.cluster.local
Function
Name of the tool/function being called
Arguments passed to the tool/function
FunctionSchema
Description of the function
parameters
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Parameters schema for the function
Indicates if the function should be called strictly
GatewayConfig
Union, One Of:
GcpApiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
api_key
typing_extensions.Annotated[(str, Any)]
required
type
typing.Literal[Any]
default:"integration/docker-registry/gcp/gcr"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[GcpKeyFileAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
type
typing.Literal[Any]
default:"integration/blob-storage/gcp/gcs"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The root path of the storage.
auth_data
typing.Optional[GcpKeyFileAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GcpGkeIntegration
type
typing.Literal[Any]
default:"integration/cluster/gcp/gke-standard"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Name of the cluster given in the cloud account.
auth_data
typing.Optional[GcpKeyFileAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
type
typing.Literal[Any]
default:"integration/secret-store/gcp/gsm"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[GcpKeyFileAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GcpIntegrations
Union, One Of:
GcpKeyFileAuth
type
typing.Literal[Any]
default:"key-file"
required
key_file_content
typing.Dict[(str, typing.Optional[typing.Any])]
GcpProviderAccount
type
typing.Literal[Any]
default:"provider-account/gcp"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The project id of the GCP account.
auth_data
typing.Optional[GcpProviderAccountAuthData]
integrations
typing.List[GcpIntegrations]
required
GcpProviderAccountAuthData
Union, One Of:
type
typing.Literal[Any]
default:"gcp_tpu"
required
Name of the TPU Type. One of
tpu-v4-podslice
(TPU v4, ct4p)
tpu-v5-lite-device
(TPU v5e, ct5l)
tpu-v5-lite-podslice
(TPU v5e, ct5lp)
tpu-v5p-slice
(TPU v5p, ct5p)
Topology of the TPU slices. Currently only single-host topology is supported.
Please refer to TPUs on GKE docs
Allowed Values:
2x2x1
for tpu-v4-podslice
- One of
1x1
, 2x2
, 2x4
for tpu-v5-lite-device
and tpu-v5-lite-podslice
2x2x1
for tpu-v5p-slice
GeminiModelV2
type
typing.Literal[Any]
default:"integration/model/gemini"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
π ModelTypeSpecify the type of the Gemini model (e.g., chat, text, etc.)
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GetAlertsResponse
data
typing.Dict[(str, typing.List[Alert])]
required
π AlertObject containing alert data grouped by alert name
GetApplicationDeploymentResponse
GetApplicationResponse
GetArtifactResponse
GetArtifactVersionResponse
GetAuthenticatedVcsurlResponse
authenticated_url
typing_extensions.Annotated[(str, Any)]
required
Authenticated URL to access the repository
GetAutoProvisioningStateResponse
state
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
State of auto-provisioning for the cluster.
GetChartsResponse
graphs
typing.List[Graph]
required
GetClusterResponse
GetDataDirectoryResponse
GetEnvironmentResponse
GetEventsResponse
data
typing.List[Event]
required
GetJobRunResponse
GetLogsResponse
GetMlRepoResponse
GetModelResponse
GetModelVersionResponse
GetOrCreatePersonalAccessTokenResponse
Whether the PAT was created (true) or already existed (false)
GetPromptResponse
GetPromptVersionResponse
GetSecretGroupResponse
GetSecretResponse
GetSignedUrLsRequest
GetSignedUrLsResponse
data
typing.List[SignedUrl]
required
GetSuggestedDeploymentEndpointResponse
gateway
typing.Optional[ClusterGateway]
GetTeamResponse
GetUserResponse
GetVirtualAccountResponse
Virtual Account token (present only when creating a virtual account)
GetWorkspaceResponse
GitHelmRepo
type
typing.Literal[Any]
default:"git-helm-repo"
required
Branch/Commit SHA/Tag of the git repo.
value_files
typing.Optional[typing.List[str]]
Helm values files for overriding values in the helm chart.
The path is relative to the Path directory defined above
GithubIntegration
type
typing.Literal[Any]
default:"integration/vcs/github"
required
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GithubProviderAccount
type
typing.Literal[Any]
default:"provider-account/github"
required
integrations
typing.List[GithubIntegration]
required
GitlabIntegration
type
typing.Literal[Any]
default:"integration/vcs/gitlab"
required
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GitlabProviderAccount
type
typing.Literal[Any]
default:"provider-account/gitlab"
required
integrations
typing.List[GitlabIntegration]
required
GitRepositoryExistsResponse
The flag if repository exists or not
The integration id of the repository
GitSource
type
typing.Literal[Any]
default:"git"
required
Needs to be a valid Github, Bitbucket, Azure Repos or Gitlab link
Selecting branch will select latest commit SHA of the branch.
GluonFramework
type
typing.Literal[Any]
default:"gluon"
required
Type of the framework
GoogleGeminiProviderAccount
type
typing.Literal[Any]
default:"provider-account/google-gemini"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[GeminiModelV2]
required
π GeminiModelV2List of integrations that are associated with the Google Gemini provider account
collaborators
typing.Optional[typing.List[Collaborator]]
GoogleModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/model/gcp/google"
required
model_types
typing.List[ModelType]
required
auth_data
typing.Optional[GcpApiKeyAuth]
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GoogleVertexProviderAccount
type
typing.Literal[Any]
default:"provider-account/google-vertex"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Project ID must not be empty
auth_data
typing.Optional[GcpKeyFileAuth]
integrations
typing.List[VertexModelV2]
required
π VertexModelV2List of integrations that are associated with the Google Vertex provider account
collaborators
typing.Optional[typing.List[Collaborator]]
chart_type
typing_extensions.Annotated[(GraphChartType, Any)]
required
GroqKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
GroqModel
type
typing.Literal[Any]
default:"integration/model/groq"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
GroqProviderAccount
type
typing.Literal[Any]
default:"provider-account/groq"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[GroqIntegrations]]
List of integrations that are associated with the Groq provider account
collaborators
typing.Optional[typing.List[Collaborator]]
GuardrailConfigGroup
type
typing.Literal[Any]
default:"provider-account/guardrail-config-group"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
collaborators
typing.Optional[typing.List[Collaborator]]
integrations
typing.List[GuardrailConfigIntegrations]
required
GuardrailConfigIntegrations
Union, One Of:
Guardrails
input_guardrails
typing.Optional[typing.List[str]]
List of guardrail names to apply to user input messages before processing.
output_guardrails
typing.Optional[typing.List[str]]
List of guardrail names to apply to AI response messages before returning to user.
GuardrailsConfig
Name of the guardrails configuration
type
typing.Literal[Any]
default:"gateway-guardrails-config"
required
rules
typing.List[GuardrailsRule]
required
GuardrailsRule
Unique identifier for the rule
Guardrail selectors of the guardrails to apply to the input (format: groupName/guardrailName)
Guardrail selectors of the guardrails to apply to the output (format: groupName/guardrailName)
GuardrailsWhen
subjects
typing.Optional[typing.List[str]]
List of subjects that this rule applies to
models
typing.Optional[typing.List[str]]
List of models that this rule applies to
metadata
typing.Optional[typing.Dict[(str, str)]]
Metadata key-value pairs that this rule applies to
H2OFramework
type
typing.Literal[Any]
default:"h2o"
required
Type of the framework
type
typing.Literal[Any]
default:"header"
required
HealthProbe
Time to wait after container has started before checking the endpoint
period_seconds
typing.Optional[int]
default:"10"
How often to check the endpoint
timeout_seconds
typing.Optional[int]
default:"1"
Time to wait for a response from the endpoint before considering it down
success_threshold
typing.Optional[int]
default:"1"
Number of successful responses from the endpoint before container is considered healthy
failure_threshold
typing.Optional[int]
default:"3"
Number of consecutive failures before the container is considered down
type
typing.Literal[Any]
default:"helm"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
labels
typing.Optional[typing.Dict[(str, str)]]
Add labels to base argo app
values
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Values file as block file
kustomize
typing.Optional[Kustomize]
ignore_differences
typing_extensions.Annotated[(typing.Optional[typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]], Any)]
HelmRepo
type
typing.Literal[Any]
default:"helm-repo"
required
FQN of the helm repo integration. If you canβt find your integration here,
add it through the Integrations page
HelmSource
Union, One Of:
HttpError
status_code
typing_extensions.Annotated[(int, Any)]
required
HTTP Status Code
code
typing.Optional[HttpErrorCode]
details
typing.Optional[typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]]
Error details
HttpErrorCode
Union, One Of:
HttpProbe
type
typing.Literal[Any]
default:"http"
required
Path to the health check endpoint
Listening port for the health check endpoint
Host name to connect to, defaults to the pod IP
scheme
typing.Optional[str]
default:"HTTP"
Scheme to use for connecting to the host
HttpValidationError
detail
typing.Optional[typing.List[ValidationError]]
HuggingfaceArtifactSource
type
typing.Literal[Any]
default:"huggingface-hub"
required
Model ID of the artifact to be downloaded
Revision of the artifact to be downloaded
List of patterns to ignore while downloading the artifact
download_path_env_variable
Environment variable which will contain the download path of the artifact
IChange
value
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
old_value
typing_extensions.Annotated[(typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]], Any)]
changes
typing.Optional[typing.List[Any]]
type
typing.Literal[Any]
default:"image"
required
The image URI. Specify the name of the image and the tag.
If the image is in Dockerhub, you can skip registry-url (for e.g. tensorflow/tensorflow
).
You can use an image from a private registry using Advanced fields
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
command
typing.Optional[ImageCommand]
π ImageCommandOverride the command to run when container starts.
When deploying a Job, the command can be templatized by defining params
and referencing them in command
E.g. python main.py --learning_rate \{\{learning_rate\}\}
ImageCommand
Union, One Of:
ImageContentPart
type
typing.Literal[Any]
default:"image_url"
required
Type of the content part
ImageUrl
ImageUrlUrl
Union, One Of:
InfraProviderAccount
Union, One Of:
Intercept
type
typing.Literal[Any]
default:"intercept"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
rules
typing.List[InterceptRulesItem]
required
InterceptRulesItem
match
typing.Optional[HeaderMatch]
action
InterceptRulesItemAction
required
InterceptRulesItemAction
Union, One Of:
InternalArtifactVersion
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
InternalListArtifactVersionsResponse
data
typing.List[InternalListArtifactVersionsResponseDataItem]
required
InternalListArtifactVersionsResponseDataItem
Union, One Of:
InternalModelVersion
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
metrics
typing.Optional[typing.List[Metric]]
InviteUserResponse
Union, One Of:
IsClusterConnectedResponse
is_connected
typing_extensions.Annotated[(bool, Any)]
required
Whether the cluster is connected
JfrogArtifactsRegistry
type
typing.Literal[Any]
default:"integration/docker-registry/jfrog"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[JfrogBasicAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
JfrogBasicAuth
type
typing.Literal[Any]
default:"basic-auth"
required
The username for the basic authentication.
The password for the basic authentication.
JfrogProviderAccount
type
typing.Literal[Any]
default:"provider-account/jfrog"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The name of the JFrog account.
auth_data
typing.Optional[JfrogBasicAuth]
integrations
typing.List[JFrogIntegrations]
required
List of integrations that are associated with the provider account.
type
typing.Literal[Any]
default:"job"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Trigger the job after deploy immediately
params
typing.Optional[typing.List[Param]]
π ParamConfigure params and pass it to create different job runs
env
typing.Optional[typing.Dict[(str, typing.Optional[str])]]
Configure environment variables to be injected in the service either as plain text or secrets. Docs
resources
typing.Optional[Resources]
alerts
typing.Optional[typing.List[JobAlert]]
π JobAlertConfigure alerts to be sent when the job starts/fails/completes
Specify the maximum number of attempts to retry a job before it is marked as failed.
Number of runs that can run concurrently
mounts
typing.Optional[typing.List[JobMountsItem]]
labels
typing.Optional[typing.Dict[(str, str)]]
kustomize
typing.Optional[Kustomize]
JobAlert
Specify the notification channel to send alerts to
to_emails
typing.Optional[typing.List[str]]
List of recipientsβ email addresses if the notification channel is Email.
notification_target
typing.Optional[NotificationTarget]
Send an alert when the job starts
Send an alert when the job fails
JobImage
Union, One Of:
JobMountsItem
Union, One Of:
application_name
typing_extensions.Annotated[(str, Any)]
required
Application Name
deployment_version
typing_extensions.Annotated[(str, Any)]
required
Deployment Version
created_at
typing_extensions.Annotated[(float, Any)]
required
Created At
end_time
typing_extensions.Annotated[(typing.Optional[float], Any)]
End Time of JobRun
total_retries
typing_extensions.Annotated[(int, Any)]
required
Total Retries
triggered_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
Triggered By
triggered_by_subject
typing_extensions.Annotated[(typing.Optional[Subject], Any)]
exit_code
typing_extensions.Annotated[(typing.Optional[int], Any)]
Exit Code
spark_ui
typing_extensions.Annotated[(typing.Optional[str], Any)]
Spark UI Url
JobTrigger
Union, One Of:
command
typing.Optional[JobTriggerInputCommand]
params
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Parameters used to populate template command
Union, One Of:
JwtAuthConfig
type
typing.Literal[Any]
default:"jwt_auth"
required
FQN of the JWT Auth integration. If you canβt find your integration here,
add it through the Integrations page
Enable login for the service
claims
typing.Optional[typing.List[JwtAuthConfigClaimsItem]]
bypass_auth_paths
typing.Optional[typing.List[str]]
List of paths that will bypass auth.
needs to start with a forward slash(/) and should not contain wildcards(*)
JwtAuthConfigClaimsItem
type
typing.Literal[Any]
default:"kafka"
required
βKafka Bootstrap servers - Comma separated list of Kafka brokers βhostname:portβ to connect to for bootstrapβ
Kafka topic to subscribe to
The name of the consumer group to join for dynamic partition assignment
TLS configuration for SASL authentication
wait_time_seconds
typing.Optional[int]
default:"10"
Wait timeout for long polling.
auth
typing.Optional[KafkaSaslAuth]
KafkaMetricConfig
type
typing.Literal[Any]
default:"kafka"
required
Upper limit of the number of backlog messages the auto-scaler will try to maintain per replica. If you set this number to 10 and have 30 messages in the stream and one replica, the auto-scaler will scale the number of replicas to 3.
KafkaOutputConfig
type
typing.Literal[Any]
default:"kafka"
required
βKafka Bootstrap servers - Comma separated list of Kafka brokers βhostname:portβ to connect to for bootstrapβ
Kafka topic to publish to
TLS configuration for SASL authentication
auth
typing.Optional[KafkaSaslAuth]
KafkaSaslAuth
Username for SASL authentication
Password for SASL authentication
KerasFramework
type
typing.Literal[Any]
default:"keras"
required
Type of the framework
Kustomize
patch
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Content of kustomization.yaml to perform kustomize operation. Please do not include the resources
section. It is filled in automatically
additions
typing.Optional[typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]]
Additional kubernetes manifests to be included in the application
LatencyBasedLoadBalanceTarget
Target model or provider FQN
override_params
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Optional parameters to override in the request
LatencyBasedLoadBalancingRule
Unique identifier for the rule
when
LoadBalancingWhen
required
load_balance_targets
typing.List[LatencyBasedLoadBalanceTarget]
required
type
typing.Literal[Any]
default:"latency-based-routing"
required
LightGbmFramework
type
typing.Literal[Any]
default:"lightgbm"
required
Type of the framework
ListApplicationDeploymentsResponse
ListApplicationsResponse
ListArtifactsResponse
data
typing.List[Artifact]
required
ListArtifactVersionsResponse
data
typing.List[ArtifactVersion]
required
ListClusterAddonsResponse
data
typing.List[AddonComponent]
required
ListClustersResponse
data
typing.List[Cluster]
required
ListDataDirectoriesResponse
data
typing.List[DataDirectory]
required
ListEnvironmentsResponse
data
typing.List[Environment]
required
ListFilesRequest
ListFilesResponse
data
typing.List[FileInfo]
required
ListJobRunResponse
data
typing.List[JobRun]
required
ListMlReposResponse
data
typing.List[MlRepo]
required
ListModelsResponse
data
typing.List[Model]
required
ListModelVersionsResponse
data
typing.List[ModelVersion]
required
ListPersonalAccessTokenResponse
data
typing.List[VirtualAccount]
required
ListPromptsResponse
data
typing.List[Prompt]
required
ListPromptVersionsResponse
data
typing.List[PromptVersion]
required
ListSecretGroupResponse
data
typing.List[SecretGroup]
required
ListSecretsResponse
ListTeamsResponse
data
typing.List[Team]
required
ListUsersResponse
data
typing.List[User]
required
ListVirtualAccountResponse
data
typing.List[VirtualAccount]
required
ListWorkspacesResponse
data
typing.List[Workspace]
required
LoadBalanceTarget
Target model or provider FQN
Relative weight for routing decisions (higher values mean more traffic)
override_params
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Optional parameters to override in the request
LoadBalancingConfig
Name of the load balancing configuration
type
typing.Literal[Any]
default:"gateway-load-balancing-config"
required
model_configs
typing.Optional[typing.List[ModelConfig]]
rules
typing.List[LoadBalancingRule]
required
LoadBalancingRule
Union, One Of:
LoadBalancingWhen
subjects
typing.Optional[typing.List[str]]
List of subjects that this rule applies to
List of models that this rule applies to
metadata
typing.Optional[typing.Dict[(str, str)]]
Metadata key-value pairs that this rule applies to
LocalArtifactSource
type
typing.Literal[Any]
default:"local"
required
Type of the source
paths
typing.List[ArtifactPath]
required
π ArtifactPathArray of ArtifactPath objects representing the source and destination paths
LocalModelSource
type
typing.Literal[Any]
default:"local"
required
Type of the source
Path to the model file or folder
LocalSource
type
typing.Literal[Any]
default:"local"
required
container_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
Container Name
type
typing.Literal[Any]
default:"manual"
required
McpServerAuth
Union, One Of:
type
typing.Literal[Any]
default:"header"
required
McpServerIntegration
type
typing.Literal[Any]
default:"integration/mcp-server/hosted-mcp-server"
required
The name of the MCP Server.
1 to 1000 characters long, may contain any character except newlines
The endpoint URL for the MCP Server. The system will first try a connection using streamable-http transport on this URL. If that fails, it will attempt a connection using SSE transport on <url>/sse.
auth_data
typing.Optional[McpServerAuth]
McpServerOAuth2
type
typing.Optional[typing.Literal[Any]]
McpServerPassthrough
type
typing.Literal[Any]
default:"passthrough"
required
McpServerProviderAccount
type
typing.Literal[Any]
default:"provider-account/hosted-mcp-server"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
collaborators
typing.Optional[typing.List[Collaborator]]
integrations
typing.List[McpServerIntegrations]
required
McpServerWithFqn
type
typing.Literal[Any]
default:"mcp-server-fqn"
required
The FQN of the MCP server
The FQN of the MCP server
Whether to enable all tools from the MCP server
tools
typing.Optional[typing.List[McpTool]]
McpServerWithUrl
type
typing.Literal[Any]
default:"mcp-server-url"
required
The URL of the MCP server
The URL of the MCP server
The headers to send to the MCP server
Whether to enable all tools from the MCP server
tools
typing.Optional[typing.List[McpTool]]
The name of the tool as it appears in the MCP server
MirrorAction
type
typing.Literal[Any]
default:"mirror"
required
Eg - For a service called sample-service
in workspace ws
this would be `sample-service.ws.svc.cluster.local
MistralAiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
MistralAiModel
type
typing.Literal[Any]
default:"integration/model/mistral-ai"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
MistralAiProviderAccount
type
typing.Literal[Any]
default:"provider-account/mistral-ai"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[MistralAiIntegrations]]
List of integrations that are associated with the Mistral AI provider account
collaborators
typing.Optional[typing.List[Collaborator]]
artifact_type_counts
typing.Optional[typing.Dict[(str, int)]]
MlRepoManifest
type
typing.Literal[Any]
default:"ml-repo"
required
Alphanumeric word, may contain β-β with a maximum length of 100 characters
Description can be maximum 500 characters
Select the storage-integration where you want to save your artifacts and models
View Docs
collaborators
typing.List[Collaborator]
required
type
typing.Optional[typing.Literal[Any]]
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
latest_version
typing.Optional[ModelVersion]
run_steps
typing.Optional[typing.List[int]]
ModelConfig
usage_limits
typing.Optional[UsageLimits]
failure_tolerance
typing.Optional[FailureToleranceConfig]
ModelConfiguration
Name of the provider, must be one of the integration providers configured for the Gateway
Name of the model to be used for generations. This model should be available in the provider
parameters
typing.Optional[Parameters]
Arbitrary extra parameters to pass to the model when generating
ModelCostMetric
Union, One Of:
ModelManifest
metadata
typing.Dict[(str, typing.Optional[typing.Any])]
Key value metadata. Should be valid JSON. For e.g. \{"business-unit": "sales", "quality": "good", "rating": 4.5\}
Version alias is alternate, ideally human readable, version string to reference an artifact version. It should start with v
followed by alphanumeric and it can include .
and -
in between (e.g. v1.0.0
, v1-prod
, v3-dev
, etc)
type
typing.Literal[Any]
default:"model-version"
required
source
ModelManifestSource
required
framework
typing.Optional[ModelManifestFramework]
π ModelManifestFrameworkFramework for the model version like Transformers, PyTorch, Sklearn, Xgboost etc with framework specific metadata. This will be used to infer model deployment configuration
environment
typing.Optional[ModelVersionEnvironment]
Step/Epoch number in an iterative training loop the model version was created. Generally useful when logging a model version from a MLRepo Run
ID of the MLRepo Run that generated the model version
ModelManifestFramework
Union, One Of:
ModelManifestSource
Union, One Of:
ModelProviderAccount
Union, One Of:
ModelVersion
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
metrics
typing.Optional[typing.List[Metric]]
ModelVersionEnvironment
Python version to use when running the model
pip_packages
typing.Optional[typing.List[str]]
pip dependencies needed for running the model
MultiPartUpload
storage_provider
MultiPartUploadStorageProvider
required
part_signed_urls
typing.List[SignedUrl]
required
s3compatible_upload_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
azure_blob_block_ids
typing.Optional[typing.List[str]]
MultiPartUploadResponse
type
typing.Literal[Any]
default:"nats"
required
Input NATS root subject should only contain alphanumeric letters, dashes(-), and periods(.)
Consumer name should only contain alphanumeric letters, dashes(-), and underscores(_)
Wait timeout for long polling.
NATS Metrics URL should be a valid HTTP/HTTPS URL
auth
typing.Optional[NatsUserPasswordAuth]
NatsMetricConfig
type
typing.Literal[Any]
default:"nats"
required
Upper limit of the number of backlog messages the auto-scaler will try to maintain per replica. If you set this number to 10 and have 30 messages in the stream and one replica, the auto-scaler will scale the number of replicas to 3.
NatsOutputConfig
type
typing.Literal[Any]
default:"nats"
required
Output NATS root subject should only contain alphanumeric letters, dashes(-), and periods(.)
auth
typing.Optional[NatsUserPasswordAuth]
NatsUserPasswordAuth
User for NATS authentication
Password for NATS authentication
Nodepool
NodepoolSelector
type
typing.Literal[Any]
default:"nodepool_selector"
required
nodepools
typing.Optional[typing.List[str]]
Nodepools where you want to run your workload. Multiple nodepools can be selected.
The workload is guaranteed to be scheduled on one of the nodepool
NodeSelector
type
typing.Literal[Any]
default:"node_selector"
required
instance_families
typing.Optional[typing.List[str]]
Instance family of the underlying machine to use. Multiple instance families can be supplied.
The workload is guaranteed to be scheduled on one of them.
capacity_type
typing.Optional[NodeSelectorCapacityType]
π NodeSelectorCapacityTypeConfigure what type of nodes to run the app. By default no placement logic is applied.
βspot_fallback_on_demandβ will try to place the application on spot nodes but will fallback to on-demand when spot nodes are not available.
βspotβ will strictly place the application on spot nodes.
βon_demandβ will strictly place the application on on-demand nodes.
NomicKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
NomicModel
type
typing.Literal[Any]
default:"integration/model/nomic"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
NomicProviderAccount
type
typing.Literal[Any]
default:"provider-account/nomic"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[NomicIntegrations]]
List of integrations that are associated with the Nomic provider account
collaborators
typing.Optional[typing.List[Collaborator]]
Notebook
type
typing.Optional[typing.Literal[Any]]
image
typing.Optional[WorkbenchImage]
cull_timeout
typing.Optional[int]
default:"30"
Stop the notebook instance after this much time in minutes of inactivity.
The notebook instance will be stopped even if the notebook is open in your browser, but nothing is running on the notebook.
NotebookConfig
Must not contain any spaces.
NotificationTarget
Union, One Of:
NotificationTargetForAlertRule
Union, One Of:
NvidiaGpu
type
typing.Literal[Any]
default:"nvidia_gpu"
required
Name of the Nvidia GPU. One of [P4, P100, V100, T4, A10G, A100_40GB, A100_80GB]
This field is required for Node Selector and can be ignored in Nodepool Selector.
One instance of the card contains the following amount of memory -
P4: 8 GB, P100: 16 GB, V100: 16 GB, T4: 16 GB, A10G: 24 GB, A100_40GB: 40GB, A100_80GB: 80 GB
Count of GPUs to provide to the application
Note the exact count and max count available for a given GPU type depends on cloud provider and cluster type.
NvidiaMiggpu
type
typing.Literal[Any]
default:"nvidia_mig_gpu"
required
Name of the Nvidia GPU. One of [P4, P100, V100, T4, A10G, A100_40GB, A100_80GB]
This field is required for Node Selector and can be ignored in Nodepool Selector.
One instance of the card contains the following amount of memory -
P4: 8 GB, P100: 16 GB, V100: 16 GB, T4: 16 GB, A10G: 24 GB, A100_40GB: 40GB, A100_80GB: 80 GB
profile
NvidiaMiggpuProfile
required
π NvidiaMiggpuProfileName of the MIG profile to use. One of the following based on gpu type
Please refer to https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#supported-mig-profiles for more details
A100 40 GB - [1g.5gb, 1g.10gb, 2g.10gb, 3g.20gb, 4g.20gb]
A100 80 GB / H100 80 GB - [1g.10gb, 1g.20gb, 2g.20gb, 3g.40gb, 4g.40gb]
H100 94 GB - [1g.12gb, 1g.24gb, 2g.24gb, 3g.47gb, 4g.47gb]
H100 96 GB - [1g.12gb, 1g.24gb, 2g.24gb, 3g.48gb, 4g.48gb]
H200 141 GB - [1g.18gb, 1g.35gb, 2g.35gb, 3g.71gb, 4g.71gb]
NvidiaTimeslicingGpu
type
typing.Literal[Any]
default:"nvidia_timeslicing_gpu"
required
Name of the Nvidia GPU. One of [P4, P100, V100, T4, A10G, A100_40GB, A100_80GB]
This field is required for Node Selector and can be ignored in Nodepool Selector.
One instance of the card contains the following amount of memory -
P4: 8 GB, P100: 16 GB, V100: 16 GB, T4: 16 GB, A10G: 24 GB, A100_40GB: 40GB, A100_80GB: 80 GB
Amount of GPU memory (in MB) to allocate. Please note, this limit is not being enforced today but will be in future. Applications are expected to operate in co-opertative mode
OAuth2LoginProvider
type
typing.Optional[typing.Literal[Any]]
OciRepo
type
typing.Literal[Any]
default:"oci-repo"
required
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
OllamaKeyAuth
Host URL must not be empty
OllamaModel
type
typing.Literal[Any]
default:"integration/model/ollama"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
OllamaProviderAccount
type
typing.Literal[Any]
default:"provider-account/ollama"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[OllamaIntegrations]
required
List of integrations that are associated with the Ollama provider account
collaborators
typing.Optional[typing.List[Collaborator]]
OnnxFramework
type
typing.Literal[Any]
default:"onnx"
required
Type of the framework
OpenaiApiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
OpenAiModel
type
typing.Literal[Any]
default:"integration/model/openai"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
OpenAiModerationsGuardrailConfig
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/guardrail-config/openai-moderations"
required
Optional custom base URL for OpenAI API. If not provided, the default base URL will be used.
model
str
default:"omni-moderation-latest"
required
The model to use for the OpenAI Moderation API.
category_thresholds
typing.Optional[typing.Dict[(str, OpenAiModerationsGuardrailConfigCategoryThresholdsValue)]]
OpenAiModerationsGuardrailConfigCategoryThresholdsValue
Union, One Of:
OpenAiModerationsGuardrailConfigCategoryThresholdsValueHarassment
OpenaiProviderAccount
type
typing.Literal[Any]
default:"provider-account/openai"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Base URL must not be empty
integrations
typing.List[OpenAiIntegrations]
required
List of integrations that are associated with the OpenAI provider account
collaborators
typing.Optional[typing.List[Collaborator]]
PaddleFramework
type
typing.Literal[Any]
default:"paddle"
required
Type of the framework
type
typing.Literal[Any]
default:"pagerduty"
required
Specify the notification channel to send alerts to
type
typing.Literal[Any]
default:"integration/notification-channel/pagerduty"
required
The name of the integration that will be displayed in the TrueFoundry UI.
auth_data
PagerDutyIntegrationKeyAuth
required
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
type
typing.Literal[Any]
default:"pagerduty-integration-auth"
required
The integration key for the PagerDuty integration
The integration URL for the PagerDuty integration
type
typing.Literal[Any]
default:"provider-account/pagerduty"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[PagerDutyIntegrations]
required
PalmKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
PalmModel
type
typing.Literal[Any]
default:"integration/model/palm"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
PalmProviderAccount
type
typing.Literal[Any]
default:"provider-account/palm"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[PalmIntegrations]]
List of integrations that are associated with the PaLM provider account
collaborators
typing.Optional[typing.List[Collaborator]]
name can contain lower case alphabets, digits, underscore (_) and hypen (-). It can be 32 characters long, should start with an alphabet, and should end with either an alphabet or digit.
description cannot be longer than 127 characters
default value cannot be longer than 127 characters
param_type
typing.Optional[ParamParamType]
Parameters
stop
typing.Optional[ParametersStop]
Union, One Of:
Permissions
The fully qualified name of the resource
The type of the resource (cluster, workspace, etc.)
The role id of the role to be assigned to the service account for that resource
PerplexityAiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
PerplexityAiModel
type
typing.Literal[Any]
default:"integration/model/perplexity-ai"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
PerplexityAiProviderAccount
type
typing.Literal[Any]
default:"provider-account/perplexity-ai"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
PerplexityAiKeyAuth
required
integrations
typing.Optional[typing.List[PerplexityIntegrations]]
List of integrations that are associated with the Perplexity AI provider account
collaborators
typing.Optional[typing.List[Collaborator]]
PersonalAccessTokenManifest
3 to 25 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"pat"
required
Expiration date of the personal access token
The fully qualified name of the user
PerThousandEmbeddingTokensCostMetric
PerThousandTokensCostMetric
value
InputOutputBasedCostMetricValue
required
PolicyFilters
cluster_names
typing.Optional[typing.List[str]]
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
workspace_names
typing.Optional[typing.List[str]]
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
env_names
typing.Optional[typing.List[str]]
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
PolicyManifest
type
typing.Literal[Any]
default:"policy"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Description must be between 1 byte and 1024 bytes
operation
PolicyManifestOperation
required
π PolicyManifestOperationDefines if the policy validates or mutates resources. Validation policies check TrueFoundry manifests to ensure they meet conditions and can block deployments. Mutation policies modify Kubernetes manifests before theyβre applied to the cluster. See this documentation for more details.
mode
PolicyManifestMode
required
π PolicyManifestModeMode of the policy: Audit
logs all policy evaluations without blocking deployments. Enforce
blocks deployments if the policy fails. Disabled
deactivates the policy.
entities
typing.List[PolicyEntityTypes]
required
actions
typing.List[PolicyActions]
required
Actions this policy applies to
filters
typing.Optional[PolicyFilters]
Code size must be between 1 byte and 10 KB
PolicyManifestOperation
Union, One Of:
PolicyMutationOperation
type
typing.Literal[Any]
default:"mutate"
required
Mutates or Validates Resources
Order must be a positive integer less than or equal to 100
PolicyValidationOperation
type
typing.Literal[Any]
default:"validate"
required
Mutates or Validates Resources
app_protocol
typing.Optional[PortAppProtocol]
π PortAppProtocolApplication Protocol for the port.
Select the application protocol used by your service. For most use cases, this should be http
(HTTP/1.1).
If you are running a gRPC server, select the grpc
option.
This is only applicable if expose=true
.
Upto 253 characters, each part of host should be at most 63 characters long, can contain alphabets, digits and hypen, must begin and end with an alphanumeric characters. Parts must be separated by periods (.)
Should begin and end with a forward slash (/). Each part can can contain alphabets, digits and hypen, must begin and end with an alphanumeric characters. Parts should be separated by forward slashes (/)
Should begin and end with a forward slash (/). Each part can can contain alphabets, digits and hypen, must begin and end with an alphanumeric characters. Parts should be separated by forward slashes (/)
auth
typing.Optional[PortAuth]
PortAuth
Union, One Of:
PresignedUrlObject
PrometheusAlertRule
type
typing.Literal[Any]
default:"prometheus-alert-rule"
required
3 to 35 alphanumeric characters long, can contain - in between, cannot start with a number and cannot end with a -
Enter a valid PromQL expression that defines the condition for triggering this alert. The alert will fire when this expression evaluates to true for the duration specified in the duration to trigger alert field.
for_
typing_extensions.Annotated[(float, Any)]
required
The prometheus expression must remain true for this duration (in seconds) before the alert is triggered. If the condition becomes false before this time elapses, the alert will not fire.
Description of the alert rule which will be displayed in the alert rule list. This can be used to provide more context about the alert rule.
When enabled, notifications will be sent to all configured target channels when the alert conditions are met.
type
typing.Optional[typing.Literal[Any]]
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
latest_version
typing.Optional[PromptVersion]
run_steps
typing.Optional[typing.List[int]]
PromptVersion
created_at
typing.Optional[dt.datetime]
updated_at
typing.Optional[dt.datetime]
manifest
ChatPromptManifest
required
ProviderAccounts
Union, One Of:
PublicCostMetric
PySparkTaskConfig
type
typing.Literal[Any]
default:"pyspark-task-config"
required
driver_config
SparkDriverConfig
required
executor_config
SparkExecutorConfig
required
spark_conf
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Extra configuration properties to be passed to the spark job. Docs
env
typing.Optional[typing.Dict[(str, typing.Optional[str])]]
Configure environment variables to be injected in the task either as plain text or secrets. Docs
mounts
typing.Optional[typing.List[PySparkTaskConfigMountsItem]]
PySparkTaskConfigMountsItem
Union, One Of:
PythonBuild
type
typing.Literal[Any]
default:"tfy-python-buildpack"
required
Please enter a valid Python version tag
Build path relative to project root path.
Path to requirements.txt
relative to
Path to build context
pip_packages
typing.Optional[typing.List[str]]
Define pip package requirements.
In Python/YAML E.g. [βfastapi>=0.90,<1.0β, βuvicornβ]
apt_packages
typing.Optional[typing.List[str]]
Debian packages to install via apt get
.
In Python/YAML E.g. [βgitβ, βffmpegβ, βhtopβ]
command
PythonBuildCommand
required
π PythonBuildCommandCommand to run when the container starts.
Command will be set as the Entrypoint of the generated image.
When deploying a Job, the command can be templatized by defining params
and referencing them in command
E.g. python main.py --learning_rate \{\{learning_rate\}\}
Version of CUDA Toolkit and CUDNN to install in the image
These combinations are based off of publically available docker images on docker hub
You can also specify a valid tag of the form {cuda_version_number}-cudnn{cudnn_version_number}-{runtime|devel}-ubuntu{ubuntu_version}
Refer https://hub.docker.com/r/nvidia/cuda/tags for valid set of values
Note: We use deadsnakes ubuntu ppa to add Python that currently supports only Ubuntu 18.04, 20.04 and 22.04
PythonBuildCommand
Union, One Of:
PythonTaskConfig
type
typing.Literal[Any]
default:"python-task-config"
required
image
PythonTaskConfigImage
required
env
typing.Optional[typing.Dict[(str, typing.Optional[str])]]
Configure environment variables to be injected in the task either as plain text or secrets. Docs
resources
typing.Optional[Resources]
mounts
typing.Optional[typing.List[PythonTaskConfigMountsItem]]
PythonTaskConfigImage
Union, One Of:
PythonTaskConfigMountsItem
Union, One Of:
PyTorchFramework
type
typing.Literal[Any]
default:"pytorch"
required
Type of the framework
QuayArtifactsRegistry
type
typing.Literal[Any]
default:"integration/docker-registry/quay"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
typing.Optional[QuayBasicAuth]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
QuayBasicAuth
type
typing.Literal[Any]
default:"basic-auth"
required
The username for the basic authentication.
The password for the basic authentication.
QuayProviderAccount
type
typing.Literal[Any]
default:"provider-account/quay"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The name of the account on Quay.
auth_data
typing.Optional[QuayBasicAuth]
integrations
typing.List[QuayIntegrations]
required
List of integrations that are associated with the provider account.
RateLimitConfig
Name of the rate limiting configuration
type
typing.Literal[Any]
default:"gateway-rate-limiting-config"
required
rules
typing.List[RateLimitRule]
required
RateLimitRule
Unique identifier for the rule
Maximum number of requests or tokens allowed
RateLimitWhen
subjects
typing.Optional[typing.List[str]]
List of subjects that this rule applies to
models
typing.Optional[typing.List[str]]
List of models that this rule applies to
metadata
typing.Optional[typing.Dict[(str, str)]]
Metadata key-value pairs that this rule applies to
Recommendation
cluster_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
application_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
deployment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
application_version
typing_extensions.Annotated[(typing.Optional[int], Any)]
recommendation_data
typing_extensions.Annotated[(typing.Dict[(str, typing.Optional[typing.Any])], Any)]
recommendation_type
typing_extensions.Annotated[(str, Any)]
required
applied_deployment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
expiry_timestamp
typing_extensions.Annotated[(dt.datetime, Any)]
required
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
RefusalContentPart
RegisterUsersResponse
Union, One Of:
RemoteSource
type
typing.Literal[Any]
default:"remote"
required
Resources
cpu_request
float
default:"0.2"
required
Requested CPU which determines the minimum cost incurred. The CPU usage can exceed the requested
amount, but not the value specified in the limit. 1 CPU means 1 CPU core. Fractional CPU can be requested
like 0.5
or 0.05
cpu_limit
float
default:"0.5"
required
CPU limit beyond which the usage cannot be exceeded. 1 CPU means 1 CPU core. Fractional CPU can be requested
like 0.5
. CPU limit should be >= cpu request.
Requested memory which determines the minimum cost incurred. The unit of memory is in megabytes(MB).
So 1 means 1 MB and 2000 means 2GB.
Memory limit after which the application will be killed with an OOM error. The unit of memory is
in megabytes(MB). So 1 means 1 MB and 2000 means 2GB. MemoryLimit should be greater than memory request.
ephemeral_storage_request
int
default:"1000"
required
Requested disk storage. The unit of memory is in megabytes(MB).
This is ephemeral storage and will be wiped out on pod restarts or eviction
ephemeral_storage_limit
int
default:"2000"
required
Disk storage limit. The unit of memory is in megabytes(MB). Exceeding this limit will result in eviction.
It should be greater than the request. This is ephemeral storage and will be wiped out on pod restarts or eviction
Define the shared memory requirements for your workload. Machine learning libraries like Pytorch can use Shared Memory
for inter-process communication. If you use this, we will mount a tmpfs
backed volume at the /dev/shm
directory.
Any usage will also count against the workloadβs memory limit (resources.memory_limit
) along with your workloadβs memory usage.
If the overall usage goes above resources.memory_limit
the user process may get killed.
Shared Memory Size cannot be more than the defined Memory Limit for the workload.
node
typing.Optional[ResourcesNode]
π ResourcesNodeThis field determines how the underlying node resource is to be utilized
devices
typing.Optional[typing.List[ResourcesDevicesItem]]
π ResourcesDevicesItemDefine custom device or accelerator requirements for your workload. We currently support NVIDIA GPUs, AWS Inferentia Accelerators, Single Host TPU Slices.
ResourcesDevicesItem
Union, One Of:
ResourcesNode
Union, One Of:
RevokeAllPersonalAccessTokenResponse
Union, One Of:
Rolling
type
typing.Literal[Any]
default:"rolling_update"
required
max_unavailable_percentage
Percentage of total replicas that can be brought down at one time.
For a value of 25 when replicas are set to 12 this would mean minimum (25% of 12) = 3 pods might be unavailable during the deployment.
Setting this to a higher value can help in speeding up the deployment process.
Percentage of total replicas of updated image that can be brought up over the total replicas count.
For a value of 25 when replicas are set to 12 this would mean (12
RpsMetric
type
typing.Literal[Any]
default:"rps"
required
Average request per second averaged over all replicas that autoscaler should try to maintain
RStudio
type
typing.Optional[typing.Literal[Any]]
image
typing.Optional[WorkbenchImage]
Schedule
type
typing.Literal[Any]
default:"scheduled"
required
Specify the schedule for this job to be run periodically in cron format.* * * * *
| | | | |
| | | | |___ day of week (0-6) (Sunday is 0)
| | | |_____ month (1-12)
| | |_______ day of month (1-31)
| |_________ hour (0-23)
|___________ minute (0-59)
concurrency_policy
ScheduleConcurrencyPolicy
required
π ScheduleConcurrencyPolicyChoose whether to allow this job to run while another instance of the job is running, or to replace the currently running instance. Allow
will enable multiple instances of this job to run. Forbid will keep the current instance of the job running and stop a new instance from being run.
Replace will terminate any currently running instance of the job and start a new one.
secret_group_id
typing_extensions.Annotated[(str, Any)]
required
created_by_subject
typing_extensions.Annotated[(typing.Optional[Subject], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
secret_versions
typing_extensions.Annotated[(typing.Optional[typing.List[Any]], Any)]
active_deployments_count
typing_extensions.Annotated[(typing.Optional[int], Any)]
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
SecretGroup
tenant_name
typing_extensions.Annotated[(str, Any)]
required
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
associated_secrets
typing_extensions.Annotated[(typing.List[Any], Any)]
required
integration_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
created_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
updated_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
SecretMount
type
typing.Literal[Any]
default:"secret"
required
Please enter a valid file path
The TrueFoundry secret whose value will be the file content.
SecretVersion
secret_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
created_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
updated_at
typing_extensions.Annotated[(typing.Optional[dt.datetime], Any)]
SelfHostedModel
type
typing.Literal[Any]
default:"integration/model/self-hosted-model"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
The name of the hosted model
enter valid https/http URL that should not end with trailing slash
model_server
SelfHostedModelModelServer
required
model_types
typing.List[ModelType]
required
auth_data
typing.Optional[SelfHostedModelAuthData]
SelfHostedModel headers for the integration. Forwarded to the provider as is. For example: \{"Authorization": "APIKey \<token\>"\}
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
SelfHostedModelAuthData
Union, One Of:
SelfHostedModelProviderAccount
type
typing.Literal[Any]
default:"provider-account/self-hosted-model"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[SelfHostedModelIntegrations]
required
collaborators
typing.Optional[typing.List[Collaborator]]
Service
type
typing.Optional[typing.Literal[Any]]
replicas
typing.Optional[ServiceReplicas]
π ServiceReplicasDeploy multiple instances of your pods to distribute incoming traffic across them, ensuring effective load balancing.
auto_shutdown
typing.Optional[Autoshutdown]
Whether to allow intercepts to be applied for this service.
This would inject an additional sidecar in each pod of the service. Not recommended on production
rollout_strategy
typing.Optional[ServiceRolloutStrategy]
ServiceAutoscaling
metrics
typing.Optional[ServiceAutoscalingMetrics]
ServiceAutoscalingMetrics
Union, One Of:
ServiceReplicas
Union, One Of:
ServiceRolloutStrategy
Union, One Of:
Session
user_name
typing_extensions.Annotated[(str, Any)]
required
subject_slug
typing_extensions.Annotated[(str, Any)]
required
subject_controller_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
subject_pat_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
subject_type
typing_extensions.Annotated[(SubjectType, Any)]
required
tenant_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
metadata
typing.Optional[UserMetadata]
SignedUrl
SklearnFramework
type
typing.Literal[Any]
default:"sklearn"
required
Type of the framework
Relative path to the model file in the model version contents
serialization_format
typing.Optional[SklearnSerializationFormat]
model_schema
typing.Optional[SklearnModelSchema]
SklearnModelSchema
inputs
typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]
Schema of the input
outputs
typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]
Schema of the output
SlackBot
type
typing.Literal[Any]
default:"slack-bot"
required
Specify the notification channel to send alerts to
3 to 81 lower case characters long alphanumeric word, may contain - or _ in between, must start with #
SlackBotAuth
type
typing.Literal[Any]
default:"slack-bot"
required
The bot token for the slack bot to send messages to the channels. This bot should have the following permissions: chat:write, chat:write.public
SlackBotIntegration
type
typing.Literal[Any]
default:"integration/notification-channel/slack-bot"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
SlackIntegrations
Union, One Of:
SlackProviderAccount
type
typing.Literal[Any]
default:"provider-account/slack"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[SlackIntegrations]
required
SlackWebhook
type
typing.Literal[Any]
default:"slack-webhook"
required
Specify the notification channel to send alerts to
SlackWebhookAuth
type
typing.Literal[Any]
default:"slack-webhook"
required
The URL of the slack webhook
SlackWebhookIntegration
type
typing.Literal[Any]
default:"integration/notification-channel/slack-webhook"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
SmtpCredentials
type
typing.Literal[Any]
default:"smtp-credentials"
required
The SMTP host of the email server.
The username for the SMTP server.
The password for the SMTP server.
The port of the SMTP server.
Whether to use TLS for the SMTP server.
SpaCyFramework
type
typing.Literal[Any]
default:"spacy"
required
Type of the framework
SparkBuild
type
typing.Literal[Any]
default:"tfy-spark-buildpack"
required
spark_version
str
default:"3.5.2"
required
Spark version should match the spark version installed in the image.
Build path relative to project root path.
Path to requirements.txt
relative to
Path to build context
SparkConfig
Must not contain any spaces.
SparkDriverConfig
resources
typing.Optional[Resources]
SparkExecutorConfig
instances
SparkExecutorConfigInstances
required
resources
typing.Optional[Resources]
SparkExecutorConfigInstances
Union, One Of:
SparkExecutorDynamicScaling
type
typing.Literal[Any]
default:"dynamic"
required
Minimum number of instances to start / scale down to
Maximum number of instances to scale up to
SparkExecutorFixedInstances
type
typing.Literal[Any]
default:"fixed"
required
Number of instances to start
SparkImage
type
typing.Literal[Any]
default:"spark-image"
required
spark_version
str
default:"3.5.2"
required
Spark version should match the spark version installed in the image.
The image URI. Specify the name of the image and the tag.
If the image is in Dockerhub, you can skip registry-url (for e.g. tensorflow/tensorflow
).
You can use an image from a private registry using Advanced fields
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
SparkImageBuild
type
typing.Literal[Any]
default:"spark-image-build"
required
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
build_source
SparkImageBuildBuildSource
required
SparkImageBuildBuildSource
Union, One Of:
SparkJob
type
typing.Literal[Any]
default:"spark-job"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
π SparkJobImageThe image to use for driver and executors. Must have spark installed. Spark version must match the version in the image.
entrypoint
SparkJobEntrypoint
required
driver_config
SparkDriverConfig
required
executor_config
SparkExecutorConfig
required
env
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Configure environment variables to be injected in the service either as plain text. Docs
spark_conf
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
Extra configuration properties to be passed to the spark job. Docs
mounts
typing.Optional[typing.List[VolumeMount]]
Specify the maximum number of attempts to retry a job before it is marked as failed.
SparkJobEntrypoint
Union, One Of:
SparkJobImage
Union, One Of:
SparkJobJavaEntrypoint
type
typing.Literal[Any]
default:"java"
required
Filename should have .jar extension
The main class must be a valid Java class name.
Arguments to be passed to the main application file.
SparkJobPythonEntrypoint
type
typing.Literal[Any]
default:"python"
required
Filename should have .py extension
Arguments to be passed to the main application file.
SparkJobPythonNotebookEntrypoint
type
typing.Literal[Any]
default:"python-notebook"
required
Filename should have .ipynb extension
SparkJobScalaEntrypoint
type
typing.Literal[Any]
default:"scala"
required
Filename should have .jar extension
The main class must be a valid Java class name.
Arguments to be passed to the main application file.
SparkJobScalaNotebookEntrypoint
type
typing.Literal[Any]
default:"scala-notebook"
required
Filename should have .ipynb extension
main_class
typing_extensions.Annotated[(typing.Optional[str], Any)]
Main Class for Spark Job
main_application_file
typing_extensions.Annotated[(typing.Optional[str], Any)]
Main Application File for Spark Job
Arguments to pass to the main application file
type
typing.Literal[Any]
default:"sqs"
required
AWS SQS Queue URL of Subscriber
A period during which Amazon SQS prevents all consumers from receiving and processing the message. If one message takes 5 seconds to process, you can set this number to 7 or any number higher than 5. This will ensure that while the message is being processed, it will not be available to other replicas. For more information, see here
Wait timeout for long polling. For more information, see here
SqsOutputConfig
type
typing.Literal[Any]
default:"sqs"
required
AWS SQS Queue URL of Publisher
SqsQueueMetricConfig
type
typing.Literal[Any]
default:"sqs"
required
Upper limit of the number of backlog messages the auto-scaler will try to maintain per replica. If you set this number to 10 and have 30 messages in the queue and one replica, the auto-scaler will scale the number of replicas to 3.
SshServer
type
typing.Optional[typing.Literal[Any]]
image
typing.Optional[WorkbenchImage]
Add Your SSH Public Key, this will be used to authenticate you to the SSH Server. You can find it using cat ~/.ssh/id_rsa.pub
in Mac/Linux or type $home\.ssh\id_rsa.pub
in Windows Powershell. You can also generate a new SSH key pair using ssh-keygen -t rsa
in your local terminal. (same for both Mac/Linux and Windows Powershell)
Stop the SSH Server instance after this much time in minutes of inactivity. The instance is considered active if there is at least one active SSH connection (a client connected to the SSH server), or if a background job is running using tmux or screen, or if the pod has restarted.
SshServerConfig
Must not contain any spaces.
The port for the cluster with which you can access your SSH containers
StageArtifactRequestManifest
Union, One Of:
StageArtifactResponse
StaticVolumeConfig
type
typing.Literal[Any]
default:"static"
required
Volume Type for the volume.
Persistent Volume Name of the volume to be used.
StatsModelsFramework
type
typing.Literal[Any]
default:"statsmodels"
required
Type of the framework
StringDataMount
type
typing.Literal[Any]
default:"string"
required
Please enter a valid file path
Subject
subject_id
typing_extensions.Annotated[(str, Any)]
required
Subject ID
subject_type
typing_extensions.Annotated[(SubjectType, Any)]
required
subject_slug
typing_extensions.Annotated[(typing.Optional[str], Any)]
Subject slug
subject_display_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
Subject display name
SystemMessage
role
typing.Literal[Any]
default:"system"
required
Role of the message
content
SystemMessageContent
required
SystemMessageContent
Union, One Of:
TaskDockerFileBuild
type
typing.Literal[Any]
default:"task-dockerfile-build"
required
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
dockerfile_path
str
default:"./Dockerfile"
required
The file path of the Dockerfile relative to project root path.
build_args
typing.Optional[typing.Dict[(str, str)]]
TaskPySparkBuild
type
typing.Literal[Any]
default:"task-pyspark-build"
required
spark_version
str
default:"3.5.2"
required
Spark version should match the spark version installed in the image.
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
Path to requirements.txt
relative to
Path to build context
pip_packages
typing.Optional[typing.List[str]]
Define pip package requirements.
In Python/YAML E.g. [βfastapi>=0.90,<1.0β, βuvicornβ]
apt_packages
typing.Optional[typing.List[str]]
Debian packages to install via apt get
.
In Python/YAML E.g. [βgitβ, βffmpegβ, βhtopβ]
TaskPythonBuild
type
typing.Literal[Any]
default:"task-python-build"
required
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
Please enter a valid Python version tag
Path to requirements.txt
relative to
Path to build context
pip_packages
typing.Optional[typing.List[str]]
Define pip package requirements.
In Python/YAML E.g. [βfastapi>=0.90,<1.0β, βuvicornβ]
apt_packages
typing.Optional[typing.List[str]]
Debian packages to install via apt get
.
In Python/YAML E.g. [βgitβ, βffmpegβ, βhtopβ]
Version of CUDA Toolkit and CUDNN to install in the image
These combinations are based off of publically available docker images on docker hub
You can also specify a valid tag of the form {cuda_version_number}-cudnn{cudnn_version_number}-{runtime|devel}-ubuntu{ubuntu_version}
Refer https://hub.docker.com/r/nvidia/cuda/tags for valid set of values
Note: We use deadsnakes ubuntu ppa to add Python that currently supports only Ubuntu 18.04, 20.04 and 22.04
team_name
typing_extensions.Annotated[(str, Any)]
required
tenant_name
typing_extensions.Annotated[(str, Any)]
required
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
members
typing.Optional[typing.List[str]]
created_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
updated_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
TeamManifest
type
typing.Literal[Any]
default:"team"
required
Use of only alpha numeric character and β-β is allowed as team name and must be less than 25 characters
Enter email of each of the user you want to add in the team.
TensorFlowFramework
type
typing.Literal[Any]
default:"tensorflow"
required
Type of the framework
TerminateJobResponse
job_run_status
typing_extensions.Annotated[(JobRunStatus, Any)]
required
TextContentPart
type
typing.Literal[Any]
default:"text"
required
Type of the content part
text
TextContentPartText
required
TextContentPartText
Union, One Of:
TogetherAiKeyAuth
type
typing.Literal[Any]
default:"api-key"
required
API key must not be empty
TogetherAiModel
type
typing.Literal[Any]
default:"integration/model/together-ai"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
model_types
typing.List[ModelType]
required
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
TogetherAiProviderAccount
type
typing.Literal[Any]
default:"provider-account/together-ai"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
auth_data
TogetherAiKeyAuth
required
integrations
typing.Optional[typing.List[TogetherAiIntegrations]]
List of integrations that are associated with the Together AI provider account
collaborators
typing.Optional[typing.List[Collaborator]]
type
typing.Literal[Any]
default:"function"
required
Type of the tool call
Unique identifier for the tool call
role
typing.Literal[Any]
default:"tool"
required
Role of the message
content
ToolMessageContent
required
Unique identifier for the tool call
ToolMessageContent
Union, One Of:
type
typing.Literal[Any]
default:"function"
required
Type of the tool
TracingProject
manifest
TracingProjectManifest
required
TracingProjectManifest
type
typing.Literal[Any]
default:"tracing-project"
required
Name of the tracing project
type
typing.Literal[Any]
default:"transformers"
required
Type of the framework
library_name
typing.Optional[LibraryName]
The pipeline()
task this model can be used with e.g. text-generation
. See huggingface docs for all possible values
Base model Id from HuggingFace Hub. If this is a finetuned model, this points to the base model id used for finetuning.
Union, One Of:
TriggerJobRunResponse
job_run_name
typing_extensions.Annotated[(str, Any)]
required
Name of the job run
TrueFoundryApplyRequestManifest
Union, One Of:
TrueFoundryApplyResponse
existing_manifest
typing_extensions.Annotated[(typing.Optional[TrueFoundryApplyResponseExistingManifest], Any)]
action
typing.Optional[TrueFoundryApplyResponseAction]
TrueFoundryApplyResponseExistingManifest
Union, One Of:
TrueFoundryArtifactSource
type
typing.Literal[Any]
default:"truefoundry-artifact"
required
Artifact or Model Version FQN of the artifact to be downloaded
download_path_env_variable
Environment variable which will contain the download path of the artifact
TrueFoundryDbssm
type
typing.Literal[Any]
default:"integration/secret-store/truefoundry/db"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
TrueFoundryDeleteRequestManifest
Union, One Of:
TrueFoundryInteractiveLogin
type
typing.Literal[Any]
default:"truefoundry_oauth"
required
bypass_auth_paths
typing.Optional[typing.List[str]]
List of paths that will bypass auth.
needs to start with a forward slash(/) and should not contain wildcards(*)
TrueFoundryManagedSource
type
typing.Literal[Any]
default:"truefoundry"
required
Type of the source
TrueFoundryProviderAccount
type
typing.Literal[Any]
default:"provider-account/truefoundry"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.Optional[typing.List[TrueFoundryIntegrations]]
List of integrations that are associated with the provider account.
TtlProviderAccount
type
typing.Literal[Any]
default:"provider-account/ttl"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[TtlIntegrations]
required
List of integrations that are associated with the provider account.
TtlRegistry
type
typing.Literal[Any]
default:"integration/docker-registry/ttl"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
registry_url
str
default:"https://ttl.sh"
required
The URL of the registry.
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
UpdateUserRolesResponse
Union, One Of:
UpgradeData
diff
typing.Optional[typing.List[Any]]
current_manifest
typing_extensions.Annotated[(typing.Optional[Helm], Any)]
desired_manifest
typing_extensions.Annotated[(typing.Optional[Helm], Any)]
upgrade_possible
typing_extensions.Annotated[(typing.Optional[bool], Any)]
conflict_fields
typing_extensions.Annotated[(typing.Optional[typing.List[str]], Any)]
has_conflict
typing_extensions.Annotated[(typing.Optional[bool], Any)]
UsageLimits
Maximum number of tokens processed per minute
Maximum number of requests processed per minute
user_name
typing_extensions.Annotated[(str, Any)]
required
tenant_name
typing_extensions.Annotated[(str, Any)]
required
roles
typing.Optional[typing.List[str]]
created_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
updated_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
UserMessage
role
typing.Literal[Any]
default:"user"
required
Role of the message
content
UserMessageContent
required
Name of the user this message is from
UserMessageContent
Union, One Of:
UserMessageContentItem
Union, One Of:
image_url
typing_extensions.Annotated[(typing.Optional[str], Any)]
display_name
typing_extensions.Annotated[(typing.Optional[str], Any)]
user_object
typing_extensions.Annotated[(typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]], Any)]
invite_accepted
typing_extensions.Annotated[(typing.Optional[bool], Any)]
registered_in_idp
typing_extensions.Annotated[(typing.Optional[bool], Any)]
preference
typing.Optional[typing.Dict[(str, typing.Optional[typing.Any])]]
ValidationError
loc
typing.List[ValidationErrorLocItem]
required
ValidationErrorLocItem
Union, One Of:
VertexModel
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"integration/model/gcp/vertex"
required
model_types
typing.List[ModelType]
required
region
typing.Optional[GcpRegion]
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
VertexModelV2
type
typing.Literal[Any]
default:"integration/model/vertex"
required
2 to 62 characters long alphanumeric word, may contain - in between, cannot start with a number
Model ID must not be empty
region
typing.Optional[GcpRegion]
model_types
typing.List[ModelType]
required
π ModelTypeSpecify the type of the Vertex AI model (e.g., chat, text, etc.)
cost
typing.Optional[ModelCostMetric]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
VirtualAccount
tenant_name
typing_extensions.Annotated[(str, Any)]
required
manifest
typing.Optional[VirtualAccountManifest]
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
created_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
updated_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
VirtualAccountManifest
3 to 25 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
type
typing.Literal[Any]
default:"virtual-account"
required
Expiration date of the virtual account
permissions
typing.List[Permissions]
required
type
typing.Literal[Any]
default:"volume"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
π VolumeConfigVolume Configuration, can be either Dynamically provisioned or statically provisioned.
volume_browser
typing.Optional[VolumeBrowser]
VolumeBrowser
3 to 10 lower case characters long alphanumeric word, may contain - in between, cannot start with a number.
TFY Secret containing the password for logging in the volume browser.
Kubernetes Service account name for the volume browser.
VolumeConfig
Union, One Of:
VolumeMount
type
typing.Literal[Any]
default:"volume"
required
Please enter a valid mount path
Sub path within the volume to mount. Defaults to root of the volume.
The TrueFoundry volume that needs to be mounted.
WebhookBasicAuth
type
typing.Literal[Any]
default:"webhook-basic"
required
WebhookBearerAuth
type
typing.Literal[Any]
default:"webhook-bearer"
required
Bearer token for authentication
prefix
str
default:"Bearer"
required
Prefix for the token
WebhookIntegration
type
typing.Literal[Any]
default:"integration/gateway-request-logger/webhook"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
The URL of the webhook endpoint
auth_data
typing.Optional[WebhookIntegrationAuthData]
authorized_subjects
typing.Optional[typing.List[str]]
List of subjects that are authorized to access this integration. List of user fqn in format <user_type>:<username>.
WebhookIntegrationAuthData
Union, One Of:
WebhookProviderAccount
type
typing.Literal[Any]
default:"provider-account/webhook"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
integrations
typing.List[WebhookIntegrations]
required
WeightBasedLoadBalancingRule
Unique identifier for the rule
when
LoadBalancingWhen
required
load_balance_targets
typing.List[LoadBalanceTarget]
required
type
typing.Literal[Any]
default:"weight-based-routing"
required
WorkbenchImage
The image URI. Specify the name of the image and the tag.
If the image is in Dockerhub, you can skip registry-url (for e.g. tensorflow/tensorflow
).
You can use an image from a private registry using Advanced fields
The build script to run when building the image.
This will be executed as the last step in the docker build process as the root user (RUN DEBIAN_FRONTEND=noninteractive bash -ex build_script.sh)
FQN of the container registry. If you canβt find your registry here,
add it through the Integrations page
WorkerConfig
input_config
WorkerConfigInputConfig
required
output_config
typing.Optional[WorkerConfigOutputConfig]
Number of concurrent workers to spawn for the processor
Union, One Of:
WorkerConfigOutputConfig
Union, One Of:
Workflow
type
typing.Literal[Any]
default:"workflow"
required
3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
flyte_entities
typing.Optional[typing.List[WorkflowFlyteEntitiesItem]]
alerts
typing.Optional[typing.List[WorkflowAlert]]
WorkflowAlert
notification_target
typing.Optional[NotificationTarget]
Send an alert when the job completes
Send an alert when the job fails
WorkflowFlyteEntitiesItem
Union, One Of:
WorkflowSource
Union, One Of:
Workspace
tenant_name
typing_extensions.Annotated[(str, Any)]
required
cluster_id
typing_extensions.Annotated[(str, Any)]
required
created_by_subject
typing_extensions.Annotated[(Subject, Any)]
required
created_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
updated_at
typing_extensions.Annotated[(dt.datetime, Any)]
required
environment_id
typing_extensions.Annotated[(typing.Optional[str], Any)]
manifest
WorkspaceManifest
required
is_system_ws
typing_extensions.Annotated[(typing.Optional[bool], Any)]
created_by
typing_extensions.Annotated[(typing.Optional[str], Any)]
WorkspaceManifest
type
typing.Literal[Any]
default:"workspace"
required
3 to 25 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
Tag the environment like dev, staging or production. You will need to create environments if you donβt have already.
labels
typing.Optional[typing.Dict[(str, str)]]
annotations
typing.Optional[typing.Dict[(str, str)]]
collaborators
typing.Optional[typing.List[Collaborator]]
permissions
typing.Optional[typing.List[Permissions]]
WorkspacesDeleteResponse
workspace
typing.Optional[Workspace]
XgBoostFramework
type
typing.Literal[Any]
default:"xgboost"
required
Type of the framework
serialization_format
typing.Optional[XgBoostSerializationFormat]
Relative path to the model file in the model version contents
model_schema
typing.Optional[XgBoostModelSchema]
XgBoostModelSchema
infer_method_name
typing.Literal[Any]
default:"predict"
required
Name of the method used for inference
inputs
typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]
Schema of the input
outputs
typing.List[typing.Dict[(str, typing.Optional[typing.Any])]]
Schema of the output