Download OpenAPI specification:Download
The Rescale REST API, consolidated. Covers the v2 surface (jobs, runs, files, storage devices, budgets, projects, workspace administration) alongside the v3 surface (folders, pending queue, cluster tasks, billing CSV, force-shutdown, and workflows).
Every operation carries a version badge — v2 or v3 — next to its name in the
left panel. Endpoints from the two versions live side by side under one resource
section, so you can find an endpoint by what it does rather than which version
it belongs to.
Requests carry an API token in the Authorization header. Create one under
Preferences > API; the platform shows the value once, so copy
it then. A token inherits the permissions of the user that created it.
Requests target one of the production hosts below on /api/v2/ or /api/v3/:
| Region | Host |
|---|---|
| United States (commercial) | https://platform.rescale.com |
| Europe | https://eu.rescale.com |
| Japan | https://platform.rescale.jp |
| Korea | https://kr.rescale.com |
| ITAR | https://itar.rescale.com |
| FedRAMP | https://itar.rescale-gov.com |
Keep the trailing slash on v2 paths. /api/v2/jobs/ is correct,
/api/v2/jobs is not.
The API is versioned in the URL path. v2 and v3 run side by side; v1 is legacy. Breaking changes ship as a new major version. Additive changes (new fields, new endpoints) appear in the current version without notice, so parse defensively and ignore fields you do not recognize.
This endpoint lists informations on all coretypes available in the
Rescale API. The code property can be used in subsequent requests to
submit jobs.
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/coretypes/
{- "count": 14,
- "previous": null,
- "results": [
- {
- "hasSsd": true,
- "code": "standard-plus",
- "compute": "3.00",
- "name": "Marble",
- "isDeprecated": false,
- "price": 0.1,
- "remoteVizAllowed": true,
- "storage": 40,
- "lowPriorityPrice": "0.050",
- "walltimeRequired": false,
- "displayOrder": 1,
- "io": "Standard",
- "memory": 3750,
- "cores": [
- 1,
- 2,
- 4,
- 8
], - "isPrimary": true,
- "processorInfo": "Intel Xeon E5-2670 v2 (Ivy Bridge) - single threaded",
- "storageIo": "2 GB/s read, 1GB/s write",
- "description": "Standard"
}, - {
- "hasSsd": false,
- "code": "test",
- "compute": "1.00",
- "name": "HPC Test",
- "isDeprecated": false,
- "price": 0.25,
- "remoteVizAllowed": false,
- "storage": 0,
- "lowPriorityPrice": "0.100",
- "walltimeRequired": false,
- "displayOrder": null,
- "io": "",
- "memory": 1500,
- "cores": [
- 1
], - "isPrimary": false,
- "processorInfo": "",
- "storageIo": "",
- "description": ""
}
],
}This endpoint lists all the software available to your user on Rescale.
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/analyses/
{- "count": 88,
- "previous": null,
- "results": [
- {
- "industries": [
- {
- "name": "Aerospace",
- "icon": null
}, - {
- "name": "Automotive",
- "icon": null
}
], - "code": "abaqus",
- "description": "<p><b>Abaqus FEA</b> is a software suite for finite element analysis and computer-aided engineering. The Abaqus product suite consists of four core software products. <i>Abaqus/CAE</i>, <i>Abaqus/CFD</i>, <i>Abaqus/Standard</i>, and <i>Abaqus/Explicit</i>.</p><p><i>Abaqus CAE</i> is a software application used for both pre-processing and visualizing finite element analysis results. <i>Abaqus/CFD</i> provides computational fluid dynamics capabilities, while <i>Abaqus/Standard</i> and <i>Abaqus/Explicit</i> are finite element analyzers that employ implicit and explicit integration schemes, respectively.</p>",
- "versions": [
- {
- "eula": null,
- "allowedCoreTypes": [
- "gpu-kepler",
- "gpu-tesla",
- "hi-io",
- "hi-mem",
- "hi-mem-hpc",
- "hpc",
- "hpc-3",
- "hpc-plus",
- "lo-mem",
- "standard",
- "standard-plus",
- "test"
], - "stdCommand": "abaqus job=<job> interactive",
- "version": "6.14-1",
- "mpiCommand": "abaqus job=<job> cpus=<mpi-ranks> mp_mode=mpi interactive",
- "versionCode": "6.14.1-pcmpi",
- "smpCommand": "abaqus job=<job> cpus=<smp-ranks> interactive"
}, - {
- "eula": null,
- "allowedCoreTypes": [
- "gpu-kepler",
- "gpu-tesla",
- "hi-io",
- "hi-mem",
- "hi-mem-hpc",
- "hpc",
- "hpc-3",
- "hpc-plus",
- "lo-mem",
- "standard",
- "standard-plus",
- "test"
], - "stdCommand": "abaqus job=<job> interactive",
- "version": "6.13-5",
- "mpiCommand": "abaqus job=<job> cpus=<mpi-ranks> mp_mode=mpi interactive",
- "versionCode": "6.13.5-ibm",
- "smpCommand": "abaqus job=<job> cpus=<smp-ranks> interactive"
}, - {
- "eula": null,
- "allowedCoreTypes": [
- "gpu-kepler",
- "gpu-tesla",
- "hi-io",
- "hi-mem",
- "hi-mem-hpc",
- "hpc",
- "hpc-3",
- "hpc-plus",
- "lo-mem",
- "standard",
- "standard-plus",
- "test"
], - "stdCommand": "abaqus job=<job> interactive",
- "version": "6.12-1",
- "mpiCommand": "abaqus job=<job> cpus=<mpi-ranks> mp_mode=mpi interactive",
- "versionCode": "6.12.0-ibm",
- "smpCommand": "abaqus job=<job> cpus=<smp-ranks> interactive"
}, - {
- "eula": null,
- "allowedCoreTypes": [
- "gpu-kepler",
- "gpu-tesla",
- "hi-io",
- "hi-mem",
- "hi-mem-hpc",
- "hpc",
- "hpc-3",
- "hpc-plus",
- "lo-mem",
- "standard",
- "standard-plus",
- "test"
], - "stdCommand": "abaqus job=<job> interactive",
- "version": "6.12-1-asca",
- "mpiCommand": "abaqus job=<job> cpus=<mpi-ranks> mp_mode=mpi interactive",
- "versionCode": "6.12.0-asca",
- "smpCommand": "abaqus job=<job> cpus=<smp-ranks> interactive"
}
], - "supportDesks": [
- {
- "code": "rescale",
- "displayName": "Rescale Support",
- "email": "support@example.com"
}
], - "hasRescaleLicense": true,
- "vendorName": "",
- "pricing": "",
- "hasShortTermLicense": false,
- "licenseSettings": [
- {
- "isServer": true,
- "licenseType": "Flex",
- "helpText": "The address of the FlexNet license server to use. ([port]@hostname)",
- "name": "LM_LICENSE_FILE",
- "label": "License"
}, - {
- "isServer": true,
- "licenseType": "Flex",
- "helpText": "The address of the Autodesk Simulation Composite Analysis License Server [port]@hostname",
- "name": "ADSKFLEX_LICENSE_FILE",
- "label": "ASCA License Server"
}
], - "optimizerType": null,
- "thumbnail": "/static/img/analyses_images/abaqus.png",
- "resources": [
], - "name": "Abaqus"
}
],
}By default this endpoint retrieves all the jobs owned by the authenticated user
(you). To see shared jobs, use the f query parameter (see below).
| job_status | string Filter out the jobs based on the exact status. |
| state | string Filters out the jobs based on |
| f | string Filters out the jobs based on the visibility level (where |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/jobs/ # filtering curl -H "Authorization: token <api-token>" https://platform.rescale.com/api/v2/jobs/ \ --get --data-urlencode "q=#tag or project:myproject"
{- "count": 3,
- "next": null,
- "previous": null,
- "results": [
- {
- "analysisNames": [
- "OpenFOAM"
], - "clusterStatusDisplay": {
- "content": "Stopped",
- "labelClass": "",
- "useLabel": false
}, - "dateInserted": "2015-03-13T23:43:21.223052Z",
- "id": "OsKBd",
- "isVisible": true,
- "jobStatus": {
- "content": "Completed",
- "labelClass": "",
- "useLabel": false
}, - "name": "the FOAM 2",
- "owner": "mark@rescale.com",
- "sharedWith": [ ],
- "storage": 8014908
}, - {
- "analysisNames": [
- "OpenFOAM"
], - "clusterStatusDisplay": {
- "content": "Stopped",
- "labelClass": "",
- "useLabel": false
}, - "dateInserted": "2015-02-07T01:57:14.332984Z",
- "id": "XZFQV",
- "isVisible": true,
- "jobStatus": {
- "content": "Completed",
- "labelClass": "",
- "useLabel": false
}, - "name": "the FOAM",
- "owner": "mark@rescale.com",
- "sharedWith": [
- "someoneelse@example.com"
], - "storage": 8014906
}, - {
- "analysisNames": [
- "Custom User-Defined MPI Software"
], - "clusterStatusDisplay": {
- "content": "",
- "labelClass": "",
- "useLabel": false
}, - "dateInserted": "2014-10-09T23:00:36.198759Z",
- "id": "kikcT",
- "isVisible": true,
- "jobStatus": {
- "content": "",
- "labelClass": "",
- "useLabel": false
}, - "name": "MPI Hello",
- "owner": "mark@rescale.com",
- "sharedWith": [ ],
- "storage": 0
}
]
}Creates and saves a job, DOES NOT start job, see submit below.
| archiveFilters | Array of any |
| billingPriorityValue | null |
| caseFile | null |
| expectedRuns | null |
| id | string |
| includeNominalRun | boolean |
| isLowPriority | boolean |
| isTemplateDryRun | boolean |
Array of objects | |
| jobvariables | Array of any |
| monteCarloIterations | null |
| name | string |
| optimizer | null |
| owner | string |
| paramFile | null |
| remoteVizConfig | null |
| resourceFilters | Array of any |
{- "archiveFilters": [ ],
- "billingPriorityValue": null,
- "caseFile": null,
- "expectedRuns": null,
- "id": "LeeKa",
- "includeNominalRun": false,
- "isLowPriority": false,
- "isTemplateDryRun": false,
- "jobanalyses": [
- {
- "analysis": {
- "code": "user_included",
- "name": "Custom User-Defined Software",
- "version": "0",
- "versionName": ""
}, - "command": "echo \"Hello world\"",
- "envVars": { },
- "flags": { },
- "hardware": {
- "coreSummary": {
- "memoryPerNode": 3750,
- "numberOfNodes": 1,
- "storagePerNode": 4000
}, - "coreType": "standard-plus",
- "coresPerSlot": 1,
- "slots": 1,
- "walltime": null
}, - "inputFiles": [ ],
- "postProcessScript": null,
- "postProcessScriptCommand": "",
- "preProcessScript": null,
- "preProcessScriptCommand": "",
- "templateTasks": [ ],
- "useRescaleLicense": false
}
], - "jobvariables": [ ],
- "monteCarloIterations": null,
- "name": "Jobbo",
- "optimizer": null,
- "owner": "mark@rescale.com",
- "paramFile": null,
- "remoteVizConfig": null,
- "resourceFilters": [ ]
}{- "archiveFilters": [ ],
- "billingPriorityValue": null,
- "caseFile": null,
- "expectedRuns": null,
- "id": "LeeKa",
- "includeNominalRun": false,
- "isLowPriority": false,
- "isTemplateDryRun": false,
- "jobanalyses": [
- {
- "analysis": {
- "code": "user_included",
- "name": "Custom User-Defined Software",
- "version": "0",
- "versionName": ""
}, - "command": "echo \"Hello world\"",
- "envVars": { },
- "flags": { },
- "hardware": {
- "coreSummary": {
- "memoryPerNode": 3750,
- "numberOfNodes": 1,
- "storagePerNode": 4000
}, - "coreClass": {
- "acronym": "SP",
- "code": "coretype1-od-coretype2-od",
- "coreTypeConfigs": [
- {
- "coreType": "coretype-1",
- "name": "Coretype 1",
- "order": 0,
- "priority": "od"
}, - {
- "coreType": "coretype-2",
- "name": "Coretype 2",
- "order": 1,
- "priority": "od"
}
]
}, - "coresPerSlot": 1,
- "slots": 1,
- "walltime": null
}, - "inputFiles": [ ],
- "postProcessScript": null,
- "postProcessScriptCommand": "",
- "preProcessScript": null,
- "preProcessScriptCommand": "",
- "templateTasks": [ ],
- "useRescaleLicense": false
}
], - "jobvariables": [ ],
- "monteCarloIterations": null,
- "name": "Jobbo",
- "optimizer": null,
- "owner": "mark@rescale.com",
- "paramFile": null,
- "remoteVizConfig": null,
- "resourceFilters": [ ]
}You can delete multiple jobs at once by passing a list of job ids to the body of the HTTP request.
curl -H 'Authorization: Token <api-token>' -H 'Content-Type: application/json' https://platform.rescale.com/api/v2/jobs/ -X DELETE
Note that jobs that are currently executing cannot be deleted. You will need to stop the job first.
| job_id required | string |
curl -H 'Authorization: Token <api-token>' -H 'Content-Type: application/json' https://platform.rescale.com/api/v2/jobs/gVWWdb/ -X DELETE
List output files for a given job
| job_id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/jobs/aabbcc/files/
{- "count": 1,
- "next": null,
- "previous": null,
- "results": [
- {
- "dateUploaded": "2015-03-13T23:56:37.184619Z",
- "decryptedSize": 1680,
- "encodedEncryptionKey": "VkAWWRkKR9xJIDJTdkVK42O/7+Xo3M4LOaGvP6HjHMA=",
- "id": "xTyjeg",
- "isDeleted": false,
- "isUploaded": true,
- "md5": "8632d6580e922bd9f8691cc2d6ea3443",
- "name": "fvSchemes",
- "owner": "mark@rescale.com",
- "path": "user/user_KBdkT/output/job_OsKBd/run1/airFoil2D/system/fvSchemes",
- "relativePath": "airFoil2D/system/fvSchemes",
- "sharedWith": [ ],
- "typeId": 5,
- "viewInBrowser": true
}
]
}PATCH https://platform.rescale.com/api/v2/jobs/{job_id}
| job_id required | string |
| id | string |
| isLowPriority | boolean |
| name | string |
{- "id": "LeeKa",
- "isLowPriority": false,
- "name": "Jobster"
}Submits a request to stop a running job. Poll the job/cluster status endpoints to monitor the exact time when the job is stopped.
| job_id required | string |
curl -H 'Authorization: Token <api-token>' -H 'Content-Type: application/json' https://platform.rescale.com/api/v2/jobs/SsdkT/stop/ -X POST
| Property | Type | Description |
|---|---|---|
| status | String | A job status code |
| statusDate | Date | ISO8601 encoded date of when the job status changed |
| statusReason | String | (Optional) Extra context for the status. Eg, a failure reason |
| job_id required | string |
curl -H 'Authorization: Token <api-token>' -H 'Content-Type: application/json' https://platform.rescale.com/api/v2/jobs/cHDtgb/statuses/
{- "count": 6,
- "previous": null,
- "results": [
- {
- "status": "Completed",
- "statusDate": "2016-04-21T17:24:34.898495Z",
- "statusReason": "Completed successfully"
}, - {
- "status": "Executing",
- "statusDate": "2016-04-21T17:15:59.012000Z",
- "statusReason": null
}, - {
- "status": "Validated",
- "statusDate": "2016-04-21T17:07:18.088000Z",
- "statusReason": null
}, - {
- "status": "Started",
- "statusDate": "2016-04-21T17:07:15.153000Z",
- "statusReason": null
}, - {
- "status": "Queued",
- "statusDate": "2016-04-21T17:07:04.761050Z",
- "statusReason": null
}, - {
- "status": "Pending",
- "statusDate": "2016-04-21T17:06:32.086507Z",
- "statusReason": null
}
], - "next": null
}| Property | Type | Description |
|---|---|---|
| status | String | A cluster status code |
| statusDate | Date | ISO8601 encoded date of when the cluster status changed |
| statusReason | String | (Optional) Extra context for the status. Eg, a failure reason |
| job_id required | string |
curl -H 'Authorization: Token <api-token>' -H 'Content-Type: application/json' https://platform.rescale.com/api/v2/jobs/cHDtgb/cluster_statuses/
{- "count": 6,
- "previous": null,
- "results": [
- {
- "status": "Stopped",
- "statusDate": "2016-04-21T17:25:20.717000Z",
- "statusReason": null
}, - {
- "status": "Stopping",
- "statusDate": "2016-04-21T17:24:38.158000Z",
- "statusReason": null
}, - {
- "status": "Stop Requested",
- "statusDate": "2016-04-21T17:24:35.260585Z",
- "statusReason": null
}, - {
- "status": "Started",
- "statusDate": "2016-04-21T17:15:47.790000Z",
- "statusReason": null
}, - {
- "status": "Starting",
- "statusDate": "2016-04-21T17:07:25.127000Z",
- "statusReason": null
}, - {
- "status": "Not Started",
- "statusDate": "2016-04-21T17:07:04.719293Z",
- "statusReason": null
}
]
}Gets extended logs for a job. Extended logs are the combination of the user logs seen on a job and the statuses of a job. The job statuses are reformatted to match the log format and sorted by date along with the logs.
| job_id required | string |
curl -H 'Authorization: Token <api-token>' -H 'Content-Type: application/json' https://platform.rescale.com/api/v2/jobs/cHDtgb/extendedlogs/
[- {
- "displayTimestamp": "2023-04-28T04:53:05.100317+00:00",
- "id": "hxzXS",
- "level": "status",
- "message": "Pending",
- "source": "scheduler",
- "timestamp": 1682657585100
}, - {
- "displayTimestamp": "2023-04-28T04:53:25.618000Z",
- "id": "bLCOdb",
- "level": "INFO",
- "message": "Verifying job submission preconditions.",
- "source": "scheduler",
- "timestamp": 1682657605618
}, - {
- "displayTimestamp": "2023-04-28T04:53:26.877000Z",
- "id": "GXJbT",
- "level": "INFO",
- "message": "Preconditions have been satisfied.",
- "source": "scheduler",
- "timestamp": 1682657606877
}, - {
- "displayTimestamp": "2023-04-28T04:53:26.943829+00:00",
- "id": "wZsKdb",
- "level": "status",
- "message": "Waiting for Queue",
- "source": "scheduler",
- "timestamp": 1682657606943
}, - {
- "displayTimestamp": "2023-04-28T04:53:27.105712+00:00",
- "id": "yXJbT",
- "level": "status",
- "message": "Queued",
- "source": "scheduler",
- "timestamp": 1682657607105
}, - {
- "displayTimestamp": "2023-04-28T04:54:05.435000+00:00",
- "id": "NzCOdb",
- "level": "status",
- "message": "Started",
- "source": "scheduler",
- "timestamp": 1682657645435
}, - {
- "displayTimestamp": "2023-04-28T04:54:08.188000+00:00",
- "id": "LhKbT",
- "level": "status",
- "message": "Validated",
- "source": "scheduler",
- "timestamp": 1682657648188
}, - {
- "displayTimestamp": "2023-04-28T04:54:08.535000Z",
- "id": "VzCOdb",
- "level": "INFO",
- "message": "Starting server(s)",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682657648535
}, - {
- "displayTimestamp": "2023-04-28T05:24:27.368000Z",
- "id": "ThKbT",
- "level": "INFO",
- "message": "Server(s) Started",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682659467368
}, - {
- "displayTimestamp": "2023-04-28T05:24:32.034000+00:00",
- "id": "ZKCOdb",
- "level": "status",
- "message": "Executing",
- "source": "scheduler",
- "timestamp": 1682659472034
}, - {
- "displayTimestamp": "2023-04-28T05:24:37.035000Z",
- "id": "hLCOdb",
- "level": "DEBUG",
- "message": "Running workflow...",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682659477035
}, - {
- "displayTimestamp": "2023-04-28T05:25:58.851000Z",
- "id": "JXJbT",
- "level": "INFO",
- "message": "Saving files...",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682659558851
}, - {
- "displayTimestamp": "2023-04-28T05:26:02.260000Z",
- "id": "XzCOdb",
- "level": "INFO",
- "message": "Finished saving files.",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682659562260
}, - {
- "displayTimestamp": "2023-04-28T05:26:05.072000Z",
- "id": "VhKbT",
- "level": "INFO",
- "message": "Job Finished",
- "source": "unknown",
- "timestamp": 1682659565072
}, - {
- "displayTimestamp": "2023-04-28T05:26:05.080218+00:00",
- "id": "AXJbT",
- "level": "status",
- "message": "Completed",
- "source": "scheduler",
- "timestamp": 1682659565080
}, - {
- "displayTimestamp": "2023-04-28T05:26:06.422000Z",
- "id": "fQTMk",
- "level": "INFO",
- "message": "Shutting down cluster ...",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682659566422
}, - {
- "displayTimestamp": "2023-04-28T05:27:08.513000Z",
- "id": "Gcaaa",
- "level": "INFO",
- "message": "Cluster stopped",
- "source": "Basalt, On Demand Priority",
- "timestamp": 1682659628513
}, - {
- "displayTimestamp": "2023-06-26T19:03:40.163000Z",
- "id": "zpdRk",
- "level": "INFO",
- "message": "CLUSTER UPTIME SUMMARY",
- "source": "platform",
- "timestamp": 1687806220163
}, - {
- "displayTimestamp": "2023-06-26T19:03:40.181000Z",
- "id": "xXjea",
- "level": "INFO",
- "message": "(uptime metered by computing resource start/end time per node)",
- "source": "platform",
- "timestamp": 1687806220181
}, - {
- "displayTimestamp": "2023-06-26T19:03:40.243000Z",
- "id": "MzdRk",
- "level": "INFO",
- "message": "Compute node 1 dev-wquinn-cluster0199-cs-compute0-0 uptime: 3.7667 core-hours",
- "source": "platform",
- "timestamp": 1687806220243
}, - {
- "displayTimestamp": "2023-06-26T19:03:40.249000Z",
- "id": "nNjea",
- "level": "INFO",
- "message": "------------------------------------------------------------",
- "source": "platform",
- "timestamp": 1687806220249
}, - {
- "displayTimestamp": "2023-06-26T19:03:40.254000Z",
- "id": "BpdRk",
- "level": "INFO",
- "message": "Total Billable Uptime: 3.7667 core-hours",
- "source": "platform",
- "timestamp": 1687806220254
}
]Get the current list of custom fields that apply to compute and workstation jobs in your workspace:
| company_code required | string |
| workspace_id required | string |
curl -H 'Authorization: Token <api-token>' https://platform.rescale.com/api/v2/organizations/rescale/workspaces/03-066880176/custom-fields/
{- "fields": {
- "compute": {
- "Context": [
- {
- "name": "Study",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "Study Name",
- "helpText": "",
- "isMultiple": false,
- "isRequired": true,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Study Requestor",
- "valueType": "user",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": true,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Study Expected Completion Date",
- "valueType": "date",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": true,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Development Status",
- "valueType": "select",
- "enumOptions": [
- "Exploration",
- "Development",
- "Maintenance"
], - "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": true,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Objective",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "What is the purpose running this simulation?",
- "isMultiple": false,
- "isRequired": true,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}
], - "Findings": [
- {
- "name": "Simulation Outcome",
- "valueType": "select",
- "enumOptions": [
- "Successful",
- "Failed"
], - "placeholder": "Outcome",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Findings",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Coefficient of Drag",
- "valueType": "number",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Findings",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Report",
- "valueType": "file",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "Upload the study report as part of this simulation.",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Findings",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Convergence Plot",
- "valueType": "file",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "Include a image of the convergence plot.",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Findings",
- "originatingWorkspace": "00-066633676"
}
], - "Inputs": [
- {
- "name": "Part Number",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "SF-12-02415",
- "helpText": "Enter the CAD part number for this simulation.",
- "isMultiple": false,
- "isRequired": true,
- "allowOther": false,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Profile Variation",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Diameter (in)",
- "valueType": "number",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}
]
}, - "workstation": { }
}, - "isEnabled": true
}Custom fields can be assigned to a single job, allowing users to create additional custom fields specific to that job. The shape of the request is documented below in the request properties section
| job_id required | string |
object | |||||||
| |||||||
{- "fields": {
- "Context": [
- {
- "name": "Study",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "Study Name",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Deadline",
- "valueType": "date",
- "enumOptions": [ ],
- "placeholder": "Date",
- "helpText": "Enter the date you expect the study to be completed.",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Development Status",
- "valueType": "select",
- "enumOptions": [
- "Exploration",
- "Development",
- "Maintenance"
], - "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "CAD Part Number",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Cost Center",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "00-066633676"
}
], - "Findings": [
- {
- "name": "Simulation Outcome",
- "valueType": "select",
- "enumOptions": [
- "Successful",
- "Failure"
], - "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Findings",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Recommendations",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "Learnings from this job.",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Findings",
- "originatingWorkspace": "00-066633676"
}
], - "Inputs": [
- {
- "name": "Design Version",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Load Case",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Material Property",
- "valueType": "select",
- "enumOptions": [
- "Aluminum",
- "Titanium",
- "Tungsten"
], - "placeholder": "",
- "helpText": "",
- "isMultiple": true,
- "isRequired": false,
- "allowOther": true,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Material Validation",
- "valueType": "select",
- "enumOptions": [
- "Plasticity Specified (check if yes)",
- "Johson-cook model used (check if yes)",
- "Yield criteria specified (check if yes)"
], - "placeholder": "",
- "helpText": "",
- "isMultiple": true,
- "isRequired": false,
- "allowOther": true,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}, - {
- "name": "Crank Length",
- "valueType": "number",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Inputs",
- "originatingWorkspace": "00-066633676"
}
]
}
}Custom fields that are defined on a job are included as part of the response to the "Get a Specific Job" endpoint above.
| job_id required | string |
curl -H 'Authorization: Token <api-token>' https://platform.rescale.com/api/v2/jobs/cHDtgb/custom-fields/
{- "job field (string, set)": {
- "meta": {
- "name": "job field (set)",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": null
}, - "user": "example@rescale.com",
- "value": "job field value"
}, - "workspace (numeric array, set)": {
- "meta": {
- "name": "workspace",
- "valueType": "number",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": true,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "99-046880176"
}, - "user": "example@rescale.com",
- "value": [
- 42
]
}, - "job field (string, unset)": {
- "meta": {
- "name": "job field (unset)",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": null
}, - "user": null,
- "value": null
}, - "workspace (numeric array, unset)": {
- "meta": {
- "name": "workspace2",
- "valueType": "number",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": true,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": "99-046880176"
}, - "user": null,
- "value": null
}
}Attach values for custom fields on a saved job. Fields that are required must be submitted before the job is run and cannot be changed after. Optional fields may be added or amended at any time.
| job_id required | string |
object | |||||||
| |||||||
{- "Study": {
- "meta": {
- "name": "Study",
- "valueType": "text",
- "enumOptions": [ ],
- "placeholder": "",
- "helpText": "",
- "isMultiple": false,
- "isRequired": false,
- "allowOther": false,
- "section": "Context",
- "originatingWorkspace": null
}, - "user": "example@rescale.com",
- "value": "my study"
}
}Add a new or existing tag to a job.
| job_id required | string |
| name | string |
| normalizedName | string |
{- "name": "new - tag _ 1",
- "normalizedName": "newtag1"
}curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v2/jobs/{job_id}/tags/" -X DELETE -d ' { "name": "new - tag _ 1" } '
List VM instances for a given job. Note that some of the fields are for internal use, and thus undocumented.
| job_id required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v2/jobs/{job_id}/instances/"
{- "count": 1,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "PbKoeg",
- "clusterId": "bUMOb",
- "instanceGroup": "compute0",
- "role": "CUSTOM",
- "publicIp": "34.227.67.116",
- "privateIp": "10.25.14.159",
- "privateHostname": "ip-10-25-14-159",
- "publicHostname": "ec2-34-227-67-116.compute-1.amazonaws.com",
- "dateStarted": "2023-12-07T17:47:25Z",
- "supportedServices": [
- "ssh"
], - "username": "uprod_OvTpU",
- "isBehindNat": false,
- "sshPort": 22,
- "tenancy": "default"
}
]
}This endpoint retrieves all the jobs visible to the authenticated user associated with the specified projectId
| organization required | string |
| projectId required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/organizations/{organization}/projects/{projectId}/jobs/
{- "count": 1,
- "next": null,
- "previous": null,
- "results": [
- {
- "dateInserted": "2023-11-16T17:32:40.943867Z",
- "dateSubmitted": "2023-11-16T17:32:59.411076Z",
- "id": "coCnZb",
- "name": "Untitled Job",
- "owner": "wquinn@rescale.com",
- "workspace": {
- "id": "04-875358043",
- "name": "Eng Team 🦄🚀🤯",
- "configuredName": "Eng Team 🦄🚀🤯",
- "description": "Workspace for the Unicorn... Engineering Team",
- "isDefault": false,
- "jobProjectRequired": false,
- "showBillingItems": true,
- "preventUsersCreatingTemplates": false,
- "preventUsersCreatingUntemplatedJobs": false,
- "rescaleAuthEnabled": true,
- "hardwarePriority": "odp",
- "isPartner": false,
- "priceSchema": "2021r1",
- "autoshareJobsWithWorkspaceAdministrators": false
}, - "project": {
- "projectId": "duOxgb",
- "projectName": "ProjectZ",
- "posixUid": null,
- "posixGid": null
}, - "status": "Completed",
- "statusReason": "Completed successfully",
- "visibility": "Active",
- "isTemplate": false,
- "clonedFrom": null,
- "templatedFrom": null,
- "queuePriority": null,
- "userHasAccess": true,
- "billingPriorityValue": "ON_DEMAND",
- "hardwareSettings": [
- {
- "coresPerSlot": 36,
- "slots": 1,
- "walltime": 8,
- "coreType": "Emerald Max",
- "coreTypeProperties": {
- "acronym": "E",
- "color": "#50c878"
}, - "hardwareType": "compute"
}
], - "dateStarted": "2023-11-16T17:37:24.309135Z",
- "remoteViz": null,
- "jobAnalyses": [
- {
- "isOptimizer": false,
- "analysisName": "Bring Your Own Software",
- "analysisType": "compute",
- "analysisVersion": "CPU"
}
], - "isSuspended": null,
- "hoursSuspended": null,
- "isOnPersistentCluster": false
}
]
}List the project ID of the project that a job is assigned to.
| organization required | string |
| job_id required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v2/organizations/{organization}/jobs/{job_id}/project-assignment/"
{- "projectId": "duOxgb"
}Update the project ID of the project that a job is assigned to.
| organization required | string |
| job_id required | string |
| projectId | string |
{- "projectId": "duOxgb"
}Update the position of a job in the priority queue. The number passed in will be the new priority value for the job in the priority queue. The lowest value (highest priority) is 0.
| organization required | string |
| externalId | string |
object | |
| isBarrier | boolean |
| datePrioritized | string <date-time> |
| priority | integer |
{- "externalId": "SngSn",
- "job": {
- "dateInserted": "2025-02-24T21:46:45.390190Z",
- "id": "eLtoDe",
- "name": "Sample Job",
- "owner": 24169,
- "status": "Pending",
- "visibility": "Active",
- "isTemplate": false,
- "clonedFrom": 4596968,
- "templatedFrom": null
}, - "isBarrier": false,
- "datePrioritized": "2025-02-24T21:46:54.611890Z",
- "priority": 0
}View the Pending Job Priority Queue. This Queue is specific to a project. The lowest value (highest priority) is 0 and as the priority number increases, the lower in the priority queue the job is sitting (will be run later). This queue can be modified from the UI or by using the PATCH endpoint detailed below. The externalId of the project and job must be used for these endpoints.
| organization required | string |
| projectId required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v3/organizations/{organization}/projects/{projectId}/pending-queue/" -X GET
{- "count": 2,
- "next": null,
- "previous": null,
- "results": [
- {
- "externalId": "PiyrZb",
- "job": {
- "dateInserted": "2025-03-05T19:40:27.550535Z",
- "id": "LaQzac",
- "name": "Untitled Job",
- "owner": 2247,
- "status": "Pending",
- "visibility": "Active",
- "isTemplate": false,
- "clonedFrom": null,
- "templatedFrom": null
}, - "isBarrier": false,
- "datePrioritized": "2025-03-05T19:40:34.052577Z",
- "priority": 0
}, - {
- "externalId": "uwEEOb",
- "job": {
- "dateInserted": "2025-03-05T19:40:42.252769Z",
- "id": "qoWNPb",
- "name": "Untitled Job (Duplicated)",
- "owner": 2247,
- "status": "Pending",
- "visibility": "Active",
- "isTemplate": false,
- "clonedFrom": 859111,
- "templatedFrom": null
}, - "isBarrier": false,
- "datePrioritized": "2025-03-05T19:40:49.261510Z",
- "priority": 1
}
]
}Update the position of a job in the Pending Job Priority Queue. This Queue is specific to a project. The entire project Queue can be seen in the UI or using the GET endpoint descirbed above. The externalId of the project and job must be used for this endpoint. The number passed in will be the new priority value for the job in the priority queue. The lowest value (highest priority) is 0.
| organization required | string |
| projectId required | string |
| jobId required | string |
| externalId | string |
object | |
| isBarrier | boolean |
| datePrioritized | string <date-time> |
| priority | integer |
{- "externalId": "SngSn",
- "job": {
- "dateInserted": "2025-02-24T21:46:45.390190Z",
- "id": "eLtoDe",
- "name": "Sample Job",
- "owner": 24169,
- "status": "Pending",
- "visibility": "Active",
- "isTemplate": false,
- "clonedFrom": 4596968,
- "templatedFrom": null
}, - "isBarrier": false,
- "datePrioritized": "2025-02-24T21:46:54.611890Z",
- "priority": 0
}This call allows you to retrieve the first page of runs associated with job-id.
| job_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/jobs/XXXXXX/runs/
{- "count": 121,
- "previous": null,
- "results": [
- {
- "dateCompleted": "2015-02-18T03:09:14.667000Z",
- "dateStarted": "2015-02-18T03:08:49.117000Z",
- "displayOrder": 1,
- "id": "1",
- "isOptimal": false,
- "outputFileCount": 66,
- "outputFileSize": 8018226,
- "parent": null,
- "type": 3,
- "variables": [
- {
- "displayValue": "20",
- "isRelative": false,
- "name": "x_velocity",
- "value": 20
}, - {
- "displayValue": "3",
- "isRelative": false,
- "name": "y_velocity",
- "value": 3
}, - {
- "displayValue": "-0.0187556",
- "isRelative": false,
- "name": "Cd",
- "value": -0.0187556
}, - {
- "displayValue": "0.140742",
- "isRelative": false,
- "name": "Cl",
- "value": 0.140742
}
]
}, - {
- "dateCompleted": "2015-02-18T03:07:13.049000Z",
- "dateStarted": "2015-02-18T03:06:46.477000Z",
- "displayOrder": 2,
- "id": "2",
- "isOptimal": false,
- "outputFileCount": 72,
- "outputFileSize": 8805863,
- "parent": null,
- "type": 3,
- "variables": [
- {
- "displayValue": "20",
- "isRelative": false,
- "name": "x_velocity",
- "value": 20
}, - {
- "displayValue": "3.5",
- "isRelative": false,
- "name": "y_velocity",
- "value": 3.5
}, - {
- "displayValue": "-0.0248332",
- "isRelative": false,
- "name": "Cd",
- "value": -0.0248332
}, - {
- "displayValue": "0.157982",
- "isRelative": false,
- "name": "Cl",
- "value": 0.157982
}
]
}
]
}| Property | Type | Description |
|---|---|---|
| dateCompleted | String | The ISO8601 encoded date of when the run finished. |
| dateInserted | String | The ISO8601 encoded date of when the run started. |
| displayOrder | Integer | Used for sorting a collection of runs into their canonical order. |
| id | String | The unique identifier of the run within a job. |
| isOptimal | Boolean | True if the optimizer or analysis code has designated this as a run of interest. |
| outputFileCount | Integer | The number of output files associated with this run |
| outputFileSize | Integer | The total size in bytes of all output files associated with this run |
| parent | String | The identifier of the parent run. |
| type | Integer | 1 = Optimization, 2 = Iteration, 3 = Case |
| variables | List<Variable> | See below |
| job_id required | string |
| run_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/jobs/XXXXXX/runs/1/
{- "dateCompleted": "2015-02-18T03:09:14.667000Z",
- "dateStarted": "2015-02-18T03:08:49.117000Z",
- "displayOrder": 1,
- "id": "1",
- "isOptimal": false,
- "outputFileCount": 66,
- "outputFileSize": 8018226,
- "parent": null,
- "type": 3,
- "variables": [
- {
- "displayValue": "20",
- "isRelative": false,
- "name": "x_velocity",
- "value": 20
}, - {
- "displayValue": "3",
- "isRelative": false,
- "name": "y_velocity",
- "value": 3
}, - {
- "displayValue": "-0.0187556",
- "isRelative": false,
- "name": "Cd",
- "value": -0.0187556
}, - {
- "displayValue": "0.140742",
- "isRelative": false,
- "name": "Cl",
- "value": 0.140742
}
]
}Stops an in-progress run. The workflow processes will be killed and any available output files will be uploaded to Rescale Cloud Storage.
| job_id required | string |
| run_id required | string |
{ }This call allows you to fetch the metadata regarding all the files associated with run-id. You can then use the file-id to download each individual file.
| job_id required | string |
| run_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/jobs/XXXXX/runs/1/files/
{- "count": 63,
- "previous": null,
- "results": [
- {
- "typeId": 5,
- "name": "nut",
- "dateUploaded": "2014-11-12T22:56:50.641761Z",
- "relativePath": "airFoil2D/0/nut",
- "encodedEncryptionKey": "5BBRrtu98/BwNNTkPnJtgaHS2VZ0IzUwgQ+fFqc5rhk=",
- "sharedWith": [ ],
- "decryptedSize": 1278,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/0/nut",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "dmpTse",
- "md5": "c2e31d85a3af9272841a8b00f3c07498"
}, - {
- "typeId": 5,
- "name": "nuTilda",
- "dateUploaded": "2014-11-12T22:56:50.550979Z",
- "relativePath": "airFoil2D/0/nuTilda",
- "encodedEncryptionKey": "dQ3xMn6zAZkUx84ClH3ATmKumeaNJfWGna2k/89/V/s=",
- "sharedWith": [ ],
- "decryptedSize": 1268,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/0/nuTilda",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "fDhFDe",
- "md5": "24af84107af3a306e117b866b27b9c55"
}, - {
- "typeId": 5,
- "name": "p",
- "dateUploaded": "2014-11-12T22:56:50.714078Z",
- "relativePath": "airFoil2D/0/p",
- "encodedEncryptionKey": "ZHE2IT4ADwAJjfJYnYL4oBwp7YJ9cQr02nS3djnCHGA=",
- "sharedWith": [ ],
- "decryptedSize": 1166,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/0/p",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "sOhFDe",
- "md5": "dfff0408d9e75c8f81dadeec9b248a46"
}, - {
- "typeId": 5,
- "name": "U",
- "dateUploaded": "2014-11-12T22:56:50.465184Z",
- "relativePath": "airFoil2D/0/U",
- "encodedEncryptionKey": "NxEzQf+pChx9716FY4cdSb+UIw9ow64BimupkxaExYA=",
- "sharedWith": [ ],
- "decryptedSize": 1298,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/0/U",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "RapTse",
- "md5": "66aa52fa89123a8f6c3751d935b919d5"
}, - {
- "typeId": 5,
- "name": "nut",
- "dateUploaded": "2014-11-12T22:56:50.931594Z",
- "relativePath": "airFoil2D/100/nut",
- "encodedEncryptionKey": "M+X0Sxys9icqpXmdUreDnqg2TmLVL7B7vs68JiJDEU4=",
- "sharedWith": [ ],
- "decryptedSize": 100195,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/100/nut",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "fmpTse",
- "md5": "84597f0bc96aaefd338109e6ddbe3493"
}, - {
- "typeId": 5,
- "name": "nuTilda",
- "dateUploaded": "2014-11-12T22:56:50.862457Z",
- "relativePath": "airFoil2D/100/nuTilda",
- "encodedEncryptionKey": "yg6l0x1NkYkXOPT3TRoxTnXVC3x9C/SaB+tLSX+6M+U=",
- "sharedWith": [ ],
- "decryptedSize": 99221,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/100/nuTilda",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "hDhFDe",
- "md5": "489cb134eb1c14f6f5df760d9a421825"
}, - {
- "typeId": 5,
- "name": "p",
- "dateUploaded": "2014-11-12T22:56:51.005975Z",
- "relativePath": "airFoil2D/100/p",
- "encodedEncryptionKey": "cwQWYQLRl7+IIU462hGELzwz9iVxpf/CfgYUEQVndB4=",
- "sharedWith": [ ],
- "decryptedSize": 86615,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/100/p",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "uOhFDe",
- "md5": "fb5df9fdf2fd6de74a0f38998831b252"
}, - {
- "typeId": 5,
- "name": "phi",
- "dateUploaded": "2014-11-12T22:56:51.079312Z",
- "relativePath": "airFoil2D/100/phi",
- "encodedEncryptionKey": "5fWxJl5KR7G3oVUYJjjYMzbSveYLAYF6AW8xFDahZtk=",
- "sharedWith": [ ],
- "decryptedSize": 190707,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/100/phi",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "wMyXse",
- "md5": "2fb30c6d0e3ea1125a361ce069c46a80"
}, - {
- "typeId": 5,
- "name": "U",
- "dateUploaded": "2014-11-12T22:56:50.787838Z",
- "relativePath": "airFoil2D/100/U",
- "encodedEncryptionKey": "gHfNzchETji3v69TfeeyhBe0+owGJhNcX7PAzgmJha8=",
- "sharedWith": [ ],
- "decryptedSize": 298228,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/100/U",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "TapTse",
- "md5": "0cc541d092ceda7e299ecb736c7905ee"
}, - {
- "typeId": 5,
- "name": "time",
- "dateUploaded": "2014-11-12T22:56:51.222466Z",
- "relativePath": "airFoil2D/100/uniform/time",
- "encodedEncryptionKey": "F3HkdyuOCnxO6NwIJbv6Zg+xzKTFZKxrc6NvuneB2QE=",
- "sharedWith": [ ],
- "decryptedSize": 968,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_XXXXX/run1/airFoil2D/100/uniform/time",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "LosKDe",
- "md5": "62ac76eb8aae234370613d7350ac8685"
}
],
}| Property | Type | Description |
|---|---|---|
| path | String | The relative path to a file in the run's working directory |
| resource | String | The API url that can be used to retrieve the file's contents |
| job_id required | string |
| run_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/jobs/XXXXX/runs/1/directory-contents/
[- {
- "path": "airFoil2D/0/U",
- "resource": "/api/jobs/XXXXX/runs/1/tail/airFoil2D/0/U"
}, - {
- "path": "airFoil2D/0/nuTilda",
- "resource": "/api/jobs/XXXXX/runs/1/tail/airFoil2D/0/nuTilda"
}, - {
- "path": "airFoil2D/0/nut",
- "resource": "/api/jobs/XXXXX/runs/1/tail/airFoil2D/0/nut"
}
]| Field | Default | Required | Description |
|---|---|---|---|
| lines | None | No | The number of lines to retrieve from the specified file. If omitted, the raw binary contents of the file will be returned in the response. |
| job_id required | string |
| run_id required | string |
| path required | string |
curl -v -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/jobs/XXXXX/runs/1/tail/airFoil2D/0/U?lines=100
{- "fileType": "/home/job_fNjea/work/airFoil2D/0/U: ASCII English text",
- "lines": [
- "/*--------------------------------*- C++ -*----------------------------------*\\",
- "| ========= | |",
- "| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |",
- "| \\\\ / O peration | Version: 2.0.1 |",
- "| \\\\ / A nd | Web: www.OpenFOAM.com |",
- "| \\\\/ M anipulation | |",
- "\\*---------------------------------------------------------------------------*/",
- "FoamFile",
- "{",
- " version 2.0;",
- " format ascii;",
- " class volVectorField;",
- " object U;",
- "}",
- "// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //",
- "",
- "dimensions [0 1 -1 0 0 0 0];",
- "",
- "internalField uniform (25.75 3.62 0);",
- "",
- "boundaryField",
- "{",
- " inlet",
- " {",
- " type freestream;",
- " freestreamValue uniform (25.75 3.62 0);",
- " }",
- "",
- " outlet",
- " {",
- " type freestream;",
- " freestreamValue uniform (25.75 3.62 0);",
- " }",
- "",
- " wall",
- " {",
- " type fixedValue;",
- " value uniform (0 0 0);",
- " }",
- "",
- " frontAndBack",
- " {",
- " type empty;",
- " }",
- "}",
- "",
- "// ************************************************************************* //"
]
}This call allows you to retrieve the first page of files owned by the current user.
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/files/
{- "count": 365,
- "previous": null,
- "results": [
- {
- "typeId": 1,
- "name": "Crash_input.pc.gz",
- "dateUploaded": "2015-03-12T17:56:20.925043-07:00",
- "relativePath": "Crash_input.pc.gz",
- "encodedEncryptionKey": "LkkPk2L2mwuc4OibUs3kJe2RIQrzXbfdWXp9xJhoX0s=",
- "sharedWith": [ ],
- "decryptedSize": 56425931,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/Crash_input.pc.gz-0a87694a180172023d8a37f0c8aac965",
- "isUploaded": true,
- "viewInBrowser": false,
- "id": "WvNKdb",
- "isDeleted": false,
- "md5": "a3bc423552cf5457b2fcf4fad87e451d"
}, - {
- "typeId": 5,
- "name": "fsi.in",
- "dateUploaded": "2015-01-27T11:06:57.418023-08:00",
- "relativePath": "fsi.in",
- "encodedEncryptionKey": "MQfYDI0UttkgN+N2K71N0/nodyTZi/GjNY1z/Jnmh88=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 2744,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/fsi.in",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "oHyEm",
- "isDeleted": false,
- "md5": "2deba2076c80c89e96749e58a26c0d99"
}, - {
- "typeId": 5,
- "name": "post.echo",
- "dateUploaded": "2015-01-27T11:06:57.310163-08:00",
- "relativePath": "post.echo",
- "encodedEncryptionKey": "wmB+YNh2IDdZURd79NJjOiAnAGxl8mzPVlwS8kLPGnc=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 248,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/post.echo",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "ZeFSa",
- "isDeleted": false,
- "md5": "6796616b942ff5eaa5b68041871b4a0b"
}, - {
- "typeId": 5,
- "name": "therm.dat",
- "dateUploaded": "2015-01-27T11:06:57.205175-08:00",
- "relativePath": "therm.dat",
- "encodedEncryptionKey": "eQ2twVf8T8J+/lwK7FQNa2Q2PROzlTj2DIyeUPTnuW8=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 201624,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/therm.dat",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "XgpAm",
- "isDeleted": false,
- "md5": "d133bafb80e2ebd460efd6cf13f0c42b"
}, - {
- "typeId": 5,
- "name": "inputs.in",
- "dateUploaded": "2015-01-27T11:06:57.103260-08:00",
- "relativePath": "inputs.in",
- "encodedEncryptionKey": "4FY1kB/Ejq9r3n+Jz1um7yS+F/rXskAzlnDWFABr1HM=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 13959,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/inputs.in",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "JEvOa",
- "isDeleted": false,
- "md5": "a5d397df07e6b435d5d1f26eb9ebd4b2"
}, - {
- "typeId": 5,
- "name": "process_output.log",
- "dateUploaded": "2015-01-27T11:06:57.006959-08:00",
- "relativePath": "process_output.log",
- "encodedEncryptionKey": "haLrcqy/ePGyy7mJjr1J2ApBRQlEaH1UKvB49tNaflE=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 1262,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/process_output.log",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "LWoAm",
- "isDeleted": false,
- "md5": "7f2b5ba96aa67cb067193b2e44cbd91d"
}, - {
- "typeId": 5,
- "name": "post.in",
- "dateUploaded": "2015-01-27T11:06:56.901907-08:00",
- "relativePath": "post.in",
- "encodedEncryptionKey": "TRHGVF0LrDgJ+x6x/hzwYKG34ITfGWTvlhs2a/n1FP0=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 593,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/post.in",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "wuvOa",
- "isDeleted": false,
- "md5": "4fdf0c787bd84d4b4b6bf7bf35df1690"
}, - {
- "typeId": 5,
- "name": "restart0001.rst",
- "dateUploaded": "2015-01-27T11:06:56.801151-08:00",
- "relativePath": "restart0001.rst",
- "encodedEncryptionKey": "iHom7vaSMIVItK0RX1s+gLb6z+vxMn3MwKMLSjvkeCY=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 625449464,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/restart0001.rst",
- "isUploaded": true,
- "viewInBrowser": false,
- "id": "VgpAm",
- "isDeleted": false,
- "md5": "61a8a7e517ee579d329f7ce56b865e97"
}, - {
- "typeId": 5,
- "name": "dynamic.out",
- "dateUploaded": "2015-01-27T11:06:56.703897-08:00",
- "relativePath": "dynamic.out",
- "encodedEncryptionKey": "213UMp+Rp2+d6wPzDCxge4X9pV9sIAYft+6WgdAq29M=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 14226,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/dynamic.out",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "GEvOa",
- "isDeleted": false,
- "md5": "82116340362aba67bb0c3b58d4ced65f"
}, - {
- "typeId": 5,
- "name": "equiv_ratio_bin.out",
- "dateUploaded": "2015-01-27T11:06:56.602278-08:00",
- "relativePath": "equiv_ratio_bin.out",
- "encodedEncryptionKey": "hJ2qEY9k5PiVXyAlxHZt4/Qwv3xXWygKefer9Kn23wE=",
- "sharedWith": [
- "shareduser@rescale.com"
], - "decryptedSize": 37210,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/output/job_RJFSc/run1/equiv_ratio_bin.out",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "JWoAm",
- "isDeleted": false,
- "md5": "1a2a0b8b3879726b9035cdd1b9308fd9"
}
],
}| Property | Type | Description |
|---|---|---|
| typeId | Integer | 1 = inpute file, 2 = template file, 3 = parameter file, 4 = script file, 5 = output file, 7 = design variable file, 8 = case file, 9 = optimizer file, 10 = temporary file |
| name | String | The name of the file. |
| dateUploaded | String | The ISO8601 encoded date of when the file is uploaded. |
| relativePath | String | For output files (typeId = 5), the relative path is the path relative to the root output folder(user/{user_id}/output/{job_id}/{run_id}/{relative_path}). |
| encodedEncryptionKey | String | The key used to encrypt the files. |
| downloadUrl | String | The download URL of the file. |
| sharedWith | List<String> | A list of users of the file shared with. |
| decryptedSize | Integer | The decrypted file size in byte. |
| owner | String | The owner of the file. |
| path | String | The absolute path of the file being stored. |
| isUploaded | Boolean | If the file is already uploaded. |
| viewInBrowser | Boolean | If the file can be viewed in browser. |
| id | String | The unique identifier of the file. |
| isDelelted | Boolean | If the file is already deleted. |
| md5 | String | The md5 hash of the file. |
| file_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/files/{file_id}/
{- "typeId": 1,
- "name": "Crash_input.pc.gz",
- "dateUploaded": "2015-03-12T17:56:20.925043-07:00",
- "relativePath": "Crash_input.pc.gz",
- "encodedEncryptionKey": "LkkPk2L2mwuc4OibUs3kJe2RIQrzXbfdWXp9xJhoX0s=",
- "sharedWith": [ ],
- "decryptedSize": 56425931,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/Crash_input.pc.gz-0a87694a180172023d8a37f0c8aac965",
- "isUploaded": true,
- "viewInBrowser": false,
- "id": "WvNKdb",
- "isDeleted": false,
- "md5": "a3bc423552cf5457b2fcf4fad87e451d",
- "userTags": [
- {
- "name": "example tag",
- "normalizedName": "exampletag"
}
]
}Same as Get Metadata of a File
| file_id required | string |
| typeId | integer |
| name | string |
| dateUploaded | string <date-time> |
| relativePath | string |
| encodedEncryptionKey | string |
| downloadUrl | string <uri> |
| sharedWith | Array of any |
| decryptedSize | integer |
| owner | string |
| path | string |
| isUploaded | boolean |
| viewInBrowser | boolean |
| id | string |
| isDeleted | boolean |
| md5 | string |
{- "typeId": 4,
- "name": "new_script.txt",
- "dateUploaded": "2015-03-17T00:24:39.531384Z",
- "relativePath": "new_script.txt",
- "encodedEncryptionKey": "83TFwNf5QxFaCOmluBQBnJ/L0yAC/2Z9MPs2pKZuUi4=",
- "sharedWith": [ ],
- "decryptedSize": 112,
- "owner": "demouser@rescale.com",
- "path": "user/user_OvdRk/testLines-9425c8a5-08a6-4249-939a-2f060a4d0f25.txt",
- "isUploaded": true,
- "viewInBrowser": true,
- "id": "dNEXtf",
- "isDeleted": false,
- "md5": "4d479b49d26318068d3e23aa9d81e9ee"
}Important: Rescale Files API is designed to upload and download files no larger than 5 GB. For any file larger than that, we offer the Rescale CLI, Rescale Transfer Manager and Enhanced Uploads via our Platform Web. These tools also benefit from parallel downloads and could make transfers faster.
| file_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' -o 'download_file.txt' https://platform.rescale.com/api/v2/files/{file_id}/contents/
Important: Rescale Files API is designed to upload and download files no larger than 5 GB. For any file larger than that, we offer the Rescale CLI, Rescale Transfer Manager and Enhanced Uploads via our Platform Web. These tools also benefit from parallel downloads and could make transfers faster.
| file_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v2/files/{file_id}/lines/
{- "lines": [
- "This is line 1.\n",
- "This is line 2.\n",
- "This is line 3.\n",
- "This is line 4.\n",
- "This is line 5.\n"
]
}Add a new or existing tag to a file.
| file_id required | string |
| name | string |
| normalizedName | string |
{- "name": "new - tag _ 1",
- "normalizedName": "newtag1"
}curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v2/files/{file_id}/tags/" -X DELETE -d ' { "name": "new - tag _ 1" } '
This endpoint retrieves all the storage devices visible to the authenticated user, whether they are owned by, or shared with, that user.
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/storage-devices/
{- "count": 3,
- "previous": null,
- "results": [
- {
- "dateInserted": "2018-12-10T13:16:30.764554-08:00",
- "name": "Sample Storage One",
- "autoextend": true,
- "region": {
- "id": "pCTMk",
- "name": "us-east-1"
}, - "hardware": {
- "coresPerSlot": 18,
- "coreType": {
- "code": "hpc-3",
- "features": [
- "low_priority",
- "cluster_status"
], - "color": "#ff4242",
- "requiresTempSshAuth": false,
- "io": "10 Gb/s",
- "isPrimary": true,
- "processorInfo": "Intel Xeon E5-2666 v3 (Haswell)",
- "displayOrder": 1,
- "hasSsd": true,
- "storage": 36,
- "lowPriorityPrice": "0.1200",
- "memory": 3750,
- "isDefault": true,
- "defaultWalltime": null,
- "description": "HPC++",
- "acronym": "O",
- "price": "0.1700",
- "gpuCounts": [
- 0,
- 0,
- 0,
- 0,
- 0
], - "mustBeRequested": false,
- "isLowPriorityBeta": false,
- "compute": "7.33",
- "name": "Onyx",
- "baseClockSpeed": "2.9",
- "walltimeRequired": false,
- "remoteVizAllowed": true,
- "cores": [
- 1,
- 2,
- 4,
- 8,
- 18
], - "storageIo": "2 GB/s read, 1GB/s write"
}, - "coreSummary": {
- "storagePerNode": 648,
- "gpusPerNode": 0,
- "numberOfNodes": 1,
- "memoryPerNode": 60000
}, - "slots": 1,
- "type": "mountable_storage",
- "walltime": 5
}, - "owner": "support@rescale.com",
- "secondAlert": 90,
- "urls": {
}, - "storageSize": 120,
- "absoluteMountPoint": "~/storage_BNTMk",
- "availableSpace": 0,
- "id": "BNTMk",
- "firstAlert": 60,
- "sshConnection": "uprod.xnXAo@35.153.144.221"
}, - {
- "dateInserted": "2018-12-10T18:38:06.096877-08:00",
- "name": "Sample Storage Two",
- "autoextend": false,
- "region": {
- "id": "pCTMk",
- "name": "us-east-1"
}, - "hardware": {
- "coresPerSlot": 18,
- "coreType": {
- "code": "hpc-3",
- "features": [
- "low_priority",
- "cluster_status"
], - "color": "#ff4242",
- "requiresTempSshAuth": false,
- "io": "10 Gb/s",
- "isPrimary": true,
- "processorInfo": "Intel Xeon E5-2666 v3 (Haswell)",
- "displayOrder": 1,
- "hasSsd": true,
- "storage": 36,
- "lowPriorityPrice": "0.1200",
- "memory": 3750,
- "isDefault": true,
- "defaultWalltime": null,
- "description": "HPC++",
- "acronym": "O",
- "price": "0.1700",
- "gpuCounts": [
- 0,
- 0,
- 0,
- 0,
- 0
], - "mustBeRequested": false,
- "isLowPriorityBeta": false,
- "compute": "7.33",
- "name": "Onyx",
- "baseClockSpeed": "2.9",
- "walltimeRequired": false,
- "remoteVizAllowed": true,
- "cores": [
- 1,
- 2,
- 4,
- 8,
- 18
], - "storageIo": "2 GB/s read, 1GB/s write"
}, - "coreSummary": {
- "storagePerNode": 648,
- "gpusPerNode": 0,
- "numberOfNodes": 1,
- "memoryPerNode": 60000
}, - "slots": 1,
- "type": "mountable_storage",
- "walltime": 20
}, - "owner": "support@rescale.com",
- "secondAlert": 90,
- "urls": {
}, - "storageSize": 200,
- "absoluteMountPoint": "~/storage_caaaa",
- "availableSpace": 0,
- "id": "caaaa",
- "firstAlert": 60,
- "sshConnection": "uprod.GPfam@34.227.30.123"
}, - {
- "dateInserted": "2018-12-11T15:12:11.154340-08:00",
- "name": "Sample Storage Three",
- "autoextend": false,
- "region": {
- "id": "pCTMk",
- "name": "us-east-1"
}, - "hardware": {
- "coresPerSlot": 18,
- "coreType": {
- "code": "hpc-3",
- "features": [
- "low_priority",
- "cluster_status"
], - "color": "#ff4242",
- "requiresTempSshAuth": false,
- "io": "10 Gb/s",
- "isPrimary": true,
- "processorInfo": "Intel Xeon E5-2666 v3 (Haswell)",
- "displayOrder": 1,
- "hasSsd": true,
- "storage": 36,
- "lowPriorityPrice": "0.1200",
- "memory": 3750,
- "isDefault": true,
- "defaultWalltime": null,
- "description": "HPC++",
- "acronym": "O",
- "price": "0.1700",
- "gpuCounts": [
- 0,
- 0,
- 0,
- 0,
- 0
], - "mustBeRequested": false,
- "isLowPriorityBeta": false,
- "compute": "7.33",
- "name": "Onyx",
- "baseClockSpeed": "2.9",
- "walltimeRequired": false,
- "remoteVizAllowed": true,
- "cores": [
- 1,
- 2,
- 4,
- 8,
- 18
], - "storageIo": "2 GB/s read, 1GB/s write"
}, - "coreSummary": {
- "storagePerNode": 648,
- "gpusPerNode": 0,
- "numberOfNodes": 1,
- "memoryPerNode": 60000
}, - "slots": 1,
- "type": "mountable_storage",
- "walltime": 48
}, - "owner": "support@rescale.com",
- "secondAlert": 90,
- "urls": {
}, - "storageSize": 1024,
- "absoluteMountPoint": "~/storage_rCTMk",
- "availableSpace": 0,
- "id": "rCTMk",
- "firstAlert": 60,
- "sshConnection": null
}
], - "next": null
}Retrieve the details of a saved storage device.
| storage_device_id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/storage-devices/rCTMk/
{- "dateInserted": "2018-12-11T15:12:11.154340-08:00",
- "name": "Sample Storage Three",
- "autoextend": false,
- "region": {
- "id": "pCTMk",
- "name": "us-east-1"
}, - "hardware": {
- "coresPerSlot": 18,
- "coreType": {
- "code": "hpc-3",
- "features": [
- "low_priority",
- "cluster_status"
], - "color": "#ff4242",
- "requiresTempSshAuth": false,
- "io": "10 Gb/s",
- "isPrimary": true,
- "processorInfo": "Intel Xeon E5-2666 v3 (Haswell)",
- "displayOrder": 1,
- "hasSsd": true,
- "storage": 36,
- "lowPriorityPrice": "0.1200",
- "memory": 3750,
- "isDefault": true,
- "defaultWalltime": null,
- "description": "HPC++",
- "acronym": "O",
- "price": "0.1700",
- "gpuCounts": [
- 0,
- 0,
- 0,
- 0,
- 0
], - "mustBeRequested": false,
- "isLowPriorityBeta": false,
- "compute": "7.33",
- "name": "Onyx",
- "baseClockSpeed": "2.9",
- "walltimeRequired": false,
- "remoteVizAllowed": true,
- "cores": [
- 1,
- 2,
- 4,
- 8,
- 18
], - "storageIo": "2 GB/s read, 1GB/s write"
}, - "coreSummary": {
- "storagePerNode": 648,
- "gpusPerNode": 0,
- "numberOfNodes": 1,
- "memoryPerNode": 60000
}, - "slots": 1,
- "type": "mountable_storage",
- "walltime": 48
}, - "owner": "support@rescale.com",
- "secondAlert": 90,
- "urls": {
}, - "storageSize": 1024,
- "absoluteMountPoint": "~/storage_rCTMk",
- "availableSpace": 0,
- "id": "rCTMk",
- "firstAlert": 60,
- "sshConnection": null
}Updates editable details for a saved storage device.
| storage_device_id required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type:application/json" "https://platform.rescale.com/api/v2/storage-devices/GnHtk/" -X PATCH -d ' { "name": "Storagey McStorageFace" } '
This endpoint returns an ordered list of available storage device statuses. The first returned status is always the storage device's latest (current) status.
| storage_device_id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/storage-devices/rCTMk/statuses/
{- "count": 3,
- "previous": null,
- "results": [
- {
- "status": "Started",
- "statusDate": "2018-12-11T15:15:22.527000-08:00",
- "id": "kbbaac",
- "statusReason": null
}, - {
- "status": "Starting",
- "statusDate": "2018-12-11T15:12:12.631000-08:00",
- "id": "WyhoPb",
- "statusReason": null
}, - {
- "status": "Not Started",
- "statusDate": "2018-12-11T15:12:10.610686-08:00",
- "id": "FzuDXb",
- "statusReason": null
}
], - "next": null
}List files and directories for a given storage device.
| storage_device_id required | string |
| path required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/storage-devices/rCTMk/files/
{- "count": 4,
- "nextUrl": null,
- "results": [
- {
- "name": "blue",
- "path": "blue",
- "fileType": "DIRECTORY",
- "label": null,
- "createdTime": "2018-12-12T21:05:47Z",
- "fileSize": 4096,
- "owner": "uprod.jWVVk",
- "lastModifiedTime": "2018-12-12T21:05:47Z"
}, - {
- "name": "green.txt",
- "path": "green.txt",
- "fileType": "REGULAR_FILE",
- "label": null,
- "createdTime": "2018-12-12T21:05:52Z",
- "fileSize": 125375,
- "owner": "uprod.jWVVk",
- "lastModifiedTime": "2018-12-12T21:05:52Z"
}, - {
- "name": "shared",
- "path": "shared",
- "fileType": "DIRECTORY",
- "label": null,
- "createdTime": "2018-12-11T23:15:09Z",
- "fileSize": 4096,
- "owner": "uprod.jWVVk",
- "lastModifiedTime": "2018-12-11T23:15:09Z"
}, - {
- "name": "tmp",
- "path": "tmp",
- "fileType": "DIRECTORY",
- "label": null,
- "createdTime": "2018-12-11T23:15:20Z",
- "fileSize": 4096,
- "owner": "root",
- "lastModifiedTime": "2018-12-11T23:15:20Z"
}
]
}This endpoint returns a list of regions available to create a storage device.
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/storage-devices/available-regions/
[- {
- "id": "pCTMk",
- "name": "us-east-1"
}
]Sends a request to backup files and terminate a started storage device.
| storage_device_id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/storage-devices/GnHtk/shutdown/ -X POST
Attaches a started storage device to a saved job. Optionally, stages files/directories from the storage device to the job's work directory.
| job_id required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type:application/json" "https://platform.rescale.com/api/v2/jobs/LeeKa/storage-devices/" -X POST -d ' { "storageDevice": { "id": "GnHtk" } } '
This endpoint retrieves all the storage-devices visible to the authenticated user associated with the specified projectId
| organization required | string |
| projectId required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v2/organizations/{organization}/projects/{projectId}/storage-devices/"
{- "count": 1,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "nkaaa",
- "clusterId": "fFvOc",
- "storageSize": 1024,
- "dateInserted": "2024-02-17T05:45:45.398153Z",
- "owner": "wquinn@rescale.com",
- "urls": {
- "statuses": "",
- "start": "",
- "fileDownload": ""
}, - "sshConnection": null,
- "name": "Sample Storage Four",
- "firstAlert": null,
- "secondAlert": null,
- "walltimeAlert": null,
- "walltimeAlertHours": null,
- "periodicAlertHours": null,
- "toSharedUsers": null,
- "toWorkspaceAdmins": null,
- "autoextend": false,
- "autoextendPercent": 80,
- "region": {
- "id": "caaaa",
- "name": "N. Virginia"
}, - "availableSpace": 0,
- "mountPoint": "storage_nkaaa",
- "absoluteMountPoint": "~/storage_nkaaa",
- "runLowPriority": false,
- "hardware": {
- "slots": 1,
- "coresPerSlot": 18,
- "coreType": {
- "code": "hpc-3",
- "compute": null,
- "io": 10,
- "memory": 3750,
- "name": "Onyx",
- "storage": 36,
- "storageIo": "2 GB/s read, 1GB/s write",
- "cores": [
- 1,
- 2,
- 4,
- 8,
- 18
], - "storagePerNodeGib": 648,
- "description": "HPC++",
- "displayOrder": 50,
- "isPrimary": true,
- "hasSsd": true,
- "processorInfo": "Intel Xeon E5-2666 v3 (Haswell)",
- "remoteVizAllowed": true,
- "features": [
- "ssh",
- "cluster_status"
], - "mustBeRequested": false,
- "acronym": "O",
- "color": "#ff4242",
- "isLowPriorityBeta": false,
- "isDefault": true,
- "baseClockSpeed": "2.9",
- "boostClockSpeed": null,
- "gpuCounts": [
- 0,
- 0,
- 0,
- 0,
- 0
], - "gpuInfo": "",
- "requiresTempSshAuth": false,
- "permitPriorityCompute": true,
- "permitLowPriorityCompute": true,
- "permitReservedCompute": true,
- "categoryCodes": [ ],
- "networkInformation": null,
- "networkBandwidthGbps": "10.00",
- "networkLatencyUs": null,
- "memoryPerCoreGb": "3.75",
- "instructionSet": null,
- "storageInformation": "2 GB/s read, 1GB/s write",
- "isEbsBacked": true,
- "supportsSuspension": true
}, - "coreSummary": {
- "numberOfNodes": 1,
- "memoryPerNode": 60000,
- "storagePerNode": 648,
- "gpusPerNode": 0
}, - "walltime": 48,
- "coreClass": null,
- "type": "mountable_storage",
- "scheduler": { },
- "rceConnector": { },
- "autosuspend": true,
- "instanceType": {
- "apiName": "c4.8xlarge"
}
}, - "analyses": [
- {
- "code": "user_included",
- "name": "Bring Your Own Software",
- "version": "0",
- "versionName": "CPU",
- "thumbnail": "/static/img/icon-tools.png",
- "type": "compute",
- "osFamily": "linux"
}
], - "projectId": "nkaaa",
- "workspace": {
- "id": "00-046880176",
- "name": "Rescale",
- "configuredName": "",
- "description": "",
- "isDefault": true,
- "jobProjectRequired": false,
- "showBillingItems": true,
- "preventUsersCreatingTemplates": false,
- "preventUsersCreatingUntemplatedJobs": false,
- "rescaleAuthEnabled": true,
- "hardwarePriority": "odp",
- "isPartner": false,
- "priceSchema": "2019r1",
- "autoshareJobsWithWorkspaceAdministrators": false
}, - "sharedWith": [ ]
}
]
}List the project ID of the project that a storage device is assigned to.
| organization required | string |
| storage_device_id required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v2/organizations/{organization}/storage-devices/{storage_device_id}/project-assignment/"
{- "projectId": "duOxgb"
}Update the project ID of the project that a storage device is assigned to.
| organization required | string |
| job_id required | string |
| projectId | string |
{- "projectId": "duOxgb"
}Sends a request to forcefully shutdown a started storage device: files will NOT be backed up and any jobs attached to the storage device may not complete successfully. Any data on the storage device will be lost and unrecoverable. Use with caution.
| storage_device_id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v3/storage-devices/GnHtk/force-shutdown/ -X POST
This endpoint retrieves all the compute prices available to the user. A valid API token is required to make a successful request.
import requests requests.get( 'https://platform.rescale.com/api/v2/billing/computeprices/', headers={'Authorization': 'Token <api-token>'} )
[- {
- "coreType": "sapphire",
- "os": "windows",
- "planType": "2021-on-demand-pro",
- "planName": "2021-on-demand-pro",
- "value": {
- "currency": "USD",
- "amount": "0.3231",
- "symbol": "$"
}, - "isActive": true
}, - {
- "coreType": "sapphire",
- "os": "windows",
- "planType": "2021-on-demand",
- "planName": "2021-on-demand",
- "value": {
- "currency": "USD",
- "amount": "0.3231",
- "symbol": "$"
}, - "isActive": true
}, - {
- "coreType": "sapphire",
- "os": "linux",
- "planType": "2021-on-demand-pro",
- "planName": "2021-on-demand-pro",
- "value": {
- "currency": "USD",
- "amount": "0.1789",
- "symbol": "$"
}, - "isActive": true
}, - {
- "coreType": "sapphire",
- "os": "linux",
- "planType": "2021-on-demand",
- "planName": "2021-on-demand",
- "value": {
- "currency": "USD",
- "amount": "0.0806",
- "symbol": "$"
}, - "isActive": true
}, - {
- "coreType": "emerald_max",
- "os": "linux",
- "planType": "2021-on-demand",
- "planName": "2021-on-demand",
- "value": {
- "currency": "USD",
- "amount": "0.0543",
- "symbol": "$"
}, - "isActive": true
}, - {
- "coreType": "emerald_max",
- "os": "linux",
- "planType": "2021-on-demand-pro",
- "planName": "2021-on-demand-pro",
- "value": {
- "currency": "USD",
- "amount": "0.0673",
- "symbol": "$"
}, - "isActive": true
}
]This endpoint lists all projects available to the current user. The available projects are those associated with the groups you are a member of, which in turn is configured by your organization or workspace administrator. A valid API token is required to make a successful request.
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/users/me/projects/
{- "count": 2,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "pCTMk",
- "isDefault": true,
- "name": "Project without a budget",
- "remainingAmounts": [
- "(no budget)"
]
}, - {
- "id": "BNTMk",
- "isDefault": false,
- "name": "Project with a budget",
- "remainingAmounts": [
- "All: My budget ($100.00 available)"
]
}
]
}This endpoint lists all projects available to the designated workspace. The response includes which groups are assigned to the project (if any), whether the project is the default in the workspace, the number of jobs and storage devices related to the project, and whether auto-share behavior is enabled for users in the project.
| organization_code required | string |
| workspace_id required | string |
curl -H 'Authorization: Token <api-token>' https://platform.rescale.com/api/v2/organizations/rescale/workspaces/00-046880176/projects/
[- {
- "autoShareJobs": false,
- "groups": [
- {
- "groupId": "nkaaa",
- "groupName": "Test group",
- "projectId": "pCTMk",
- "priorityQueueManagement": false
}
], - "id": "pCTMk",
- "jobCount": 1,
- "storageDeviceCount": 0,
- "name": "Test project",
- "maxConcurrentCores": 42,
- "isDefault": true,
- "workspaceId": "00-046880176"
}, - {
- "autoShareJobs": true,
- "groups": [ ],
- "id": "BNTMk",
- "jobCount": 0,
- "storageDeviceCount": 0,
- "name": "Real project",
- "maxConcurrentCores": null,
- "isDefault": false,
- "workspaceId": "00-046880176"
}
]Add a new project in the given workspace, and return a description of the new project.
| organization_code required | string |
| workspace_id required | string |
| autoShareJobs | boolean |
| groups | Array of any |
| id | string |
| jobCount | integer |
| storageDeviceCount | integer |
| name | string |
| maxConcurrentCores | integer |
| isDefault | boolean |
| workspaceId | string |
{- "autoShareJobs": false,
- "groups": [ ],
- "id": "pkaaa",
- "jobCount": 0,
- "storageDeviceCount": 0,
- "name": "New project",
- "maxConcurrentCores": 42,
- "isDefault": false,
- "workspaceId": "00-046880176"
}Retrieve information about the given project, including which groups are assigned to the project, if any, whether the project is the default in the workspace, the number of jobs and storage devices related to the project, and whether auto-share behavior is enabled for users in the project.
| organization_code required | string |
| workspace_id required | string |
| project_id required | string |
curl -H 'Authorization: Token <api-token>' https://platform.rescale.com/api/v2/organizations/rescale/workspaces/00-046880176/projects/pCTMk/
{- "autoShareJobs": false,
- "groups": [
- {
- "groupId": "nkaaa",
- "groupName": "Test group",
- "projectId": "pCTMk",
- "priorityQueueManagement": false
}
], - "id": "pCTMk",
- "jobCount": 1,
- "storageDeviceCount": 0,
- "name": "Test project",
- "maxConcurrentCores": 42,
- "isDefault": true,
- "workspaceId": "00-046880176"
}Change the settings for a given project, and return a description of the updated project.
| organization_code required | string |
| workspace_id required | string |
| project_id required | string |
| autoShareJobs | boolean |
| groups | Array of any |
| id | string |
| jobCount | integer |
| storageDeviceCount | integer |
| name | string |
| maxConcurrentCores | null |
| isDefault | boolean |
| workspaceId | string |
{- "autoShareJobs": false,
- "groups": [ ],
- "id": "pkaaa",
- "jobCount": 0,
- "storageDeviceCount": 0,
- "name": "Updated project name",
- "maxConcurrentCores": null,
- "isDefault": false,
- "workspaceId": "00-046880176"
}Remove a project in the workspace.
| organization_code required | string |
| workspace_id required | string |
| project_id required | string |
curl -H 'Authorization: Token <api-token>' https://platform.rescale.com/api/v2/organizations/rescale/workspaces/00-046880176/projects/pCTMk/ -X DELETE
Associate the given group and project, allowing group members to create jobs under the project.
| organization_code required | string |
| workspace_id required | string |
| project_id required | string |
| groupId | string |
| groupName | string |
| projectId | string |
| priorityQueueManagement | boolean |
{- "groupId": "pkaaa",
- "groupName": "A group",
- "projectId": "pCTMk",
- "priorityQueueManagement": false
}Remove the association between a group and a project. Users in the group will no longer be able to submit jobs to the project, unless they are members of another group that still has an association.
| organization_code required | string |
| workspace_id required | string |
| project_id required | string |
| group_id required | string |
curl -H 'Authorization: Token <api-token>' https://platform.rescale.com/api/v2/organizations/rescale/workspaces/00-046880176/projects/pCTMk/groups/pkaaa/ -X DELETE
Beta API endpoints may change without notice, and this document may not reflect their current behavior.
| fields | string Comma-separated list of fields to include in response. |
| createdBefore | string Filter for resources created before this timestamp. |
| createdAfter | string Filter for resources created after this timestamp. |
| limit | integer Limits the number of records returned. |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/data/jobs/
{- "count": 9,
- "previous": null,
- "results": [
- {
- "dateCreated": "2024-11-14 21:34:36",
- "name": "Rescale AI Workstation – Heat Exchanger Thermal Efficiency",
- "status": {
- "status": "Completed",
- "statusDate": "2024-11-16T21:45:24.409338+00:00",
- "statusReason": "Exceeds job walltime"
}, - "owner": "chris@rescale.com",
- "workspace": {
- "id": "04-000265286",
- "name": "Automotive Division"
}, - "project": {
- "id": "wMTMk",
- "name": "Project EV-Battery-4079"
}, - "hardware": {
- "slots": 1,
- "coretype": {
- "name": "Grossular-1",
- "acronym": "Gr1"
}, - "walltime": 48,
- "autosuspend": false,
- "coresPerSlot": 4,
- "clusterStartTime": "2024-11-14T21:35:12+00:00"
}, - "jobAnalyses": [
- {
- "analysisName": "Rescale AI Physics Interactive Workflow",
- "analysisType": "compute",
- "analysisVersion": "100324"
}
], - "priority": "odp",
- "tags": [
- "aimodelhardware"
], - "customValues": { },
- "jobId": "uXgTse",
- "study": {
- "id": "P79-1",
- "name": "Heat Exchanger Thermal Efficiency",
- "description": "**Objective**: Evaluate the heat dissipation efficiency of the new heat exchanger design\n\n**Approach**: Run multiple simulations with parameter sweeps\n\n**Parameters**: Peak Temperature, Pressure Drop\n\n**Simulation Tools**: Comsol\n\n**Design Constraints**\n\nPeak Temperature \\< 400K\n\nPressure Drop \\< 625 Pa\n\n"
}
}, - {
- "dateCreated": "2024-11-14 20:12:54",
- "name": "cfx_training_run_0",
- "status": {
- "status": "Completed",
- "statusDate": "2024-11-14T20:23:33.526723+00:00",
- "statusReason": "Completed successfully"
}, - "owner": "chris@rescale.com",
- "workspace": {
- "id": "04-000265286",
- "name": "Automotive Division"
}, - "project": { },
- "hardware": {
- "slots": 1,
- "coretype": {
- "name": "Grossular-1",
- "acronym": "Gr1"
}, - "walltime": 48,
- "autosuspend": false,
- "coresPerSlot": 4,
- "clusterStartTime": "2024-11-14T20:13:34+00:00"
}, - "jobAnalyses": [
- {
- "analysisName": "Rescale AI Physics",
- "analysisType": "compute",
- "analysisVersion": "062024.1"
}
], - "priority": "odp",
- "tags": [ ],
- "customValues": { },
- "jobId": "DKgTse",
- "study": { }
}
]
}Beta API endpoints may change without notice, and this document may not reflect their current behavior.
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/data/jobs/fields
{- "fields": [
- "date_created",
- "name",
- "status",
- "owner",
- "workspace",
- "project",
- "hardware",
- "job_analyses",
- "priority",
- "tags",
- "custom_values",
- "job_id",
- "study"
]
}This endpoint retrieves all users in the specified workspace.
| organization-code required | string |
| workspace-id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/organizations/<organization-code>/workspaces/<workspace-id>/members/
[- {
- "userId": "yCXPT",
- "email": "ada@example.com",
- "fullName": "Ada Lovelace",
- "status": "active",
- "groups": [ ],
- "hasApiKey": false,
- "isOrganizationAdmin": true,
- "isWorkspaceAdmin": false,
- "dateJoined": "2020-09-21T15:45:55.861897Z",
- "lastLogin": "2020-09-08T16:09:37.729164Z"
}
]Creates a record and sends an invite to the specified member emails to join the organization.
| organization-code required | string |
| workspace-id required | string |
string | |
| fullName | string |
| dateInvited | string <date-time> |
| status | string |
[- {
- "email": "ada@example.com",
- "fullName": "Ada Lovelace",
- "dateInvited": "2020-09-21T15:45:55.861897-07:00",
- "status": "invited"
}
]This endpoint retrieves all groups in the specified workspace.
| organization-code required | string |
| workspace-id required | string |
curl -H "Authorization: Token <api-token>" https://platform.rescale.com/api/v2/organizations/<organization-code>/workspaces/<workspace-id>/groups/
[- {
- "id": "yCXPT",
- "name": "Aero Team",
- "memberCount": 3,
- "hardwareFilter": null
}
]Creates a group with the specified name.
| organization-code required | string |
| workspace-id required | string |
| id | string |
| name | string |
| memberCount | integer |
| hardwareFilter | null |
{- "id": "iaKbt",
- "name": "Structural Team",
- "memberCount": 0,
- "hardwareFilter": null
}Adds a member to the specified group.
| organization-code required | string |
| workspace-id required | string |
| group-id required | string |
string | |
| groupId | string |
| groupName | string |
| isGroupAdmin | boolean |
{- "email": "ada@example.com",
- "groupId": "iaKbt",
- "groupName": "Structural Team",
- "isGroupAdmin": false
}Assigns a hardware filter to the specified group.
| organization-code required | string |
| workspace-id required | string |
| group-id required | string |
| id | string |
| name | string |
| memberCount | integer |
object |
{- "id": "iaKbt",
- "name": "Structural Team",
- "memberCount": 3,
- "hardwareFilter": {
- "id": "GbQWc",
- "name": "High Clock-speed Only",
- "filteredCoreTypes": [
- {
- "code": "luna",
- "name": "Luna",
- "processorInfo": "Intel Xeon Platinum P-8124 @ 3.00GHz (Skylake)",
- "allowLowPriority": true,
- "allowPriority": false
}
], - "filteredCoreTypeSets": [ ]
}
}Creates a hardware filter that can be applied to any group in the workspace.
| organization-code required | string |
| workspace-id required | string |
{ }Returns a list of all available software analyses and their versions.
| organization-code required | string |
| workspace-id required | string |
[- {
- "name": "Abaqus",
- "code": "abaqus",
- "versions": [
- {
- "version": "2020 (FlexNet Licensing)",
- "versionCode": "2020"
}
]
}
]Returns a list of all analysis versions allowed for this workspace.
| organization-code required | string |
| workspace-id required | string |
{- "hasRestrictions": true,
- "analysisVersions": [
- {
- "code": "abaqus",
- "name": "Abaqus",
- "version": "2020",
- "versionName": "2020 (FlexNet Licensing)"
}
]
}Update the set of software analyses and versions available to the workspace.
| organization-code required | string |
| workspace-id required | string |
| hasRestrictions | boolean |
Array of objects |
{- "hasRestrictions": true,
- "analysisVersions": [
- {
- "code": "abaqus",
- "name": "Abaqus",
- "version": "2020",
- "versionName": "2020 (FlexNet Licensing)"
}
]
}Returns a summary of workspace charges for the specified period.
| organization-code required | string |
| workspace-id required | string |
{- "jobs": 12900,
- "hardwareCharge": 23573.02,
- "softwareCharge": 0,
- "storageCharge": 500.25,
- "transferCharge": 0,
- "connectionsCharge": 0,
- "deposits": 0,
- "appliedCredit": 0,
- "appliedDeposit": -24070.78,
- "totalCharge": 2.49,
- "hardwareUsage": 540882,
- "storageUsage": 0,
- "transferUsage": 0,
- "id": "04-0468913198",
- "label": "Acme Co.",
- "activeUsers": 3,
- "csvUrl": "/organizations/acme/workspaces/04-0468913198/billing/csv/?startYear=2020&startMonth=9&endYear=2020&endMonth=9"
}This endpoint returns a csv summary of an organization charges for the specified period.
| organization-code required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v3/organizations/<organization-code>/billing/csv/"
This endpoint returns a csv summary of an member charges in an organization for the specified period.
| organization-code required | string |
| workspace-id required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v3/organizations/<organization-code>/workspaces/<workspace-id>/billing/csv/"
GET https://platform.rescale.com/api/v3/organizations/<organization-code>/workspaces/<workspace-id>/billing/members/<email>/csv/
| organization-code required | string |
| email required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v3/organizations/<organization-code>/billing/members/<email>/csv/"
GET https://platform.rescale.com/api/v3/organizations/{organization}/workspaces/{workspace}/billing/projects/{projectId}/csv/
| organization required | string |
| projectId required | string |
curl -H "Authorization: Token <api-token>" -H "Content-Type: application/json" "https://platform.rescale.com/api/v3/organizations/{organization}/workspaces/{workspace}/billing/projects/{projectId}/csv/"
This call allows you to retrieve the root folders for your user. The folder MyJobs contains all of your job folders, one for each of your active jobs. The folder MyLibrary is the root folder of your library files and folders.
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v3/users/me/folders/
{- "MyJobs": "pCTMz",
- "MyLibrary": "BdTMk"
}This call allows you to create a new folder using the id of the parent folder to denote where you want to the folder created.
Note that this operation is only possible within your MyLibrary directory. Job folders within your MyJobs directory are immutable.
| parent_folder_id required | string |
{ }This call allows you to delete a folder and all of its contents: its files, its child folders and their descendants.
| folder_id required | string |
curl -X DELETE -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v3/folders/{folder_id}/
This call allows you to view the ancestry of a folder: its parent folder(s) all the way up to the root folder.
| folder_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v3/folders/{folder_id}/
{- "id": "thpAo",
- "name": "level_3_folder",
- "dateInserted": "2023-08-07T18:47:39.946002Z",
- "type": "LibraryFolder",
- "ancestry": [
- {
- "id": "BNTMk",
- "name": "my_library"
}, - {
- "id": "cHewo",
- "name": "level_1_folder"
}, - {
- "id": "eFvOc",
- "name": "level_2_folder"
}
], - "job": null
}This call allows you to view the metadata and contents of a folder, including child folders and files. However, to view the contents of its child folders, a separate request must be made.
| folder_id required | string |
curl -X GET -H 'Authorization: Token \<token\>' https://platform.rescale.com/api/v3/folders/{folder_id}/contents/
{ }Beta API endpoints may change without notice, and this document may not reflect their current behavior.
| fileId | string |
| success | boolean |
| operationId | string |
| error | null |
| status | integer |
[- {
- "fileId": "fileId1",
- "success": true,
- "operationId": "op-uuid-12345",
- "error": null,
- "status": 200
}, - {
- "fileId": "fileId2",
- "success": false,
- "operationId": null,
- "error": "An error occurred",
- "status": 500
}
]Beta API endpoints may change without notice, and this document may not reflect their current behavior.
curl -H 'Authorization: Token \<token\>' -H "Content-Type: application/json" https://platform.rescale.com/api/v3/folders/copy-to-device/status/?operation_ids=<opId1>&operation_ids=<opId2>
[- {
- "id": "op-uuid-12345",
- "action": "copy-file",
- "inserted-at": "Wed, 15 Jan 2025 21:58:55 GMT",
- "status": "SCHEDULED",
- "status-changed-at": "Wed, 15 Jan 2025 21:58:55 GMT",
- "status-reason": "New",
- "updated-at": "Wed, 15 Jan 2025 21:58:55 GMT"
}, - {
- "id": "op-uuid-67890",
- "action": "copy-file",
- "inserted-at": "Wed, 15 Jan 2025 21:58:55 GMT",
- "status": "COMPLETED",
- "status-changed-at": "Wed, 15 Jan 2025 22:22:42 GMT",
- "status-reason": "Completed",
- "updated-at": "Wed, 15 Jan 2025 22:22:42 GMT"
}
]This endpoint retrieves all the budgets available to the user. A valid API token is required to make a successful request.
import requests requests.get( 'https://platform.rescale.com/api/v3/budgets/', headers={'Authorization': 'Token <api-token>'} )
[- {
- "count": 2,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "ibSip",
- "user": "testing@rescale.com",
- "budgetOwner": "testing@rescale.com",
- "createDate": "2025-05-12",
- "budgetLevel": "Member",
- "budgetTarget": "EwEXc",
- "budgetingUnit": "cost",
- "budgetedAmount": "$20.00",
- "name": "Budget Test",
- "chargeType": "Compute-License",
- "budgetType": "One-time",
- "startDate": "2024-04-01",
- "endDate": "2024-05-01",
- "strictBudget": false
}, - {
- "id": "HEaJm",
- "user": "testing@rescale.com",
- "budgetOwner": "testing@rescale.com",
- "createDate": "2025-05-12",
- "budgetLevel": "Organization",
- "budgetTarget": [
- "04-003908786"
], - "budgetingUnit": "core-hour",
- "budgetedAmount": "1000000000.0000",
- "name": "Multi WS Budget Test",
- "budgetType": "One-time",
- "startDate": "2025-05-01",
- "endDate": "2025-06-01",
- "strictBudget": false
}
]
}
]This endpoint creates a new budget for the user. A valid API token is required to make a successful request.
"Successfully created Budget qOewo: API test"This endpoint updates an existing budget for the user. A valid API token is required to make a successful request.
"Successfully updated Budget kaaaa: new fun name"This endpoint deletes an existing budget for the user. A valid API token is required to make a successful request.
import requests requests.delete( 'https://platform.rescale.com/api/v3/budgets/', headers={'Authorization': 'Token <api-token>'}, body={"id": "kaaaa","name": "new fun name"} )
"Successfully deleted Budget kaaaa: new fun name"| search | string Search workflows by name |
| user | string Enum: "owned" "shared" "user_all" Filter by ownership |
| ordering | string Enum: "name" "-name" "date_inserted" "-date_inserted" Sort order for results. Prefix with |
| page | integer >= 1 Default: 1 Page number for pagination |
| page_size | integer [ 1 .. 1000 ] Default: 10 Number of results per page (default 10, max 1000) |
{- "count": 0,
- "results": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "dateInserted": "2019-08-24T14:15:22Z",
- "sharedWith": [
- {
- "recipient": {
- "email": "user@example.com",
- "account": "string",
- "accountName": "string"
}, - "supportDesk": {
- "code": "string",
- "displayName": "string",
- "email": "user@example.com",
- "id": "string"
}, - "type": "user",
- "fullName": "string",
- "email": "user@example.com",
- "workspace": {
- "id": "string",
- "name": "string"
}
}
]
}
]
}| name required | string <= 200 characters Workflow name |
| description | string Default: "" Workflow description |
required | object (WorkflowMarkup) The workflow definition blob |
{- "name": "string",
- "description": "",
- "workflow": {
- "parameters": [
- {
- "name": "shared_storage",
- "type": "shared_storage",
- "required": true,
- "description": "Shared storage device for the workflow"
}, - {
- "name": "job_name",
- "type": "string",
- "required": false,
- "description": "Name for the simulation job"
}
], - "graph": {
- "nodes": [
- {
- "id": "storage",
- "type": "storage_device",
- "position": {
- "x": 100,
- "y": 0
}, - "data": {
- "startCondition": "always",
- "storageData": {
- "name": "Workflow Storage",
- "storageSize": 100,
- "hardware": {
- "coreType": {
- "code": "hpc-3"
}, - "coresPerSlot": 18,
- "walltime": 24
}
}
}
}, - {
- "id": "simulate",
- "type": "job",
- "position": {
- "x": 100,
- "y": 200
}, - "data": {
- "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}
}
}
], - "edges": [
- {
- "id": "edge-1",
- "source": "storage",
- "target": "simulate"
}
]
}, - "continueOnNodeFailure": false
}
}{- "id": "string",
- "name": "string",
- "description": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "dateInserted": "2019-08-24T14:15:22Z",
- "sharedWith": [
- {
- "recipient": {
- "email": "user@example.com",
- "account": "string",
- "accountName": "string"
}, - "supportDesk": {
- "code": "string",
- "displayName": "string",
- "email": "user@example.com",
- "id": "string"
}, - "type": "user",
- "fullName": "string",
- "email": "user@example.com",
- "workspace": {
- "id": "string",
- "name": "string"
}
}
], - "workflow": {
- "parameters": [
- {
- "name": "shared_storage",
- "type": "shared_storage",
- "required": true,
- "description": "Shared storage device for the workflow"
}, - {
- "name": "job_name",
- "type": "string",
- "required": false,
- "description": "Name for the simulation job"
}
], - "graph": {
- "nodes": [
- {
- "id": "storage",
- "type": "storage_device",
- "position": {
- "x": 100,
- "y": 0
}, - "data": {
- "startCondition": "always",
- "storageData": {
- "name": "Workflow Storage",
- "storageSize": 100,
- "hardware": {
- "coreType": {
- "code": "hpc-3"
}, - "coresPerSlot": 18,
- "walltime": 24
}
}
}
}, - {
- "id": "simulate",
- "type": "job",
- "position": {
- "x": 100,
- "y": 200
}, - "data": {
- "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}
}
}
], - "edges": [
- {
- "id": "edge-1",
- "source": "storage",
- "target": "simulate"
}
]
}, - "continueOnNodeFailure": false
}, - "latestVersion": 0
}| workflowId required | string Obfuscated workflow ID |
{- "id": "string",
- "name": "string",
- "description": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "dateInserted": "2019-08-24T14:15:22Z",
- "sharedWith": [
- {
- "recipient": {
- "email": "user@example.com",
- "account": "string",
- "accountName": "string"
}, - "supportDesk": {
- "code": "string",
- "displayName": "string",
- "email": "user@example.com",
- "id": "string"
}, - "type": "user",
- "fullName": "string",
- "email": "user@example.com",
- "workspace": {
- "id": "string",
- "name": "string"
}
}
], - "workflow": {
- "parameters": [
- {
- "name": "shared_storage",
- "type": "shared_storage",
- "required": true,
- "description": "Shared storage device for the workflow"
}, - {
- "name": "job_name",
- "type": "string",
- "required": false,
- "description": "Name for the simulation job"
}
], - "graph": {
- "nodes": [
- {
- "id": "storage",
- "type": "storage_device",
- "position": {
- "x": 100,
- "y": 0
}, - "data": {
- "startCondition": "always",
- "storageData": {
- "name": "Workflow Storage",
- "storageSize": 100,
- "hardware": {
- "coreType": {
- "code": "hpc-3"
}, - "coresPerSlot": 18,
- "walltime": 24
}
}
}
}, - {
- "id": "simulate",
- "type": "job",
- "position": {
- "x": 100,
- "y": 200
}, - "data": {
- "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}
}
}
], - "edges": [
- {
- "id": "edge-1",
- "source": "storage",
- "target": "simulate"
}
]
}, - "continueOnNodeFailure": false
}, - "latestVersion": 0
}Update workflow metadata and/or workflow blob. If a workflow blob is
included, a new version is created with an incremented version number.
| workflowId required | string Obfuscated workflow ID |
| name | string <= 200 characters Workflow name |
| description | string Workflow description |
object (WorkflowMarkup) Updated workflow definition blob. Creates a new version. |
{- "name": "string",
- "description": "string",
- "workflow": {
- "parameters": [
- {
- "name": "shared_storage",
- "type": "shared_storage",
- "required": true,
- "description": "Shared storage device for the workflow"
}, - {
- "name": "job_name",
- "type": "string",
- "required": false,
- "description": "Name for the simulation job"
}
], - "graph": {
- "nodes": [
- {
- "id": "storage",
- "type": "storage_device",
- "position": {
- "x": 100,
- "y": 0
}, - "data": {
- "startCondition": "always",
- "storageData": {
- "name": "Workflow Storage",
- "storageSize": 100,
- "hardware": {
- "coreType": {
- "code": "hpc-3"
}, - "coresPerSlot": 18,
- "walltime": 24
}
}
}
}, - {
- "id": "simulate",
- "type": "job",
- "position": {
- "x": 100,
- "y": 200
}, - "data": {
- "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}
}
}
], - "edges": [
- {
- "id": "edge-1",
- "source": "storage",
- "target": "simulate"
}
]
}, - "continueOnNodeFailure": false
}
}{- "id": "string",
- "name": "string",
- "description": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "dateInserted": "2019-08-24T14:15:22Z",
- "sharedWith": [
- {
- "recipient": {
- "email": "user@example.com",
- "account": "string",
- "accountName": "string"
}, - "supportDesk": {
- "code": "string",
- "displayName": "string",
- "email": "user@example.com",
- "id": "string"
}, - "type": "user",
- "fullName": "string",
- "email": "user@example.com",
- "workspace": {
- "id": "string",
- "name": "string"
}
}
], - "workflow": {
- "parameters": [
- {
- "name": "shared_storage",
- "type": "shared_storage",
- "required": true,
- "description": "Shared storage device for the workflow"
}, - {
- "name": "job_name",
- "type": "string",
- "required": false,
- "description": "Name for the simulation job"
}
], - "graph": {
- "nodes": [
- {
- "id": "storage",
- "type": "storage_device",
- "position": {
- "x": 100,
- "y": 0
}, - "data": {
- "startCondition": "always",
- "storageData": {
- "name": "Workflow Storage",
- "storageSize": 100,
- "hardware": {
- "coreType": {
- "code": "hpc-3"
}, - "coresPerSlot": 18,
- "walltime": 24
}
}
}
}, - {
- "id": "simulate",
- "type": "job",
- "position": {
- "x": 100,
- "y": 200
}, - "data": {
- "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}
}
}
], - "edges": [
- {
- "id": "edge-1",
- "source": "storage",
- "target": "simulate"
}
]
}, - "continueOnNodeFailure": false
}, - "latestVersion": 0
}Submit the workflow's latest version for execution. Validates provided parameters against the workflow's parameter definitions.
| workflowId required | string Obfuscated workflow ID |
| workflowRunName required | string <= 200 characters Name for this workflow run |
object Default: {} Key-value map of parameter values. Keys must match parameter names
defined in the workflow. All required parameters must be provided.
Each value is validated against the parameter's
|
{- "workflowRunName": "Simulation Run 2026-02-18",
- "parameters": {
- "shared_storage": "stg_AbC123",
- "input_file": {
- "id": "file_XyZ789",
- "name": "mesh.dat"
}, - "job_name": "CFD Analysis"
}
}{- "id": "string",
- "workflowId": "string",
- "workflowName": "string",
- "workflowRunName": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "versionNumber": 0,
- "dateInserted": "2019-08-24T14:15:22Z",
- "dateVersionInserted": "2019-08-24T14:15:22Z",
- "latestStatus": {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}, - "statuses": [
- {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}
], - "workflow": {
- "graph": {
- "nodes": [
- {
- "id": "string",
- "type": "job",
- "position": {
- "x": 0,
- "y": 0
}, - "data": {
- "startCondition": "any_executed",
- "execution": {
- "resourceType": "job",
- "resourceId": "string",
- "status": "not_started",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}, - "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}, - "attachmentsData": {
- "storageDevices": [
- {
- "id": "${parameters.shared_storage}"
}
]
}
}
}
], - "edges": [
- {
- "id": "string",
- "source": "string",
- "target": "string"
}
]
}, - "parameters": { },
- "continueOnNodeFailure": true
}
}| workflowId required | string Obfuscated workflow ID |
| page | integer >= 1 Default: 1 Page number for pagination |
| page_size | integer [ 1 .. 1000 ] Default: 10 Number of results per page (default 10, max 1000) |
{- "count": 0,
- "results": [
- {
- "recipient": {
- "email": "user@example.com",
- "account": "string",
- "accountName": "string"
}, - "supportDesk": {
- "code": "string",
- "displayName": "string",
- "email": "user@example.com",
- "id": "string"
}, - "type": "user",
- "fullName": "string",
- "email": "user@example.com",
- "workspace": {
- "id": "string",
- "name": "string"
}
}
]
}| workflowId required | string Obfuscated workflow ID |
string <email> Email address of the user to share with | |
| account | string Workspace external ID |
| group | string Group external ID |
| supportDesk | string Support desk code |
| message | string <= 1000 characters Optional message included in the share notification |
{- "email": "user@example.com",
- "account": "string",
- "group": "string",
- "supportDesk": "string",
- "message": "string"
}{- "detail": "string"
}| workflow_id | string Filter by workflow ID (obfuscated) |
| ordering | string Enum: "workflow_run_name" "-workflow_run_name" "date_inserted" "-date_inserted" "latest_status" "-latest_status" Sort order for results. Prefix with |
| page | integer >= 1 Default: 1 Page number for pagination |
| page_size | integer [ 1 .. 1000 ] Default: 10 Number of results per page (default 10, max 1000) |
{- "count": 0,
- "results": [
- {
- "id": "string",
- "workflowId": "string",
- "workflowName": "string",
- "workflowRunName": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "versionNumber": 0,
- "dateInserted": "2019-08-24T14:15:22Z",
- "dateVersionInserted": "2019-08-24T14:15:22Z",
- "latestStatus": {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}
}
]
}| workflowRunId required | string Obfuscated workflow run ID |
{- "id": "string",
- "workflowId": "string",
- "workflowName": "string",
- "workflowRunName": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "versionNumber": 0,
- "dateInserted": "2019-08-24T14:15:22Z",
- "dateVersionInserted": "2019-08-24T14:15:22Z",
- "latestStatus": {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}, - "statuses": [
- {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}
], - "workflow": {
- "graph": {
- "nodes": [
- {
- "id": "string",
- "type": "job",
- "position": {
- "x": 0,
- "y": 0
}, - "data": {
- "startCondition": "any_executed",
- "execution": {
- "resourceType": "job",
- "resourceId": "string",
- "status": "not_started",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}, - "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}, - "attachmentsData": {
- "storageDevices": [
- {
- "id": "${parameters.shared_storage}"
}
]
}
}
}
], - "edges": [
- {
- "id": "string",
- "source": "string",
- "target": "string"
}
]
}, - "parameters": { },
- "continueOnNodeFailure": true
}
}| workflowRunId required | string Obfuscated workflow run ID |
| workflowRunName required | string <= 200 characters New name for the workflow run |
{- "workflowRunName": "string"
}{- "id": "string",
- "workflowId": "string",
- "workflowName": "string",
- "workflowRunName": "string",
- "owner": {
- "email": "user@example.com",
- "userId": "string"
}, - "versionNumber": 0,
- "dateInserted": "2019-08-24T14:15:22Z",
- "dateVersionInserted": "2019-08-24T14:15:22Z",
- "latestStatus": {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}, - "statuses": [
- {
- "status": "Queued",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}
], - "workflow": {
- "graph": {
- "nodes": [
- {
- "id": "string",
- "type": "job",
- "position": {
- "x": 0,
- "y": 0
}, - "data": {
- "startCondition": "any_executed",
- "execution": {
- "resourceType": "job",
- "resourceId": "string",
- "status": "not_started",
- "statusReason": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}, - "jobData": {
- "version": 1,
- "name": "CFD Simulation",
- "hardware": {
- "coreType": {
- "code": "emerald"
}, - "coresPerSlot": 4,
- "walltime": 8
}, - "software": [
- {
- "code": "openfoam",
- "version": "2312",
- "command": "simpleFoam -parallel"
}
], - "inputFiles": [
- {
- "id": "file_abc123",
- "name": "mesh.stl"
}
]
}, - "attachmentsData": {
- "storageDevices": [
- {
- "id": "${parameters.shared_storage}"
}
]
}
}
}
], - "edges": [
- {
- "id": "string",
- "source": "string",
- "target": "string"
}
]
}, - "parameters": { },
- "continueOnNodeFailure": true
}
}Stop a workflow run that is in queued or running state.
Stops all running nodes (jobs, workstations, storage devices).
| workflowRunId required | string Obfuscated workflow run ID |
{- "detail": "string"
}