---
title: "Create or Update agent"
method: POST
path: "/ai-agent"
tags: ["Agents"]
---

# Create or Update agent

`POST /ai-agent`

Create or Update agent

## Request body

- AgentRequest
  - `name` string
  - `description` string
  - `data` object

## Response `200`

successful operation

- ResponseMessage
  - `message` string

---

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