# Accessing task results locally

Looking for the latest Prefect 2 release? Prefect 2 and Prefect Cloud 2 have been released for General Availability. See https://docs.prefect.io/ for details.

When working on your flows locally Prefect makes it easy to retrieve the results from your individual tasks in the flow. This is done by grabbing the .result attribute from states. Calling flow.run returns the flow's final state which can be used to retrieve results from all of the tasks in the flow.

Local Only

This currently does not cover retrieving result values when running in the context of an API backend run using Prefect Core's server or Prefect Cloud.