Enable Airflow API in a local Astro Dev instance

I need to test some Airflow API calls i am using in a DAG, but i can not figure out how to access the api on my local instance, and i am not seeing any documentation on local instances. I can hit the endpoint, but it says unauthorized.

As soon as i finished this post, i had the thought about seeing if the api takes user and password. That did it. So in postman i used Basic Auth with the default admin password to access the endpoint. Hope this helps someone in the future.

1 Like