client.v1.users.list(...)
-
-
-
List all users of tenant filtered by query and showInvalidUsers. Pagination is available based on query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.users.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
query:
typing.Optional[str]
-
show_invalid_users:
typing.Optional[bool]
β Show Deactivated users
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.users.update_roles(...)
-
-
-
This endpoint allows tenant administrators to update the roles of a user within their tenant.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.users.update_roles(email='email', roles=['roles'], )
-
-
-
email:
str
β Email of the user
-
roles:
typing.Sequence[str]
β Roles for the user
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.users.get(...)
-
-
-
Get User associated with provided User id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.users.get(id='id', )
-
-
-
id:
str
β User Id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.users.invite_user(...)
-
-
-
Invite a user to the tenant
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.users.invite_user(accept_invite_client_url='<control plane url>/invite-accept', email='email', )
-
-
-
accept_invite_client_url:
str
β Url to redirect when invite is accepted
-
email:
str
β Email of user
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.users.deactivate(...)
-
-
-
Deactivate user associated with the provided email within the tenant.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.users.deactivate(email='email', )
-
-
-
email:
str
β Email of the user
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.users.activate(...)
-
-
-
Activate user associated with the provided email within the tenant.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.users.activate(email='email', )
-
-
-
email:
str
β Email of the user
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.teams.list(...)
-
-
-
Retrieve all teams associated with the authenticated user. If the user is a tenant admin, returns all teams for the tenant. Pagination is available based on query parameters
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.teams.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.teams.create_or_update(...)
-
-
-
Creates a new team or updates an existing team. It ensures that the team name is unique, valid, and that the team has at least one member. The members of the team are added or updated based on the provided emails.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import TeamManifest client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.teams.create_or_update(manifest=TeamManifest(name='name', members=['members'], ), )
-
-
-
manifest:
TeamManifest
β Team manifest
-
dry_run:
typing.Optional[bool]
β Dry run
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.teams.get(...)
-
-
-
Get Team associated with provided team id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.teams.get(id='id', )
-
-
-
id:
str
β Team Id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.teams.delete(...)
-
-
-
Deletes the Team associated with the provided Id.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.teams.delete(id='id', )
-
-
-
id:
str
β Team Id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.personal_access_tokens.list(...)
-
-
-
List Personal Access Tokens created by the user in the current tenant.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.personal_access_tokens.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.personal_access_tokens.create(...)
-
-
-
Create Personal Access Token
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.personal_access_tokens.create(name='name', )
-
-
-
name:
str
β serviceaccount name
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.personal_access_tokens.delete(...)
-
-
-
Delete Personal Access Token associated with the provided serviceAccountId
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.personal_access_tokens.delete(id='id', )
-
-
-
id:
str
β serviceaccount id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.virtual_accounts.list(...)
-
-
-
List virtual accounts for the tenant.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.virtual_accounts.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.virtual_accounts.create_or_update(...)
-
-
-
Creates a new virtual account or updates an existing one based on the provided manifest.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import VirtualAccountManifest from truefoundry_sdk import Permissions client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.virtual_accounts.create_or_update(manifest=VirtualAccountManifest(name='name', permissions=[Permissions(resource_fqn='resource_fqn', resource_type='resource_type', role_id='role_id', )], ), )
-
-
-
manifest:
VirtualAccountManifest
β Virtual account manifest
-
dry_run:
typing.Optional[bool]
β Dry run
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.virtual_accounts.get(...)
-
-
-
Get virtual account by id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.virtual_accounts.get(id='id', )
-
-
-
id:
str
β serviceaccount id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.virtual_accounts.delete(...)
-
-
-
Delete a virtual account associated with the provided virtual account id.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.virtual_accounts.delete(id='id', )
-
-
-
id:
str
β serviceaccount id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secrets.list(...)
-
-
-
List secrets associated with a user filtered with optional parameters passed in the body.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.secrets.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
secret_id:
typing.Optional[str]
β Secret Id of the secret.
-
secret_fqns:
typing.Optional[typing.Sequence[str]]
β Array of FQNs
-
secret_group_id:
typing.Optional[str]
β Secret Group Id of the secret gourp.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secrets.get(...)
-
-
-
Get Secret associated with provided id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secrets.get(id='id', )
-
-
-
id:
str
β Secret Id of the secret.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secrets.delete(...)
-
-
-
Deletes a secret and its versions along with its values.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secrets.delete(id='id', )
-
-
-
id:
str
β Secret Id of the secret.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secret_groups.list(...)
-
-
-
List the secret groups associated with a user along with the associated secrets for each group. Filtered with the options passed in the query fields.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.secret_groups.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
secret_group_id:
typing.Optional[str]
β Secret Group Id of secret group.
-
secret_group_fqn:
typing.Optional[str]
β Fqn of secret group.
-
secret_attributes:
typing.Optional[str]
β Attributes to return for secret object provided as comma separated values (secretAttributes=id,fqn
)
-
secret_group_attributes:
typing.Optional[str]
β Attributes returned for secret group object provided as comma separated values (secretGroupAttributes=id,fqn
)
-
search:
typing.Optional[str]
β Search query - filters by secret group names that contain the search string
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secret_groups.create(...)
-
-
-
Creates a secret group with secrets in it. A secret version for each of the created secret is created with version number as 1. The returned secret group does not have any secrets in the associatedSecrets field. A separate API call should be made to fetch the associated secrets.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import SecretInput client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secret_groups.create(name='name', integration_id='integrationId', secrets=[SecretInput(key='key', value='value', )], )
-
-
-
name:
str
β Name of the secret group.
-
integration_id:
str
β Id of the provider integration.
-
secrets:
typing.Sequence[SecretInput]
β The secrets to be associated with the secret group
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secret_groups.get(...)
-
-
-
Get Secret Group associated with provided secretGroup id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secret_groups.get(id='id', )
-
-
-
id:
str
β Secret Id of the secret group.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secret_groups.update(...)
-
-
-
Updates the secrets in a secret group with new values. A new secret version is created for every secret that has a modified value. Returns the updated secret group. The returned secret group does not have any secrets in the associatedSecrets field. A separate API call should be made to fetch the associated secrets.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import UpdateSecretInput client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secret_groups.update(id='id', secrets=[UpdateSecretInput(key='key', value='value', )], )
-
-
-
id:
str
β Secret Id of the secret group.
-
secrets:
typing.Sequence[UpdateSecretInput]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secret_groups.delete(...)
-
-
-
Deletes the secret group, its associated secrets and secret versions of those secrets.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secret_groups.delete(id='id', )
-
-
-
id:
str
β Secret Id of the secret group.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.secret_groups.list_secrets(...)
-
-
-
List Secrets associated with a Secret Group.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.secret_groups.list_secrets(id='id', )
-
-
-
id:
str
β Secret Id of the secret group.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.clusters.list(...)
-
-
-
Retrieves a list of all latest Clusters. Pagination is available based on query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.clusters.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.clusters.create_or_update(...)
-
-
-
Create or Update cluster with provided manifest
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ClusterManifest from truefoundry_sdk import ClusterManifestClusterType from truefoundry_sdk import Collaborator client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.clusters.create_or_update(manifest=ClusterManifest(name='name', cluster_type=ClusterManifestClusterType.AWS_EKS, environment_names=['environment_names'], collaborators=[Collaborator(subject='subject', role_id='role_id', )], ), )
-
-
-
manifest:
ClusterManifest
β Cluster manifest
-
dry_run:
typing.Optional[bool]
β Dry run the cluster creation/update
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.clusters.get(...)
-
-
-
Get cluster associated with provided id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.clusters.get(id='id', )
-
-
-
id:
str
β Cluster id of the cluster
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.clusters.delete(...)
-
-
-
Delete cluster associated with provided cluster id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.clusters.delete(id='id', )
-
-
-
id:
str
β Cluster id of the cluster
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.clusters.get_addons(...)
-
-
-
List addons for the provided cluster.Pagination is available based on query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.clusters.get_addons(id='id', limit=10, offset=0, )
-
-
-
id:
str
β Cluster id of the cluster
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.clusters.is_connected(...)
-
-
-
Get the status of provided cluster
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.clusters.is_connected(id='id', )
-
-
-
id:
str
β Cluster id of the cluster
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.environments.list(...)
-
-
-
List environments, if no environments are found, default environments are created and returned. Pagination is available based on query parameters
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.environments.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.environments.create_or_update(...)
-
-
-
Creates a new Environment or updates an existing Environment.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import EnvironmentManifest from truefoundry_sdk import EnvironmentColor from truefoundry_sdk import EnvironmentOptimizeFor client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.environments.create_or_update(manifest=EnvironmentManifest(name='name', color=EnvironmentColor(), is_production=True, optimize_for=EnvironmentOptimizeFor.COST, ), )
-
-
-
manifest:
EnvironmentManifest
β Environment Manifest
-
dry_run:
typing.Optional[bool]
β Dry run
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.environments.get(...)
-
-
-
Get Environment associated with the provided id.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.environments.get(id='id', )
-
-
-
id:
str
β Environment id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.environments.delete(...)
-
-
-
Delete Environment associated with the provided id.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.environments.delete(id='id', )
-
-
-
id:
str
β Environment id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.list(...)
-
-
-
Retrieves a list of all latest applications. Supports filtering by application ID, name, type, and other parameters. Pagination is available based on query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.applications.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
application_id:
typing.Optional[str]
β Application id of the application
-
workspace_id:
typing.Optional[str]
β Workspace id of the application (comma separated for multiple)
-
application_name:
typing.Optional[str]
β Name of application
-
application_type:
typing.Optional[str]
β Type of application (comma separated for multiple). Allowed Values: async-service, service, job, spark-job, helm, notebook, codeserver, rstudio, ssh-server, volume, application, application-set, intercept, workflow
-
name_search_query:
typing.Optional[str]
β Search query for application name
-
environment_id:
typing.Optional[str]
β Filter by Environment ids of the application (comma separated for multiple)
-
cluster_id:
typing.Optional[str]
β Filter by Cluster ids of the application (comma separated for multiple)
-
application_set_id:
typing.Optional[str]
β Filter by Application Set id of the application
-
paused:
typing.Optional[bool]
β Filter by Application Paused status
-
device_type_filter:
typing.Optional[ApplicationsListRequestDeviceTypeFilter]
β Filter by device type of the application. Allowed values: cpu, nvidia_gpu, aws_inferentia, nvidia_mig_gpu, nvidia_timeslicing_gpu, gcp_tpu
-
last_deployed_by_subjects:
typing.Optional[str]
β Filter by last deployed by specific users
-
lifecycle_stage:
typing.Optional[ApplicationsListRequestLifecycleStage]
β Filter by application lifecycle state
-
is_recommendation_present:
typing.Optional[bool]
β Filter out applications with recommendations
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.create_or_update(...)
-
-
-
Create a new Application Deployment based on the provided manifest.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.applications.create_or_update(manifest={'key': 'value' }, )
-
-
-
manifest:
typing.Dict[str, typing.Optional[typing.Any]]
β Manifest of application
-
dry_run:
typing.Optional[bool]
β Dry run
-
force_deploy:
typing.Optional[bool]
β Cancels any ongoing deployments
-
workspace_id:
typing.Optional[str]
β workspace id of the workspace
-
application_id:
typing.Optional[str]
β Id of the application
-
name:
typing.Optional[str]
β Name of application
-
application_set_id:
typing.Optional[str]
β Application Set Id
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.get(...)
-
-
-
Get Application associated with the provided application ID.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.applications.get(id='id', )
-
-
-
id:
str
β Id of the application
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.delete(...)
-
-
-
Delete Application associated with the provided application ID.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.applications.delete(id='id', )
-
-
-
id:
str
β Id of the application
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.scale_to_zero(...)
-
-
-
Pause a running application by scaling to 0 replicas
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.applications.scale_to_zero(id='id', )
-
-
-
id:
str
β Id of the application
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.scale_to_original(...)
-
-
-
Resume a paused application by scaling back to the original number of replicas
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.applications.scale_to_original(id='id', )
-
-
-
id:
str
β Id of the application
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.applications.cancel_deployment(...)
-
-
-
Cancel an ongoing deployment associated with the provided application ID and deployment ID.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.applications.cancel_deployment(id='id', deployment_id='deploymentId', )
-
-
-
id:
str
β Application id of the application
-
deployment_id:
str
β Deployment id of the deployment
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.application_versions.list(...)
-
-
-
Fetch all deployments for a given application ID with optional filters such as deployment ID or version. Supports pagination.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.application_versions.list(id='id', limit=10, offset=0, version='1', deployment_id='deployment123', ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
id:
str
β Id of the application
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
version:
typing.Optional[str]
β Deployment version. Filter deployments by version.
-
deployment_id:
typing.Optional[str]
β Deployment ID. Filter deployments by a specific ID.
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.application_versions.get(...)
-
-
-
Get Deployment associated with the provided application ID and deployment ID.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.application_versions.get(id='id', deployment_id='deploymentId', )
-
-
-
id:
str
β Application id of the application
-
deployment_id:
str
β Deployment id of the deployment
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.jobs.list_runs(...)
-
-
-
List Job Runs for provided Job Id. Filter the data based on parameters passed in the query
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.jobs.list_runs(job_id='jobId', limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
job_id:
str
β Job id of the application
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
search_prefix:
typing.Optional[str]
β Prefix used to search for job runs by name or identifier
-
sort_by:
typing.Optional[JobRunsSortBy]
β Attribute to sort by
-
order:
typing.Optional[JobRunsSortDirection]
β Sorting order
-
triggered_by:
typing.Optional[typing.Union[str, typing.Sequence[str]]]
β Array of subject slugs
-
status:
typing.Optional[typing.Union[JobRunStatus, typing.Sequence[JobRunStatus]]]
β Status of the job run
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.jobs.get_run(...)
-
-
-
Get Job Run for provided jobRunName and jobId
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.jobs.get_run(job_id='jobId', job_run_name='jobRunName', )
-
-
-
job_id:
str
β Application Id of JOB
-
job_run_name:
str
β Job run name of the application
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.jobs.delete_run(...)
-
-
-
Delete Job Run for provided jobRunName and jobId
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.jobs.delete_run(job_id='jobId', job_run_name='jobRunName', )
-
-
-
job_id:
str
β Application Id of JOB
-
job_run_name:
str
β Job run name of the application
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.jobs.trigger(...)
-
-
-
Trigger Job for provided deploymentId or applicationId
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.jobs.trigger()
-
-
-
deployment_id:
typing.Optional[str]
β Deployment Id of the job
-
application_id:
typing.Optional[str]
β Application Id of the job
-
input:
typing.Optional[TriggerJobRequestInput]
β Job trigger input
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.jobs.terminate(...)
-
-
-
Terminate Job for provided deploymentId and jobRunName
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.jobs.terminate(deployment_id='deploymentId', job_run_name='jobRunName', )
-
-
-
deployment_id:
str
β Deployment Id of the Deployment
-
job_run_name:
str
β Job Run name
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.workspaces.list(...)
-
-
-
List workspaces associated with the user. Optional filters include clusterId, fqn, and workspace name. Pagination is available based on query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.workspaces.list(limit=10, offset=0, ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
limit:
typing.Optional[int]
β Number of items per page
-
offset:
typing.Optional[int]
β Number of items to skip
-
cluster_id:
typing.Optional[str]
β ClusterId of the Cluster
-
name:
typing.Optional[str]
β Workspace Name
-
fqn:
typing.Optional[str]
β Workspace FQN
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.workspaces.create_or_update(...)
-
-
-
Creates a new workspace or updates an existing one based on the provided manifest.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import WorkspaceManifest client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.workspaces.create_or_update(manifest=WorkspaceManifest(cluster_fqn='cluster_fqn', name='name', ), )
-
-
-
manifest:
WorkspaceManifest
β Workspace manifest
-
dry_run:
typing.Optional[bool]
β Dry run the request
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.workspaces.get(...)
-
-
-
Get workspace associated with provided workspace id
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.workspaces.get(id='id', )
-
-
-
id:
str
β Workspace id of the space
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.workspaces.delete(...)
-
-
-
Deletes the workspace with the given workspace ID. - Removes the associated namespace from the cluster. - Deletes the corresponding authorization entry.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.workspaces.delete(id='id', )
-
-
-
id:
str
β Workspace id of the space
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.events.get(...)
-
-
-
Get Events for Pod, Job Run, Application. The events are sourced from Kubernetes as well as events captured by truefoundry. Optional query parameters include startTs, endTs for filtering.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.events.get()
-
-
-
start_ts:
typing.Optional[str]
β Start timestamp (ISO format) for querying events
-
end_ts:
typing.Optional[str]
β End timestamp (ISO format) for querying events
-
application_id:
typing.Optional[str]
β Application ID
-
application_fqn:
typing.Optional[str]
β Application FQN
-
pod_names:
typing.Optional[typing.Union[str, typing.Sequence[str]]]
β Name of the pods
-
job_run_name:
typing.Optional[str]
β Job run name
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.alerts.list(...)
-
-
-
Get alerts for a given application or cluster filtered by start and end timestamp
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.alerts.list()
-
-
-
start_ts:
typing.Optional[str]
β Start timestamp (ISO format) for querying events
-
end_ts:
typing.Optional[str]
β End timestamp (ISO format) for querying events
-
cluster_id:
typing.Optional[str]
β Cluster id
-
application_id:
typing.Optional[str]
β Application id
-
alert_status:
typing.Optional[AlertStatus]
β Alert status
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.logs.get(...)
-
-
-
Fetch logs for various workload components, including Services, Jobs, Workflows, Job Runs, and Pods. Logs are filtered based on the provided query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.logs.get()
-
-
-
start_ts:
typing.Optional[int]
β Start timestamp for querying logs, in nanoseconds from the Unix epoch.
-
end_ts:
typing.Optional[int]
β End timestamp for querying logs, in nanoseconds from the Unix epoch.
-
limit:
typing.Optional[int]
β Max number of log lines to fetch
-
direction:
typing.Optional[LogsSortingDirection]
β Direction of sorting logs. Can beasc
ordesc
-
num_logs_to_ignore:
typing.Optional[int]
β Number of logs corresponding to the starting timestamp to be ignored.
-
application_id:
typing.Optional[str]
β Application ID
-
application_fqn:
typing.Optional[str]
β Application FQN
-
deployment_id:
typing.Optional[str]
β Deployment ID
-
job_run_name:
typing.Optional[str]
β Name of the Job Run for which to fetch logs.
-
pod_name:
typing.Optional[str]
β Name of Pod for which to fetch logs.
-
container_name:
typing.Optional[str]
β Name of the Container for which to fetch logs.
-
pod_names:
typing.Optional[typing.Union[str, typing.Sequence[str]]]
β List of pod names for which to fetch logs.
-
pod_names_regex:
typing.Optional[str]
β Regex pattern for pod names to fetch logs.
-
search_string:
typing.Optional[str]
β String that needs to be matched
-
search_type:
typing.Optional[LogsSearchFilterType]
β Query filter type,regex
orsubstring
-
search_operator:
typing.Optional[LogsSearchOperatorType]
β Comparison operator for filter.equal
ornot_equal
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.ml_repos.create_or_update(...)
-
-
-
Creates or updates an MLRepo entity based on the provided manifest.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.ml_repos.create_or_update(manifest={'key': 'value' }, )
-
-
-
manifest:
typing.Dict[str, typing.Optional[typing.Any]]
β MLRepo manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.ml_repos.get(...)
-
-
-
Get a ml repo by id Args: id: Unique identifier of the ml repo to get user_info: Authenticated user information
Returns: GetMLRepoResponse: The ml repo
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.ml_repos.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.ml_repos.delete(...)
-
-
-
Delete a ml repo Args: id: Unique identifier of the ml repo to delete user_info: Authenticated user information
Returns: EmptyResponse: Empty response indicating successful deletion
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.ml_repos.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.ml_repos.list(...)
-
-
-
List ml repos Args: filters: Filters for the ml repos user_info: Authenticated user information
Returns: ListMLReposResponse: List of ml repos
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.ml_repos.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
name:
typing.Optional[str]
-
limit:
typing.Optional[int]
-
offset:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifacts.get(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifacts.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifacts.delete(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifacts.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifacts.list(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.artifacts.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[str]
-
name:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
run_id:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifacts.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifacts.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agents.get(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.agents.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agents.delete(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.agents.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agents.list(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.agents.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[str]
-
name:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agents.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.agents.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompts.get(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.prompts.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompts.delete(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.prompts.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompts.list(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.prompts.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[str]
-
name:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompts.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.prompts.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tools.get(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tools.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tools.delete(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tools.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tools.list(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.tools.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[str]
-
name:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tools.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tools.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.models.get(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.models.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.models.delete(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.models.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.models.list(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.models.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[str]
-
name:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
run_id:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.models.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.models.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.get(...)
-
-
-
Get artifact version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifact_versions.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.delete(...)
-
-
-
Delete artifact versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifact_versions.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.list(...)
-
-
-
List artifact version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.artifact_versions.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
artifact_id:
typing.Optional[str]
-
fqn:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
run_ids:
typing.Optional[typing.Union[str, typing.Sequence[str]]]
-
run_steps:
typing.Optional[typing.Union[int, typing.Sequence[int]]]
-
include_internal_metadata:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.get_signed_urls(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import Operation client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifact_versions.get_signed_urls(id='id', paths=['paths'], operation=Operation.READ, )
-
-
-
id:
str
-
paths:
typing.Sequence[str]
-
operation:
Operation
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.create_multi_part_upload(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifact_versions.create_multi_part_upload(id='id', path='path', num_parts=1, )
-
-
-
id:
str
-
path:
str
-
num_parts:
int
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.stage(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifact_versions.stage(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.list_files(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.artifact_versions.list_files(id='id', ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
id:
str
-
path:
typing.Optional[str]
-
limit:
typing.Optional[int]
-
page_token:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.artifact_versions.mark_stage_failure(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.artifact_versions.mark_stage_failure(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.model_versions.get(...)
-
-
-
Get model version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.model_versions.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.model_versions.delete(...)
-
-
-
Delete model versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.model_versions.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.model_versions.list(...)
-
-
-
List model version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.model_versions.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
model_id:
typing.Optional[str]
-
fqn:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
run_ids:
typing.Optional[typing.Union[str, typing.Sequence[str]]]
-
run_steps:
typing.Optional[typing.Union[int, typing.Sequence[int]]]
-
include_internal_metadata:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompt_versions.get(...)
-
-
-
Get prompt version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.prompt_versions.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompt_versions.delete(...)
-
-
-
Delete prompt versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.prompt_versions.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.prompt_versions.list(...)
-
-
-
List prompt version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.prompt_versions.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
prompt_id:
typing.Optional[str]
-
fqn:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tool_versions.get(...)
-
-
-
Get tool version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tool_versions.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tool_versions.delete(...)
-
-
-
Delete tool versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tool_versions.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tool_versions.list(...)
-
-
-
List tool versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.tool_versions.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
tool_id:
typing.Optional[str]
-
fqn:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agent_versions.resolve(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.agent_versions.resolve(fqn='fqn', )
-
-
-
fqn:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agent_versions.get(...)
-
-
-
Get agent version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.agent_versions.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agent_versions.delete(...)
-
-
-
Delete agent versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.agent_versions.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.agent_versions.list(...)
-
-
-
List agent versions API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.agent_versions.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
agent_id:
typing.Optional[str]
-
fqn:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.get(...)
-
-
-
Get a data directory by its ID.
Args: id (str): The ID of the data directory to retrieve user_info: Current authenticated user info
Returns: DataDirectoryResponse: Response containing the retrieved data directory
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.data_directories.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.delete(...)
-
-
-
Delete a data directory and optionally its contents.
Args: id: Unique identifier of the data directory to delete delete_contents: If True, also deletes the data directory's contents user_info: Authenticated user information
Returns: EmptyResponse: Empty response indicating successful deletion
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.data_directories.delete(id='id', )
-
-
-
id:
str
-
delete_contents:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.list(...)
-
-
-
List all data directories with optional filtering and pagination.
Args: filters: Query parameters for filtering and pagination - ml_repo_id: Filter data directories by ml repo ID - name: Optional filter data directories by name - limit: Optional maximum number of data directories to return - offset: Optional number of data directories to skip user_info: Authenticated user information
Returns: ListDataDirectoriesResponse: List of data directories and pagination info
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.data_directories.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[str]
-
name:
typing.Optional[str]
-
limit:
typing.Optional[int]
-
offset:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.data_directories.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.list_files(...)
-
-
-
List files in a dataset.
Args: request_dto: Request containing dataset ID, path, page token and limit user_info: Authenticated user information
Returns: ListFilesResponse: Response containing files and pagination info
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.data_directories.list_files(id='id', ) for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
id:
str
-
path:
typing.Optional[str]
-
limit:
typing.Optional[int]
-
page_token:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.delete_files(...)
-
-
-
Delete files from the dataset.
Args: request_dto: Request containing dataset ID and paths user_info: Authenticated user information
Returns: EmptyResponse: Empty response indicating successful deletion
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.data_directories.delete_files(id='id', paths=['paths'], )
-
-
-
id:
str
-
paths:
typing.Sequence[str]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.get_signed_urls(...)
-
-
-
Get signed URLs for a dataset.
Args: request_dto: Request containing dataset ID, paths and operation user_info: Authenticated user information
Returns: GetSignedURLsResponse: Response containing signed URLs
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import Operation client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.data_directories.get_signed_urls(id='id', paths=['paths'], operation=Operation.READ, )
-
-
-
id:
str
-
paths:
typing.Sequence[str]
-
operation:
Operation
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.data_directories.create_multipart_upload(...)
-
-
-
Create a multipart upload for a dataset
Args: request_dto: Request containing dataset ID, path and number of parts user_info: Authenticated user information
Returns: MultiPartUploadResponse: Response containing multipart upload info
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.data_directories.create_multipart_upload(id='id', path='path', num_parts=1, )
-
-
-
id:
str
-
path:
str
-
num_parts:
int
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tracing_projects.list(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.tracing_projects.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
ml_repo_id:
typing.Optional[int]
-
fqn:
typing.Optional[str]
-
name:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tracing_projects.create_or_update(...)
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ModelManifest from truefoundry_sdk import TrueFoundryManagedSource client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tracing_projects.create_or_update(manifest=ModelManifest(name='name', metadata={'key': 'value' }, ml_repo='ml_repo', source=TrueFoundryManagedSource(), ), )
-
-
-
manifest:
Manifest
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tracing_projects.get(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tracing_projects.get(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.tracing_projects.delete(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.tracing_projects.delete(id='id', )
-
-
-
id:
str
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.users.get_info()
-
-
-
Get the user session details for the currently authenticated user
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.users.get_info()
-
-
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.clusters.get_autoprovisioning_state(...)
-
-
-
Get the auto provisioning status for the provided cluster
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.clusters.get_autoprovisioning_state(id='id', )
-
-
-
id:
str
β Cluster id of the cluster
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.deployments.get_builds(...)
-
-
-
This endpoint returns all build details associated with a specific deployment in a given application.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.deployments.get_builds(id='id', deployment_id='deploymentId', )
-
-
-
id:
str
β Application id of the application
-
deployment_id:
str
β Deployment id of the deployment
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.deployments.get_code_upload_url(...)
-
-
-
Generate presigned URL to upload code for given serviceName and workspaceFqn
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.deployments.get_code_upload_url(service_name='serviceName', workspace_fqn='workspaceFqn', )
-
-
-
service_name:
str
β ServiceName of the deployment
-
workspace_fqn:
str
β WorkSpaceFQN of the workspace
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.deployments.get_suggested_endpoint(...)
-
-
-
Generate deployment endpoint based on the provided query parameters.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk import ApplicationType client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.deployments.get_suggested_endpoint(application_type=ApplicationType.ASYNC_SERVICE, application_name='applicationName', workspace_id='workspaceId', )
-
-
-
application_type:
ApplicationType
β Application Type
-
application_name:
str
β Application name
-
workspace_id:
str
β Workspace id
-
base_domain:
typing.Optional[str]
β Base domain
-
port:
typing.Optional[str]
β Port
-
prefer_wildcard:
typing.Optional[bool]
β Prefer wildcard
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.applications.get_pod_template_hash_to_deployment_version(...)
-
-
-
This endpoint fetches the pod template hash to deployment version map for a specific application.
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.applications.get_pod_template_hash_to_deployment_version(id='id', )
-
-
-
id:
str
β Id of the application
-
pod_template_hashes:
typing.Optional[str]
β Pod Template Hashes (comma separated for multiple)
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.vcs.get_repository_details(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.vcs.get_repository_details(repo_url='repoURL', )
-
-
-
repo_url:
str
β The URL of the repository
-
id:
typing.Optional[str]
β The integration id of the repository
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.vcs.get_authenticated_url(...)
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.vcs.get_authenticated_url(repo_url='repoURL', )
-
-
-
repo_url:
str
β Repository URL (e.g., https://github.com/user/repo, https://bitbucket.org/user/repo)
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.metrics.get_charts(...)
-
-
-
List charts for a given Application based on parameters passed in the query.
-
-
-
from truefoundry_sdk import TrueFoundry from truefoundry_sdk.v1.internal.metrics import MetricsGetChartsRequestFilterEntity client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) client.v1.internal.metrics.get_charts(workspace_id='workspaceId', application_id='applicationId', filter_entity=MetricsGetChartsRequestFilterEntity.APPLICATION, )
-
-
-
workspace_id:
str
-
application_id:
str
-
filter_entity:
MetricsGetChartsRequestFilterEntity
-
start_ts:
typing.Optional[str]
β Start Timestamp
-
end_ts:
typing.Optional[str]
β End Timestamp
-
filter_query:
typing.Optional[str]
β Query params to filter metrics
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-
client.v1.internal.artifact_versions.list(...)
-
-
-
List artifact version API
-
-
-
from truefoundry_sdk import TrueFoundry client = TrueFoundry(api_key="YOUR_API_KEY", base_url="https://yourhost.com/path/to/api", ) response = client.v1.internal.artifact_versions.list() for item in response: yield item # alternatively, you can paginate page-by-page for page in response.iter_pages(): yield page
-
-
-
artifact_id:
typing.Optional[str]
-
fqn:
typing.Optional[str]
-
offset:
typing.Optional[int]
-
limit:
typing.Optional[int]
-
run_ids:
typing.Optional[typing.Union[str, typing.Sequence[str]]]
-
run_steps:
typing.Optional[typing.Union[int, typing.Sequence[int]]]
-
include_internal_metadata:
typing.Optional[bool]
-
include_model_versions:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]
β Request-specific configuration.
-
-