I am trying to access agent information using pref...
# prefect-community
r
I am trying to access agent information using prefect client but it is throwing error. Am i doing it correctly? I have tried using both
access_token
and key created via service accounts. Both of them did not work.
a
Can you share your
prefect diagnostics
output? Also, can you explain your use case? What would be your end goal when retrieving the agent config?
Related discussion - quite likely that you may solve your problem just using the prebuilt
create_flow_run
task