https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Adrien

09/09/2022, 9:13 AM
👋 Hi everyone! We're looking at integrating Dagster Cloud Serverless data for our organisation for analysis; we're interested in all numbers we can get, including historical #runs, #assets, #*failed materializations*, any billing information, etc. I was looking at the website for any API information for this type of organisation data, which would actually sound like
dagster-daemon
history type of data, only in the Cloud Serverless environment, but I can't find anything. Is anyone aware of any such API?
for instance we'd be keen to have an in-house report that present the average duration of Dagster cloud serverless runs
Looking at the architecture diagrams, I guess we're really looking for the GraphQL API specs that the interface queries or something.
d

daniel

09/09/2022, 3:02 PM
Hi Adrien - I think the GraphQL API is indeed what you're looking for here: https://docs.dagster.io/concepts/dagit/graphql#graphql-api There's a playground view that works in Dagster Cloud as well that lets you explore the schema, and some example queries on that page: https://docs.dagster.io/concepts/dagit/graphql#using-the-graphql-playground
You can also interact with it programatically from Python if you add a
Copy code
Dagster-Cloud-Api-Token
header to the request that uses a Dagster Cloud user API token: https://docs.dagster.io/dagster-cloud/account/managing-user-agent-tokens#managing-user-tokens
a

Adrien

09/09/2022, 3:24 PM
Ha! Amazing, thanks for all the information, that looks like what we're looking for. Will have a play with it 🙏
condagster 1
2 Views