---
title: "Create Conversation"
method: POST
path: "/agent/conversations"
tags: ["agent"]
---

# Create Conversation

`POST /agent/conversations`

## Request

- Base URL: `https://api.trytrata.com`
- URL: `https://api.trytrata.com/agent/conversations`
- Auth: HTTP bearer

## Request body

- CreateConversationRequest
  - `seed_history` SeedMessageInput[]
    - `role` 'user' | 'assistant', required
    - `content` string, required

## Response `200`

Successful Response

- ConversationSummaryResponse
  - `conversation_id` string, uuid, required
  - `user_id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `message_count` integer, required
  - `preview` string, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-09-23** `cbe65ce47b5d`: 3 info
  - added optional request body
  - added the non-success response with the status `422`
  - added the required property `updated_at` to the response with the `200` status

[Operation history](https://skmtc.dev/trytrata/apis/trytrata-api/changes/agent/conversations/post.md)

---

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