# ask-the-community

Justin Boutwell

05/03/2023, 4:59 PM
I'm looking to interact with the flyte REST API and admin database to be able to query for execution input / output data. I have 2 questions: 1. How to query input / output data from the database? I can find references to proto input files, but can't find any reference to where the outputs exist. I also wonder if there is an example of decoding the downloaded proto files. 2. How to authenticate the REST API? I found the API swagger docs, but I neither see examples of using the API or how to authenticate. I can generate JWT's easily enough against our IdP, but passing that as a standard Authorization header doesn't appear sufficient.

Maarten de Jong

05/04/2023, 5:59 AM
For 1. you're probably looking at the following endpoint which provides a JSON of
. Note these are in their literal state so parsing them into 'usable' values might require some work.
Copy code