---
title: "Get Config Snapshot Route"
method: GET
path: "/api/v1/agents/{agent_id}/config-snapshots/{config_version}"
tags: ["agents"]
---

# Get Config Snapshot Route

`GET /api/v1/agents/{agent_id}/config-snapshots/{config_version}`

## Request

- Base URL: `https://cp.xenovia.io` (the document declares no server; this is the origin it was published from)
- URL: `https://cp.xenovia.io/api/v1/agents/{agent_id}/config-snapshots/{config_version}`
- Auth: none declared

Normally one record; more than one means the content changed under
the same version.

## Path parameters

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

## Headers

- `Authorization` string, nullable

## Response `200`

Successful Response

- ConfigSnapshotRecordRead[]
  - `agent_id` string, uuid, required
  - `config_version` integer, required
  - `schema_version` integer, required
  - `snapshot_sha256` string, required
  - `policy_versions` SnapshotPolicyVersion[], required
    - `policy_id` string, uuid, required
    - `version` integer, required
  - `first_served_at` string, date-time, required
  - `document` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `2f4b4b338b8f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xenovia/apis/controlplane/changes/api/v1/agents/:agent_id/config-snapshots/:config_version/get.md)

---

[API](https://skmtc.dev/xenovia/apis/controlplane.md) - [All operations](https://skmtc.dev/xenovia/apis/controlplane/llms.txt) - [OpenAPI document](https://skmtc.dev/xenovia/apis/controlplane/revisions/3e25bef24f8f?raw)
