Code Pipeline's Rest API is documented in Swagger, a commonly used format. The Rest API is hosted in BMC AMI Common Enterprise Services(CES), which connects to the underlying mainframe products to perform various actions on the mainframe.
The APIs use a token based authentication for securely accessing the mainframe. Please visit the CES Credentials for more information about setting up a Personal Access Token for the APIs.