---
title: "Upsert Agent Config"
method: PUT
path: "/api/v1/internal/organizations/{org_id}/agent-configs"
tags: ["internal_admin"]
---

# Upsert Agent Config

`PUT /api/v1/internal/organizations/{org_id}/agent-configs`

## Request

- Base URL: `https://api.komos.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.komos.ai/api/v1/internal/organizations/{org_id}/agent-configs`
- Auth: none declared

## Path parameters

- `org_id` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Request body

- UpsertAgentConfigRequest
  - `task_id` string, uuid, nullable
  - `node_id` string, nullable
  - `agent_model` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/komos/apis/komos-backend.md) · [All operations](https://skmtc.dev/komos/apis/komos-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/komos/apis/komos-backend/revisions/f10e153fab38?raw)
