{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-backtest-batch-batchid-results-response-schema.json",
  "title": "GetBacktestBatchBatchidResultsResponse",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/emidlabs-com-openapi-generated.yml#/components/schemas/GetBacktestBatchBatchidResultsResponse",
  "type": "object",
  "properties": {
    "batchId": {
      "type": "string",
      "description": "Echoes the requested batch."
    },
    "totalCount": {
      "type": "number",
      "description": "Total items in the batch, across every page."
    },
    "completedCount": {
      "type": "number",
      "description": "How many items finished successfully."
    },
    "failedCount": {
      "type": "number",
      "description": "How many items finished unsuccessfully (Failed, Cancelled, or Expired)."
    },
    "pendingCount": {
      "type": "number",
      "description": "How many items are still Queued or Running."
    },
    "page": {
      "type": "number",
      "description": "Standard pagination field."
    },
    "pageSize": {
      "type": "number",
      "description": "Standard pagination field."
    },
    "totalPages": {
      "type": "number",
      "description": "Standard pagination field."
    },
    "items": {
      "type": "array",
      "description": "One entry per backtest in this page — same shape as GET /backtest/:id."
    }
  }
}