{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthomics/json-schema/amazon-healthomics-get-run-task-response-schema.json",
  "title": "GetRunTaskResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthomics-run-api-openapi.yml#/components/schemas/GetRunTaskResponse",
  "type": "object",
  "properties": {
    "taskId": {
      "type": "string",
      "description": "The task's ID."
    },
    "status": {
      "type": "string",
      "description": "The task's status."
    },
    "name": {
      "type": "string",
      "description": "The task's name."
    },
    "cpus": {
      "type": "integer",
      "description": "The task's CPU usage."
    },
    "cacheHit": {
      "type": "boolean",
      "description": "Set to true if Amazon Web Services HealthOmics found a matching entry in the run cache for this task."
    },
    "cacheS3Uri": {
      "type": "string",
      "description": "The S3 URI of the cache location."
    },
    "memory": {
      "type": "integer",
      "description": "The task's memory use in gigabytes."
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the task was created."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The task's start time."
    },
    "stopTime": {
      "type": "string",
      "format": "date-time",
      "description": "The task's stop time."
    },
    "statusMessage": {
      "type": "string",
      "description": "The task's status message."
    },
    "logStream": {
      "type": "string",
      "description": "The task's log stream."
    },
    "gpus": {
      "type": "integer",
      "description": "The number of Graphics Processing Units (GPU) specified in the task."
    },
    "instanceType": {
      "type": "string",
      "description": "The instance type for a task."
    },
    "failureReason": {
      "type": "string",
      "description": "The reason a task has failed."
    },
    "imageDetails": {
      "$ref": "#/$defs/ImageDetails"
    },
    "uuid": {
      "type": "string",
      "description": "The universally unique identifier (UUID) for the workflow task."
    }
  },
  "$defs": {
    "ImageDetails": {
      "type": "object",
      "properties": {
        "image": {
          "type": "string",
          "description": "The URI of the container image."
        },
        "imageDigest": {
          "type": "string",
          "description": "The container image digest. If the image URI was transformed, this will be the digest of the container image referenced by the transformed URI."
        },
        "sourceImage": {
          "type": "string",
          "description": "URI of the source registry. If the URI is from a third-party registry, Amazon Web Services HealthOmics transforms the URI to the corresponding ECR path, using the pull-through cache mapping rules."
        }
      }
    }
  }
}