---
title: "Get Code Patch"
method: GET
path: "/api/v1/experiments/{xid}/code/patch"
tags: ["experiments"]
---

# Get Code Patch

`GET /api/v1/experiments/{xid}/code/patch`

## Path parameters

- `xid` string, required

## Response `200`

The launch diff; apply with `git apply --binary` on the base commit.

## Changes

- **2026-09-24** `4087cc7a74aa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trajectory/apis/trajectory-api/changes/api/v1/experiments/:xid/code/patch/get.md)

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) · [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trajectory/apis/trajectory-api/revisions/8331f8435ce8?raw)
