{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-activity-runs-query-response-schema.json",
  "title": "ActivityRunsQueryResponse",
  "description": "A list activity runs.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-data-factory-activityruns-api-openapi.yml#/components/schemas/ActivityRunsQueryResponse",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "List of activity runs.",
      "items": {
        "$ref": "#/$defs/ActivityRun"
      },
      "x-ms-identifiers": [
        "pipelineRunId"
      ]
    },
    "continuationToken": {
      "type": "string",
      "description": "The continuation token for getting the next page of results, if any remaining results exist, null otherwise."
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ActivityRun": {
      "type": "object",
      "description": "Information about an activity run in a pipeline.",
      "properties": {
        "pipelineName": {
          "type": "string",
          "description": "The name of the pipeline.",
          "readOnly": true
        },
        "pipelineRunId": {
          "type": "string",
          "description": "The id of the pipeline run.",
          "readOnly": true
        },
        "activityName": {
          "type": "string",
          "description": "The name of the activity.",
          "readOnly": true
        },
        "activityType": {
          "type": "string",
          "description": "The type of the activity.",
          "readOnly": true
        },
        "activityRunId": {
          "type": "string",
          "description": "The id of the activity run.",
          "readOnly": true
        },
        "linkedServiceName": {
          "type": "string",
          "description": "The name of the compute linked service.",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "description": "The status of the activity run.",
          "readOnly": true
        },
        "activityRunStart": {
          "type": "string",
          "format": "date-time",
          "description": "The start time of the activity run in 'ISO 8601' format.",
          "readOnly": true
        },
        "activityRunEnd": {
          "type": "string",
          "format": "date-time",
          "description": "The end time of the activity run in 'ISO 8601' format.",
          "readOnly": true
        },
        "durationInMs": {
          "type": "integer",
          "format": "int32",
          "description": "The duration of the activity run.",
          "readOnly": true
        },
        "input": {
          "description": "The input for the activity.",
          "readOnly": true
        },
        "output": {
          "description": "The output for the activity.",
          "readOnly": true
        },
        "error": {
          "description": "The error if any from the activity run.",
          "readOnly": true
        }
      },
      "additionalProperties": {}
    }
  }
}