API

The Application Programming Interface (API) in Cobra lets you run one or more processes automatically and without user intervention, from beginning to end.

Consider the following points when using the API:

  • Cobra can define up to 999 processes within a single API script.
  • You can run processes using the API on batch servers, where you can schedule processes to run automatically and without user intervention.
  • An API script is a simple ASCII text file. To run a process using the API, you specify the API script on the API command line.
  • The Settings section in the API script is used to define settings that affect all processes that are defined in that script.
  • When you run an API process, Cobra saves all logs in the database. This allows a user who is responsible for a Cobra project to quickly retrieve relevant information to resolve errors that occur.
  • You need multiple Cobra licenses to run an API process. If you try to run an API process while logged into Cobra using the same user ID, you will not be able to run the API process.
  • To run an API process, you need to have access to the API script file and files to import.