---
title: "Update AI content by contentId"
method: PUT
path: "/aicontent/{contentId}"
tags: ["AI content"]
---

# Update AI content by contentId

`PUT /aicontent/{contentId}`

Update an AI content entry by its contentId. If no entry with that contentId exists, one is created
(upsert).

## Path parameters

- `contentId` string, required

## Headers

- `project` string, required

## Request body

- UpdateAIContentDto
  - `title` string, required
  - `content` unknown, required
  - `type` string, required
  - `batchId` string
  - `readMoreUrl` string
  - `readMoreLabel` string

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
