Web.get_info?#
Date |
Category |
|---|---|
2025-09-29 13:30:44 |
Web API |
The web.get_info function retrieves detailed information about a simulation.
Given a task_id (returned when you upload a simulation), get_info returns a TaskInfo object. This object includes details such as whether the task is running or completed and how many FlexCredits were consumed. Itβs useful for monitoring progress or checking costs after a run.
Parameters#
task_id (str): Unique identifier of the task on the server (returned by
web.upload).verbose (bool, default=True): If
True, prints progress bars and status updates. IfFalse, runs silently.
Returns#
TaskInfo: An object containing status, size, and credit information for the task.
Example#
from tidy3d import web
# Get task information
info = web.get_info(task_id)
print(info.status) # e.g., "success"
print(info.realCost) # e.g., 0.025