Create a conversation
Authentication
Request
Agent (agent_…) this conversation belongs to, stored as metadata.agentId. Must name an agent the caller owns.
Full-fidelity transcript. A tool message must carry toolResults answering an assistant toolCalls entry issued earlier in the array; ids and createdAt are minted when omitted.
Owner key for this conversation, stored in the indexed owner_id column and filterable via ?ownerId=. Overrides a nested metadata.ownerId. Null means no owner.
Response
A conversation with this source.system and source.externalId was already imported. Nothing was created and the existing conversation is returned with imported: false.
Set by POST /v1/conversations only. True when this call created the conversation (201); false when a conversation with the same source.system and source.externalId already existed and is returned unchanged (200).