---
title: "Configs Fetch"
method: POST
path: "/variants/configs/fetch"
tags: ["Deprecated"]
deprecated: true
---

# Configs Fetch

`POST /variants/configs/fetch`

> **Deprecated.**

## Request body

- BodyConfigsFetchVariantsConfigsFetchPost
  - `variant_ref` ReferenceRequestModelInput
    - `slug` string, nullable
    - `version` string, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable
  - `environment_ref` ReferenceRequestModelInput
    - `slug` string, nullable
    - `version` string, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable
  - `application_ref` ReferenceRequestModelInput
    - `slug` string, nullable
    - `version` string, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable

## Response `200`

Successful Response

- ConfigResponseModel
  - `params` object
  - `url` string, nullable
  - `application_ref` ReferenceRequestModelOutput
    - `slug` string, nullable
    - `version` integer, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable
  - `service_ref` ReferenceRequestModelOutput
    - `slug` string, nullable
    - `version` integer, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable
  - `variant_ref` ReferenceRequestModelOutput
    - `slug` string, nullable
    - `version` integer, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable
  - `environment_ref` ReferenceRequestModelOutput
    - `slug` string, nullable
    - `version` integer, nullable
    - `commit_message` string, nullable
    - `id` string, uuid, nullable
  - `application_lifecycle` LegacyLifecycleDTO
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `updated_by_id` string, nullable
    - `updated_by` string, nullable
  - `service_lifecycle` LegacyLifecycleDTO
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `updated_by_id` string, nullable
    - `updated_by` string, nullable
  - `variant_lifecycle` LegacyLifecycleDTO
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `updated_by_id` string, nullable
    - `updated_by` string, nullable
  - `environment_lifecycle` LegacyLifecycleDTO
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `updated_by_id` string, nullable
    - `updated_by` string, nullable

## Other responses

- `422` — Validation Error

## Changes

> 359 revisions in range; 4 could not be searched.

- **2026-05-08** `bb630edffa27` — 1 info
  - endpoint deprecated
- **2026-05-08** `5e6f53ce5d08` — 1 info
  - api operation id `configs_fetch` removed and replaced with `configs_fetch_variants_configs_fetch_post`
- **2026-05-02** `6e37373d45fe` — 2 info
  - api tag `Deprecated` added
  - api tag `Variants` removed
- **2026-04-16** `8b06b786c977` — 4 breaking, 11 info
  - removed `#/components/schemas/ReferenceRequestModel` from the `application_ref` request property `anyOf` list
  - removed `#/components/schemas/ReferenceRequestModel` from the `environment_ref` request property `anyOf` list
  - removed `#/components/schemas/ReferenceRequestModel` from the `variant_ref` request property `anyOf` list
  - the response property `params` became optional for the status `200`
  - …11 more
- **2026-02-13** `72fe88316d15` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Full history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/variants/configs/fetch/post.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/713e4f3b7519/schema)
