---
title: "Compare a writing version"
method: GET
path: "/outbound-agents/{agent_id}/versions/{version}/changes/"
tags: ["outbound-agents"]
---

# Compare a writing version

`GET /outbound-agents/{agent_id}/versions/{version}/changes/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/outbound-agents/{agent_id}/versions/{version}/changes/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `agent_id` string, uuid, required
- `version` integer, required

## Query parameters

- `compare_to` integer, nullable

## Response `200`

Successful Response

- OutboundVersionChangesSchema
  - `changes` OutboundWritingChangeSchema[], required
    - `after` unknown
    - `before` unknown
    - `field` string, required
    - `label` string, required
  - `compared_version` integer, nullable, required
  - `current_version` integer, required
  - `version` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Outbound agent not found.
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
