---
title: "Create Config Version"
method: POST
path: "/components/{component_id}/configs"
tags: ["Components"]
---

# Create Config Version

`POST /components/{component_id}/configs`

Create a new config version for a component.

## Path parameters

- `component_id` string, required — Component ID

## Request body

- ConfigCreate
  - `config` object, required — The configuration data
  - `version` integer, nullable — Optional version number
  - `label` string, nullable — Optional label (e.g., 'stable')
  - `stage` string — Stage: 'draft' or 'published'
  - `notes` string, nullable — Optional notes
  - `links` object[], nullable — Optional links to child components
  - `set_current` boolean — Set as current version

## Response `201`

Successful Response

- ComponentConfigResponse
  - `component_id` string, required
  - `version` integer, required
  - `label` string, nullable
  - `stage` string, required
  - `config` object, required
  - `notes` string, nullable
  - `created_at` integer, required
  - `updated_at` integer, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/agno/apis/agno-api-reference.md) · [All operations](https://skmtc.net/agno/apis/agno-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agno/agno-api-reference/revisions/5f6149d395d0/schema)
