---
title: "Get an agent run's diff"
method: GET
path: "/agent_runners/{agent_runner_id}/diff"
tags: ["agentRunner"]
---

# Get an agent run's diff

`GET /agent_runners/{agent_runner_id}/diff`

## Request

- Base URL: `https://api.netlify.com/api/v1`
- URL: `https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/diff`
- Auth: OAuth 2
  - Implicit: `https://app.netlify.com/authorize`

Returns the run's changes as a unified diff. With `page`, returns that page of changed files and sets pagination headers.

## Query parameters

- `page` integer
- `per_page` integer
- `strip_binary` boolean

## Response `200`

OK

## Other responses

- `404`: The run has no changes.
- `default`: error

## Changes

- **2026-10-19** `4ee761b12c37`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/changes/agent_runners/:agent_runner_id/diff/get.md)

---

[API](https://skmtc.dev/netlify/apis/netlify-s-api-documentation.md) - [All operations](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/netlify/apis/netlify-s-api-documentation/revisions/6546d2e27b7a?raw)
