CDO has published its public API and provided you with documentation, examples, and a playground to try things out. The goal of our public API is to provide you with a simple and effective way to perform a lot of what you would normally be able to do in the CDO UI, but in code.
To use this API, you will need to know GraphQL. Their official guide (https://graphql.org/learn/) provides a thorough, light read.
To find the full schema documentation, go to the GraphQL Playground, and click the docs tab on the right side of the page.
You can launch the CDO Public API by selecting it from the user menu.