---
title: "Create a conversation"
method: POST
path: "/conversations"
tags: ["Conversations"]
---

# Create a conversation

`POST /conversations`

## Request

- Base URL: `https://api.openscale.so/v1`
- URL: `https://api.openscale.so/v1/conversations`
- Auth: HTTP bearer

A stored conversation, with up to 20 initial `items` and `metadata` (up to 16 string pairs). Use its id as `conversation` in Create a response. Conversations are kept until you delete them.

## Request body

- object
  - `items` object[]
  - `metadata` object

## Response `200`

The conversation.

- object
  - `id` string, required
  - `object` 'conversation', required
  - `created_at` integer, required
  - `metadata` object, required

## Other responses

- `400`: Invalid items or metadata.

---

[API](https://skmtc.dev/openscale/apis/openscale-api.md) - [All operations](https://skmtc.dev/openscale/apis/openscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openscale/apis/openscale-api/revisions/587e72b44932?raw)
