In the REST API docs for version 2, is there a cha...
# prefect-community
t
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
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
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
Ahh ok, yeah we are using it but we need a better overview/dashboard so we need to access the api.
a
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
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
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