Hi Everyone, does anyone know how to get the resul...
# ask-community
c
Hi Everyone, does anyone know how to get the results for each task to be displayed on the UI?
n
hi @Charles Leung - do you mean the actual result values? the API does not store those
c
yeah
ah okay - ill have to grab it from the DB then huh
n
sorry, I mean Prefect in general does not store the results of your tasks, only references (result_storage_key) to where they live on your infra
c
I see, so if its saved as a json for example, the results will be there instead
theres no way for it to be shown on the UI?
n
if you say
persist_result=True
it will be saved to whatever result storage you have, by default local storage at like
~/.prefect/storage/*
wherever you're running but you can set that on a per task basis or set
PREFECT_DEFAULT_RESULT_STORAGE_BLOCK=s3/some-block
as needed if you want stuff in the UI I'd check out artifacts, which are meant to be displayed in the UI
c
ah gotcha! Thank you 🙂 , we just wanted a log of results for every task/subflow
Artifacts sounds pretty useful for our situation then