---
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

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/versions/ea6421d829f1/schema)
