Ofir Or
10/30/2023, 2:26 PMheaders = {"x-prefect-api-version": "2.14.0"}
read = (
f"<https://api.prefect.cloud/api/accounts/{ACCOUNT_ID}/workspaces/{WORKSPACE_ID}/work_pools/{work_pool_name}>"
)
response = requests.get(read, headers=headers)
print(f"{response} {response.json()} {response.headers}")
Kevin Grismore
10/30/2023, 2:55 PMrequests
example anywhere but you may find this curl example helpful.Ofir Or
10/30/2023, 2:56 PMKevin Grismore
10/30/2023, 2:57 PM