---
title: "Update a conversation"
method: POST
path: "/conversations/{conversation_id}"
tags: ["Conversations"]
---

# Update a conversation

`POST /conversations/{conversation_id}`

## Path parameters

- `conversation_id` string, required

## Request body

- UpdateConversationBody
  - `metadata` Metadata, nullable, required — Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

## Response `200`

Success

- ConversationResource
  - `id` string, required — The unique ID of the conversation.
  - `object` 'conversation', required — The object type, which is always `conversation`.
  - `metadata` unknown, required
  - `created_at` integer, required — The time at which the conversation was created, measured in seconds since the Unix epoch.

---

[API](https://skmtc.net/openai/apis/openapi.md) · [All operations](https://skmtc.net/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openapi/revisions/63028c4d3916/schema)
