---
title: "Get Run"
method: GET
path: "/gtm-internal/runs/{source}/{run_ref}"
tags: ["gtm-internal"]
---

# Get Run

`GET /gtm-internal/runs/{source}/{run_ref}`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/gtm-internal/runs/{source}/{run_ref}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Drill into one run by ``{source}/{run_ref}`` — params, a coarse stage
list, outputs, the backing-row glance, and the lineage pointer (analysis
runs). ``source`` ∈ {analysis_run, routine_run}; ``run_ref`` resolves like
the registry (registry id | backing id | external ref) for analysis runs,
or the ``routine_run`` id for routine runs.

## Path parameters

- `source` string, required
- `run_ref` string, required

## Response `200`

Successful Response

- RunDetailOut: The per-run drill-in: the list row plus params, a COARSE stage list (NOT an event log — Temporal's replay/call-stack is out of scope), outputs, the backing-row glance, and the lineage pointer (the previous comparable run).
  - `run_ref` string, required
  - `source` string, required
  - `run_type` string, required
  - `run_type_label` string, required
  - `status` string, nullable
  - `subject_kind` string, required
  - `account_id` string, nullable
  - `domain_id` string, nullable
  - `domain_host` string, nullable
  - `org_id` string, nullable
  - `org_name` string, nullable
  - `trigger` string, nullable
  - `owner` string, nullable
  - `started` string, nullable
  - `completed` string, nullable
  - `duration_seconds` number, nullable
  - `cost` number, nullable
  - `error` string, nullable
  - `cancel_requested_at` string, nullable
  - `routine_run_id` string, nullable
  - `investigation_id` string, nullable
  - `investigation_question` string, nullable
  - `steps` RunOut[]
    - `run_ref` string, required
    - `source` string, required
    - `run_type` string, required
    - `run_type_label` string, required
    - `status` string, nullable
    - `subject_kind` string, required
    - `account_id` string, nullable
    - `domain_id` string, nullable
    - `domain_host` string, nullable
    - `org_id` string, nullable
    - `org_name` string, nullable
    - `trigger` string, nullable
    - `owner` string, nullable
    - `started` string, nullable
    - `completed` string, nullable
    - `duration_seconds` number, nullable
    - `cost` number, nullable
    - `error` string, nullable
    - `cancel_requested_at` string, nullable
    - `routine_run_id` string, nullable
    - `investigation_id` string, nullable
    - `investigation_question` string, nullable
    - `steps` RunOut[]
  - `params` unknown
  - `output` unknown
  - `backing` object, nullable
  - `stages` object[]
  - `lineage` object, nullable
  - `should_run_result` boolean, nullable
  - `eval_score` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
