Endpoint to retrieve a specific task by its unique ID.
Args: task_id (str): The unique identifier of the task to retrieve.
Returns:
Task: A Task object matching the provided ID.
Raises: HTTPException 404: If no task is found with the specified ID.
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Successful Response
The Task name.
User who created the task
Next scheduled execution time (UTC)
Unique identifier for the task
Task visibility: 'private' (default) or 'public'
private, public The initial user input for the task, default is None
Optional schedule information for the task
Task state: 'enabled' (default) or 'disabled'
disabled, enabled Task category