Sift | Docs

RetryJob

Manually retries a job.

POST
/api/v1/jobs/{jobId}:retry

Path Parameters

jobId
Required
string

curl -X POST "<API_URL>/api/v1/jobs/string:retry" \
  -H "Authorization: Bearer <API_KEY>"

A successful response.

{
  "job": {
    "jobId": "string",
    "organizationId": "string",
    "jobType": "JOB_TYPE_UNSPECIFIED",
    "jobStatus": "JOB_STATUS_UNSPECIFIED",
    "jobStatusDetails": {
      "ruleEvaluation": {},
      "dataImport": {
        "pointsProcessed": "string",
        "pointsTotal": "string"
      },
      "dataExport": {
        "errorMessage": "string"
      }
    },
    "jobDetails": {
      "ruleEvaluation": {
        "reportId": "string"
      },
      "dataImport": {
        "dataImportId": "string"
      },
      "dataExport": {
        "request": {
          "timeRange": {
            "startTime": "2019-08-24T14:15:22Z",
            "stopTime": "2019-08-24T14:15:22Z"
          },
          "runsAndTimeRange": {
            "runIds": [
              "string"
            ],
            "startTime": "2019-08-24T14:15:22Z",
            "stopTime": "2019-08-24T14:15:22Z"
          },
          "assetsAndTimeRange": {
            "assetIds": [
              "string"
            ],
            "startTime": "2019-08-24T14:15:22Z",
            "stopTime": "2019-08-24T14:15:22Z"
          },
          "channelIds": [
            "string"
          ],
          "calculatedChannelConfigs": [
            {
              "name": "string",
              "expression": "string",
              "channelReferences": [
                {
                  "channelReference": "string",
                  "channelIdentifier": "string"
                }
              ],
              "units": "string"
            }
          ],
          "outputFormat": "EXPORT_OUTPUT_FORMAT_UNSPECIFIED",
          "exportOptions": {
            "useLegacyFormat": true,
            "simplifyChannelNames": true,
            "combineRuns": true,
            "splitExportByAsset": true,
            "splitExportByRun": true
          }
        },
        "storageKey": "string"
      }
    }
  }
}