latestOpenAPI 3.1.02026-08-142887561.0 MB

61436a496404

beta.conversations

Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

post/v1/conversations#stream

Request body

streamtrue
storeboolean nullable
handoff_execution'client' | 'server' nullable
instructionsstring nullable
namestring nullable
descriptionstring nullable
metadataMetadataDict

Custom type for metadata with embedded validation.

agent_idstring nullable
modelstring nullable

Response

Successful Response