Signaloid Cloud Compute Engine API (0.8.0)
Download OpenAPI specification:Download
This is the Signaloid Cloud Compute Engine API OpenAPI specification. Signaloid provides a computing platform to quantify, transmit, and track data uncertainty dynamically and throughout computations in unmodified computing workloads. The Signaloid Cloud Compute Engine API enables you to interface with the Signaloid Cloud Compute Engine programmatically.
The Signaloid Cloud Compute Engine API currently offers authentication
using API keys. Authentication is required for all API requests and the
request must include the API key it in the Authentication
header.
Read more about how to obtain a API key in the
Authentication guide.
The Signaloid Cloud Compute Engine API is in beta. We make every effort to maintain backwards compatibility, but we reserve the right to make breaking changes to the API while still in beta. We will announce breaking changes in the Signaloid Cloud Platform Release Notes.
The current page is the API reference. For more information about how to use the Signaloid Cloud API in your application and combine different requests, see the API Guides.
List Cores
Returns the list of custom Signaloid cores available to the account. The response does not include the default cores available to all accounts.
Authorizations:
query Parameters
default | boolean By default this API will return your custom cores. By providing this parameter you will get back the default cores, created and managed by Signaloid for you. |
Responses
Response samples
- 200
- 401
- 404
- 500
{- "UserID": "usr_b0bf834b1ec54d6cb332cc1300efdcba",
- "Count": 3,
- "ContinuationKey": "cor_051481609fe04665b576ab066e378257",
- "Cores": [
- {
- "Object": "Core",
- "CoreID": "cor_051481609fe04665b576ab066e378257",
- "Owner": "usr_b0bf834b1ec54d6cb332cc1300efdcba",
- "CreatedAt": 1670405103,
- "UpdatedAt": 1670405103,
- "Name": "My Custom Athens Core",
- "Class": "C0",
- "Microarchitecture": "Athens",
- "CorrelationTracking": "disable",
- "MemorySize": 2000000,
- "Precision": 32
}, - {
- "Object": "Core",
- "CoreID": "cor_3c336f8d8dd343a2b91ca278de0ba32c",
- "Owner": "usr_b0bf834b1ec54d6cb332cc1300efdcba",
- "CreatedAt": 1669821723,
- "UpdatedAt": 1669908393,
- "Name": "Custom Reference Core",
- "Class": "C0",
- "Microarchitecture": "Reference",
- "CorrelationTracking": "disable",
- "MemorySize": 32000000,
- "Precision": 8
}, - {
- "Object": "Core",
- "CoreID": "cor_cd6071a8c67f4a8caad3a8950417d703",
- "Owner": "usr_b0bf834b1ec54d6cb332cc1300efdcba",
- "CreatedAt": 1669822394,
- "UpdatedAt": 1669822394,
- "Name": "Enceladus",
- "Class": "C0",
- "Microarchitecture": "Athens",
- "CorrelationTracking": "autocorrelation",
- "MemorySize": 2000000,
- "Precision": 512
}
]
}
Create Core
Creates a new custom Signaloid Core. The new Core becomes available to the account and is returned in the response.
Authorizations:
Request Body schema: application/json
Name required | string non-empty |
Class required | string Enum: "C0" "C0Pro" |
Precision required | integer [ 4 .. 1000000 ] The precision of the core. The minimum value is 4. The maximum value is 8000 for the Athens and Zurich Microarchitectures, and 1000000 (1M) for the Reference Microarchitecture. |
MemorySize required | integer [ 256000 .. 4000000000 ] |
Microarchitecture required | string (Microarchitecture) Enum: "Zurich" "Athens" "Bypass" "Reference" |
CorrelationTracking required | string (CorrelationTracking) Enum: "Autocorrelation" "Disable" The value is case-insensitive. |
Responses
Request samples
- Payload
{- "Name": "My New Custom Core",
- "Class": "C0",
- "Microarchitecture": "Athens",
- "CorrelationTracking": "autocorrelation",
- "MemorySize": 256000,
- "Precision": 128
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "Object": "Core",
- "CoreID": "cor_3ff9395ee9494f3d91a8e1b5999d737e",
- "Owner": "usr_b0bf834b1ec54d6cb332cc1300efdcba",
- "CreatedAt": 1677025457,
- "UpdatedAt": 1677025457,
- "Name": "My New Custom Core",
- "Class": "C0",
- "Microarchitecture": "Athens",
- "CorrelationTracking": "autocorrelation",
- "MemorySize": 256000,
- "Precision": 128
}
Get Core
Returns the custom Signaloid core identified by the CoreID
path
parameter.
Authorizations:
path Parameters
CoreID required | string (CoreID) cor_[a-z0-9]{32} The identifier of the Core resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "Object": "Core",
- "CoreID": "string",
- "Owner": "string",
- "Name": "string",
- "Class": "C0",
- "Precision": 4,
- "Microarchitecture": "Zurich",
- "MemorySize": 0,
- "CorrelationTracking": "Autocorrelation",
- "CreatedAt": 0,
- "UpdatedAt": 0
}
Delete Core
Permanently deletes the custom Signaloid core identified by the CoreID
parameter.
Authorizations:
path Parameters
CoreID required | string (CoreID) cor_[a-z0-9]{32} The identifier of the Core resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "message": "OK"
}
Update Core
Updates the custom Signaloid core identified by the CoreID
parameter.
This method is useful for updating the core of a specific CoreID
without having to edit integrations that use this core. The request must
change at least one of the editable Core properties for the Signaloid
Cloud API to accept it. The response is the edited core.
Authorizations:
path Parameters
CoreID required | string (CoreID) cor_[a-z0-9]{32} The identifier of the Core resource. |
Request Body schema: application/json
Name required | string non-empty |
Class required | string Enum: "C0" "C0Pro" |
Precision required | integer [ 4 .. 1000000 ] The precision of the core. The minimum value is 4. The maximum value is 8000 for the Athens and Zurich Microarchitectures, and 1000000 (1M) for the Reference Microarchitecture. |
MemorySize required | integer [ 256000 .. 4000000000 ] |
Microarchitecture required | string (Microarchitecture) Enum: "Zurich" "Athens" "Bypass" "Reference" |
CorrelationTracking required | string (CorrelationTracking) Enum: "Autocorrelation" "Disable" The value is case-insensitive. |
Responses
Request samples
- Payload
{- "Name": "string",
- "Class": "C0",
- "Precision": 4,
- "MemorySize": 256000,
- "Microarchitecture": "Zurich",
- "CorrelationTracking": "Autocorrelation"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "message": "OK"
}
List connected repositories
Returns the list of git repositories available to the account.
Authorizations:
Responses
Response samples
- 200
- 401
- 404
- 500
{- "UserID": "string",
- "Repositories": [
- {
- "Object": "Repository",
- "RepositoryID": "string",
- "Owner": "string",
- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "CreatedAt": 0,
- "UpdatedAt": 0
}
], - "Count": 0,
- "ContinuationKey": "string"
}
Connect a Repository
Creates a new connection to a git repository. The request must contain the URL of the repository, commit, branch, and build directory. The response is the created connected repository resource.
Authorizations:
Request Body schema: application/json
RemoteURL required | string <uri> The URL of the git repository. | ||||||
Commit required | string The commit hash to check out. | ||||||
Branch required | string The branch name to check out. | ||||||
BuildDirectory required | string The directory in the repository where the Signaloid Cloud Engine should use as working directory when attempting to build the repository application. This directory is relative to the root of the repository. | ||||||
Arguments | string Default command-line arguments that the Signaloid Cloud Engine should pass when executing the built repository application. | ||||||
Core | string (CoreID) cor_[a-z0-9]{32} | ||||||
Array of objects (DataSources) [ items [ 0 .. 5 ] items ] | |||||||
Array
| |||||||
Array of objects (TraceVariableRequest) The default variables that the Signaloid Cloud Compute Engine should trace when executing the Repository application. | |||||||
Array
|
Responses
Request samples
- Payload
{- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
]
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "Object": "Repository",
- "RepositoryID": "string",
- "Owner": "string",
- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "CreatedAt": 0,
- "UpdatedAt": 0
}
Get Repository
Returns the connected git repository resource identified by the
RepositoryID
parameter.
Authorizations:
path Parameters
RepositoryID required | string (RepositoryID) rep_[a-z0-9]{32} The identifier of the connected Repository resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "Object": "Repository",
- "RepositoryID": "string",
- "Owner": "string",
- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "CreatedAt": 0,
- "UpdatedAt": 0
}
Delete Repository
Permanently deletes the connected git repository resource identified by
the RepositoryID
parameter.
Authorizations:
path Parameters
RepositoryID required | string (RepositoryID) rep_[a-z0-9]{32} The identifier of the connected Repository resource. |
Responses
Response samples
- 200
- 401
- 404
- 500
{- "message": "OK"
}
Update Repository
Updates the connected git repository resource identified by the
RepositoryID
parameter. This method is useful for updating the
connected repository resource of a specific RepositoryID
(e.g., to
change the branch it points at) without having to edit integrations that
use this repository. The request must change at least one of the
editable repository properties for the Signaloid Cloud API to accept it.
The response is the edited repository resource.
Authorizations:
path Parameters
RepositoryID required | string (RepositoryID) rep_[a-z0-9]{32} The identifier of the connected Repository resource. |
Request Body schema: application/json
RemoteURL | string <uri> | ||||||
Commit | string | ||||||
Branch | string | ||||||
BuildDirectory | string The directory in the repository where the Signaloid Cloud Engine should use as working directory when attempting to build the repository application. This directory is relative to the root of the repository. | ||||||
Arguments | string Default command-line arguments that the Signaloid Cloud Engine should pass when executing the built repository application. | ||||||
Core | string (CoreID) cor_[a-z0-9]{32} | ||||||
Array of objects (DataSources) [ items [ 0 .. 5 ] items ] | |||||||
Array
| |||||||
Array of objects (TraceVariableRequest) The default variables that the Signaloid Cloud Compute Engine should trace when executing the Repository application. | |||||||
Array
|
Responses
Request samples
- Payload
{- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
]
}
Response samples
- 200
- 400
- 401
- 404
- 500
{- "Object": "Repository",
- "RepositoryID": "string",
- "Owner": "string",
- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "CreatedAt": 0,
- "UpdatedAt": 0
}
Create Build from Repository
Creates a new build from the specified repository.
Authorizations:
path Parameters
RepositoryID required | string (RepositoryID) rep_[a-z0-9]{32} The identifier of the connected Repository resource. |
query Parameters
DiscoverVariables | string Enum: "true" "false" If set to "true", the build will attempt to discover variables that can be traced. |
Request Body schema: application/json
CoreID | string (CoreID) cor_[a-z0-9]{32} | ||||||
Array of objects (TraceVariableRequest) Variables to trace in the built application. If not provided, will use the repository's defaults. | |||||||
Array
| |||||||
Array of objects (DataSources) [ items [ 0 .. 5 ] items ] | |||||||
Array
| |||||||
Arguments | string Command-line arguments to pass to the application. If not provided, will use the repository's defaults. |
Responses
Request samples
- Payload
{- "CoreID": "string",
- "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "Arguments": "string"
}
Response samples
- 202
- 400
- 401
- 403
- 404
{- "BuildID": "string"
}
Create Build from Repository
Creates a new build from the specified repository.
Authorizations:
path Parameters
RepositoryID required | string (RepositoryID) rep_[a-z0-9]{32} The identifier of the connected Repository resource. |
query Parameters
DiscoverVariables | string Enum: "true" "false" If set to "true", the build will attempt to discover variables that can be traced. |
Request Body schema: application/json
CoreID | string (CoreID) cor_[a-z0-9]{32} | ||||||
Array of objects (TraceVariableRequest) Variables to trace in the built application. If not provided, will use the repository's defaults. | |||||||
Array
| |||||||
Array of objects (DataSources) [ items [ 0 .. 5 ] items ] | |||||||
Array
| |||||||
Arguments | string Command-line arguments to pass to the application. If not provided, will use the repository's defaults. |
Responses
Request samples
- Payload
{- "CoreID": "string",
- "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "Arguments": "string"
}
Response samples
- 202
- 400
- 401
- 403
- 404
{- "BuildID": "string"
}
List Builds
Returns the list of builds.
Authorizations:
query Parameters
startKey | string The BuildID to start from when returning the list of builds. Used for paginating responses. |
from | string <date-time> Filter builds by creation date - only include builds created on or after this date. |
to | string <date-time> Filter builds by creation date - only include builds created on or before this date. |
status | string (BuildStatus) Enum: "Accepted" "Initialising" "Rescheduled" "In Progress" "Completed" "Cancelled" "Stopped" Filter the list of builds by status. |
Responses
Response samples
- 200
- 401
{- "UserID": "string",
- "Builds": [
- {
- "BuildID": "string",
- "Owner": "string",
- "Status": "Accepted",
- "StatusTransitions": [
- {
- "Status": "string",
- "Timestamp": 0,
- "Message": "string"
}
], - "StartedAt": 0,
- "DefaultArguments": "string",
- "DefaultDataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "Application": {
- "Type": "SourceCode",
- "SourceCode": {
- "Code": "string",
- "Language": "C",
- "Arguments": "string"
}, - "Repository": {
- "Object": "Repository",
- "RepositoryID": "string",
- "Owner": "string",
- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "CreatedAt": 0,
- "UpdatedAt": 0
}
}, - "UpdatedAt": 0,
- "CreatedAt": 0,
- "FinishedAt": 0,
- "BuildArtifactAvailable": true,
- "BuildCoreSpecs": {
- "Class": "string",
- "Precision": 0,
- "MemorySize": 0,
- "Microarchitecture": "string",
- "CorrelationTracking": "string"
}, - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "Stats": {
- "BuildTimeInMilliseconds": 0,
- "BuildSizeInBytes": 0,
- "CreatedAt": 0
}
}
], - "Count": 0,
- "ContinuationKey": "string"
}
Get Build
Returns the build resource identified by the BuildID
path parameter.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "BuildID": "string",
- "Owner": "string",
- "Status": "Accepted",
- "StatusTransitions": [
- {
- "Status": "string",
- "Timestamp": 0,
- "Message": "string"
}
], - "StartedAt": 0,
- "DefaultArguments": "string",
- "DefaultDataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "Application": {
- "Type": "SourceCode",
- "SourceCode": {
- "Code": "string",
- "Language": "C",
- "Arguments": "string"
}, - "Repository": {
- "Object": "Repository",
- "RepositoryID": "string",
- "Owner": "string",
- "Commit": "string",
- "Branch": "string",
- "BuildDirectory": "string",
- "Arguments": "string",
- "Core": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "CreatedAt": 0,
- "UpdatedAt": 0
}
}, - "UpdatedAt": 0,
- "CreatedAt": 0,
- "FinishedAt": 0,
- "BuildArtifactAvailable": true,
- "BuildCoreSpecs": {
- "Class": "string",
- "Precision": 0,
- "MemorySize": 0,
- "Microarchitecture": "string",
- "CorrelationTracking": "string"
}, - "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
], - "Stats": {
- "BuildTimeInMilliseconds": 0,
- "BuildSizeInBytes": 0,
- "CreatedAt": 0
}
}
Delete Build
Permanently deletes the build asset identified by the BuildID
path parameter.
This operation cannot be performed on active builds.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
Responses
Response samples
- 400
- 401
- 404
- 409
- 500
{- "error": "Bad Request",
- "message": "string"
}
Get Build Binary
Returns a pre-signed URL to download the binary artifact for the build identified by the BuildID
path parameter.
This is only available for builds with C0-microSD core class.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{
}
Get Build Variables
Returns the list of variables discovered in the build.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
query Parameters
startKey | string The key to start from when returning the list of variables. Used for paginating responses. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "BuildID": "string",
- "Variables": [
- {
- "Object": "Variable",
- "Name": "string",
- "Type": "Variable",
- "File": "string",
- "Line": 0,
- "Function": "string"
}
], - "Count": 0,
- "ContinuationKey": "string"
}
Cancel Build
Cancels an active build identified by the BuildID
path parameter.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
Responses
Response samples
- 202
- 400
- 401
- 404
- 409
- 500
{- "Message": "Cancel Build Signal sent"
}
List Build Tasks
Returns the list of tasks associated with the specified build.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
query Parameters
startKey | string The key to start from when returning the list of tasks. Used for paginating responses. |
from | string <date-time> Filter tasks by creation date - only include tasks created on or after this date. |
to | string <date-time> Filter tasks by creation date - only include tasks created on or before this date. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "BuildID": "string",
- "Tasks": [
- {
- "TaskID": "string",
- "BuildID": "string",
- "Owner": "string",
- "Status": "Accepted",
- "StatusTransitions": [
- {
- "Status": "string",
- "Timestamp": 0,
- "Message": "string"
}
], - "Arguments": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "StartedAt": 0,
- "UpdatedAt": 0,
- "CreatedAt": 0,
- "FinishedAt": 0,
- "Stats": {
- "DynamicInstructions": 0,
- "ProcessorTime": 0,
- "ExecutionTimeInMilliseconds": 0
}
}
], - "Count": 0,
- "ContinuationKey": "string"
}
Create Task from Build
Creates a new task using the specified build.
Authorizations:
path Parameters
BuildID required | string (BuildID) bld_[a-z0-9]{32} The identifier of the Build resource. |
Request Body schema: application/json
Arguments | string Command-line arguments to pass to the application. | ||||||
Array of objects (DataSources) [ items [ 0 .. 5 ] items ] | |||||||
Array
|
Responses
Request samples
- Payload
{- "Arguments": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
]
}
Response samples
- 202
- 400
- 401
- 403
- 404
- 500
{- "TaskID": "string"
}
Create Build From Single-file Source Code
Creates a new build from a single-file source code. The source code is compiled and built using the specified core.
Authorizations:
query Parameters
DiscoverVariables | string Enum: "true" "false" If set to "true", the build will attempt to discover variables that can be traced. |
Request Body schema: application/json
Code required | string The source code to build. Can be provided as plain text or Base64 encoded. | ||||||
Language required | string Enum: "C" "C++" "Fortran" The programming language of the source code. | ||||||
CoreID | string The ID of the core to use for building. If not provided, a default core will be used. | ||||||
Array of objects (TraceVariableRequest) | |||||||
Array
|
Responses
Request samples
- Payload
{- "Code": "string",
- "Language": "C",
- "CoreID": "string",
- "TraceVariables": [
- {
- "File": "string",
- "LineNumber": 0,
- "Expression": "string"
}
]
}
Response samples
- 202
- 400
- 401
- 404
- 500
{- "BuildID": "string"
}
List Tasks
Returns the list of Tasks in the account. The list is sorted by field
CreatedAt
in descending order. To learn more about Tasks, see the Tasks section
in the Signaloid Cloud Platform Documentation.
Authorizations:
query Parameters
status | string (TaskStatus) Enum: "Accepted" "Initialising" "Rescheduled" "In Progress" "Completed" "Cancelled" "Stopped" Filter the list of Tasks by status. Required to expand Tasks. By default the list includes all Tasks. To filter the list by status set the status query parameter to a valid Status value. |
startKey | string (TaskID) tsk_[a-z0-9]{32} The TaskID to start from when returning the list of Tasks. Use for paginating responses. |
from | string <date-time> Filter tasks by creation date - only include tasks created on or after this date. |
to | string <date-time> Filter tasks by creation date - only include tasks created on or before this date. |
Responses
Response samples
- 200
- 401
- 500
{- "UserID": "string",
- "Count": 0,
- "ContinuationKey": "string",
- "Tasks": [
- {
- "TaskID": "string",
- "BuildID": "string",
- "Owner": "string",
- "Status": "Accepted",
- "StatusTransitions": [
- {
- "Status": "string",
- "Timestamp": 0,
- "Message": "string"
}
], - "Arguments": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "StartedAt": 0,
- "UpdatedAt": 0,
- "CreatedAt": 0,
- "FinishedAt": 0,
- "Stats": {
- "DynamicInstructions": 0,
- "ProcessorTime": 0,
- "ExecutionTimeInMilliseconds": 0
}
}
]
}
Get Task
Returns the Task resource identified by the TaskID
path parameter. To
learn more about Tasks, see the Tasks section in the Signaloid Cloud
Developer Platform Documentation.
Authorizations:
path Parameters
TaskID required | string (TaskID) tsk_[a-z0-9]{32} The identifier of the Task resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "TaskID": "string",
- "BuildID": "string",
- "Owner": "string",
- "Status": "Accepted",
- "StatusTransitions": [
- {
- "Status": "string",
- "Timestamp": 0,
- "Message": "string"
}
], - "Arguments": "string",
- "DataSources": [
- {
- "Location": "string",
- "ResourceID": "string",
- "ResourceType": "Gateway"
}
], - "StartedAt": 0,
- "UpdatedAt": 0,
- "CreatedAt": 0,
- "FinishedAt": 0,
- "Stats": {
- "DynamicInstructions": 0,
- "ProcessorTime": 0,
- "ExecutionTimeInMilliseconds": 0
}
}
Delete Task
Permanently deletes the Task identified by the TaskID
path parameter.
This operation cannot be performed on active tasks.
Authorizations:
path Parameters
TaskID required | string (TaskID) tsk_[a-z0-9]{32} The identifier of the Task resource. |
Responses
Response samples
- 400
- 401
- 404
- 409
- 500
{- "error": "Bad Request",
- "message": "string"
}
Cancel Task
Cancels the active Task identified by the TaskID
path parameter.
Authorizations:
path Parameters
TaskID required | string (TaskID) tsk_[a-z0-9]{32} The identifier of the Task resource. |
Responses
Response samples
- 202
- 400
- 401
- 404
- 409
- 500
{- "Message": "Cancel Task Signal sent"
}
Get Task Outputs
Returns URLs to the output files associated with the task.
Authorizations:
path Parameters
TaskID required | string (TaskID) tsk_[a-z0-9]{32} The identifier of the Task resource. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "Stdout": "string",
- "Stderr": "string",
- "StdoutChunks": [
- "string"
]
}
List of generated samples in Reference Core runs
Returns the list of samples that were generated for the provided ValueID during the Reference Core task with the provided TaskID. In Reference Core Tasks, the Value identifiers (ValueID) are part of the standard output streams.
Authorizations:
path Parameters
TaskID required | string (TaskID) tsk_[a-z0-9]{32} The identifier of the Task resource. |
ValueID required | string (valueID) val_[a-z0-9]{32} The identifier of the Value resource. |
query Parameters
count | integer [ 0 .. 100000 ] Default: 1000 By default this API will return up to 1000 samples. By providing this parameter you can specify the number of samples returned. This parameter has a maximum limit of 100000. |
Responses
Response samples
- 200
- 401
- 404
- 500
{- "Samples": [
- -1.0824527064791272,
- -1.1310969119258107,
- -1.0961994836548592,
- -1.0720671348781252,
- -1.1521749654880011,
- -1.1528152657116664,
- -1.1087047905171288,
- -1.1326621923296623,
- -1.0653820188992815,
- -1.0858505883930254,
- -1.1296963560287887,
- -1.1013858150162135,
- -1.0817764623439143,
- -1.1775805891128661,
- -1.070222023706863,
- -1.0750953816720847,
- -1.1568745145008779,
- -1.1036719268767403,
- -1.0878985057236494,
- -1.0993357638716614,
- -1.1407131752971837,
- -1.1437027951679817,
- -1.0901123548429996,
- -1.0891835247279822,
- -1.1566131594680455,
- -1.1163989797228004,
- -1.1022456684084043,
- -1.1367967100453717,
- -1.0960555317070564,
- -1.112673925381313,
- -1.1045915034476725,
- -1.1336645059101502
], - "Count": 32
}
Random samples from hexadecimal (“Ux”) data
Returns a list of random samples from the provided Hexadecimal (“Ux”) Data Format (Ux string). In non-Reference Core Tasks, distributions encoded as Ux strings are part of the standard output streams."
Authorizations:
query Parameters
count | integer [ 0 .. 100000 ] Default: 1000 By default this API will return up to 1000 samples. By providing this parameter you can specify the number of samples returned. This parameter has a maximum limit of 100000. |
Request Body schema: application/json
payload required | string |
Responses
Request samples
- Payload
{- "payload": "string"
}
Response samples
- 200
- 401
- 404
- 500
{- "Samples": [
- -1.0824527064791272,
- -1.1310969119258107,
- -1.0961994836548592,
- -1.0720671348781252,
- -1.1521749654880011,
- -1.1528152657116664,
- -1.1087047905171288,
- -1.1326621923296623,
- -1.0653820188992815,
- -1.0858505883930254,
- -1.1296963560287887,
- -1.1013858150162135,
- -1.0817764623439143,
- -1.1775805891128661,
- -1.070222023706863,
- -1.0750953816720847,
- -1.1568745145008779,
- -1.1036719268767403,
- -1.0878985057236494,
- -1.0993357638716614,
- -1.1407131752971837,
- -1.1437027951679817,
- -1.0901123548429996,
- -1.0891835247279822,
- -1.1566131594680455,
- -1.1163989797228004,
- -1.1022456684084043,
- -1.1367967100453717,
- -1.0960555317070564,
- -1.112673925381313,
- -1.1045915034476725,
- -1.1336645059101502
], - "Count": 32
}
Plot Value ID
Plot a Reference Core run output value identified by the TaskID
and ValueID
query parameters.
Returns a PlotID
and a direct URL that can be used to retrieve the
plot image.
Authorizations:
query Parameters
taskID required | string (taskID) tsk_[a-z0-9]{32} task ID |
valueID required | string (valueID) val_[a-z0-9]{32} value ID |
Responses
Plot Ux String
Plot a Laplace Core run Ux string by passing into the body of the request.
Returns a PlotID
and a direct URL that can be used to retrieve the
plot image.
Authorizations:
Request Body schema: application/json
payload required | string |
Responses
Request samples
- Payload
{- "payload": "string"
}
List Files or Directories
Authorizations:
query Parameters
path | string Directory to list. Defaults to the root directory ( |
startKey | string Continuation token for paginated results. |
Responses
Response samples
- 200
- 400
- 401
- 500
{- "count": 0,
- "items": [
- {
- "path": "string",
- "last_modified": 0,
- "size": 0,
- "etag": "string"
}
], - "nextContinuationToken": "string"
}
Download a file or list a directory
Authorizations:
path Parameters
path required | string The relative path to the file or directory. |
query Parameters
download | boolean If provided, downloads the specified file. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "count": 6,
- "items": [
- {
- "etag": "\"d41d8cd98f00b204e9800998ecf8427e\"",
- "last_modified": 1665672906000,
- "path": "",
- "size": 0
}, - {
- "etag": "\"d41d8cd98f00b204e9800998ecf8427e\"",
- "last_modified": 1665672906000,
- "path": "Signaloid/",
- "size": 0
}, - {
- "etag": "\"d41d8cd98f00b204e9800998ecf8427e\"",
- "last_modified": 1665672906000,
- "path": "Signaloid/example-loadDistFromFile/",
- "size": 0
}, - {
- "etag": "\"18cedf0c989594d5d7b66d58ac2a499d\"",
- "last_modified": 1665672906000,
- "path": "Signaloid/example-loadDistFromFile/example.csd",
- "size": 4205
}, - {
- "etag": "\"3c41b0823f05cf86da0d560b0e033c03\"",
- "last_modified": 1665672907000,
- "path": "Signaloid/example-loadDistFromFile/example.csv",
- "size": 21
}, - {
- "etag": "\"d41d8cd98f00b204e9800998ecf8427e\"",
- "last_modified": 1666947334000,
- "path": "sampleDir/",
- "size": 0
}
]
}
Upload a file or create a directory
Authorizations:
path Parameters
path required | string The relative path where the file or directory will be created. |
query Parameters
directory | boolean If provided, creates a directory at the specified path. |
size | integer The size of the file to be uploaded, in bytes. Required for file uploads. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "message": "string",
- "upload_url": "string"
}
Delete a file or directory
Authorizations:
path Parameters
path required | string The relative path to the file or directory to delete. |
query Parameters
recursive | boolean If provided, deletes directories and their contents recursively. Valid only for directories. |
directory | boolean If provided, specifies that the path refers to a directory. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "message": "string"
}