Download OpenAPI specification:Download
Compute API to access Qarnot services
List all available hardware constraints for the authenticated user
version required | string |
Limit | integer <int32> Example: Limit=49 Limit of the number of displayed results
Maximum value is |
Offset | integer <int32> Example: Offset=0 Number of results discarded |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/hardware-constraints?Limit=49&Offset=0
{- "data": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "offset": 0,
- "limit": 0,
- "total": 0
}
Search cpu constraints for the authenticated user
version required | string |
cpuModel required | string Name of the cpu model |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/hardware-constraints/cpu-model-constraints/search
[- {
- "discriminator": "CpuModelHardwareConstraint",
- "cpuModel": "Ryzen 1700X"
}
]
List all jobs belonging to the authenticated user.
version required | string |
tag | Array of strings Example: tag=t1&tag=t2,t3 Optional Tag filter |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/jobs?tag=t1&tag=t2,t3
[- {
- "uuid": "12345678-1234-1234-1234-123456789012",
- "name": "my job",
- "shortname": "first-job",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "useDependencies": true,
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "maxWallTime": "1.03:16:50.5000000",
- "tags": [
- "t1",
- "t2,t3"
], - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "00:30:00"
}
]
Create a new job. Location header is set to the newly created job location, {snapshot,results}{White,Black}list are optional. If a list of jobs is provided, the response will conserve the submit order and a status will be provided for each job submitted(Location header won't be changed in this case).
version required | string |
Configuration of the new job (some missing or invalid fields)
name required | string non-empty Name of the job Should be less than 2048 characters. |
shortname | string or null Unique name of the job (its Uuid by default)
|
poolUuid | string or null <uuid> Uuid of the job's pool if any Should be the uuid of an open pool. |
useDependencies | boolean or null Whether the job's tasks can be dependent from each other, i.e. they be run in a specific order and should wait fot the previous task to end before starting |
tags | Array of strings or null Custom tags to use as filtering Should be less than 10. The tags values should not be null and should be less than 512 characters. |
maxWallTime | string or null <date-span> Maximum real living time of the job |
autoDeleteOnCompletion | boolean or null Whether the job should be deleted if completed and the job quota is reached |
completionTimeToLive | string or null <date-span> Limit for the job execution time |
{- "name": "my job",
- "shortname": "first-job",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "useDependencies": true,
- "tags": [
- "string"
], - "maxWallTime": "10:00:00",
- "autoDeleteOnCompletion": true,
- "completionTimeToLive": "00:30:00"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
List all jobs belonging to the authenticated user and matching the filters.
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Filter configuration
object (Select) The results fields that should be displayed | |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data | |
maximumResults | integer or null <int32> Maximum number of results displayed |
{- "select": {
- "fields": [
- "string"
]
}, - "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1
}
[- {
- "uuid": "12345678-1234-1234-1234-123456789012",
- "name": "my job",
- "shortname": "first-job",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "useDependencies": true,
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "maxWallTime": "1.03:16:50.5000000",
- "tags": [
- "t1",
- "t2,t3"
], - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "00:30:00"
}
]
List all jobs belonging to the authenticated user with pagination. Available operators for filters are: And / Or / Equal / NotEqual / LessThanOrEqual / LessThan / GreaterThanOrEqual / Like / In / NotIn Available sorting fields: creationDate / name / state.
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Page configuration
token | string or null Token of the response. |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data. | |
maximumResults | integer or null <int32> Number maximal of results. |
orderBy | string or null Sorting property. |
orderType | string or null Type of ordering. ASC or DESC |
{- "token": "token",
- "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1,
- "orderBy": "state",
- "orderType": "ASC"
}
{- "data": [
- {
- "uuid": "12345678-1234-1234-1234-123456789012",
- "name": "my job",
- "shortname": "first-job",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "useDependencies": true,
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "maxWallTime": "1.03:16:50.5000000",
- "tags": [
- "t1",
- "t2,t3"
], - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "00:30:00"
}
], - "count": 1,
- "total": 1,
- "isTruncated": true,
- "nextToken": "string"
}
Terminate a job
jobUuid required | string Requested job UUID |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/jobs/{jobUuid}/terminate
Delete a job (terminate it if it's still running)
jobuuid required | string Requested job UUID |
version required | string |
force | boolean Default: false Whether the job should be deleted despite having running tasks |
curl -X DELETE -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/jobs/{jobuuid}
Get information of the specified job
jobuuid required | string Requested job UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/jobs/{jobuuid}
{- "uuid": "12345678-1234-1234-1234-123456789012",
- "name": "my job",
- "shortname": "first-job",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "useDependencies": true,
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "maxWallTime": "1.03:16:50.5000000",
- "tags": [
- "t1",
- "t2,t3"
], - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "00:30:00"
}
List tasks in the specified jobb
jobuuid required | string Requested job UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/jobs/{jobuuid}/tasks
{- "resourceBuckets": [
- "my-input-bucket"
], - "advancedResourceBuckets": null,
- "resultBucket": "my-output-bucket",
- "resultsCacheTTLSec": null,
- "completedInstances": null,
- "status": {
- "timestamp": "0001-01-01T00:00:00Z",
- "lastUpdateTimestamp": "0001-01-01T00:00:00Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 4,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": null,
- "executionTimeByMachineSpecification": null,
- "executionTimeBySiteAndMachine": null,
- "executionTimeByInstanceId": null,
- "executionTimeGhzByCpuModel": null,
- "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "00:00:00",
- "wallTimeSec": 0,
- "succeededRange": null,
- "executedRange": null,
- "failedRange": null,
- "cancelledRange": null,
- "failedOnlyRange": null,
- "startedOnceRange": null,
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": null,
- "phase": "environment",
- "instanceId": 2467,
- "maxFrequencyGHz": 0,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 0,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 0,
- "executionTimeGHz": 0,
- "specificationKey": null,
- "cpuModel": null,
- "coreCount": 0,
- "executionAttemptCount": 0,
- "clockRatio": 0
}
], - "snapshotResults": [ ],
- "timestamp": "0001-01-01T00:00:00Z",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 0,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": null
}
}, - "snapshotInterval": 0,
- "resultsCount": 1,
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "final.blend"
}
], - "secretsAccessRights": null,
- "tags": null,
- "snapshotWhitelist": "white.*",
- "snapshotBlacklist": ".*black.*",
- "uploadResultsOnCancellation": null,
- "dependencies": null,
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "00:00:00",
- "hardwareConstraints": null,
- "labels": null,
- "schedulingType": "flex",
- "privileges": null,
- "retrySettings": null,
- "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": null,
- "jobUuid": null,
- "progress": 0,
- "runningInstanceCount": 0,
- "runningCoreCount": 0,
- "clusterInfo": null,
- "executionTime": null,
- "wallTime": null,
- "state": "Success",
- "previousState": null,
- "totalInstanceCount": 0,
- "instanceCount": 4,
- "maxRetriesPerInstance": 0,
- "stateTransitionTime": "0001-01-01T00:00:00Z",
- "previousStateTransitionTime": "0001-01-01T00:00:00Z",
- "lastModified": "0001-01-01T00:00:00Z",
- "creationDate": "2025-04-16T16:01:28Z",
- "endDate": "0001-01-01T00:00:00Z",
- "waitForPoolResourcesSynchronization": true
}
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}
List all pool summaries belonging to the authenticated user
version required | string |
tag | Array of strings Example: tag=t1&tag=t2,t3 Optional tag Filter. |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/summaries?tag=t1&tag=t2,t3
[- {
- "uuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "name": "my-pool",
- "shortname": "62e80aae-d20a-4608-b873-ec8bff991733",
- "profile": "blender",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "instanceCount": 2,
- "targetRunningInstanceCount": 2,
- "stateTransitionTime": "2021-04-25T12:34:56Z",
- "previousStateTransitionTime": "2021-04-25T12:00:19Z",
- "creationDate": "2021-04-25T11:50:19Z",
- "lastModified": "2021-04-25T12:45:10Z\"",
- "endDate": "2019-08-24T14:15:22Z",
- "runningInstanceCount": 1,
- "runningCoreCount": 16,
- "queuedOrRunningTaskInstancesCount": 2,
- "executionTime": "10:00:00",
- "wallTime": "10:02:17",
- "taskDefaultWaitForPoolResourcesSynchronization": false
}
]
Search in all pools belonging to the authenticated user
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Configuration of the page
token | string or null Token of the response. |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data. | |
maximumResults | integer or null <int32> Number maximal of results. |
orderBy | string or null Sorting property. |
orderType | string or null Type of ordering. ASC or DESC |
{- "token": "token",
- "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1,
- "orderBy": "state",
- "orderType": "ASC"
}
{- "data": [
- {
- "uuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "name": "my-pool",
- "shortname": "62e80aae-d20a-4608-b873-ec8bff991733",
- "profile": "blender",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "instanceCount": 2,
- "targetRunningInstanceCount": 2,
- "stateTransitionTime": "2021-04-25T12:34:56Z",
- "previousStateTransitionTime": "2021-04-25T12:00:19Z",
- "creationDate": "2021-04-25T11:50:19Z",
- "lastModified": "2021-04-25T12:45:10Z\"",
- "endDate": "2019-08-24T14:15:22Z",
- "runningInstanceCount": 1,
- "runningCoreCount": 16,
- "queuedOrRunningTaskInstancesCount": 2,
- "executionTime": "10:00:00",
- "wallTime": "10:02:17",
- "taskDefaultWaitForPoolResourcesSynchronization": false
}
], - "count": 1,
- "total": 1,
- "isTruncated": true,
- "nextToken": "string"
}
List all pools belonging to the authenticated user
version required | string |
tag | Array of strings Example: tag=t1&tag=t2,t3 Optional tag Filter. |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools?tag=t1&tag=t2,t3
[- {
- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
], - "activePolicyName": "string"
}, - "preparationTask": {
- "commandLine": "echo \"pool setting up\""
}, - "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "resourceBuckets": [
- "bucket1"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "totalSlotCapacity": 10,
- "poolUsage": 0.5,
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "30:00:00",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "defaultRetrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "name": "my-pool",
- "shortname": "62e80aae-d20a-4608-b873-ec8bff991733",
- "profile": "blender",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "instanceCount": 2,
- "targetRunningInstanceCount": 2,
- "stateTransitionTime": "2021-04-25T12:34:56Z",
- "previousStateTransitionTime": "2021-04-25T12:00:19Z",
- "creationDate": "2021-04-25T11:50:19Z",
- "lastModified": "2021-04-25T12:45:10Z\"",
- "endDate": "2019-08-24T14:15:22Z",
- "runningInstanceCount": 1,
- "runningCoreCount": 16,
- "queuedOrRunningTaskInstancesCount": 2,
- "executionTime": "10:00:00",
- "wallTime": "10:02:17",
- "taskDefaultWaitForPoolResourcesSynchronization": false
}
]
Create one new pool. Location header is set to the newly created pool location
version required | string |
Configuration of the pool to create
name required | string non-empty Name of the pool |
shortname | string or null Unique name of the pool (its Uuid by default) |
profile required | string non-empty Profile used by the tasks in the pool |
instanceCount | integer or null <int32> Number of pool instances |
object (ElasticPropertyInput) Elastic configuration for pool with a flexible size Obsolete, use scaling configuration instead | |
object (ScalingInput) How a pool will be scaled dynamically | |
Array of objects or null (KeyValue) List of constants for the pool. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Pool execution. Allowed characters for the constants' keys: Maximum number of constants is 50. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the pool. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints for the hardware used by the pool | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null Custom tags used for filtering Maximum number of tags: 10. The tags values should not be null and should be less than 512 characters. |
resourceBuckets | Array of strings or null List of the pool's resources buckets names |
Array of objects or null (ResourcesBucket) (Override ResourceBuckets) List of resources buckets names, with custom prefix The buckets should already exist in the user storage account. Should not be set with The use of either Maximum number of buckets: 100. | |
object (PoolPreparationTaskInput) Represents a task executed on a pool, before any tasks. | |
autoDeleteOnCompletion | boolean or null Whether the pool should be deleted if completed and the pool quota is reached |
completionTimeToLive | string or null <date-span> Task life tie limit |
taskDefaultWaitForPoolResourcesSynchronization | boolean or null Default value of WaitForPoolResourcesSynchronization for tasks in the pool: Whether the pool's tasks should by default wait for the pool resources synchronization before starting. |
object or null Pool labels : arbitrary key / value pairs attached to the pool in order to find it more easily. They do not affect the execution of the pool. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the pool should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the pool resources cache. TTL is 7776000s by default. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "shortname": "first-pool",
- "profile": "blender",
- "instanceCount": 4,
- "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
]
}, - "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "some_sensitive_data"
}
], - "forcedConstants": [
- {
- "constantName": "string",
- "forcedValue": "string",
- "forceExportInEnvironment": true,
- "access": "readOnly"
}
], - "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "t1",
- "t2,t3"
], - "resourceBuckets": [
- "resourcebucket"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "preparationTask": {
- "commandLine": "echo \"pool setting up\""
}, - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "10:00:00",
- "taskDefaultWaitForPoolResourcesSynchronization": true,
- "labels": {
- "label-key": "label-value"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "my-reserved-machine",
- "defaultResourcesCacheTTLSec": 2592000,
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "defaultRetrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Search in all pools belonging to the authenticated user.
Use the Select part of the search to provide a query to get only some pools, use the filter part to only retrieve the selected fields.
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Configuration of the filter
object (Select) The results fields that should be displayed | |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data | |
maximumResults | integer or null <int32> Maximum number of results displayed |
{- "select": {
- "fields": [
- "string"
]
}, - "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1
}
[- {
- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
], - "activePolicyName": "string"
}, - "preparationTask": {
- "commandLine": "echo \"pool setting up\""
}, - "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "resourceBuckets": [
- "bucket1"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "totalSlotCapacity": 10,
- "poolUsage": 0.5,
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "30:00:00",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "defaultRetrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "name": "my-pool",
- "shortname": "62e80aae-d20a-4608-b873-ec8bff991733",
- "profile": "blender",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "instanceCount": 2,
- "targetRunningInstanceCount": 2,
- "stateTransitionTime": "2021-04-25T12:34:56Z",
- "previousStateTransitionTime": "2021-04-25T12:00:19Z",
- "creationDate": "2021-04-25T11:50:19Z",
- "lastModified": "2021-04-25T12:45:10Z\"",
- "endDate": "2019-08-24T14:15:22Z",
- "runningInstanceCount": 1,
- "runningCoreCount": 16,
- "queuedOrRunningTaskInstancesCount": 2,
- "executionTime": "10:00:00",
- "wallTime": "10:02:17",
- "taskDefaultWaitForPoolResourcesSynchronization": false
}
]
Search in all pools belonging to the authenticated user
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Configuration of the page
token | string or null Token of the response. |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data. | |
maximumResults | integer or null <int32> Number maximal of results. |
orderBy | string or null Sorting property. |
orderType | string or null Type of ordering. ASC or DESC |
{- "token": "token",
- "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1,
- "orderBy": "state",
- "orderType": "ASC"
}
{- "data": [
- {
- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
], - "activePolicyName": "string"
}, - "preparationTask": {
- "commandLine": "echo \"pool setting up\""
}, - "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "resourceBuckets": [
- "bucket1"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "totalSlotCapacity": 10,
- "poolUsage": 0.5,
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "30:00:00",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "defaultRetrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "name": "my-pool",
- "shortname": "62e80aae-d20a-4608-b873-ec8bff991733",
- "profile": "blender",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "instanceCount": 2,
- "targetRunningInstanceCount": 2,
- "stateTransitionTime": "2021-04-25T12:34:56Z",
- "previousStateTransitionTime": "2021-04-25T12:00:19Z",
- "creationDate": "2021-04-25T11:50:19Z",
- "lastModified": "2021-04-25T12:45:10Z\"",
- "endDate": "2019-08-24T14:15:22Z",
- "runningInstanceCount": 1,
- "runningCoreCount": 16,
- "queuedOrRunningTaskInstancesCount": 2,
- "executionTime": "10:00:00",
- "wallTime": "10:02:17",
- "taskDefaultWaitForPoolResourcesSynchronization": false
}
], - "count": 1,
- "total": 1,
- "isTruncated": true,
- "nextToken": "string"
}
Cloning a pool with the possibility to change the value of some fields.
pooluuid required | string Requested pool UUID |
version required | string |
Configuration of the new pool that will differ from the cloned pool
name | string or null Given Name of the cloned pool. Same as the original by default. Should be less than 2048 characters. |
profile | string or null Profile used by the tasks in the cloned pool |
shortname | string or null Unique name of the pool (its Uuid by default) |
instanceCount | integer or null <int32> Number of pool instances |
object (ElasticPropertyInput) Elastic configuration for pool with a flexible size Obsolete, use scaling configuration instead | |
object (ScalingInput) How a pool will be scaled dynamically | |
Array of objects or null (KeyValue) List of constants for the pool. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Pool execution. Allowed characters for the constants' keys: Maximum number of constants is 50. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the pool. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints for the hardware used by the pool | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null Custom tags used for filtering Maximum number of tags: 10. The tags values should not be null and should be less than 512 characters. |
resourceBuckets | Array of strings or null List of the pool's resources buckets names |
Array of objects or null (ResourcesBucket) (Override ResourceBuckets) List of resources buckets names, with custom prefix The buckets should already exist in the user storage account. Should not be set with The use of either Maximum number of buckets: 100. | |
object (PoolPreparationTaskInput) Represents a task executed on a pool, before any tasks. | |
autoDeleteOnCompletion | boolean or null Whether the pool should be deleted if completed and the pool quota is reached |
completionTimeToLive | string or null <date-span> Task life tie limit |
taskDefaultWaitForPoolResourcesSynchronization | boolean or null Default value of WaitForPoolResourcesSynchronization for tasks in the pool: Whether the pool's tasks should by default wait for the pool resources synchronization before starting. |
object or null Pool labels : arbitrary key / value pairs attached to the pool in order to find it more easily. They do not affect the execution of the pool. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the pool should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the pool resources cache. TTL is 7776000s by default. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "profile": "blender",
- "shortname": "first-pool",
- "instanceCount": 4,
- "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
]
}, - "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "some_sensitive_data"
}
], - "forcedConstants": [
- {
- "constantName": "string",
- "forcedValue": "string",
- "forceExportInEnvironment": true,
- "access": "readOnly"
}
], - "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "t1",
- "t2,t3"
], - "resourceBuckets": [
- "resourcebucket"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "preparationTask": {
- "commandLine": "echo \"pool setting up\""
}, - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "10:00:00",
- "taskDefaultWaitForPoolResourcesSynchronization": true,
- "labels": {
- "label-key": "label-value"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "my-reserved-machine",
- "defaultResourcesCacheTTLSec": 2592000,
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "defaultRetrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Get information of the specified pool
pooluuid required | string Requested pool UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{pooluuid}
{- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
], - "activePolicyName": "string"
}, - "preparationTask": {
- "commandLine": "echo \"pool setting up\""
}, - "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "resourceBuckets": [
- "bucket1"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "totalSlotCapacity": 10,
- "poolUsage": 0.5,
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "30:00:00",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "defaultRetrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "name": "my-pool",
- "shortname": "62e80aae-d20a-4608-b873-ec8bff991733",
- "profile": "blender",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "instanceCount": 2,
- "targetRunningInstanceCount": 2,
- "stateTransitionTime": "2021-04-25T12:34:56Z",
- "previousStateTransitionTime": "2021-04-25T12:00:19Z",
- "creationDate": "2021-04-25T11:50:19Z",
- "lastModified": "2021-04-25T12:45:10Z\"",
- "endDate": "2019-08-24T14:15:22Z",
- "runningInstanceCount": 1,
- "runningCoreCount": 16,
- "queuedOrRunningTaskInstancesCount": 2,
- "executionTime": "10:00:00",
- "wallTime": "10:02:17",
- "taskDefaultWaitForPoolResourcesSynchronization": false
}
Trigger resources update on compute nodes. Compute nodes will see new files uploaded to the bucket since the last resources synchronization (either at node provisioning, or from an earlier call to this method) and get an updated version of files that were modified in the bucket.
NOTE: Files that were deleted from the bucket since the last synchronization WILL NOT be deleted from compute nodes.
pooluuid required | string Requested pool UUID |
version required | string |
curl -X PATCH -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{pooluuid}
Updating a pool
pooluuid required | string Requested pool UUID |
version required | string |
New configuration of the pool
Array of objects or null (KeyValue) List of new constants for the pool | |
tags | Array of strings or null List of new tags for the pool |
object (ElasticPropertyInput) Elastic configuration for pool with a flexible size Obsolete, use scaling configuration instead | |
object (ScalingInput) How a pool will be scaled dynamically |
{- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "newqarnot.blend"
}
], - "tags": [
- "t1",
- "newTag"
], - "elasticProperty": {
- "isElastic": true,
- "minTotalSlots": 2,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "resizePeriod": 30,
- "rampResizeFactor": 0.3,
- "minIdleTimeSeconds": 10
}, - "scaling": {
- "policies": [
- {
- "type": "string",
- "name": "string",
- "enabledPeriods": [
- {
- "type": "string",
- "name": "string"
}
], - "slotsCount": 0
}
]
}
}
List jobs in the specified pool
pooluuid required | string Requested pool UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{pooluuid}/jobs
[- {
- "uuid": "12345678-1234-1234-1234-123456789012",
- "name": "my job",
- "shortname": "first-job",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "useDependencies": true,
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "maxWallTime": "1.03:16:50.5000000",
- "tags": [
- "t1",
- "t2,t3"
], - "autoDeleteOnCompletion": true,
- "completionTimeToLive": "00:30:00"
}
]
List tasks in the specified pool
pooluuid required | string Requested pool UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{pooluuid}/tasks
{- "resourceBuckets": [
- "my-input-bucket"
], - "advancedResourceBuckets": null,
- "resultBucket": "my-output-bucket",
- "resultsCacheTTLSec": null,
- "completedInstances": null,
- "status": {
- "timestamp": "0001-01-01T00:00:00Z",
- "lastUpdateTimestamp": "0001-01-01T00:00:00Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 4,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": null,
- "executionTimeByMachineSpecification": null,
- "executionTimeBySiteAndMachine": null,
- "executionTimeByInstanceId": null,
- "executionTimeGhzByCpuModel": null,
- "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "00:00:00",
- "wallTimeSec": 0,
- "succeededRange": null,
- "executedRange": null,
- "failedRange": null,
- "cancelledRange": null,
- "failedOnlyRange": null,
- "startedOnceRange": null,
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": null,
- "phase": "environment",
- "instanceId": 2467,
- "maxFrequencyGHz": 0,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 0,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 0,
- "executionTimeGHz": 0,
- "specificationKey": null,
- "cpuModel": null,
- "coreCount": 0,
- "executionAttemptCount": 0,
- "clockRatio": 0
}
], - "snapshotResults": [ ],
- "timestamp": "0001-01-01T00:00:00Z",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 0,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": null
}
}, - "snapshotInterval": 0,
- "resultsCount": 1,
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "final.blend"
}
], - "secretsAccessRights": null,
- "tags": null,
- "snapshotWhitelist": "white.*",
- "snapshotBlacklist": ".*black.*",
- "uploadResultsOnCancellation": null,
- "dependencies": null,
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "00:00:00",
- "hardwareConstraints": null,
- "labels": null,
- "schedulingType": "flex",
- "privileges": null,
- "retrySettings": null,
- "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": null,
- "jobUuid": null,
- "progress": 0,
- "runningInstanceCount": 0,
- "runningCoreCount": 0,
- "clusterInfo": null,
- "executionTime": null,
- "wallTime": null,
- "state": "Success",
- "previousState": null,
- "totalInstanceCount": 0,
- "instanceCount": 4,
- "maxRetriesPerInstance": 0,
- "stateTransitionTime": "0001-01-01T00:00:00Z",
- "previousStateTransitionTime": "0001-01-01T00:00:00Z",
- "lastModified": "0001-01-01T00:00:00Z",
- "creationDate": "2025-04-16T16:01:28Z",
- "endDate": "0001-01-01T00:00:00Z",
- "waitForPoolResourcesSynchronization": true
}
Standard output of the pool (can be rotated).
poolUuid required | string Requested pool UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stdout
Standard output of the pool (can be rotated) since last access.
poolUuid required | string Requested pool UUID |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stdout
Get standard output of a specific pool instance (can be rotated).
poolUuid required | string Requested pool UUID |
instanceId required | integer <int32> Id of the instance |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stdout/{instanceId}
Get standard output of a specific pool instance (can be rotated).
poolUuid required | string Requested pool UUID |
instanceId required | integer <int32> Id of the instance |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stdout/{instanceId}
Error output of the pool (can be rotated).
poolUuid required | string Requested pool UUID |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stderr
Error output of the pool (can be rotated) since last access.
poolUuid required | string Requested pool UUID |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stderr
Get Error output of a specific pool instance (can be rotated).
poolUuid required | string Requested pool UUID |
instanceId required | integer <int32> Id of the instance |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stderr/{instanceId}
Get Error output of a specific pool instance (can be rotated).
poolUuid required | string Requested pool UUID |
instanceId required | integer <int32> Id of the instance |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/stderr/{instanceId}
poolUuid required | string UUID of the pool for which to get the scaling details |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/pools/{poolUuid}/scaling
{- "policies": [
- {
- "type": "ManagedTasksQueue",
- "minTotalSlots": 0,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "minIdleTimeSeconds": 90,
- "scalingFactor": 0.5,
- "name": "the-active-policy",
- "enabledPeriods": [
- {
- "type": "Weekly",
- "days": [
- "thursday"
], - "startTimeUtc": "19:30:00",
- "endTimeUtc": "23:59:59.9999999",
- "name": "thursday-evening"
}, - {
- "type": "Weekly",
- "days": [
- "friday"
], - "startTimeUtc": "00:00:00",
- "endTimeUtc": "10:00:00",
- "name": "friday-morning"
}
]
}, - {
- "type": "Fixed",
- "slotsCount": 19,
- "name": "default-policy",
- "enabledPeriods": [
- {
- "type": "Always",
- "name": null
}
]
}
], - "activePolicyName": "the-active-policy"
}
poolUuid required | string UUID of the pool we want to update |
version required | string |
New scaling details specification
Array of FixedScalingPolicy (object) or ManagedTasksQueueScalingPolicy (object) or null List of individual scaling policies |
{- "policies": [
- {
- "type": "ManagedTasksQueue",
- "minTotalSlots": 0,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "minIdleTimeSeconds": 90,
- "scalingFactor": 0.5,
- "name": "the-active-policy",
- "enabledPeriods": [
- {
- "type": "Weekly",
- "days": [
- "thursday"
], - "startTimeUtc": "19:30:00",
- "endTimeUtc": "23:59:59.9999999",
- "name": "thursday-evening"
}, - {
- "type": "Weekly",
- "days": [
- "friday"
], - "startTimeUtc": "00:00:00",
- "endTimeUtc": "10:00:00",
- "name": "friday-morning"
}
]
}, - {
- "type": "Fixed",
- "slotsCount": 19,
- "name": "default-policy",
- "enabledPeriods": [
- {
- "type": "Always",
- "name": null
}
]
}
]
}
{ }
Verify if a given Scaling specification is a valid one
version required | string |
The scaling specification to check
Array of FixedScalingPolicy (object) or ManagedTasksQueueScalingPolicy (object) or null List of individual scaling policies |
{- "policies": [
- {
- "type": "ManagedTasksQueue",
- "minTotalSlots": 0,
- "maxTotalSlots": 10,
- "minIdleSlots": 1,
- "minIdleTimeSeconds": 90,
- "scalingFactor": 0.5,
- "name": "the-active-policy",
- "enabledPeriods": [
- {
- "type": "Weekly",
- "days": [
- "thursday"
], - "startTimeUtc": "19:30:00",
- "endTimeUtc": "23:59:59.9999999",
- "name": "thursday-evening"
}, - {
- "type": "Weekly",
- "days": [
- "friday"
], - "startTimeUtc": "00:00:00",
- "endTimeUtc": "10:00:00",
- "name": "friday-morning"
}
]
}, - {
- "type": "Fixed",
- "slotsCount": 19,
- "name": "default-policy",
- "enabledPeriods": [
- {
- "type": "Always",
- "name": null
}
]
}
]
}
{ }
List available profiles
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/profiles
[- "string"
]
List profile details
name required | string Name of the profile |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/profiles/{name}
{- "name": "blender-2.76",
- "constants": [
- {
- "name": "BLEND_FILE",
- "value": "undefined.blend",
- "description": "string"
}
], - "licenses": [
- {
- "name": "string",
- "maxInstances": 0,
- "maxCores": 0
}
]
}
curl -X GET -H "Content-Type: application/json" https://localhost/v{version}/settings
{
}
List all tasks belonging to the authenticated user.
version required | string |
tag | Array of strings Example: tag=t1&tag=t2,t3 Optional tag Filter. |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks?tag=t1&tag=t2,t3
{- "resourceBuckets": [
- "my-input-bucket"
], - "advancedResourceBuckets": null,
- "resultBucket": "my-output-bucket",
- "resultsCacheTTLSec": null,
- "completedInstances": null,
- "status": {
- "timestamp": "0001-01-01T00:00:00Z",
- "lastUpdateTimestamp": "0001-01-01T00:00:00Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 4,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": null,
- "executionTimeByMachineSpecification": null,
- "executionTimeBySiteAndMachine": null,
- "executionTimeByInstanceId": null,
- "executionTimeGhzByCpuModel": null,
- "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "00:00:00",
- "wallTimeSec": 0,
- "succeededRange": null,
- "executedRange": null,
- "failedRange": null,
- "cancelledRange": null,
- "failedOnlyRange": null,
- "startedOnceRange": null,
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": null,
- "phase": "environment",
- "instanceId": 2467,
- "maxFrequencyGHz": 0,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 0,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 0,
- "executionTimeGHz": 0,
- "specificationKey": null,
- "cpuModel": null,
- "coreCount": 0,
- "executionAttemptCount": 0,
- "clockRatio": 0
}
], - "snapshotResults": [ ],
- "timestamp": "0001-01-01T00:00:00Z",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 0,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": null
}
}, - "snapshotInterval": 0,
- "resultsCount": 1,
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "final.blend"
}
], - "secretsAccessRights": null,
- "tags": null,
- "snapshotWhitelist": "white.*",
- "snapshotBlacklist": ".*black.*",
- "uploadResultsOnCancellation": null,
- "dependencies": null,
- "autoDeleteOnCompletion": false,
- "completionTimeToLive": "00:00:00",
- "hardwareConstraints": null,
- "labels": null,
- "schedulingType": "flex",
- "privileges": null,
- "retrySettings": null,
- "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": null,
- "jobUuid": null,
- "progress": 0,
- "runningInstanceCount": 0,
- "runningCoreCount": 0,
- "clusterInfo": null,
- "executionTime": null,
- "wallTime": null,
- "state": "Success",
- "previousState": null,
- "totalInstanceCount": 0,
- "instanceCount": 4,
- "maxRetriesPerInstance": 0,
- "stateTransitionTime": "0001-01-01T00:00:00Z",
- "previousStateTransitionTime": "0001-01-01T00:00:00Z",
- "lastModified": "0001-01-01T00:00:00Z",
- "creationDate": "2025-04-16T16:01:28Z",
- "endDate": "0001-01-01T00:00:00Z",
- "waitForPoolResourcesSynchronization": true
}
Create one or list of new task(s). Location header is set to the newly created task location.
If a list of tasks is provided, the response will conserve the submit order and a status will be provided for each task submitted (Location header won't be changed in this case).
version required | string |
Task or list of tasks to create
name required | string non-empty Given Name of the task. Should be less than 2048 characters. |
shortname | string or null Shortname of the task (default is its Uuid). Should be unique.
|
profile | string or null Profile used by the task Should be one of the available profiles for the user. Should not be set if the task is using a pool |
poolUuid | string or null <uuid> Uuid of the task's pool. Should be the uuid of an open pool. Should not be set if the task part of a job. If the job uses a pool, the task will automatically inherit it. |
jobUuid | string or null <uuid> Uuid of the task's job. Should be the uuid of an active job. |
instanceCount | integer or null <int32> Number of task instances. For a more complex definition of instance ids, use The use of one of |
maxRetriesPerInstance | integer or null <int32> Deprecated Maximum number of retries per instance. Should not be set with Prefer the use of RetrySettings.MaxPerInstanceRetries field |
advancedRanges | string or null Range of task instances, represented by a comma-separated list of specific id values or continuous ranges defined by hyphens (-). (Optional - override InstanceCount) Specify an advanced range instead of a The use of one of |
resourceBuckets | Array of strings or null Names of the buckets containing resources for the task. The buckets should already exist in the user storage account. Should not be set with The use of either Maximum number of buckets: 100. |
Array of objects or null (ResourcesBucket) Names of the buckets containing resources for the task, with custom prefix. The buckets should already exist in the user storage account. Should not be set with The use of either Maximum number of buckets: 100. | |
resultBucket | string or null Name of the bucket containing results of the task. If the bucket does not exist in the user storage account, it will be created. |
Array of objects or null (KeyValue) List of constants for the task. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Task execution. Allowed characters for the constants' keys: Maximum number of constants is 150. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the task. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints applied to hardware for executing the task. Cannot set new hardware constraints for a task in a pool. | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null (Optional) List of tags Should be less than 10. The tags values should not be null and should be less than 512 characters. |
snapshotInterval | integer or null <int32> Deprecated Snapshot interval. Cannot be set at task creation (reset to 0). Use periodic snapshot endpoint to set the snapshot interval |
snapshotWhitelist | string or null (Optional) Regex of whitelisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBlacklist | string or null (Optional) Regex of blacklisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBucket | string or null Name of the snapshot bucket |
snapshotBucketPrefix | string or null Prefix for the snapshot bucket |
resultsWhitelist | string or null (Optional) Regex of whitelisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBlacklist | string or null (Optional) Regex of blacklisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBucket | string or null Name of the buckets used for results |
resultsBucketPrefix | string or null Prefix to add to bucket for results |
object (DependencyInput) Initial task dependency | |
autoDeleteOnCompletion | boolean or null Whether the task should be deleted if completed and the task quota is reached |
completionTimeToLive | string or null <date-span> Task life time limit |
waitForPoolResourcesSynchronization | boolean or null For in-pool tasks, whether to consider pool resources synchronization as a barrier for execution |
uploadResultsOnCancellation | boolean or null Whether the results should be upload if the task is cancelled |
object or null Task labels : arbitrary key / value pairs attached to the task in order to find it more easily. They do not affect the execution of the task. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the task should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the task resources cache. TTL is 7776000s by default. |
resultsCacheTTLSec | integer or null <int32> The TTL value for the task results cache. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "instanceCount": 4,
- "resourceBuckets": [
- "my-input-bucket"
], - "advancedResourceBuckets": [ ],
- "resultBucket": "my-output-bucket",
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "final.blend"
}
], - "forcedConstants": [ ],
- "constraints": [ ],
- "hardwareConstraints": [ ],
- "secretsAccessRights": {
- "bySecret": [ ],
- "byPrefix": [ ]
}, - "tags": [
- "t1",
- "t2,t3"
], - "snapshotWhitelist": "white.*",
- "snapshotBlacklist": ".*black.*",
- "snapshotBucket": "customBucket",
- "snapshotBucketPrefix": "somePrefix-",
- "labels": { },
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": null
}, - "retrySettings": {
- "maxTotalRetries": null,
- "maxPerInstanceRetries": null
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
List all tasks summaries belonging to the authenticated user.
version required | string |
tag | Array of strings Example: tag=t1&tag=t2,t3 Optional tag Filter. |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/summaries?tag=t1&tag=t2,t3
[- {
- "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "progress": 0.3,
- "runningInstanceCount": 2,
- "runningCoreCount": 16,
- "clusterInfo": {
- "clusterCoresCount": 0
}, - "executionTime": "00:00:00",
- "wallTime": "00:00:00",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "totalInstanceCount": 4,
- "instanceCount": 4,
- "maxRetriesPerInstance": 1,
- "advancedRanges": "0-2,4-5,17",
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "endDate": "2021-05-01T21:13:14Z",
- "waitForPoolResourcesSynchronization": 16
}
]
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Pagination configuration and Search details.
token | string or null Token of the response. |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data. | |
maximumResults | integer or null <int32> Number maximal of results. |
orderBy | string or null Sorting property. |
orderType | string or null Type of ordering. ASC or DESC |
{- "token": "token",
- "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1,
- "orderBy": "state",
- "orderType": "ASC"
}
{- "data": [
- {
- "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "progress": 0.3,
- "runningInstanceCount": 2,
- "runningCoreCount": 16,
- "clusterInfo": {
- "clusterCoresCount": 0
}, - "executionTime": "00:00:00",
- "wallTime": "00:00:00",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "totalInstanceCount": 4,
- "instanceCount": 4,
- "maxRetriesPerInstance": 1,
- "advancedRanges": "0-2,4-5,17",
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "endDate": "2021-05-01T21:13:14Z",
- "waitForPoolResourcesSynchronization": 16
}
], - "count": 1,
- "total": 1,
- "isTruncated": true,
- "nextToken": "string"
}
Complex search in all tasks belonging to the authenticated user.
Use the Select part of the search to provide a query to get only some tasks, use the filter part to only retrieve the selected fields.
The available operators are: And / Or /
Equal / NotEqual / LessThanOrEqual / LessThan / GreaterThanOrEqual / Like / In / NotIn
Available sorting fields: creationDate / executionTime / name / state
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Details of the request filter
object (Select) The results fields that should be displayed | |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data | |
maximumResults | integer or null <int32> Maximum number of results displayed |
{- "select": {
- "fields": [
- "string"
]
}, - "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1
}
[- {
- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "resultBucket": "mybucket",
- "resultsCacheTTLSec": 0,
- "completedInstances": [
- {
- "results": [
- "string"
], - "instanceId": 1,
- "wallTimeSec": 0,
- "execTimeSec": 180,
- "execTimeSecGHz": 200.3,
- "peakMemoryMB": 1200,
- "state": "Failure",
- "error": {
- "code": "string",
- "message": "string",
- "debug": "string"
}, - "specificationKey": "8c-32g-amd-rz3700x",
- "cpuModel": "AMD Ryzen 7 3700X 8-Core Processor",
- "coreCount": 8,
- "clockRatio": 0.8,
- "averageGHz": 3.7,
- "executionAttemptCount": 1
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "snapshotInterval": 0,
- "resultsCount": 0,
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "uploadResultsOnCancellation": false,
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "progress": 0.3,
- "runningInstanceCount": 2,
- "runningCoreCount": 16,
- "clusterInfo": {
- "clusterCoresCount": 0
}, - "executionTime": "00:00:00",
- "wallTime": "00:00:00",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "totalInstanceCount": 4,
- "instanceCount": 4,
- "maxRetriesPerInstance": 1,
- "advancedRanges": "0-2,4-5,17",
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "endDate": "2021-05-01T21:13:14Z",
- "waitForPoolResourcesSynchronization": 16
}
]
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
Pagination configuration and Search details.
token | string or null Token of the response. |
(Node (object or null)) or (UnitValueLeaf (object or null)) or (MultipleValueLeaf (object or null)) Filter to apply on data. | |
maximumResults | integer or null <int32> Number maximal of results. |
orderBy | string or null Sorting property. |
orderType | string or null Type of ordering. ASC or DESC |
{- "token": "token",
- "filter": {
- "operator": "NotEqual",
- "filters": [
- null
]
}, - "maximumResults": 1,
- "orderBy": "state",
- "orderType": "ASC"
}
{- "data": [
- {
- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "resultBucket": "mybucket",
- "resultsCacheTTLSec": 0,
- "completedInstances": [
- {
- "results": [
- "string"
], - "instanceId": 1,
- "wallTimeSec": 0,
- "execTimeSec": 180,
- "execTimeSecGHz": 200.3,
- "peakMemoryMB": 1200,
- "state": "Failure",
- "error": {
- "code": "string",
- "message": "string",
- "debug": "string"
}, - "specificationKey": "8c-32g-amd-rz3700x",
- "cpuModel": "AMD Ryzen 7 3700X 8-Core Processor",
- "coreCount": 8,
- "clockRatio": 0.8,
- "averageGHz": 3.7,
- "executionAttemptCount": 1
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "snapshotInterval": 0,
- "resultsCount": 0,
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "uploadResultsOnCancellation": false,
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "progress": 0.3,
- "runningInstanceCount": 2,
- "runningCoreCount": 16,
- "clusterInfo": {
- "clusterCoresCount": 0
}, - "executionTime": "00:00:00",
- "wallTime": "00:00:00",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "totalInstanceCount": 4,
- "instanceCount": 4,
- "maxRetriesPerInstance": 1,
- "advancedRanges": "0-2,4-5,17",
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "endDate": "2021-05-01T21:13:14Z",
- "waitForPoolResourcesSynchronization": 16
}
], - "count": 1,
- "total": 1,
- "isTruncated": true,
- "nextToken": "string"
}
Start a periodic snapshot of the task with the specified time interval (can be clamped by the API).
Setting an interval of 0 will stop the snapshot process. An optional Whitelist and an optional Blacklist can be provided to filter the files accepting the snapshots. Their value is updated and override any value previously provided. If filters have been previously provided (from task creation or periodic snapshot), they are used by default if the body of the request is null.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
configuration of the periodic snapshot
interval | integer <int32> Time interval (in sec) between each periodic snapshot. |
whitelist | string or null Whitelist filter. |
blacklist | string or null Blacklist filter. |
bucket | string or null Bucket name. |
bucketPrefix | string or null Bucket prefix. |
{- "interval": 30,
- "whitelist": ".*white.*",
- "blacklist": ".*black.*",
- "bucket": "customBucket",
- "bucketPrefix": "prefix-"
}
Request only one snapshot of the task.
An optional Whitelist and an optional Blacklist can be provided to filter the files accepting the snapshots. If periodic snapshots have been called for the same task the filters are overridden only for this unique snapshot. If filters have been previously provided (from task creation or periodic snapshot), they are used by default if the body of the request is null.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
configuration of the snapshot
whitelist | string or null Whitelist filter. |
blacklist | string or null Blacklist filter. |
bucket | string or null Bucket name. |
bucketPrefix | string or null Bucket prefix. |
{- "whitelist": ".*white.*",
- "blacklist": ".*black.*",
- "bucket": "customBucket",
- "bucketPrefix": "prefix-"
}
Retrying a task's failed instances with the possibility to change the value of some fields.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
New task configuration. Will update these fields in the new created task.
name | string or null Given Name of the cloned task. Same as the original by default. Should be less than 2048 characters. |
resourceBuckets | Array of strings or null Names of the buckets containing resources for the task. The buckets should already exist in the user storage account. If Maximum number of buckets: 100. |
Array of objects or null (ResourcesBucket) Names of the buckets containing resources for the task, with custom prefix. The buckets should already exist in the user storage account. Will override the value of Maximum number of buckets: 100. | |
maxRetriesPerInstance | integer or null <int32> Deprecated Maximum number of retries per instance. If Prefer the use of RetrySettings.MaxPerInstanceRetries field |
shortname | string or null Shortname of the task (default is its Uuid). Should be unique.
|
profile | string or null Profile used by the task Should be one of the available profiles for the user. Should not be set if the task is using a pool |
jobUuid | string or null <uuid> Uuid of the task's job. Should be the uuid of an active job. |
resultBucket | string or null Name of the bucket containing results of the task. If the bucket does not exist in the user storage account, it will be created. |
Array of objects or null (KeyValue) List of constants for the task. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Task execution. Allowed characters for the constants' keys: Maximum number of constants is 150. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the task. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints applied to hardware for executing the task. Cannot set new hardware constraints for a task in a pool. | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null (Optional) List of tags Should be less than 10. The tags values should not be null and should be less than 512 characters. |
snapshotInterval | integer or null <int32> Deprecated Snapshot interval. Cannot be set at task creation (reset to 0). Use periodic snapshot endpoint to set the snapshot interval |
snapshotWhitelist | string or null (Optional) Regex of whitelisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBlacklist | string or null (Optional) Regex of blacklisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBucket | string or null Name of the snapshot bucket |
snapshotBucketPrefix | string or null Prefix for the snapshot bucket |
resultsWhitelist | string or null (Optional) Regex of whitelisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBlacklist | string or null (Optional) Regex of blacklisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBucket | string or null Name of the buckets used for results |
resultsBucketPrefix | string or null Prefix to add to bucket for results |
object (DependencyInput) Initial task dependency | |
autoDeleteOnCompletion | boolean or null Whether the task should be deleted if completed and the task quota is reached |
completionTimeToLive | string or null <date-span> Task life time limit |
waitForPoolResourcesSynchronization | boolean or null For in-pool tasks, whether to consider pool resources synchronization as a barrier for execution |
uploadResultsOnCancellation | boolean or null Whether the results should be upload if the task is cancelled |
object or null Task labels : arbitrary key / value pairs attached to the task in order to find it more easily. They do not affect the execution of the task. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the task should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the task resources cache. TTL is 7776000s by default. |
resultsCacheTTLSec | integer or null <int32> The TTL value for the task results cache. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "maxRetriesPerInstance": 1,
- "shortname": "blend-task-1",
- "profile": "blender",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "resultBucket": "mybucket",
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "some_sensitive_data"
}
], - "forcedConstants": [
- {
- "constantName": "string",
- "forcedValue": "string",
- "forceExportInEnvironment": true,
- "access": "readOnly"
}
], - "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotInterval": 0,
- "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "waitForPoolResourcesSynchronization": 16,
- "uploadResultsOnCancellation": false,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "defaultResourcesCacheTTLSec": 0,
- "resultsCacheTTLSec": 0,
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Recovering a task's failed and cancelled instances with the possibility to change the value of some fields.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
New task configuration. Will update these fields in the new created task.
name | string or null Given Name of the cloned task. Same as the original by default. Should be less than 2048 characters. |
resourceBuckets | Array of strings or null Names of the buckets containing resources for the task. The buckets should already exist in the user storage account. If Maximum number of buckets: 100. |
Array of objects or null (ResourcesBucket) Names of the buckets containing resources for the task, with custom prefix. The buckets should already exist in the user storage account. Will override the value of Maximum number of buckets: 100. | |
maxRetriesPerInstance | integer or null <int32> Deprecated Maximum number of retries per instance. If Prefer the use of RetrySettings.MaxPerInstanceRetries field |
shortname | string or null Shortname of the task (default is its Uuid). Should be unique.
|
profile | string or null Profile used by the task Should be one of the available profiles for the user. Should not be set if the task is using a pool |
jobUuid | string or null <uuid> Uuid of the task's job. Should be the uuid of an active job. |
resultBucket | string or null Name of the bucket containing results of the task. If the bucket does not exist in the user storage account, it will be created. |
Array of objects or null (KeyValue) List of constants for the task. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Task execution. Allowed characters for the constants' keys: Maximum number of constants is 150. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the task. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints applied to hardware for executing the task. Cannot set new hardware constraints for a task in a pool. | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null (Optional) List of tags Should be less than 10. The tags values should not be null and should be less than 512 characters. |
snapshotInterval | integer or null <int32> Deprecated Snapshot interval. Cannot be set at task creation (reset to 0). Use periodic snapshot endpoint to set the snapshot interval |
snapshotWhitelist | string or null (Optional) Regex of whitelisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBlacklist | string or null (Optional) Regex of blacklisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBucket | string or null Name of the snapshot bucket |
snapshotBucketPrefix | string or null Prefix for the snapshot bucket |
resultsWhitelist | string or null (Optional) Regex of whitelisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBlacklist | string or null (Optional) Regex of blacklisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBucket | string or null Name of the buckets used for results |
resultsBucketPrefix | string or null Prefix to add to bucket for results |
object (DependencyInput) Initial task dependency | |
autoDeleteOnCompletion | boolean or null Whether the task should be deleted if completed and the task quota is reached |
completionTimeToLive | string or null <date-span> Task life time limit |
waitForPoolResourcesSynchronization | boolean or null For in-pool tasks, whether to consider pool resources synchronization as a barrier for execution |
uploadResultsOnCancellation | boolean or null Whether the results should be upload if the task is cancelled |
object or null Task labels : arbitrary key / value pairs attached to the task in order to find it more easily. They do not affect the execution of the task. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the task should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the task resources cache. TTL is 7776000s by default. |
resultsCacheTTLSec | integer or null <int32> The TTL value for the task results cache. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "maxRetriesPerInstance": 1,
- "shortname": "blend-task-1",
- "profile": "blender",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "resultBucket": "mybucket",
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "some_sensitive_data"
}
], - "forcedConstants": [
- {
- "constantName": "string",
- "forcedValue": "string",
- "forceExportInEnvironment": true,
- "access": "readOnly"
}
], - "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotInterval": 0,
- "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "waitForPoolResourcesSynchronization": 16,
- "uploadResultsOnCancellation": false,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "defaultResourcesCacheTTLSec": 0,
- "resultsCacheTTLSec": 0,
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Resuming a task's cancelled instances with the possibility to change the value of some fields.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
New task configuration. Will update these fields in the new created task.
name | string or null Given Name of the cloned task. Same as the original by default. Should be less than 2048 characters. |
resourceBuckets | Array of strings or null Names of the buckets containing resources for the task. The buckets should already exist in the user storage account. If Maximum number of buckets: 100. |
Array of objects or null (ResourcesBucket) Names of the buckets containing resources for the task, with custom prefix. The buckets should already exist in the user storage account. Will override the value of Maximum number of buckets: 100. | |
maxRetriesPerInstance | integer or null <int32> Deprecated Maximum number of retries per instance. If Prefer the use of RetrySettings.MaxPerInstanceRetries field |
shortname | string or null Shortname of the task (default is its Uuid). Should be unique.
|
profile | string or null Profile used by the task Should be one of the available profiles for the user. Should not be set if the task is using a pool |
jobUuid | string or null <uuid> Uuid of the task's job. Should be the uuid of an active job. |
resultBucket | string or null Name of the bucket containing results of the task. If the bucket does not exist in the user storage account, it will be created. |
Array of objects or null (KeyValue) List of constants for the task. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Task execution. Allowed characters for the constants' keys: Maximum number of constants is 150. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the task. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints applied to hardware for executing the task. Cannot set new hardware constraints for a task in a pool. | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null (Optional) List of tags Should be less than 10. The tags values should not be null and should be less than 512 characters. |
snapshotInterval | integer or null <int32> Deprecated Snapshot interval. Cannot be set at task creation (reset to 0). Use periodic snapshot endpoint to set the snapshot interval |
snapshotWhitelist | string or null (Optional) Regex of whitelisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBlacklist | string or null (Optional) Regex of blacklisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBucket | string or null Name of the snapshot bucket |
snapshotBucketPrefix | string or null Prefix for the snapshot bucket |
resultsWhitelist | string or null (Optional) Regex of whitelisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBlacklist | string or null (Optional) Regex of blacklisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBucket | string or null Name of the buckets used for results |
resultsBucketPrefix | string or null Prefix to add to bucket for results |
object (DependencyInput) Initial task dependency | |
autoDeleteOnCompletion | boolean or null Whether the task should be deleted if completed and the task quota is reached |
completionTimeToLive | string or null <date-span> Task life time limit |
waitForPoolResourcesSynchronization | boolean or null For in-pool tasks, whether to consider pool resources synchronization as a barrier for execution |
uploadResultsOnCancellation | boolean or null Whether the results should be upload if the task is cancelled |
object or null Task labels : arbitrary key / value pairs attached to the task in order to find it more easily. They do not affect the execution of the task. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the task should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the task resources cache. TTL is 7776000s by default. |
resultsCacheTTLSec | integer or null <int32> The TTL value for the task results cache. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "maxRetriesPerInstance": 1,
- "shortname": "blend-task-1",
- "profile": "blender",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "resultBucket": "mybucket",
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "some_sensitive_data"
}
], - "forcedConstants": [
- {
- "constantName": "string",
- "forcedValue": "string",
- "forceExportInEnvironment": true,
- "access": "readOnly"
}
], - "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotInterval": 0,
- "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "waitForPoolResourcesSynchronization": 16,
- "uploadResultsOnCancellation": false,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "defaultResourcesCacheTTLSec": 0,
- "resultsCacheTTLSec": 0,
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Cloning a task with the possibility to change the value of some fields.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
New task configuration. Will update these fields in the new created task.
name | string or null Given Name of the cloned task. Same as the original by default. Should be less than 2048 characters. |
instanceCount | integer or null <int32> Number of task instances. For a more complex definition of instance ids, use If |
advancedRanges | string or null Range of task instances, represented by a comma-separated list of specific id values or continuous ranges defined by hyphens (-). Will override the value of |
resourceBuckets | Array of strings or null Names of the buckets containing resources for the task. The buckets should already exist in the user storage account. If Maximum number of buckets: 100. |
Array of objects or null (ResourcesBucket) Names of the buckets containing resources for the task, with custom prefix. The buckets should already exist in the user storage account. Will override the value of Maximum number of buckets: 100. | |
maxRetriesPerInstance | integer or null <int32> Deprecated Maximum number of retries per instance. If Prefer the use of RetrySettings.MaxPerInstanceRetries field |
shortname | string or null Shortname of the task (default is its Uuid). Should be unique.
|
profile | string or null Profile used by the task Should be one of the available profiles for the user. Should not be set if the task is using a pool |
jobUuid | string or null <uuid> Uuid of the task's job. Should be the uuid of an active job. |
resultBucket | string or null Name of the bucket containing results of the task. If the bucket does not exist in the user storage account, it will be created. |
Array of objects or null (KeyValue) List of constants for the task. They are used to configure the profiles and can be overridden to change its parameters. New constants can also be added to use during the Task execution. Allowed characters for the constants' keys: Maximum number of constants is 150. Maximum length of the key and value: 2048 characters. For secret constants with write-only rights, use the prefix | |
Array of objects or null (ForcedConstant) List of constants to be overriden for the task. This is expected to be used in a development context and requires specific permissions. The same restrictions that apply to regular constants also apply here. | |
Array of HardwareConstraint (object) or MinimumCoreHardware (object) or MaximumCoreHardware (object) or MinimumRamHardware (object) or MaximumRamHardware (object) or SpecificHardware (object) or MinimumRamCoreRatioHardware (object) or MaximumRamCoreRatioHardware (object) or SSDHardware (object) or NoSSDHardware (object) or NoGpuHardware (object) or GpuHardware (object) or CpuModelHardware (object) or null Constraints applied to hardware for executing the task. Cannot set new hardware constraints for a task in a pool. | |
object (SecretsAccessRights) Describe secrets the task or pool will have access to when running. | |
tags | Array of strings or null (Optional) List of tags Should be less than 10. The tags values should not be null and should be less than 512 characters. |
snapshotInterval | integer or null <int32> Deprecated Snapshot interval. Cannot be set at task creation (reset to 0). Use periodic snapshot endpoint to set the snapshot interval |
snapshotWhitelist | string or null (Optional) Regex of whitelisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBlacklist | string or null (Optional) Regex of blacklisted files for snapshots Should be less than 2048 characters. You can use the values of task constants in the regex using |
snapshotBucket | string or null Name of the snapshot bucket |
snapshotBucketPrefix | string or null Prefix for the snapshot bucket |
resultsWhitelist | string or null (Optional) Regex of whitelisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBlacklist | string or null (Optional) Regex of blacklisted files for results Should be less than 2048 characters. You can use the values of task constants in the regex using |
resultsBucket | string or null Name of the buckets used for results |
resultsBucketPrefix | string or null Prefix to add to bucket for results |
object (DependencyInput) Initial task dependency | |
autoDeleteOnCompletion | boolean or null Whether the task should be deleted if completed and the task quota is reached |
completionTimeToLive | string or null <date-span> Task life time limit |
waitForPoolResourcesSynchronization | boolean or null For in-pool tasks, whether to consider pool resources synchronization as a barrier for execution |
uploadResultsOnCancellation | boolean or null Whether the results should be upload if the task is cancelled |
object or null Task labels : arbitrary key / value pairs attached to the task in order to find it more easily. They do not affect the execution of the task. | |
schedulingType | string (SchedulingClass) Enum: "flex" "onDemand" "reserved" Type of scheduling used when dispatching the tasks |
targetedReservedMachineKey | string or null The key of the reserved machine the task should be dispatch on.
To use with |
defaultResourcesCacheTTLSec | integer or null <int32> The default TTL value for all the task resources cache. TTL is 7776000s by default. |
resultsCacheTTLSec | integer or null <int32> The TTL value for the task results cache. |
object (Privileges) List of privileges that can be granted for task execution | |
object (RetrySettings) Configuration for instance or task retry |
{- "name": "my blend",
- "instanceCount": 4,
- "advancedRanges": "0-2,4-5,17",
- "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "maxRetriesPerInstance": 1,
- "shortname": "blend-task-1",
- "profile": "blender",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "resultBucket": "mybucket",
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "some_sensitive_data"
}
], - "forcedConstants": [
- {
- "constantName": "string",
- "forcedValue": "string",
- "forceExportInEnvironment": true,
- "access": "readOnly"
}
], - "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotInterval": 0,
- "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "waitForPoolResourcesSynchronization": 16,
- "uploadResultsOnCancellation": false,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "defaultResourcesCacheTTLSec": 0,
- "resultsCacheTTLSec": 0,
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Updating a running task
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
New task configuration. Will update these fields of the running task.
Array of objects or null (KeyValue) List of new constants for the pool | |
tags | Array of strings or null List of new tags for the pool |
{- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "newqarnot.blend"
}
], - "tags": [
- "t1",
- "newTag"
]
}
Trigger resources update of running task on compute nodes. Compute nodes will see new files uploaded to the bucket since the last resources synchronization (either at node provisioning, or from an earlier call to this method) and get an updated version of files that were modified in the bucket. NOTE: Files that were deleted from the bucket since the last synchronization WILL NOT be deleted from compute nodes.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
curl -X PATCH -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}
Delete a task (abort if needed)
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
curl -X DELETE -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}
Get information of the specified task
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}
{- "errors": [
- {
- "code": "string",
- "message": "string",
- "debug": "string"
}
], - "resourceBuckets": [
- "string"
], - "advancedResourceBuckets": [
- {
- "bucketName": "bucket",
- "filtering": {
- "prefixFiltering": {
- "prefix": "some/path/in/bucket/"
}
}, - "resourcesTransformation": {
- "stripPrefix": {
- "prefix": "some/prefix/to/remove"
}
}, - "cacheTTLSec": 2592000
}
], - "resultBucket": "mybucket",
- "resultsCacheTTLSec": 0,
- "completedInstances": [
- {
- "results": [
- "string"
], - "instanceId": 1,
- "wallTimeSec": 0,
- "execTimeSec": 180,
- "execTimeSecGHz": 200.3,
- "peakMemoryMB": 1200,
- "state": "Failure",
- "error": {
- "code": "string",
- "message": "string",
- "debug": "string"
}, - "specificationKey": "8c-32g-amd-rz3700x",
- "cpuModel": "AMD Ryzen 7 3700X 8-Core Processor",
- "coreCount": 8,
- "clockRatio": 0.8,
- "averageGHz": 3.7,
- "executionAttemptCount": 1
}
], - "status": {
- "timestamp": "2021-05-01T19:01:29Z",
- "lastUpdateTimestamp": "2021-05-01T19:01:29Z",
- "downloadProgress": 100,
- "executionProgress": 0,
- "uploadProgress": 0,
- "instanceCount": 6,
- "downloadTime": "00:00:00",
- "downloadTimeSec": 0,
- "environmentTime": "00:00:00",
- "environmentTimeSec": 0,
- "executionTime": "00:00:00",
- "executionTimeSec": 0,
- "executionTimeByCpuModel": [
- {
- "model": "string",
- "time": 0,
- "core": 0
}
], - "executionTimeByMachineSpecification": [
- {
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeBySiteAndMachine": [
- {
- "siteUuid": "string",
- "specificationKey": "string",
- "time": 0
}
], - "executionTimeByInstanceId": [
- {
- "instanceId": 0,
- "specificationKey": "string",
- "siteUuid": "string",
- "time": 0,
- "timeGhz": 0,
- "clockRatio": 0
}
], - "executionTimeGhzByCpuModel": [
- {
- "model": "string",
- "timeGhz": 0,
- "clockRatio": 0,
- "core": 0
}
], - "uploadTime": "00:00:00",
- "uploadTimeSec": 0,
- "wallTime": "string",
- "wallTimeSec": 0,
- "succeededRange": "0",
- "executedRange": "0-2",
- "failedRange": "1-2",
- "cancelledRange": "1",
- "failedOnlyRange": "2",
- "startedOnceRange": "0-2",
- "runningInstancesInfo": {
- "perRunningInstanceInfo": [
- {
- "activeForwards": [
- {
- "applicationPort": 8000,
- "forwarderPort": 50123,
- "forwarderHost": " forward.qarnot.com ",
- "bindAddress": "string"
}
], - "vpnConnections": [
- {
- "vpnName": "my-vpn",
- "nodeIPAddressCidr": "123.123.123"
}
], - "phase": "download",
- "instanceId": 2467,
- "maxFrequencyGHz": 4,
- "currentFrequencyGHz": 0,
- "cpuUsage": 0,
- "maxMemoryMB": 16384,
- "currentMemoryMB": 0,
- "memoryUsage": 0,
- "networkInKbps": 0,
- "networkOutKbps": 0,
- "progress": 0,
- "executionTimeSec": 1132.7,
- "executionTimeGHz": 4368.437,
- "specificationKey": " 8c-32g-amd-rz3700x ",
- "cpuModel": " AMD Ryzen 7 3700X 8-Core Processor ",
- "coreCount": 8,
- "executionAttemptCount": 1,
- "clockRatio": 0.8
}
], - "snapshotResults": [
- "string"
], - "timestamp": "0001-01-01T00:00:00 ",
- "averageFrequencyGHz": 0,
- "maxFrequencyGHz": 0,
- "minFrequencyGHz": 0,
- "averageMaxFrequencyGHz": 0,
- "averageCpuUsage": 0,
- "clusterPowerIndicator": 1,
- "averageMemoryUsage": 0,
- "averageNetworkInKbps": 0,
- "averageNetworkOutKbps": 0,
- "totalNetworkInKbps": 0,
- "totalNetworkOutKbps": 0,
- "runningCoreCountByCpuModel": [
- {
- "model": "string",
- "core": 0,
- "runningCorecount": 0
}
]
}
}, - "snapshotInterval": 0,
- "resultsCount": 0,
- "constants": [
- {
- "key": "BLEND_FILE",
- "value": "qarnot.blend"
}, - {
- "key": "QARNOT_SECRET__SENSITIVE_DATA",
- "value": "[SECRET]"
}
], - "secretsAccessRights": {
- "bySecret": [
- {
- "key": "string"
}
], - "byPrefix": [
- {
- "prefix": "string"
}
]
}, - "tags": [
- "string"
], - "snapshotWhitelist": ".*wanted.*",
- "snapshotBlacklist": ".*forbid.*",
- "snapshotBucket": "snapshots",
- "snapshotBucketPrefix": "prefix",
- "resultsWhitelist": ".*wanted.*",
- "resultsBlacklist": ".*forbid.*",
- "resultsBucket": "results",
- "resultsBucketPrefix": "prefix",
- "uploadResultsOnCancellation": false,
- "dependencies": {
- "dependsOn": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "autoDeleteOnCompletion": false,
- "completionTimeToLive": "10:00:00",
- "hardwareConstraints": [
- {
- "discriminator": "GpuHardwareConstraint"
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "schedulingType": "flex",
- "targetedReservedMachineKey": "string",
- "privileges": {
- "exportApiAndStorageCredentialsInEnvironment": true
}, - "retrySettings": {
- "maxTotalRetries": 0,
- "maxPerInstanceRetries": 0
}, - "uuid": "52c10b2d-0687-41e1-985e-7279f6dd543a",
- "name": "my blend",
- "shortname": "blend-task-1",
- "profile": "blender",
- "poolUuid": "62e80aae-d20a-4608-b873-ec8bff991733",
- "jobUuid": "12345678-1234-1234-1234-123456789012",
- "progress": 0.3,
- "runningInstanceCount": 2,
- "runningCoreCount": 16,
- "clusterInfo": {
- "clusterCoresCount": 0
}, - "executionTime": "00:00:00",
- "wallTime": "00:00:00",
- "state": "FullyExecuting",
- "previousState": "PartiallyExecuting",
- "totalInstanceCount": 4,
- "instanceCount": 4,
- "maxRetriesPerInstance": 1,
- "advancedRanges": "0-2,4-5,17",
- "stateTransitionTime": "2021-05-01T19:00:00Z",
- "previousStateTransitionTime": "2021-05-01T17:56:29Z",
- "lastModified": "2021-05-01T19:01:29Z",
- "creationDate": "2021-05-01T15:04:27Z",
- "endDate": "2021-05-01T21:13:14Z",
- "waitForPoolResourcesSynchronization": 16
}
Abort a task.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/abort
Get task standard output (can be rotated).
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stdout
Get task standard output (can be rotated) since last access.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stdout
Get standard output of a specific task instance (can be rotated).
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
instanceId required | integer <int32> Id of the instance |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stdout/{instanceId}
Get standard output of a specific task instance (can be rotated) since last access.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
instanceId required | integer <int32> Id of the instance |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stdout/{instanceId}
Get Error output of the task (can be rotated).
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stderr
Get Error output of the task (can be rotated) since last access.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stderr
Get Error output of a specific task instance (can be rotated).
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
instanceId required | integer <int32> Id of the instance |
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stderr/{instanceId}
Get Error output of a specific task instance (can be rotated) since last access.
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
instanceId required | integer <int32> Id of the instance |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/stderr/{instanceId}
Restart a task.
Deprecated. Use 'clone' or 'recover' instead
taskUuid required | string Example: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f Uuid of the task |
version required | string |
curl -X POST -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/tasks/{taskUuid}/restart
Get the information about the authenticated user
version required | string |
QarnotReadOnlyRequestForAccount | string Read only access to another account |
curl -X GET -H "Content-Type: application/json" -H "Authorization: token" https://localhost/v{version}/info
{- "email": "some@user.com",
- "maxBucket": 100,
- "maxTask": 100,
- "taskCount": 2,
- "maxJob": 100,
- "jobCount": 1,
- "maxPool": 50,
- "poolCount": 1,
- "maxRunningTask": 10,
- "maxRunningPool": 50,
- "runningTaskCount": 1,
- "runningPoolCount": 1,
- "runningInstanceCount": 2,
- "runningCoreCount": 16,
- "maxInstances": 64,
- "maxCores": 512,
- "maxFlexInstances": 64,
- "maxFlexCores": 512,
- "maxOnDemandInstances": 64,
- "maxOnDemandCores": 512,
- "computingQuotas": {
- "user": {
- "flex": {
- "maxInstances": 64,
- "maxCores": 512,
- "runningInstancesCount": 1,
- "runningCoreCount": 1
}, - "onDemand": {
- "maxInstances": 64,
- "maxCores": 512,
- "runningInstancesCount": 1,
- "runningCoreCount": 1
}, - "reserved": [
- {
- "machineKey": "string",
- "maxInstances": 64,
- "maxCores": 512,
- "runningInstancesCount": 1,
- "runningCoreCount": 1
}
]
}
}, - "quotaBytes": 10737418240,
- "quotaBytesBucket": 2147483648,
- "usedQuotaBytesBucket": 0,
- "usedQuotaBytes": 0,
- "defaultScheduling": "string",
- "defaultReservedSpecificationKey": "string"
}
Get the list of available versions of the API with their planned end of life
version required | string |
curl -X GET -H "Content-Type: application/json" https://localhost/v{version}/versions
[- {
- "version": "v0.1",
- "endOfLife": "2020-03-16"
}
]