POST/v1/agents/conversations

Create a conversation

Creates a conversation for the authenticated user. Optionally provide modelName and title to set the conversation's model and title.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields

Optional conversation settings.

modelNamestringoptional
The name of the model to use for the conversation; may be a string or null.
titlestringoptional
The conversation title; may be a string or null.

1 status code
200Returns the created conversation.

Error handling

modelName and title are optional and may be strings or null. Omit either field if you do not want to set it.