in the prefect 1 graphql api, is there any way to ...
# ask-community
t
in the prefect 1 graphql api, is there any way to query all tenants using one api key? or is one api key only able to query one tenant? I'd like to make a table that logs all of our flow runs and want to make sure I structure things correctly
1
b
Hi Tomas, if I'm understanding your question correctly, you can query all tenants you are part of using the following query
Copy code
{ tenant {
	name,
	id }}
I believe you can do this all from one API key