Help Center/ModelArts/SDK Reference/Data Management/Managing Dataset Import Tasks/Querying the Status of a Dataset Import Task
Updated on 2025-08-20 GMT+08:00
Querying the Status of a Dataset Import Task
Obtain the status and details of a dataset import task based on the task ID.
dataset.get_import_task_info(task_id)
Sample Code
Obtain details about a dataset import task.
from modelarts.session import Session from modelarts.dataset import Dataset session = Session() dataset = Dataset(session, dataset_id) task_info = dataset.get_import_task_info(task_id="r4R52nJ4VJKcivuioCU") print(task_info) # Print the detailed information about the import task.
Parameters
Parameter | Mandatory | Type | Description |
|---|---|---|---|
task_id | Yes | String | ID of an import task |
Parent topic:Managing Dataset Import Tasks
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.

