---
title: "Export a trajectory as JSONL"
method: GET
path: "/agent/v1/trajectories/{run_id}/export"
tags: ["Agent Sandbox"]
---

# Export a trajectory as JSONL

`GET /agent/v1/trajectories/{run_id}/export`

application/x-ndjson attachment, one call per line, ordered by seq. Feed to diff tooling or the agent-api-benchmark harness.

## Path parameters

- `run_id` string, required

## Response `200`

JSONL download

## Other responses

- `401` — No agent key
- `404` — Unknown run id

## Changes

- **2026-07-26** `e5ced6578853` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/reqres/apis/reqres-api/changes/agent/v1/trajectories/:run_id/export/get.md)

---

[API](https://skmtc.dev/reqres/apis/reqres-api.md) · [All operations](https://skmtc.dev/reqres/apis/reqres-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/reqres/reqres-api/revisions/e5ced6578853/schema)
