https://prefect.io logo
Title
t

Tim Helfensdörfer

06/08/2022, 2:52 PM
In the REST API docs for version 2, is there a chapter about authentication I am missing? https://orion-docs.prefect.io/api-ref/rest-api/
1
Not sure about your exact question though since I thought you are using Cloud 2.0
t

Tim Helfensdörfer

06/08/2022, 3:50 PM
Is cloud 2 the web interface?
If this was your question, then I can only say that we need some basic features which doesn't work/exist at the moment. Like a good overview of past flows or a functioning search. So we are mirroring the dashboard. I already found the authentication stuff in the prefect Python client (Authorization: Baerer Header).
a

Anna Geller

06/08/2022, 4:09 PM
Cloud 2.0 is beta.prefect.io - our Cloud orchestration product which already includes authentication I would love to hear more about what you are trying to accomplish purely on a business level without talking about features - perhaps your use case is already possible
t

Tim Helfensdörfer

06/08/2022, 4:48 PM
Ahh ok, yeah we are using it but we need a better overview/dashboard so we need to access the api.
a

Anna Geller

06/08/2022, 6:15 PM
You can interact with the API directly from Python using the Orion client - the docs link you sent has a reference to the Client
t

Tim Helfensdörfer

06/09/2022, 7:04 AM
Yeah, but some methods are not implemented yet, e.g. I can create a block document but not delete one. Just as one example.
a

Anna Geller

06/09/2022, 10:49 AM
Blocks are quite advanced concept - the idea behind blocks is that you would interact with it only from the UI (on the roadmap)- they are a bit complex so use the underlying API at your own risk if you understood how it all works together
👍 1