https://prefect.io logo
Title
t

Tomas Moreno

12/12/2022, 10:58 PM
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

Bianca Hoch

12/14/2022, 10:07 PM
Hi Tomas, if I'm understanding your question correctly, you can query all tenants you are part of using the following query
{ tenant {
	name,
	id }}
I believe you can do this all from one API key