---
title: "Get Serialized Configuration"
method: GET
path: "/api/v1/configurations/{configuration_id}/serialized"
tags: ["configurations"]
---

# Get Serialized Configuration

`GET /api/v1/configurations/{configuration_id}/serialized`

## Request

- The document declares no server URL.
- Auth: none declared

Given an active configuration ID, fetches and returns the serialized configuration file content from S3.

Args:
    configuration_id (UUID): The active configuration ID
    user (DbUser): The logged-in user
    app_config (AppConfig): The required application environment variables
    db (AsyncDatabaseConnection): The database connection
    logger (Logger): The standard app logger

Raises:
    HTTPException: 403 if not running locally
    HTTPException: 404 if configuration cannot be found in the user's jurisdiction
    HTTPException: 400 if the configuration's status is not `active`
    HTTPException: 404 if the configuration's primary condition is not found

Returns:
    Response: The serialized configuration file content

## Path parameters

- `configuration_id` string, uuid, required

## Response `200`

Successful Response

- SerializedFilesResponse: The three files an active configuration serializes to.
  - `active` SerializedFile, required: One serialized configuration file, as stored in S3.
    - `key` string, required
    - `content` string, required
  - `current` SerializedFile, required: One serialized configuration file, as stored in S3.
    - `key` string, required
    - `content` string, required
  - `metadata` SerializedFile, required: One serialized configuration file, as stored in S3.
    - `key` string, required
    - `content` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-09** `4b7dfe8a9bd3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/changes/api/v1/configurations/:configuration_id/serialized/get.md)

---

[API](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner.md) - [All operations](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/llms.txt) - [OpenAPI document](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/revisions/7312cd4b44ac?raw)
