Client
Description: Create a new instance of the Istari client
Methods
| Name | Description |
|---|---|
| add_artifact | Add a new artifact to a model. |
| update_artifact | Update an existing artifact with a new file and optional metadata. |
| add_comment | Add a new comment to a resource. |
| update_comment | Update an existing comment with a new file and optional description. |
| add_file | Add a new file to the system. |
| update_file | Update an existing file with a new version and optional metadata. |
| update_file_properties | Update metadata properties of an existing file. |
| update_job | Update an existing job with a new file and optional metadata. |
| add_model | Add a new model to the system. |
| update_model | Update an existing model with a new file and optional metadata. |
| add_function_auth_secret | Create a new function authentication secret from a file. |
| create_auth_integration | |
| update_auth_integration | |
| add_user_control_taggings | Assign one or more control tags to a user. |
| remove_user_control_taggings | Remove (archive) one or more control tag access assignments from a user. |
| add_model_control_taggings | Assign one or more control tags to a model. |
| remove_model_control_taggings | Remove (archive) one or more control tag assignments from a model. |
| add_artifact_control_taggings | Assign one or more control tags to an artifact. |
| remove_artifact_control_taggings | Remove (archive) one or more control tag assignments from an artifact. |
| get_model_control_tags | Retrieve the list of control tags currently assigned to a model. |
| get_artifact_control_tags | Retrieve the list of control tags currently assigned to an artifact. |
| get_user_control_tags | Retrieve the list of control tags a user has been assigned access to. |
| get_user | Retrieve a user from the registry. |
| get_resource | Retrieve a resource by type and ID. |
| create_revision | Create a new file revision from a given file path and optional metadata. |
| create_secret_revision | Create a new secret file revision from a given file path and optional metadata. |
| update_revision_content | Update the contents of an existing file revision. |
| update_revision_properties | Update metadata properties of an existing file revision. |
| read_contents | Read and return the raw contents of a file associated with a token. |
| read_properties | Retrieve metadata properties for a file associated with a token. |
| add_job | Add a new job to a model. |
| archive_artifact | This method archives an artifact by updating it’s archive status to Archived. |
| archive_comment | This method archives a comment by updating it’s archive status to Archived. |
| archive_configuration | This method archives a configuration by updating it’s archive status to Archived. |
| archive_file | This method archives a file by updating it’s archive status to Archived. |
| archive_file_revision | This method archives a FileRevision by updating it’s archive status to Archived. |
| archive_job | This method archives a job by updating it’s archive status to Archived. |
| archive_model | This method archives a model by updating it’s archive status to Archived. |
| archive_system | This method archives a system by updating it’s archive status to Archived. |
| archive_tag | This method archives a snapshot tag by updating it’s archive status to Archived. |
| bulk_create_access | This bulk method shares resources with users by granting new access relationships. |
| copy_revision_to_existing_file | This method copies a revision to an existing file. |
| copy_revision_to_new_file | This method copies a revision to a new file. |
| create_access | This method shares a resource or file with a user by updating the resource or file’s access. |
| create_access_by_email_for_other_tenants | This method shares a resource or file across tenants by the applicable user’s email. |
| create_agent_personal_access_token | This method creates an agent personal access token. |
| create_agent_pool | This method creates a new agent pool. |
| create_app_integration | This method creates a data integration. |
| create_author | This method creates a new author. |
| create_configuration | This method creates a new configuration for a system. |
| create_control_tag | This method creates a new control tag. |
| create_module | This methods creates a new module. |
| create_multipart_upload | Returns the metadata needed to perform a multipart upload for a given token with the SHA |
| create_operating_system | This method creates a new operating system. |
| create_personal_access_token | This method creates a personal access token. |
| create_snapshot | This methods creates a new snapshot. |
| create_system | This method creates a new system. |
| create_tag | This method creates a new snapshot tag. |
| create_tenant_public_key | Creates a tenant public key. |
| create_tool | This method creates a new tool. |
| create_tool_versions | This method creates a new tool version. |
| customer_usage_metrics | This method is for customers to query their data for usage metrics. |
| delete_agent_pool | This method deletes an agent pool. |
| delete_app_integration | This method deletes a data integration by id. |
| delete_personal_access_token | This method deletes a personal access token. |
| deprecate_module | This method deprecates all versions of a module. |
| deprecate_module_version | This method deprecates a module version. |
| fetch_function_auth_secret | This method gets a function auth secret by id. |
| finalize_multipart_upload | Finalize a multipart upload for a given token with the SHA |
| find_function_auth_secret | This method lists all function auth secrets that a user has access to. |
| generate_download_url | Returns a temporary download url for tokenized resource with SHA value |
| generate_upload_url | Returns a temporary upload url for token with sha |
| get_agent | This method gets an agent by id. |
| get_agent_available_jobs | This method gets the list of available jobs for an agent. |
| get_agent_display_name | This method gets an agent’s display name. |
| get_agent_modules | This method gets an agent’s loaded modules. |
| get_agent_pool | This method gets an agent pool by id. |
| get_agent_status | This method gets an agent’s status. |
| get_agent_status_retention_policy | This method gets status retention policy duration in the registry for all agents |
| get_app_integration | This method gets data integration info by id. |
| get_artifact | This method gets an artifact from the database. |
| get_artifact_control_tagging_history | This method gets the full history of control taggings added to and removed from an artifact. |
| get_artifact_control_taggings | This method gets a artifact’s active control taggings. |
| get_auth_integration | This method retrieves an AuthIntegration. |
| get_author | This method gets an author by id. |
| get_comment | This method gets a comment by id |
| get_configuration | This method gets a configuration by id. |
| get_control_tag | This method gets a control tag by id. |
| get_control_tag_revision_history | Control tag revision history. |
| get_current_user | This method gets the current user. |
| get_file | This method gets a file by id. |
| get_file_by_revision_id | This method gets a file by revision id. |
| get_file_control_tagging_history | This method gets the full history of control taggings added to and removed from a file. |
| get_file_control_taggings | This method gets a file’s active control taggings. |
| get_function | This method gets a function by id. |
| get_function_schema | This method gets a function schema by id. |
| get_job | This method gets a job by id. |
| get_model | This method gets a model by id. |
| get_model_control_tagging_history | This method gets the full history of control taggings added to and removed from a model. |
| get_model_control_taggings | This method gets a model’s active control taggings. |
| get_module | This method gets a module by id |
| get_module_version | This method gets a module version by id. |
| get_object_control_tags | Get the active control tag assignments for an object |
| get_operating_system | This method gets an operating system by id. |
| get_revision | This method gets a revision by id. |
| get_snapshot | This method gets a snapshot by id. |
| get_system | This method gets a system by id. |
| get_system_baseline | This method gets the system baseline by system id. |
| get_tag | This method gets a snapshot tag by id. |
| get_tenant_public_key | Gets a tenant public key. |
| get_tool | This method gets a tool by id |
| get_tool_version | This method gets a tool version by id. |
| get_upstream_remote_sync | This method retrieves the status of an upstream remote sync. |
| get_user_by_id | This method gets a user by id. |
| get_user_control_tagging_history | This method gets the full history of control taggings added to and removed from a user. |
| get_user_control_taggings | This method gets a user’s active control taggings. |
| list_access | This method lists access for a resource or file. |
| list_agent_pool_agents | This method lists agent memberships in detail for an agent pool. |
| list_agent_pool_users | This method lists user memberships in detail for an agent pool. |
| list_agent_pools | This method lists all agent pools a user has access to. |
| list_agent_status_history | This method lists an agent’s status history. |
| list_agents | This method lists all agents a user has access to. |
| list_app_integrations | This method lists data integration info a use has access to. |
| list_artifact_access | (Deprecated) |
| list_artifact_comments | This method lists all comments a user has access to for an artifact. |
| list_artifacts | This method lists all artifacts a user has access to. |
| list_auth_integrations | This method lists all AuthIntegrations a user has access to. |
| list_authors | This method lists all authors a user has access to. |
| list_control_tags | List all control tags |
| list_files | This method lists all files that a user has access to. |
| list_functions | This method lists all functions a user has access to. |
| list_job_access | (Deprecated) |
| list_jobs | This method lists the jobs that a user has access to. |
| list_model_access | (Deprecated) |
| list_model_artifacts | This method lists all artifacts a user has access to for a model. |
| list_model_comments | This method lists all comments a user has access to for a model. |
| list_model_jobs | This method lists all jobs a user has access to for a model. |
| list_models | This methods lists all models a user has access to. |
| list_module_versions | This method list all module versions a user has access to. |
| list_modules | This method lists all modules a user has access to. |
| list_operating_systems | This method lists all operating systems a user has access to. |
| list_personal_access_tokens | This method lists all personal access tokens a user has access to. |
| list_resource_type_permissions | This method lists all permissions of a type for a user for all resources of a type. |
| list_resources | This method lists all resources a user has access to. |
| list_snapshot_items | This method lists all the snapshot items a user has access to. |
| list_snapshot_revisions | This method gets a snapshot’s revisions. |
| list_snapshots | This method lists all the snapshots a user has access to |
| list_system_configurations | This method lists all the system configurations a user has access to. |
| list_systems | This method lists all the systems a user has access to. |
| list_tags | This method lists all the snapshot tags a user has access to. |
| list_tenants | This method lists all tenants (admin only). |
| list_tool_versions | This method lists all tool versions a user has access to. |
| list_tools | This method list all tools a user has access to |
| list_tracked_files | This methods list all the tracked files for a configuration that the user has access to. |
| list_upstream_remotes | This method retrieves a list of upstream remotes that a user has access to. |
| list_users | This method lists all users a user has access to. |
| liveness_check | Liveness probe |
| patch_artifact_access | (Deprecated) |
| patch_artifact_control_taggings | This method adds or removes control tags on a artifact. |
| patch_file_control_taggings | This method adds or removes control tags on a file. |
| patch_job_access | (Deprecated) |
| patch_model_access | (Deprecated) |
| patch_model_control_taggings | This method adds or removes control tags on a model. |
| patch_user_control_taggings | This method adds or removes control tags on a user. |
| readiness_check | Readiness probe |
| register_agent | This method registers a new agent. |
| remove_access | This method removes access to a resource or file. |
| remove_agent_pool_agent | This method deletes an agent’s membership in an agent pool. |
| remove_agent_pool_user | This method deletes a user’s membership in an agent pool. |
| remove_job_assigned_agent | This method removes the assigned agent from a job. |
| restore_artifact | This method restores an artifact by updating it’s archive status to Active. |
| restore_comment | This method restores a comment by updating it’s archive status to Active. |
| restore_configuration | This method restores a configuration by updating it’s archive status to Active. |
| restore_file | This method restores a file by updating it’s archive status to Active. |
| restore_file_revision | This method restores a FileRevision by updating it’s archive status to Active. |
| restore_job | This method restores a job by updating it’s archive status to Active. |
| restore_model | This method restores a model by updating it’s archive status to Active. |
| restore_system | This method restores a system by updating it’s archive status to Active. |
| restore_tag | This method restores a snapshot tag by updating it’s archive status to Active. |
| revoke_all_personal_access_tokens | This method revokes all personal access tokens. |
| search_resources | This method does a full text search on resources. |
| set_agent_status_retention_policy | This method sets status retention policy duration in the registry for all agents |
| sync_upstream_remotes | This method triggers a data sync with an upstream remote. |
| transfer_revision_to_existing_artifact | This method transfers a revision to an existing artifact. The original revision that was copied will be archived and no longer active. |
| transfer_revision_to_existing_file | This method transfers a file revision to an existing file. The original revision that was copied will be archived and no longer active. |
| transfer_revision_to_new_artifact | This method transfers a revision to a new artifact. The original revision that was copied will be archived and no longer active. |
| transfer_revision_to_new_file | This method transfers a file revision to a new file. The original revision that was copied will be archived and no longer active. |
| update_access | This method updates access to a resource or file. |
| update_access_for_resource_type | This method updates access to resources of a type. |
| update_agent_display_name | This method updates an agent’s display name. |
| update_agent_information | This method updates an agent’s information. |
| update_agent_modules | This method updates an agent’s loaded modules. |
| update_agent_pool | This method updates an agent pool’s information. |
| update_agent_pool_agent | This method adds or updates an agent’s membership in an agent pool. |
| update_agent_pool_user | This method adds or updates a user’s membership in an agent pool. |
| update_agent_status | This method updates an agent’s status. |
| update_app_integration | This method updates a data integration. |
| update_author | This method updates an author. |
| update_control_tag | This method updates an existing control tag. |
| update_job_assigned_agent | This method updates the assigned agent for a job. |
| update_job_status | This method updates the status of a job. |
| update_operating_system | This method updates an existing operating system. |
| update_system | This method updates an existing system. |
| update_tag | This method updates an existing snapshot tag by moving it to a different snapshot. |
| update_tool | This method updates a tool. |
add_artifact()
Add a new artifact to a model.
This method creates a new artifact by uploading a file located at the given path and associating it with the specified model. Optionally, you can include metadata such as version name, description, external identifier, and source references.
-
Parameters:
- model_id (str) – Unique identifier of the model to which the artifact will be added.
- path (PathLike) – Filesystem path to the artifact file to upload.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the artifact. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional text describing the artifact’s contents or purpose.
- version_name (str | None) – Optional user-defined version label for the artifact.
- external_identifier (str | None) – Optional external system identifier for cross-referencing.
- display_name (str | None) – Optional human-readable name for the artifact.
-
Return Type: Artifact
update_artifact()
Update an existing artifact with a new file and optional metadata.
This method replaces the contents of an existing artifact by uploading a new file and optionally modifying associated metadata such as sources, version, or identifiers.
-
Parameters:
- artifact_id (str) – Unique identifier of the artifact to update.
- path (PathLike) – Filesystem path to the new artifact file.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the artifact. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional text describing the updated artifact.
- version_name (str | None) – Optional user-defined version label for the updated artifact.
- external_identifier (str | None) – Optional external system identifier for cross-referencing.
- display_name (str | None) – Optional human-readable name for the updated artifact.
-
Return Type: Artifact
add_comment()
Add a new comment to a resource.
This method uploads a file as a comment and associates it with the specified resource. An optional description can be provided to summarize or contextualize the comment content.
-
Parameters:
- resource_id (str) – Unique identifier of the resource to which the comment will be added.
- path (PathLike) – Filesystem path to the comment file to upload.
- description (str | None) – Optional text describing the comment or its relevance.
-
Return Type: Comment
update_comment()
Update an existing comment with a new file and optional description.
This method replaces the contents of an existing comment by uploading a new file. An optional description can be provided to revise or clarify the comment’s purpose.
-
Parameters:
- comment_id (str) – Unique identifier of the comment to update.
- path (PathLike) – Filesystem path to the new comment file.
- description (str | None) – Optional updated description of the comment.
-
Return Type: Comment
add_file()
Add a new file to the system.
This method uploads a file from the specified path and optionally attaches metadata such as description, version name, external identifier, and associated sources.
-
Parameters:
- path (PathLike) – Filesystem path to the file to upload.
- sources (list [**NewSource | str ] | None) – Optional list of sources related to the file. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional text describing the file’s contents or purpose.
- version_name (str | None) – Optional user-defined version label for the file.
- external_identifier (str | None) – Optional external system identifier for the file.
- display_name (str | None) – Optional human-readable name for the file.
-
Return Type: File
update_file()
Update an existing file with a new version and optional metadata.
This method replaces the contents of a file by uploading a new version from the specified path. You can also update metadata such as sources, description, version name, or external identifier.
-
Parameters:
- file_id (str) – Unique identifier of the file to update.
- path (PathLike | str) – Filesystem path or string path to the new file contents.
- sources (list [**NewSource | str ] | None) – Optional list of sources related to the file. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional updated description of the file.
- version_name (str | None) – Optional user-defined version label for the updated file.
- external_identifier (str | None) – Optional external system identifier for the file.
- display_name (str | None) – Optional human-readable name for the file.
-
Return Type: File
update_file_properties()
Update metadata properties of an existing file.
This method updates non-content attributes of a file, such as display name, description, version name, or external identifier, without modifying the file’s contents.
-
Parameters:
- file (File) – The file object whose metadata will be updated.
- display_name (str | None) – Optional human-readable name to assign to the file.
- description (str | None) – Optional text describing the file.
- external_identifier (str | None) – Optional external system identifier for cross-referencing the file.
- version_name (str | None) – Optional user-defined version label for the file.
-
Return Type: File
update_job()
Update an existing job with a new file and optional metadata.
This method replaces the contents of a job by uploading a new file and allows updating associated metadata such as description, version name, external identifier, and sources.
-
Parameters:
- job_id (str) – Unique identifier of the job to update.
- path (PathLike) – Filesystem path to the new job file.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the job. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional updated description of the job.
- version_name (str | None) – Optional user-defined version label for the job.
- external_identifier (str | None) – Optional external system identifier for the job.
- display_name (str | None) – Optional human-readable name for the job.
-
Return Type: Job
add_model()
Add a new model to the system.
This method uploads a model file from the specified path and optionally attaches metadata, including description, version name, external identifier, display name, and sources.
-
Parameters:
- path (PathLike) – Filesystem path to the model file to upload.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the model. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional text describing the model’s purpose or contents.
- version_name (str | None) – Optional user-defined version label for the model.
- external_identifier (str | None) – Optional external system identifier for the model.
- display_name (str | None) – Optional human-readable name for the model.
-
Return Type: Model
update_model()
Update an existing model with a new file and optional metadata.
This method replaces the contents of a model by uploading a new file from the specified path. You can also update metadata such as description, version name, external identifier, and sources.
-
Parameters:
- model_id (str) – Unique identifier of the model to update.
- path (PathLike) – Filesystem path to the new model file.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the model. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional updated description of the model.
- version_name (str | None) – Optional user-defined version label for the model.
- external_identifier (str | None) – Optional external system identifier for the model.
- display_name (str | None) – Optional human-readable name for the model.
-
Return Type: Model
add_function_auth_secret()
Create a new function authentication secret from a file.
This method uploads a secret from a file and registers it as a function auth secret of the specified type. You may optionally associate it with an authentication integration and set an expiration date.
-
Parameters:
- function_auth_type (FunctionAuthType) – The type of function authentication (e.g., API key, OAuth).
- path (PathLike) – Filesystem path to the file containing the secret.
- auth_integration_id (Optional [**str ]) – Optional identifier of the associated authentication integration.
- expiration (Optional [**datetime ]) – Optional expiration date/time of the secret.
-
Return Type: FunctionAuthSecret
create_auth_integration()
- Return Type: AuthIntegration
update_auth_integration()
add_user_control_taggings()
Assign one or more control tags to a user.
When a control tag is applied to a user, the access is propagated to related resources (e.g., models and their child artifacts). The returned list of resource control taggings may exceed the number of control tags assigned due to this propagation.
The calling user must be a customer admin of the tenant the target user belongs to; otherwise, the operation will fail with a permission denied error.
-
Parameters:
- user_id (str) – Unique identifier of the user to whom control tag access will be assigned.
- control_tag_ids (Iterable [**str ]) – Identifiers of the control tags to assign.
- reason (Optional [**str ]) – Optional reason for assigning the control tags.
-
Return Type: list[UserControlTagging]
remove_user_control_taggings()
Remove (archive) one or more control tag access assignments from a user.
This method revokes a user’s access to the specified control tags. The calling user must be a customer admin on the tenant the target user belongs to; otherwise, the operation will fail with a permission denied error.
-
Parameters:
- user_id (str) – Unique identifier of the user whose control tag access will be removed.
- control_tag_ids (Iterable [**str ]) – Identifiers of the control tags to revoke access from.
- reason (Optional [**str ]) – Optional reason for removing the control tag access.
-
Return Type: list[UserControlTagging]
add_model_control_taggings()
Assign one or more control tags to a model.
When a control tag is applied to a model, the tagging is also applied to each of its child artifacts. As a result, the returned list of resource control taggings may include more entries than the number of control tags assigned.
The caller must have owner or administrator access to the model in order to modify control tag assignments.
-
Parameters:
- model_id (str) – Unique identifier of the model to which control tags will be assigned.
- control_tag_ids (Iterable [**str ]) – Identifiers of the control tags to assign.
- reason (Optional [**str ]) – Optional reason for assigning the control tags.
-
Return Type: list[ResourceControlTagging]
remove_model_control_taggings()
Remove (archive) one or more control tag assignments from a model.
This method revokes control tag access from the specified model. Owner or administrator access to the model or its parent model is required to modify control tag assignments.
-
Parameters:
- model_id (str) – Unique identifier of the model from which control tags will be removed.
- control_tag_ids (Iterable [**str ]) – Identifiers of the control tags to remove.
- reason (Optional [**str ]) – Optional reason for removing the control tag assignments.
-
Return Type: list[ResourceControlTagging]
add_artifact_control_taggings()
Assign one or more control tags to an artifact.
This method applies control tags to the specified artifact. Owner or administrator access to the artifact’s parent model is required to modify control tag assignments.
-
Parameters:
- artifact_id (str) – Unique identifier of the artifact to which control tags will be assigned.
- control_tag_ids (Iterable [**str ]) – Identifiers of the control tags to assign.
- reason (Optional [**str ]) – Optional reason for assigning the control tags.
-
Return Type: list[ResourceControlTagging]
remove_artifact_control_taggings()
Remove (archive) one or more control tag assignments from an artifact.
This method revokes control tag access from the specified artifact. Owner or administrator access to the artifact’s parent model is required to modify control tag assignments.
-
Parameters:
- artifact_id (str) – Unique identifier of the artifact from which control tags will be removed.
- control_tag_ids (Iterable [**str ]) – Identifiers of the control tags to remove.
- reason (Optional [**str ]) – Optional reason for removing the control tag assignments.
-
Return Type: list[ResourceControlTagging]
get_model_control_tags()
Retrieve the list of control tags currently assigned to a model.
This method returns all active control tags associated with the specified model.
-
Parameters: model_id (str) – Unique identifier of the model to retrieve control tags for.
-
Return Type: list[ControlTag]
get_artifact_control_tags()
Retrieve the list of control tags currently assigned to an artifact.
This method returns all active control tags associated with the specified artifact.
-
Parameters: artifact_id (str) – Unique identifier of the artifact to retrieve control tags for.
-
Return Type: list[ControlTag]
get_user_control_tags()
Retrieve the list of control tags a user has been assigned access to.
This method returns all active control tags associated with the specified user.
-
Parameters: user_id (str) – Unique identifier of the user to retrieve control tags for.
-
Return Type: list[ControlTag]
get_user()
Retrieve a user from the registry.
This is a convenience wrapper around getuser_by_id, provided for naming consistency with other get* methods (e.g., get_model, get_artifact, etc.).
-
Parameters: user_id (str) – Unique identifier of the user to retrieve.
-
Return Type: User
get_resource()
Retrieve a resource by type and ID.
This method fetches a resource of the specified type using its unique identifier. Supported resource types may include models, artifacts, files, jobs, and others registered in the system.
-
Parameters:
- resource_type (str) – Type of the resource to retrieve (e.g., “model”, “artifact”).
- resource_id (str) – Unique identifier of the resource.
-
Return Type: Resource
create_revision()
Create a new file revision from a given file path and optional metadata.
This method uploads a file as a new revision and optionally attaches metadata such as sources, display name, description, version name, and an external identifier.
-
Parameters:
- file_path (PathLike) – Filesystem path to the file being uploaded as a revision.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the revision. Each item may be a NewSource instance or a string source name.
- display_name (str | None) – Optional human-readable name for the revision.
- description (str | None) – Optional text describing the revision’s contents or purpose.
- version_name (str | None) – Optional user-defined version label for the revision.
- external_identifier (str | None) – Optional external system identifier for the revision.
-
Return Type: FileRevision
create_secret_revision()
Create a new secret file revision from a given file path and optional metadata.
This method uploads a file containing secret content as a new revision, and optionally associates metadata such as sources, display name, description, version name, and an external identifier.
-
Parameters:
- file_path (PathLike) – Filesystem path to the secret file being uploaded as a revision.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the revision. Each item may be a NewSource instance or a string source name.
- display_name (str | None) – Optional human-readable name for the revision.
- description (str | None) – Optional text describing the revision’s contents or purpose.
- version_name (str | None) – Optional user-defined version label for the revision.
- external_identifier (str | None) – Optional external system identifier for the revision.
-
Return Type: FileRevision
update_revision_content()
Update the contents of an existing file revision.
This method uploads new content from the given file path to update an existing revision. A salt value must be provided to locate or identify the revision being updated. Optional metadata such as sources, display name, description, version name, and external identifier can also be modified.
-
Parameters:
- file_path (PathLike) – Filesystem path to the new file content for the revision.
- salt (str) – Unique salt value used to identify or deduplicate the revision update.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the revision. Each item may be a NewSource instance or a string source name.
- display_name (str | None) – Optional human-readable name for the revision.
- description (str | None) – Optional text describing the updated revision content.
- version_name (str | None) – Optional user-defined version label for the revision.
- external_identifier (str | None) – Optional external system identifier for the revision.
-
Return Type: FileRevision
update_revision_properties()
Update metadata properties of an existing file revision.
This method modifies the metadata associated with a file revision, such as display name, description, version name, or external identifier. The revision content itself is not changed.
-
Parameters:
- file_revision (FileRevision) – The file revision object whose metadata will be updated.
- display_name (str | None) – Optional human-readable name for the revision.
- description (str | None) – Optional text describing the revision.
- external_identifier (str | None) – Optional external system identifier for the revision.
- version_name (str | None) – Optional user-defined version label for the revision.
-
Return Type: File
read_contents()
Read and return the raw contents of a file associated with a token.
This method retrieves the file data as a byte stream using the specified token, which grants access to the protected resource.
-
Parameters: token (Token) – Access token for retrieving the file contents.
-
Return Type: bytes
read_properties()
Retrieve metadata properties for a file associated with a token.
This method returns descriptive metadata about the file identified by the provided access token. The returned Properties object includes non-content attributes such as file name, extension, size, MIME type, and optional descriptive metadata.
Fields include:
- name: Full file name with extension (e.g., “foo.JPG”).
- stem: File name without extension (e.g., “foo”).
- extension: Lowercased file extension without the dot (e.g., “jpg”).
- suffix: File suffix with original casing and a leading dot (e.g., “.JPG”).
- size: File size in bytes.
- mime_type: MIME type of the file (e.g., “image/jpeg”).
- description: Optional description set on the file.
- version_name: Optional version label.
- external_identifier: Optional external reference ID.
- display_name: Optional user-facing display name.
-
Parameters: token (Token) – Access token used to retrieve file properties.
-
Return Type: Properties
add_job()
Add a new job to a model.
This method creates and registers a new job associated with the specified model. You can define the job’s function and optionally provide input parameters, execution environment details, and descriptive metadata.
-
Parameters:
- model_id (str) – Unique identifier of the model to which the job will be attached.
- function (str) – Name of the function that the job will execute.
- parameters (JSON | None) – Optional structured input parameters to pass to the function.
- parameters_file (PathLike | None) – Optional filesystem path to a file containing job parameters.
- tool_name (str | None) – Optional name of the tool used in this job.
- tool_version (str | None) – Optional version of the tool used in this job.
- operating_system (OS | None) – Optional enum describing the operating system of the target agent.
- assigned_agent_id (str | None) – Optional ID of the agent assigned to execute the job.
- agent_id (str | None) – Optional identifier for the agent that created the job.
- sources (list [**NewSource | str ] | None) – Optional list of sources associated with the job. Each item may be a NewSource instance or a string source name.
- description (str | None) – Optional description of the job.
- version_name (str | None) – Optional user-defined version label for the job.
- external_identifier (str | None) – Optional external system identifier for the job.
- display_name (str | None) – Optional human-readable name for the job.
-
Return Type: Job
archive_artifact()
This method archives an artifact by updating it’s archive status to Archived.
-
Parameters:
- artifact_id (str) – The id of the artifact to archive. This is a required field. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Artifact
archive_comment()
This method archives a comment by updating it’s archive status to Archived.
-
Parameters:
- comment_id (str) – The ID of the comment to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Comment
archive_configuration()
This method archives a configuration by updating it’s archive status to Archived.
-
Parameters:
- configuration_id (str) – The id of the configuration to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SystemConfiguration
archive_file()
This method archives a file by updating it’s archive status to Archived.
-
Parameters:
- file_id (str) – The id of the file to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
archive_file_revision()
This method archives a FileRevision by updating it’s archive status to Archived.
-
Parameters:
- revision_id (str) – The id of the file revision to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FileRevision
archive_job()
This method archives a job by updating it’s archive status to Archived.
-
Parameters:
- job_id (str) – The id of the job to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Job
archive_model()
This method archives a model by updating it’s archive status to Archived.
-
Parameters:
- model_id (str) – The id of the model to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Model
archive_system()
This method archives a system by updating it’s archive status to Archived.
-
Parameters:
- system_id (str) – The id of the system to archive. (required)
- archive (Archive)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: System
archive_tag()
This method archives a snapshot tag by updating it’s archive status to Archived.
-
Parameters:
- tag_id (str) – The id of the tag to archive. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SnapshotTag
bulk_create_access()
This bulk method shares resources with users by granting new access relationships.
-
Parameters:
- access_relationship (List [**AccessRelationship ]) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
copy_revision_to_existing_file()
This method copies a revision to an existing file.
-
Parameters:
- revision_id (str) – The id of the revision to copy (required)
- file_id (str) – The id of the file to copy the revision to (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
copy_revision_to_new_file()
This method copies a revision to a new file.
-
Parameters:
- revision_id (str) – The id of the revision to copy (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
create_access()
This method shares a resource or file with a user by updating the resource or file’s access.
-
Parameters:
- access_relationship (AccessRelationship) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AccessRelationship
create_access_by_email_for_other_tenants()
This method shares a resource or file across tenants by the applicable user’s email.
-
Parameters:
- subject_type (AccessSubjectType) – The type of the subject to create. (required)
- email (str) – The email of the subject to create access for. (required)
- resource_type (AccessResourceType) – The type of the resource to create access for. (required)
- resource_id (str) – The id of the resource to create access for. (required)
- access_relationship (AccessRelation) – The access relationship to create. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AccessRelationship
create_agent_personal_access_token()
This method creates an agent personal access token.
-
Parameters:
- name (str) – The name of the personal access token. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PersonalAccessToken
create_agent_pool()
This method creates a new agent pool.
-
Parameters:
- new_agent_pool (NewAgentPool) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
create_app_integration()
This method creates a data integration.
-
Parameters:
- new_app_integration (NewAppIntegration) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AppIntegration
create_author()
This method creates a new author.
-
Parameters:
- new_module_author (NewModuleAuthor) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ModuleAuthor
create_configuration()
This method creates a new configuration for a system.
-
Parameters:
- system_id (str) – The id of the system to create a configuration for. (required)
- new_system_configuration (NewSystemConfiguration) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SystemConfiguration
create_control_tag()
This method creates a new control tag.
-
Parameters:
- new_control_tag (NewControlTag) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ControlTag
create_module()
This methods creates a new module.
-
Parameters:
- new_module_manifest (NewModuleManifest) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Module
create_multipart_upload()
Returns the metadata needed to perform a multipart upload for a given token with the SHA
-
Parameters:
- create_multipart_upload_request (CreateMultipartUploadRequest) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: CreateMultipartUploadResponse
create_operating_system()
This method creates a new operating system.
-
Parameters:
- new_operating_system (NewOperatingSystem) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: OperatingSystem
create_personal_access_token()
This method creates a personal access token.
-
Parameters:
- name (str) – The name of the personal access token. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PersonalAccessToken
create_snapshot()
This methods creates a new snapshot.
-
Parameters:
- configuration_id (str) – The id of the configuration to create a snapshot for. (required)
- new_snapshot (NewSnapshot) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ResponseCreateSnapshot
create_system()
This method creates a new system.
-
Parameters:
- new_system (NewSystem) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: System
create_tag()
This method creates a new snapshot tag.
-
Parameters:
- snapshot_id (str) – The id of the snapshot to create a tag for. (required)
- new_snapshot_tag (NewSnapshotTag) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SnapshotTag
create_tenant_public_key()
Creates a tenant public key.
-
Parameters:
- public_key_file (bytearray) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: TenantPublicKey
create_tool()
This method creates a new tool.
-
Parameters:
- new_tool (NewTool) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Tool
create_tool_versions()
This method creates a new tool version.
-
Parameters:
- tool_id (str) – The ID of the tool to add a version to. (required)
- new_tool_version (NewToolVersion) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ToolVersion
customer_usage_metrics()
This method is for customers to query their data for usage metrics.
-
Parameters:
- start (date) – YYYY-MM-DD (required)
- end (date) – YYYY-MM-DD (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: str
delete_agent_pool()
This method deletes an agent pool.
-
Parameters:
- agent_pool_id (str) – The ID of the agent pool to delete. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
delete_app_integration()
This method deletes a data integration by id.
-
Parameters:
- app_integration_id (str) – ID of the data integration to delete. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AppIntegration
delete_personal_access_token()
This method deletes a personal access token.
-
Parameters:
- pat_id (str) – The personal access token id. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: object
deprecate_module()
This method deprecates all versions of a module.
-
Parameters:
- module_id (str) – The id of the module to deprecate (required)
- deprecation_reason (DeprecationReason) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Module
deprecate_module_version()
This method deprecates a module version.
-
Parameters:
- module_version_id (str) – The id of the module version to deprecate (required)
- deprecation_reason (DeprecationReason) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ModuleVersion
fetch_function_auth_secret()
This method gets a function auth secret by id.
-
Parameters:
- auth_secret_id (str) – The function auth secret ID to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FunctionAuthSecret
finalize_multipart_upload()
Finalize a multipart upload for a given token with the SHA
-
Parameters:
- finalize_multipart_upload_request (FinalizeMultipartUploadRequest) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: object
find_function_auth_secret()
This method lists all function auth secrets that a user has access to.
-
Parameters:
- app_integration_id (str)
- auth_integration_type (AuthIntegrationType)
- function_auth_type (FunctionAuthType)
- expiration (datetime)
- latest (bool)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[FunctionAuthSecret]
generate_download_url()
Returns a temporary download url for tokenized resource with SHA value
-
Parameters:
- sha (str) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: TemporaryURL
generate_upload_url()
Returns a temporary upload url for token with sha
-
Parameters:
- sha (str) – (required)
- model_id (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: TemporaryURL
get_agent()
This method gets an agent by id.
-
Parameters:
- agent_id (str) – The ID of the agent to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Agent
get_agent_available_jobs()
This method gets the list of available jobs for an agent.
-
Parameters:
- agent_id (str) – The identifier for the agent (required)
- page (int) – Page number
- size (int) – Page size
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageJob
get_agent_display_name()
This method gets an agent’s display name.
-
Parameters:
- agent_id (str) – The ID of the agent to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentDisplayName
get_agent_modules()
This method gets an agent’s loaded modules.
-
Parameters:
- agent_id (str) – The ID of the agent to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentModules
get_agent_pool()
This method gets an agent pool by id.
-
Parameters:
- agent_pool_id (str) – The ID of the agent pool to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
get_agent_status()
This method gets an agent’s status.
-
Parameters:
- agent_id (str) – The ID of the agent to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentStatus
get_agent_status_retention_policy()
This method gets status retention policy duration in the registry for all agents
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentStatusRetentionDuration
get_app_integration()
This method gets data integration info by id.
-
Parameters:
- app_integration_id (str) – ID of the data integration to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AppIntegration
get_artifact()
This method gets an artifact from the database.
-
Parameters:
- artifact_id (str) – The id of the artifact to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Artifact
get_artifact_control_tagging_history()
This method gets the full history of control taggings added to and removed from an artifact.
-
Parameters:
- artifact_id (str) – The ID of the artifact to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ResourceControlTagging]
get_artifact_control_taggings()
This method gets a artifact’s active control taggings.
-
Parameters:
- artifact_id (str) – The ID of the artifact to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ResourceControlTagging]
get_auth_integration()
This method retrieves an AuthIntegration.
-
Parameters:
- auth_integration_id (str) – The unique name of the AuthIntegration to update (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AuthIntegration
get_author()
This method gets an author by id.
-
Parameters:
- author_id (str) – The author ID to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ModuleAuthor
get_comment()
This method gets a comment by id
-
Parameters:
- comment_id (str) – The ID of the comment to retrieve. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Comment
get_configuration()
This method gets a configuration by id.
-
Parameters:
- configuration_id (str) – The id of the configuration to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SystemConfiguration
get_control_tag()
This method gets a control tag by id.
-
Parameters:
- control_tag_id (str) – The ID of the control tag to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ControlTag
get_control_tag_revision_history()
Control tag revision history.
-
Parameters:
- control_tag_id (str) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ControlTagRevision]
get_current_user()
This method gets the current user.
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: User
get_file()
This method gets a file by id.
-
Parameters:
- file_id (str) – The id of the file to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
get_file_by_revision_id()
This method gets a file by revision id.
-
Parameters:
- revision_id (str) – The revision id of the file to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
get_file_control_tagging_history()
This method gets the full history of control taggings added to and removed from a file.
-
Parameters:
- file_id (str) – The ID of the file to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[FileControlTagging]
get_file_control_taggings()
This method gets a file’s active control taggings.
-
Parameters:
- file_id (str) – The ID of the file to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[FileControlTagging]
get_function()
This method gets a function by id.
-
Parameters:
- function_id (str) – ID of the function to get (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FunctionVersion
get_function_schema()
This method gets a function schema by id.
-
Parameters:
- function_schema_id (str) – ID of the function schema to get (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FunctionSchema
get_job()
This method gets a job by id.
-
Parameters:
- job_id (str) – The id of the job to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Job
get_model()
This method gets a model by id.
-
Parameters:
- model_id (str) – The model ID to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Model
get_model_control_tagging_history()
This method gets the full history of control taggings added to and removed from a model.
-
Parameters:
- model_id (str) – The ID of the model to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ResourceControlTagging]
get_model_control_taggings()
This method gets a model’s active control taggings.
-
Parameters:
- model_id (str) – The ID of the model to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ResourceControlTagging]
get_module()
This method gets a module by id
-
Parameters:
- module_id (str) – The id of the module to get (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Module
get_module_version()
This method gets a module version by id.
-
Parameters:
- module_version_id (str) – The id of the module version to get (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ModuleVersion
get_object_control_tags()
Get the active control tag assignments for an object
-
Parameters:
- object_type (ControlTaggingObjectType) – Type of object to get control tags for. This is a required field. (required)
- object_id (str) – ID of the object to get control tags for. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ControlTag]
get_operating_system()
This method gets an operating system by id.
-
Parameters:
- operating_system_id (str) – The operating system ID to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: OperatingSystem
get_revision()
This method gets a revision by id.
-
Parameters:
- revision_id (str) – The id of the revision to get (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FileRevision
get_snapshot()
This method gets a snapshot by id.
-
Parameters:
- snapshot_id (str) – The id of the snapshot to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Snapshot
get_system()
This method gets a system by id.
-
Parameters:
- system_id (str) – The id of the system to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: System
get_system_baseline()
This method gets the system baseline by system id.
-
Parameters:
- system_id (str) – The id of the system to get the baseline for. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SystemBaseline
get_tag()
This method gets a snapshot tag by id.
-
Parameters:
- tag_id (str) – The id of the tag to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SnapshotTag
get_tenant_public_key()
Gets a tenant public key.
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: TenantPublicKey
get_tool()
This method gets a tool by id
-
Parameters:
- tool_id (str) – The ID of the tool to get. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Tool
get_tool_version()
This method gets a tool version by id.
-
Parameters:
- tool_version_id (str) – The tool version ID to get (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ToolVersion
get_upstream_remote_sync()
This method retrieves the status of an upstream remote sync.
-
Parameters:
- upstream_remote_sync_id (str) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: UpstreamRemoteSync
get_user_by_id()
This method gets a user by id.
-
Parameters:
- user_id (str) – The id of the user. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: User
get_user_control_tagging_history()
This method gets the full history of control taggings added to and removed from a user.
-
Parameters:
- user_id (str) – The ID of the user to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[UserControlTagging]
get_user_control_taggings()
This method gets a user’s active control taggings.
-
Parameters:
- user_id (str) – The ID of the user to get. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[UserControlTagging]
list_access()
This method lists access for a resource or file.
-
Parameters:
- resource_type (AccessResourceType) – The type of the resource. (required)
- resource_id (str) – The id of the resource. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
list_agent_pool_agents()
This method lists agent memberships in detail for an agent pool.
-
Parameters:
- agent_pool_id (str) – The id of the agent pool to list agents for (required)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAgentPoolAgentMembershipWithAgent
list_agent_pool_users()
This method lists user memberships in detail for an agent pool.
-
Parameters:
- agent_pool_id (str) – The id of the agent pool to list users for (required)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAgentPoolUserMembershipWithUser
list_agent_pools()
This method lists all agent pools a user has access to.
-
Parameters:
- all_users (bool) – Show agent pools owned by all users (requires admin privileges)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAgentPool
list_agent_status_history()
This method lists an agent’s status history.
-
Parameters:
- agent_id (str) – The ID of the agent to get. (required)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAgentStatus
list_agents()
This method lists all agents a user has access to.
-
Parameters:
- agent_version (str) – Filter by the agent version
- host_os (str) – Filter by the host OS
- updated_since (datetime) – Filter by last update time of agent
- module_name (str) – Filter by name of module loaded on the agent
- module_version (str) – Filter by version of module loaded on the agent
- status_name (AgentStatusName) – Filter by the agent status name
- tenant_id (str) – Filter by tenant ID
- all_tenants (bool) – Show agents across all tenants (customer admin only)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAgent
list_app_integrations()
This method lists data integration info a use has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAppIntegration
list_artifact_access()
(Deprecated) This method lists all access to an artifact. It is deprecated. Use list_access instead.
-
Parameters:
- artifact_id (str) – The id of the artifact to get access for. This is a required field. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
list_artifact_comments()
This method lists all comments a user has access to for an artifact.
-
Parameters:
- artifact_id (str) – The id of the artifact to get comments for. This is a required field. (required)
- page (int) – Page number
- size (int) – Page size
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageComment
list_artifacts()
This method lists all artifacts a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- filter_by (FilterBy) – Filter artifacts by created by user or shared with user. (created_by_id, -created_by_id)
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageArtifact
list_auth_integrations()
This method lists all AuthIntegrations a user has access to.
-
Parameters:
- auth_integration_type (AuthIntegrationType)
- auth_type (FunctionAuthType)
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- page (int) – Page number
- size (int) – Page size
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageAuthIntegration
list_authors()
This method lists all authors a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageModuleAuthor
list_control_tags()
List all control tags
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ControlTag]
list_files()
This method lists all files that a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- filter_by (FilterBy) – Filter results by models that were created by the user (created_by_id) or shared with the user (-created_by_id).
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageFile
list_functions()
This method lists all functions a user has access to.
-
Parameters:
- name (str) – Filter functions by name
- module_version (str) – Filter functions by module version
- tool (str) – Filter functions by tool name
- tool_version (str) – Filter functions by tool version
- operating_system (str) – Filter functions by operating system
- input_extension (str) – Filter functions by input file extension
- input_user_models (UserModelInputs) – Filter functions by input user models (single, multiple)
- status (UsabilityStatusParams) – Filter functions by usability status (supported, deprecated, all)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageFunctionVersion
list_job_access()
(Deprecated) This method lists all access to a job. It is deprecated. Use list_access instead.
-
Parameters:
- job_id (str) – The id of the job to list access permissions for. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
list_jobs()
This method lists the jobs that a user has access to.
-
Parameters:
- model_id (str) – Filter jobs by model id
- status_name (JobStatusName) – Filter jobs by status name
- all_users (bool) – Show jobs owned by all users (requires admin privileges)
- page (int) – Page number
- size (int) – Page size
- archive_status (ArchiveStatus) – Filter jobs by archive status
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageJob
list_model_access()
(Deprecated) This method lists all access to a model. It is deprecated. Use list_access instead.
-
Parameters:
- model_id (str) – The id of the model to list access permissions for. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
list_model_artifacts()
This method lists all artifacts a user has access to for a model.
-
Parameters:
- model_id (str) – The id of the model to list artifacts for. (required)
- page (int) – Page number
- size (int) – Page size
- filter_by (FilterBy) – Filter model artifacts by created by user or shared with user (created_by_id, -created_by_id)
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageArtifact
list_model_comments()
This method lists all comments a user has access to for a model.
-
Parameters:
- model_id (str) – The model ID to which the comment belongs. (required)
- page (int) – Page number
- size (int) – Page size
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageComment
list_model_jobs()
This method lists all jobs a user has access to for a model.
-
Parameters:
- model_id (str) – The id of the model to list jobs for. (required)
- status_name (JobStatusName) – Filter results by job status name
- page (int) – Page number
- size (int) – Page size
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageJob
list_models()
This methods lists all models a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- filter_by (FilterBy) – Filter results by models that were created by the user (created_by_id) or shared with the user (-created_by_id).
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageModelListItem
list_module_versions()
This method list all module versions a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageModuleVersion
list_modules()
This method lists all modules a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageModule
list_operating_systems()
This method lists all operating systems a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageOperatingSystem
list_personal_access_tokens()
This method lists all personal access tokens a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PagePersonalAccessToken
list_resource_type_permissions()
This method lists all permissions of a type for a user for all resources of a type.
-
Parameters:
- subject_type (PermissionSubjectType) – The type of the subject to get permissions for. (required)
- subject_id (str) – The id of the subject to get permissions for. (required)
- resource_type (PermissionResourceType) – The type of the resources to get permissions for. (required)
- permission (Permission) – The type of the permissions to list. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[Permissionship]
list_resources()
This method lists all resources a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- id (List [**Optional [**str ] ]) – A list of resource IDs to filter on
- file_name (List [**Optional [**str ] ]) – A list of file names to filter on (single value performs a like comparison)
- type_name (List [**ResourceType ]) – A list of resource types to filer on
- description (List [**str ]) – A list of file descriptions to filter on (single value performs a like comparison)
- version_name (List [**str ]) – A list of file version names to filter on (single value performs a like comparison)
- external_identifier (List [**str ]) – A list of file external identifiers to filter on (single value performs a like comparison)
- display_name (List [**str ]) – A list of file display names to filter on (single value performs a like comparison)
- mime_type (List [**str ]) – A list of file mime types to filter on
- file_size (List [**int ]) – A list of file sizes to filter on
- created_timestamp (List [**Optional [**datetime ] ]) – A list of file creation timestamps to filter on
- updated_timestamp (List [**datetime ]) – A list of file update timestamps to filter on
- created_by_id (List [**str ]) – A list of user IDs that created the file to filter on
- updated_by_id (List [**str ]) – A list of user IDs that updated the file to filter on
- archive_status (List [**ArchiveStatusName ]) – A list of archive statuses to filter on
- access_type (BulkSharingAccessRelation) – Filter resources by access type - only show resources where user has VIEWER or EDITOR access
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageResourceSearchItem
list_snapshot_items()
This method lists all the snapshot items a user has access to.
-
Parameters:
- snapshot_id (str) – The id of the snapshot to list items for. (required)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageSnapshotItem
list_snapshot_revisions()
This method gets a snapshot’s revisions.
-
Parameters:
- snapshot_id (str) – The id of the system snapshot to list revisions for. (required)
- page (int) – Page number
- size (int) – Page size
- name (List [**str ]) – A list of file names to filter on (single value performs a like comparison)
- extension (List [**str ]) – A list of file extensions to filter on (single value performs a like comparison)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageSnapshotRevisionSearchItem
list_snapshots()
This method lists all the snapshots a user has access to
-
Parameters:
- system_id (str) – The id of the system to filter snapshots by
- configuration_id (str) – The id of the configuration to filter snapshots by
- tag (str) – The tag to filter snapshots by
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageSnapshot
list_system_configurations()
This method lists all the system configurations a user has access to.
-
Parameters:
- system_id (str) – The id of the system to list configurations for. (required)
- page (int) – Page number
- size (int) – Page size
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageSystemConfiguration
list_systems()
This method lists all the systems a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- filter_by (FilterBy) – Filter results by systems that were created by the user (created_by_id) or shared with the user (-created_by_id).
- archive_status (ArchiveStatus) – Filter results by archive status (active, archived, all)
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageSystem
list_tags()
This method lists all the snapshot tags a user has access to.
-
Parameters:
- system_id (str) – The id of the system to filter tags by
- configuration_id (str) – The id of the configuration to filter tags by
- snapshot_id (str) – The id of the snapshot to filter tags by
- archive_status (ArchiveStatus)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageSnapshotTag
list_tenants()
This method lists all tenants (admin only).
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageTenant
list_tool_versions()
This method lists all tool versions a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageToolVersion
list_tools()
This method list all tools a user has access to
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- include (List [**ToolInclude ]) – Whether to include functions in response
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageTool
list_tracked_files()
This methods list all the tracked files for a configuration that the user has access to.
-
Parameters:
- configuration_id (str) – The id of the configuration to list tracked files for. (required)
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageTrackedFile
list_upstream_remotes()
This method retrieves a list of upstream remotes that a user has access to.
-
Parameters:
- page (int) – Page number
- size (int) – Page size
- sort (str)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageUpstreamRemote
list_users()
This method lists all users a user has access to.
-
Parameters:
- user_state (UserStateOption) – Filter users by state (active or all).
- user_type (UserType) – Filter users by type (human, agent or all).
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[User]
liveness_check()
Liveness probe
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: HealthcheckReport
patch_artifact_access()
(Deprecated) This method updates access to an artifact. It is deprecated. Use update_access instead.
-
Parameters:
- artifact_id (str) – The id of the artifact to update access for. This is a required field. (required)
- access_relationship (AccessRelationship) – (required)
- patch_op (PatchOp) – The operation to perform on the access relationship. This is a required field.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
patch_artifact_control_taggings()
This method adds or removes control tags on a artifact.
-
Parameters:
- artifact_id (str) – The ID of the artifact to get. This is a required field. (required)
- request_body (List [**str ]) – (required)
- patch_op (PatchOp) – The operation to perform. This is a required field.
- reason (str) – The reason for the change. This is an optional field.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ResourceControlTagging]
patch_file_control_taggings()
This method adds or removes control tags on a file.
-
Parameters:
- file_id (str) – The ID of the file to get. This is a required field. (required)
- request_body (List [**Optional [**str ] ]) – (required)
- patch_op (PatchOp) – The operation to perform. This is a required field.
- reason (str) – The reason for the change. This is an optional field.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[FileControlTagging]
patch_job_access()
(Deprecated) This method updates access to a job. It is deprecated. Use update_access instead.
-
Parameters:
- job_id (str) – The id of the job to modify access permissions on (required)
- access_relationship (AccessRelationship) – (required)
- patch_op (PatchOp) – The operation to perform on the access relationship.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
patch_model_access()
(Deprecated) This method updates access to a model. It is deprecated. Use update_access instead.
-
Parameters:
- model_id (str) – The id of the model to update access for. (required)
- access_relationship (AccessRelationship) – (required)
- patch_op (PatchOp) – The operation to perform on the access relationship.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
patch_model_control_taggings()
This method adds or removes control tags on a model.
-
Parameters:
- model_id (str) – The ID of the model to add or remove taggings. This is a required field. (required)
- request_body (List [**str ]) – (required)
- patch_op (PatchOp) – The operation to perform. This is a required field.
- reason (str) – The reason for the change. This is an optional field.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[ResourceControlTagging]
patch_user_control_taggings()
This method adds or removes control tags on a user.
-
Parameters:
- user_id (str) – The ID of the user to get. This is a required field. (required)
- request_body (List [**str ]) – (required)
- patch_op (PatchOp) – The operation to perform. This is a required field.
- reason (str) – The reason for the change. This is an optional field.
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[UserControlTagging]
readiness_check()
Readiness probe
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: HealthcheckReport
register_agent()
This method registers a new agent.
-
Parameters:
- new_agent (NewAgent) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Agent
remove_access()
This method removes access to a resource or file.
-
Parameters:
- subject_type (AccessSubjectType) – The type of the subject to remove. (required)
- subject_id (str) – The id of the subject to remove. (required)
- resource_type (AccessResourceType) – The type of the resource to remove. (required)
- resource_id (str) – The id of the resource to remove. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: object
remove_agent_pool_agent()
This method deletes an agent’s membership in an agent pool.
-
Parameters:
- agent_pool_id (str) – The ID of the agent pool to remove the agent from. (required)
- agent_id (str) – The ID of the agent to delete. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
remove_agent_pool_user()
This method deletes a user’s membership in an agent pool.
-
Parameters:
- agent_pool_id (str) – The ID of the agent pool to remove the user from. (required)
- user_id (str) – The ID of the user to delete. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
remove_job_assigned_agent()
This method removes the assigned agent from a job.
-
Parameters:
- job_id (str) – The id of the job to remove the assigned agent from. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Job
restore_artifact()
This method restores an artifact by updating it’s archive status to Active.
-
Parameters:
- artifact_id (str) – The id of the artifact to restore. This is a required field. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Artifact
restore_comment()
This method restores a comment by updating it’s archive status to Active.
-
Parameters:
- comment_id (str) – The ID of the comment to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Comment
restore_configuration()
This method restores a configuration by updating it’s archive status to Active.
-
Parameters:
- configuration_id (str) – The id of the configuration to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SystemConfiguration
restore_file()
This method restores a file by updating it’s archive status to Active.
-
Parameters:
- file_id (str) – The id of the file to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
restore_file_revision()
This method restores a FileRevision by updating it’s archive status to Active.
-
Parameters:
- revision_id (str) – The id of the file revision to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FileRevision
restore_job()
This method restores a job by updating it’s archive status to Active.
-
Parameters:
- job_id (str) – The id of the job to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Job
restore_model()
This method restores a model by updating it’s archive status to Active.
-
Parameters:
- model_id (str) – The id of the model to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Model
restore_system()
This method restores a system by updating it’s archive status to Active.
-
Parameters:
- system_id (str) – The id of the system to restore. (required)
- restore (Restore)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: System
restore_tag()
This method restores a snapshot tag by updating it’s archive status to Active.
-
Parameters:
- tag_id (str) – The id of the tag to restore. (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SnapshotTag
revoke_all_personal_access_tokens()
This method revokes all personal access tokens.
-
Parameters: http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: object
search_resources()
This method does a full text search on resources.
-
Parameters:
- full_text_search (FullTextSearch) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: PageTypeVarCustomizedResourceSearchItem
set_agent_status_retention_policy()
This method sets status retention policy duration in the registry for all agents
-
Parameters:
- new_agent_status_retention_duration (NewAgentStatusRetentionDuration) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentStatusRetentionDuration
sync_upstream_remotes()
This method triggers a data sync with an upstream remote.
-
Parameters:
- create_upstream_remote_sync (CreateUpstreamRemoteSync) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: UpstreamRemoteSync
transfer_revision_to_existing_artifact()
This method transfers a revision to an existing artifact. The original revision that was copied will be archived and no longer active.
-
Parameters:
- revision_id (str) – The id of the revision to transfer (required)
- artifact_id (str) – The id of the artifact to transfer the revision to (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FileRevision
transfer_revision_to_existing_file()
This method transfers a file revision to an existing file. The original revision that was copied will be archived and no longer active.
-
Parameters:
- revision_id (str) – The id of the revision to transfer (required)
- file_id (str) – The id of the file to transfer the revision to (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
transfer_revision_to_new_artifact()
This method transfers a revision to a new artifact. The original revision that was copied will be archived and no longer active.
-
Parameters:
- revision_id (str) – The id of the revision to transfer (required)
- model_id (str) – The id of the model to transfer the revision to (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: FileRevision
transfer_revision_to_new_file()
This method transfers a file revision to a new file. The original revision that was copied will be archived and no longer active.
-
Parameters:
- revision_id (str) – The id of the revision to transfer (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: File
update_access()
This method updates access to a resource or file.
-
Parameters:
- subject_type (AccessSubjectType) – The type of the subject to update. (required)
- subject_id (str) – The id of the subject to update. (required)
- resource_type (AccessResourceType) – The type of the resource to update. (required)
- resource_id (str) – The id of the resource to update. (required)
- update_access_relationship (UpdateAccessRelationship) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AccessRelationship
update_access_for_resource_type()
This method updates access to resources of a type.
-
Parameters:
- subject_type (AccessSubjectType) – The type of the subject to update. (required)
- subject_id (str) – The id of the subject to update. (required)
- resource_type (AccessResourceType) – The type of the resources to update. (required)
- update_access_relationship_list (UpdateAccessRelationshipList) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: List[AccessRelationship]
update_agent_display_name()
This method updates an agent’s display name.
-
Parameters:
- agent_id (str) – The ID of the agent to update. (required)
- new_agent_display_name (NewAgentDisplayName) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Agent
update_agent_information()
This method updates an agent’s information.
-
Parameters:
- agent_id (str) – The ID of the agent to update. (required)
- new_agent_information (NewAgentInformation) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Agent
update_agent_modules()
This method updates an agent’s loaded modules.
-
Parameters:
- agent_id (str) – The ID of the agent to update. (required)
- new_agent_module_version (List [**NewAgentModuleVersion ]) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Agent
update_agent_pool()
This method updates an agent pool’s information.
-
Parameters:
- agent_pool_id (str) – The id of the agent pool to update (required)
- new_agent_pool (NewAgentPool) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
update_agent_pool_agent()
This method adds or updates an agent’s membership in an agent pool.
-
Parameters:
- agent_pool_id (str) – The id of the agent pool to update (required)
- new_agent_pool_agent_membership (NewAgentPoolAgentMembership) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
update_agent_pool_user()
This method adds or updates a user’s membership in an agent pool.
-
Parameters:
- agent_pool_id (str) – The id of the agent pool to update (required)
- new_agent_pool_user_membership (NewAgentPoolUserMembership) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AgentPool
update_agent_status()
This method updates an agent’s status.
-
Parameters:
- agent_id (str) – The ID of the agent to update. (required)
- new_agent_status (NewAgentStatus) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Agent
update_app_integration()
This method updates a data integration.
-
Parameters:
- app_integration_id (str) – ID of the data integration to update. This is a required field. (required)
- new_app_integration (NewAppIntegration) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: AppIntegration
update_author()
This method updates an author.
-
Parameters:
- author_id (str) – The author ID to update. (required)
- new_module_author (NewModuleAuthor) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ModuleAuthor
update_control_tag()
This method updates an existing control tag.
-
Parameters:
- update_control_tag (UpdateControlTag) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: ControlTag
update_job_assigned_agent()
This method updates the assigned agent for a job.
-
Parameters:
- job_id (str) – The id of the job to update the assigned agent for. (required)
- new_job_assigned_agent (NewJobAssignedAgent) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Job
update_job_status()
This method updates the status of a job.
-
Parameters:
- job_id (str) – The id of the job to update (required)
- status_name (JobStatusName) – The new status name to update the job with. (required)
- agent_id (str) – An optional id for the agent.
- job_status_message (JobStatusMessage)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Job
update_operating_system()
This method updates an existing operating system.
-
Parameters:
- operating_system_id (str) – The id of the operating system to update. (required)
- new_operating_system (NewOperatingSystem) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: OperatingSystem
update_system()
This method updates an existing system.
-
Parameters:
- system_id (str) – The id of the system to update. (required)
- update_system (UpdateSystem) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: System
update_tag()
This method updates an existing snapshot tag by moving it to a different snapshot.
-
Parameters:
- tag_id (str) – The id of the tag to update. (required)
- update_tag (UpdateTag) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: SnapshotTag
update_tool()
This method updates a tool.
-
Parameters:
- tool_id (str) – The ID of the tool to update. (required)
- update_tool (UpdateTool) – (required)
- http_request_timeout_secs (int , optional) – timeout setting for this request
-
Return Type: Tool