Have any example on how to add kable to a graphql API?
Kable can be accessed through our Node and Python libraries (more languages on the way) or over HTTPS REST API. I will have to defer to your design sense about the best way to leverage these technologies with a GraphQL API today.
This means to record for billing, you would need to parse the AST and tag the parts as well as their associated cost in a query.
It's not an easy drop in, unfortunately.