# EigenPal

> Run document workflows and inspect automations, runs, reviews and their artifacts.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/eigenpal

## Actions

### Get a run

Fetch one run by id. By default this returns core metadata plus terminal output/error fields. Pass `?expand=input,usage,execution,debug` to include detailed sub-objects; `expand=execution` is also where embedded review and expected artifacts appear. How to read a run: the envelope is at the root. The automation business result is in `output` (per-automation, not this generic schema). HTTP 200 can report a failed run. Inspect `execution.status` and the structured `error` (`code`, `message`, `retryable`, and optional business `statusCode` and `step`). Status is `execution.status`

**Inputs**

- ID (`id`, text, required): Run id
- Expand (`expand`, text): Optional sections: `input`, `usage`, `execution`, `debug`. Terminal runs always include top-level output, files, and error.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "debug": {
      "observability": "Example",
      "traceId": "sample_traceId"
    },
    "error": {
      "code": "Example",
      "message": "Example",
      "retryable": false,
      "statusCode": 400,
      "step": "Example"
    },
    "eval": {
      "example": "Example",
      "exampleId": "sample_exampleId",
      "passed": false,
      "score": 1
    },
    "execution": {
      "batchId": "sample_batchId",
      "humanReview": {
        "confirmedCount": 1,
        "requiredCount": 1,
        "sourceKind": "workflow_step",
        "sourceLabel": "Example",
        "status": "Example",
        "taskId": "sample_taskId",
        "version": 1
      },
      "retry": {
        "nextRun": {
          "id": "sample_id",
          "status": "Example"
        },
        "number": 1,
        "previousRunId": "sample_previousRunId"
      },
      "review": {
        "correctionCount": 1,
        "hasNote": false,
        "status": "open",
        "verdict": "correct"
      },
      "schemaValid": false,
      "status": "created"
    },
    "files": [
      {
        "contentType": "Example",
        "name": "Example",
        "path": "Example",
        "role": "Example",
        "size": 1,
        "stepName": "Example"
      }
    ],
    "finished": false,
    "id": "sample_id",
    "input": {
      "args": "Example",
      "files": [
        {
          "name": "Example"
        }
      ],
      "metadata": "Example"
    },
    "output": {},
    "parentExecutionId": "sample_parentExecutionId",
    "sampleRank": 1,
    "source": {
      "automationFound": false,
      "currentVersion": "Example",
      "git": {
        "commitSha": "Example",
        "requestedRef": "Example",
        "resolvedRef": "Example",
        "resolvedTag": "Example"
      },
      "id": "sample_id",
      "implementationAvailable": false,
      "model": "Example",
      "name": "Example",
      "requestedVersion": "Example",
      "slug": "Example",
      "version": "Example",
      "versionId": "sample_versionId"
    },
    "tags": [
      "Example"
    ],
    "timing": {
      "cancelRequestedAt": "Example",
      "completedAt": "Example",
      "createdAt": "Example",
      "durationMs": 1,
      "startedAt": "Example"
    },
    "trigger": {
      "by": {
        "email": "Example",
        "id": "sample_id",
        "name": "Example"
      },
      "email": "Example",
      "type": "Example"
    },
    "type": "workflow",
    "usage": {
      "agentTurns": 1,
      "creditsCharged": 1,
      "durationMs": 1,
      "llmCallCount": 1,
      "ocrPagesProcessed": 1,
      "tokens": {
        "cacheRead": 1,
        "cacheWrite": 1,
        "input": 1,
        "output": 1
      }
    }
  }
}
```

### Get automation

Get one runnable workflow or agent automation by id or typed alias.

**Inputs**

- ID (`id`, text, required): Workflow id, agent id, or typed alias like workflows.slug / agents.slug

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "createdAt": "Example",
    "description": "Example",
    "folderId": "sample_folderId",
    "folderPath": "Example",
    "id": "sample_id",
    "implementationAvailable": false,
    "inputSchema": {},
    "name": "Example",
    "outputSchema": {},
    "slug": "Example",
    "status": "Example",
    "triggers": {
      "api": false,
      "cron": false,
      "email": false,
      "manual": false
    },
    "type": "workflow",
    "updatedAt": "Example",
    "version": "Example"
  }
}
```

### Get connection identity

Return the tenant, user, API key, and scope represented by the current API key.

**Inputs**: None.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "email": "Example",
    "keyId": "sample_keyId",
    "name": "Example",
    "ok": false,
    "scope": [
      "Example"
    ],
    "tenantId": "sample_tenantId",
    "tenantName": "Example",
    "tenantSlug": "Example",
    "userId": "sample_userId",
    "wildcardGranted": false
  }
}
```

### Get human review task

Fetch one authorized human-review task with draft data, derived non-file input, files, and decisions.

**Inputs**

- Task (`task_id`, text, required): Human review task id

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "task": {
      "automationId": "sample_automationId",
      "automationName": "Example",
      "completedAt": "Example",
      "completedBy": "Example",
      "confirmedCount": 1,
      "createdAt": "Example",
      "decisions": [
        {
          "confirmedAt": "Example",
          "confirmedBy": "Example",
          "currentValue": "Example",
          "id": "sample_id",
          "originalValue": "Example",
          "path": "Example",
          "reason": "always",
          "required": false,
          "version": 1
        }
      ],
      "draftData": {},
      "executionId": "sample_executionId",
      "fieldMetadata": {},
      "files": [
        {
          "artifactPath": "Example",
          "fieldName": "Example",
          "fileId": "sample_fileId",
          "filename": "Example",
          "mimeType": "Example",
          "role": "run_input",
          "size": 1
        }
      ],
      "id": "sample_id",
      "input": {
        "data": {},
        "status": "Example"
      },
      "instructions": "Example",
      "lineage": {},
      "machineData": {},
      "outcomeReason": "Example",
      "parsedDocument": {},
      "requiredCount": 1,
      "requiredPaths": [
        "Example"
      ],
      "schema": {},
      "selectionReasons": {},
      "sourceKind": "workflow_step",
      "sourceLabel": "Example",
      "status": "pending",
      "updatedAt": "Example",
      "version": 1
    }
  }
}
```

### Get run review

Returns review metadata and corrections for a run. Corrected files are listed at GET /runs/{id}/reviews/expected; embed review + expected artifacts with GET /runs/{id}?expand=execution.

**Inputs**

- ID (`id`, text, required): Run id.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "review": {
      "closedAt": "Example",
      "closedBy": "Example",
      "closedByEmail": "Example",
      "closedNote": "Example",
      "correctedOutput": "Example",
      "corrections": [
        {
          "correctedArtifactPath": "Example",
          "correctedValue": "Example",
          "createdAt": "Example",
          "id": "sample_id",
          "kind": "field",
          "label": "Example",
          "note": "Example",
          "originalValue": "Example",
          "path": "Example",
          "updatedAt": "Example"
        }
      ],
      "createdAt": "Example",
      "id": "sample_id",
      "note": "Example",
      "reviewedAt": "Example",
      "reviewedBy": "Example",
      "reviewedByEmail": "Example",
      "status": "open",
      "updatedAt": "Example",
      "verdict": "correct"
    }
  }
}
```

### Get run trace

Return low-level execution trace events for debugging one run. Workflow runs expose observability phases or step records; agent runs expose parsed trace.jsonl events. The shape is intentionally extensible, but common fields are documented.

**Inputs**

- ID (`id`, text, required): Run id.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "events": [
      {
        "completedAt": "Example",
        "message": "Example",
        "phase": "Example",
        "startedAt": "Example",
        "status": "Example",
        "stepName": "Example",
        "type": "Example"
      }
    ]
  }
}
```

### Get run usage

Get token, credit, duration, and execution usage for a run.

**Inputs**

- ID (`id`, text, required): Run id

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "usage": {
      "agentTurns": 1,
      "creditsCharged": 1,
      "durationMs": 1,
      "llmCallCount": 1,
      "ocrPagesProcessed": 1,
      "tokens": {
        "cacheRead": 1,
        "cacheWrite": 1,
        "input": 1,
        "output": 1
      }
    }
  }
}
```

### List automation triggers

Read trigger state for a workflow or agent automation. Trigger mutation is not public v1.

**Inputs**

- ID (`id`, text, required): Workflow id, agent id, or typed alias like workflows.slug / agents.slug

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "automationId": "sample_automationId",
    "triggers": {
      "api": false,
      "cron": false,
      "email": false,
      "manual": false
    },
    "type": "workflow"
  }
}
```

### List automation versions

List versions for a workflow or agent automation. YAML workflow lists include tagged releases plus the current untagged snapshot when HEAD is untagged (for example after restore), so the current version is always present. Agent lists remain Git release tags.

**Inputs**

- ID (`id`, text, required): Workflow id, agent id, or typed alias like workflows.slug / agents.slug

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "automationId": "sample_automationId",
        "createdAt": "Example",
        "id": "sample_id",
        "isCurrent": false,
        "sourceRef": "Example",
        "version": "Example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List automations

Returns workflows and agents through one runnable automation collection. Use `type` to narrow to workflows or agents, `search` to find automations by slug, name, or description, and `folderId` to list YAML workflows in a folder (`null` for root).

**Inputs**

- Search (`search`, text): Substring match against slug, name, or description
- Type (`type`, text): Filter by implementation type. One of: `workflow`, `agent`.
- Folder ID (`folder_id`, text): Filter YAML workflows by folder. A folder id matches that folder; `null` matches unfiled workflows at root. Agent automations have no folders, so this filter excludes them. Cannot be combined with `type=agent`.
- Limit (`limit`, number): Maximum number of automations to return. From 1 to 100.
- Offset (`offset`, number): Zero-based offset for paging through automations. From 0 to 9007199254740991.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "Example",
        "description": "Example",
        "folderId": "sample_folderId",
        "folderPath": "Example",
        "id": "sample_id",
        "implementationAvailable": false,
        "name": "Example",
        "slug": "Example",
        "status": "Example",
        "triggers": {
          "api": false,
          "cron": false,
          "email": false,
          "manual": false
        },
        "type": "workflow",
        "updatedAt": "Example",
        "version": "Example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "total": 1
  }
}
```

### List configured models

List text, vision, and OCR models configured for this tenant's environment from the workspace model catalog. This is a cheap read-only inventory: it does not call providers. `health` is `configured` or `unconfigured` from local credentials, never a live probe. Secrets and provider endpoints are never returned.

**Inputs**

- Capability (`capability`, text): Return only models that support this capability (`text`, `vision`, or `ocr`). One of: `text`, `vision`, `ocr`.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "aliases": [
          "Example"
        ],
        "available": false,
        "capabilities": [
          "text"
        ],
        "capabilityRank": 1,
        "configured": false,
        "cost": {
          "creditsPerPage": 1,
          "unit": "Example"
        },
        "defaultFor": [
          "text"
        ],
        "health": "configured",
        "id": "sample_id",
        "kind": "llm",
        "label": "Example",
        "limits": {
          "maxConcurrentRequests": 1,
          "requestTimeoutSeconds": 1
        },
        "location": "local",
        "provider": "sample_provider",
        "tags": [
          "Example"
        ]
      }
    ],
    "total": 1
  }
}
```

### List folders

List folders in one tree. `type` is required (`workflow` or `template`). Pass `tree=true` for the full nested tree with counts; otherwise list direct children of `parentId` (`null` for root). Deleting a folder later unfiles contained workflows or templates and does not delete them.

**Inputs**

- Type (`type`, text, required): Folder tree to list. Required; there is no default. One of: `workflow`, `template`.
- Parent ID (`parent_id`, text): Limit to direct children of this folder. Pass `null` for root folders only. Ignored when `tree=true`.
- Tree (`tree`, text): When `true`, return the full tree for `type` with child counts (and workflow previews for workflow trees). Any value other than `true` or `false` is rejected. One of: `true`, `false`.

**Outputs**

- `data` (list): The response from EigenPal.

**Example output**

```json
{
  "data": [
    {
      "childCount": 1,
      "createdAt": "Example",
      "id": "sample_id",
      "name": "Example",
      "parentId": "sample_parentId",
      "previewItems": [
        {
          "kind": "folder",
          "name": "Example"
        }
      ],
      "type": "workflow",
      "workflowCount": 1
    }
  ]
}
```

### List pending human review tasks

Cursor-paginated queue of pending human-review tasks for the tenant, oldest first.

**Inputs**

- Automation ID (`automation_id`, text): Automationid.
- Waiting before (`waiting_before`, text): Waitingbefore.
- Cursor (`cursor`, text): Cursor.
- Limit (`limit`, number): Limit. From 1 to 100.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "nextCursor": "Example",
    "tasks": [
      {
        "automationId": "sample_automationId",
        "automationName": "Example",
        "confirmedCount": 1,
        "createdAt": "Example",
        "executionId": "sample_executionId",
        "id": "sample_id",
        "requiredCount": 1,
        "sourceKind": "workflow_step",
        "sourceLabel": "Example",
        "status": "pending",
        "updatedAt": "Example",
        "version": 1
      }
    ]
  }
}
```

### List run artifacts

Returns a JSON list of downloadable artifact paths for a run. Pass `zip=1` to switch the response to a ZIP download containing output files.

**Inputs**

- ID (`id`, text, required): Run id
- Zip (`zip`, text): When `1`, download output files as a ZIP instead of listing paths. Does not include trace, scores, or input; use `GET /runs/{id}/scores` and `GET /runs/{id}/trace` for those. Cloud deployments reject archives whose uncompressed inputs exceed 32 MiB (`413 artifacts_zip_too_large`); download files individually or pass a smaller `files=` subset. One of: `1`.
- Bundle (`bundle`, text): With `zip=1`, use `review` to download a ZIP with `output/` and `expected/` folders (corrected review artifacts). One of: `review`.
- Token (`token`, text): Signed email download token (zip only; no Bearer required).

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "artifacts": [
      {
        "contentType": "Example",
        "name": "Example",
        "path": "Example",
        "role": "Example",
        "size": 1,
        "stepName": "Example"
      }
    ]
  }
}
```

### List run evaluator scores

List automated evaluator results for one run. Use `score` for evaluator output and run reviews for human verdicts.

**Inputs**

- ID (`id`, text, required): Run id.

**Outputs**

- `data` (object): Automated evaluator results attached to a run.

**Example output**

```json
{
  "data": {
    "scores": [
      {
        "automationId": "sample_automationId",
        "createdAt": "Example",
        "description": "Example",
        "details": "Example",
        "error": "Example",
        "evaluatorName": "Example",
        "evaluatorType": "Example",
        "id": "sample_id",
        "label": "Example",
        "passThreshold": 1,
        "passed": false,
        "runId": "sample_runId",
        "score": 1,
        "weight": 1
      }
    ]
  }
}
```

### List run events

List a stable chronological lifecycle timeline for a run.

**Inputs**

- ID (`id`, text, required): Run id

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "events": [
      {
        "message": "Example",
        "metadata": {},
        "status": "Example",
        "timestamp": "Example",
        "type": "Example"
      }
    ]
  }
}
```

### List run steps

List slim workflow step rows for a run (no input/output payloads) plus the total count. Fetch a single step for full payloads.

**Inputs**

- ID (`id`, text, required): Run id

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "steps": [
      "Example"
    ],
    "total": 1
  }
}
```

### List runs

List workflow and agent runs with cursor pagination.

**Inputs**

- Tag (`tag`, text): Exact, case-sensitive execution tag
- Type (`type`, text): Type.
- Source (`source`, text): Source.
- Status (`status`, text): Status. One of: `created`, `pending`, `running`, `waiting`, `finalizing`, `completed`, `failed`, `cancelled`, `rejected`.
- Trigger (`trigger`, text): Trigger.
- Triggered by (`triggered_by`, text): Triggeredby.
- Source ref (`source_ref`, text): Sourceref.
- Batch ID (`batch_id`, text): Batchid.
- Example ID (`example_id`, text): Exampleid.
- Example ID contains (`example_id_contains`, text): Exampleidcontains.
- Has example (`has_example`, text): Only runs linked to a dataset example (eval and example runs). One of: `true`.
- From (`from`, date and time): From.
- To (`to`, date and time): To.
- Created after (`created_after`, date and time): Createdafter.
- Created before (`created_before`, date and time): Createdbefore.
- Completed after (`completed_after`, date and time): Completedafter.
- Completed before (`completed_before`, date and time): Completedbefore.
- Cursor (`cursor`, text): Cursor.
- Offset (`offset`, number): Offset. From 0 to 9007199254740991.
- Limit (`limit`, number): Limit. From 1 to 100.
- IDS (`ids`, text): Ids.
- Experiments (`experiments`, text): Experiments.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order.
- Review status (`review_status`, text): Reviewstatus.
- Review verdict (`review_verdict`, text): Reviewverdict.
- Has review (`has_review`, text): Hasreview.
- No review (`no_review`, text): Noreview.
- Has corrections (`has_corrections`, text): Hascorrections.
- Review note contains (`review_note_contains`, text): Reviewnotecontains.
- Review created after (`review_created_after`, date and time): Reviewcreatedafter.
- Review created before (`review_created_before`, date and time): Reviewcreatedbefore.
- Review updated after (`review_updated_after`, date and time): Reviewupdatedafter.
- Review updated before (`review_updated_before`, date and time): Reviewupdatedbefore.
- Review closed after (`review_closed_after`, date and time): Reviewclosedafter.
- Review closed before (`review_closed_before`, date and time): Reviewclosedbefore.
- Since last closed (`since_last_closed`, text): Sincelastclosed.
- Sample rate (`sample_rate`, text): Keep runs whose `sampleRank` is below this threshold (0 to 1). Pages may return fewer than `limit` rows when filtered.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "nextCursor": "Example",
    "runs": [
      {
        "error": {
          "code": "Example",
          "message": "Example",
          "retryable": false,
          "statusCode": 400,
          "step": "Example"
        },
        "eval": {
          "example": "Example",
          "exampleId": "sample_exampleId",
          "passed": false,
          "score": 1
        },
        "execution": {
          "batchId": "sample_batchId",
          "humanReview": {},
          "retry": {},
          "review": {},
          "schemaValid": false,
          "status": "created"
        },
        "finished": false,
        "id": "sample_id",
        "parentExecutionId": "sample_parentExecutionId",
        "sampleRank": 1,
        "source": {
          "automationFound": false,
          "currentVersion": "Example",
          "git": {},
          "id": "sample_id",
          "implementationAvailable": false,
          "model": "Example",
          "name": "Example",
          "requestedVersion": "Example",
          "slug": "Example",
          "version": "Example",
          "versionId": "sample_versionId"
        },
        "tags": [
          "Example"
        ],
        "timing": {
          "cancelRequestedAt": "Example",
          "completedAt": "Example",
          "createdAt": "Example",
          "durationMs": 1,
          "startedAt": "Example"
        },
        "trigger": {
          "by": {},
          "email": "Example",
          "type": "Example"
        },
        "type": "workflow"
      }
    ]
  }
}
```

### List templates

List tenant-scoped DOCX and XLSX template resources.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. From 0 to 9007199254740991.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "createdAt": "Example",
        "currentRevision": {
          "createdAt": "Example",
          "id": "sample_id",
          "number": 1,
          "sha256": "Example"
        },
        "description": "Example",
        "filename": "Example",
        "format": "docx",
        "grammar": {
          "capabilities": [
            "Example"
          ],
          "syntax": "Example",
          "tokenDiscovery": false
        },
        "id": "sample_id",
        "mimeType": "Example",
        "name": "Example",
        "sha256": "Example",
        "size": 1,
        "tokens": [
          {}
        ],
        "updatedAt": "Example"
      }
    ],
    "total": 1
  }
}
```

### Start a run

Start a run. Send JSON or multipart/form-data. How to read a run: the envelope is at the root. The automation business result is in `output` (per-automation, not this generic schema). HTTP 200 can report a failed run. Inspect `execution.status` and the structured `error` (`code`, `message`, `retryable`, and optional business `statusCode` and `step`). Status is `execution.status` (`execution.retry.nextRun.status` is a later retry). `input`, `usage`, and `debug` appear only with `?expand=`. `eval` is present only on eval-scoped runs.

**Inputs**

- Target (`target`, text, required): Automation target such as workflows.invoice or agents.support.
- Input (`input`, object): Inputs expected by the automation.

**Outputs**

- `data` (object): The response from EigenPal.

**Example output**

```json
{
  "data": {
    "debug": {
      "observability": "Example",
      "traceId": "sample_traceId"
    },
    "error": {
      "code": "Example",
      "message": "Example",
      "retryable": false,
      "statusCode": 400,
      "step": "Example"
    },
    "eval": {
      "example": "Example",
      "exampleId": "sample_exampleId",
      "passed": false,
      "score": 1
    },
    "execution": {
      "batchId": "sample_batchId",
      "humanReview": {
        "confirmedCount": 1,
        "requiredCount": 1,
        "sourceKind": "workflow_step",
        "sourceLabel": "Example",
        "status": "Example",
        "taskId": "sample_taskId",
        "version": 1
      },
      "retry": {
        "nextRun": {
          "id": "sample_id",
          "status": "Example"
        },
        "number": 1,
        "previousRunId": "sample_previousRunId"
      },
      "review": {
        "correctionCount": 1,
        "hasNote": false,
        "status": "open",
        "verdict": "correct"
      },
      "schemaValid": false,
      "status": "created"
    },
    "files": [
      {
        "contentType": "Example",
        "name": "Example",
        "path": "Example",
        "role": "Example",
        "size": 1,
        "stepName": "Example"
      }
    ],
    "finished": false,
    "id": "sample_id",
    "input": {
      "args": "Example",
      "files": [
        {
          "name": "Example"
        }
      ],
      "metadata": "Example"
    },
    "output": {},
    "parentExecutionId": "sample_parentExecutionId",
    "sampleRank": 1,
    "source": {
      "automationFound": false,
      "currentVersion": "Example",
      "git": {
        "commitSha": "Example",
        "requestedRef": "Example",
        "resolvedRef": "Example",
        "resolvedTag": "Example"
      },
      "id": "sample_id",
      "implementationAvailable": false,
      "model": "Example",
      "name": "Example",
      "requestedVersion": "Example",
      "slug": "Example",
      "version": "Example",
      "versionId": "sample_versionId"
    },
    "tags": [
      "Example"
    ],
    "timing": {
      "cancelRequestedAt": "Example",
      "completedAt": "Example",
      "createdAt": "Example",
      "durationMs": 1,
      "startedAt": "Example"
    },
    "trigger": {
      "by": {
        "email": "Example",
        "id": "sample_id",
        "name": "Example"
      },
      "email": "Example",
      "type": "Example"
    },
    "type": "workflow",
    "usage": {
      "agentTurns": 1,
      "creditsCharged": 1,
      "durationMs": 1,
      "llmCallCount": 1,
      "ocrPagesProcessed": 1,
      "tokens": {
        "cacheRead": 1,
        "cacheWrite": 1,
        "input": 1,
        "output": 1
      }
    }
  }
}
```
