---
title: "Get Run Trajectory"
method: GET
path: "/v1/runs/{run_id}/trajectory"
tags: ["runs"]
---

# Get Run Trajectory

`GET /v1/runs/{run_id}/trajectory`

Get the latest trajectory associated with a run.

Returns generated and non-generated trajectories so run details can expose
generation state.

Selection is based on newest `updated_at` for the run. If a duplicated
trajectory linked to the run is now the latest row, this endpoint will
return that duplicate.

## Path parameters

- `run_id` string, uuid, required

## Response `200`

Successful Response

- TrajectoryResponse — Trajectory response schema
  - `name` string, nullable
  - `description` string, nullable
  - `workflow_id` string, uuid, required
  - `run_id` string, uuid, nullable — Optional run that created this trajectory
  - `trajectory_data` object[], required
  - `dimensions` object, required — Display dimensions when trajectory was recorded
  - `original_input_values` object, nullable — Original input values used when trajectory was created
  - `is_approved` boolean, required
  - `has_been_approved` boolean, required
  - `is_generated` boolean, required
  - `is_main` boolean, required
  - `id` string, uuid, required
  - `user_id` string, uuid, nullable
  - `organization_id` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/cyberdesk-hq/apis/cyberdesk-cloud.md) · [All operations](https://skmtc.net/cyberdesk-hq/apis/cyberdesk-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cyberdesk-hq/cyberdesk-cloud/revisions/830d2f48963d/schema)
