﻿---
title: stack kb agent-builder post-agent-builder-conversations cli command
description: Create conversation Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4089/reference/elastic-cli/cli/stack/kb/agent-builder/post-agent-builder-conversations
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb agent-builder post-agent-builder-conversations cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb agent-builder post-agent-builder-conversations [options]
```

Create conversation
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--access-control string">
    Optional access control settings. Defaults to private.
  </definition>
  <definition term="--agent-id string">
    The ID of the agent to associate with the conversation. Defaults to the default Elastic AI agent.
  </definition>
  <definition term="--conversation-id string">
    Optional client-supplied UUID for the conversation. Server-generated if omitted.
  </definition>
  <definition term="--title string">
    Title for the conversation. Defaults to "New conversation".
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>