Running Applications on C0 and C0 Pro Cores
Once you have successfully authenticated yourself and obtained an access token (see Authentication), you can use it to run applications on the Signaloid Cloud Compute Engine via the API. The base URL for the Signaloid Cloud Compute Engine API is api.signaloid.io
.
Application Execution Flow
To run an application task on the Signaloid Cloud Compute Engine you need to have completed successfully a build of your application on the Signaloid Cloud Compute Engine. A successful build will generate a BuildID
which you can use to run your application on the Signaloid Cloud Compute Engine. With a BuildID
you can use the Signaloid API to:
- Run the build, by submitting a task request to
builds/{build_id}/tasks
and get back a valid, uniqueTaskID
(see here). - Poll the status of the task run using
/tasks/{task_id}
(see here). - Retrieve the standard output streams of the task using
/tasks/{task_id}/outputs
(see here). - Optionally, post-process the output of the task to generate plots or samples of distributions (see here).
The steps above are carried out by a user-facing application that can be written in any language; we provide examples written in Typescript and in Bash using cURL.