Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai agents sessions create

Create a conversation session on an agent

Synopsis

Create a conversation session on a deployed agent and print its ID.

iai agents sessions create <agent_name> [flags]

Examples

  iai agents sessions create my-agent
  iai agents sessions create my-agent --customer-id cust_42 --title "Order 123"
  iai agents sessions create my-agent --labels test --json

Options

      --allow-greeting        Let the agent open the conversation with a greeting
      --customer-id string    Customer the conversation belongs to; a guest customer is created when omitted
  -h, --help                  help for create
      --json                  Output raw API response as JSON
      --labels stringArray    Label attached to the conversation; repeat the flag once per label
  -o, --organization string   Organization name
  -p, --project string        Project name
      --title string          Conversation title
      --yaml                  Output raw API response as YAML

Options inherited from parent commands

SEE ALSO

Last updated

Was this helpful?