{ "orgId": "org.1726902940.GZChqlpU", "prospectId": "pro.1731301754.OZSMSU1S", "source": "35.191.28.74", "sourceType": "BROWSER", "aiAgentId": "aia.1726903132.obUuT7vM", "transcriptText": [ { "speaker": "AI", "message": "Hi, thanks for calling the Restaurant. I am Sophia, the Restaurant manager powered by AI, how may I assist you today?", "timestamp": "2024-11-11T05:06:21.049339", "message_id": "dia.1731301581.gTtTGu8J" }, { "speaker": "USER", "message": "Hey.", "timestamp": "2024-11-11T05:06:31.737515", "message_id": "Hey." }, { "speaker": "USER", "message": "What do you actually do?", "timestamp": "2024-11-11T05:06:33.756877", "message_id": "What do you actually do?" }, { "speaker": "AI", "message": "Hi there! I'm Sophia, your virtual receptionist at Cote Korean Steak House. I'm here to help with table reservations, taking food orders for pickup or delivery, and providing information about our restaurant. How can I assist you today?", "timestamp": "2024-11-11T05:06:45.615287", "message_id": "dia.1731301593.fT6cGFVG" }, { "speaker": "USER", "message": "Okay. So I want to book an order.", "timestamp": "2024-11-11T05:06:51.225919", "message_id": "Okay. So I want to book an order." }, { "speaker": "USER", "message": "Can you help me with your many options?", "timestamp": "2024-11-11T05:06:53.730469", "message_id": "Can you help me with your many options?" }, { "speaker": "AI", "message": "Of course! Let's get started with your order. Could you please tell me which dishes you're interested in ordering from our menu today? This will help me suggest more options or confirm your choices.", "timestamp": "2024-11-11T05:06:59.973358", "message_id": "dia.1731301613.bsgHIXmI" }, { "speaker": "USER", "message": "Okay. Can you tell me, like,", "timestamp": "2024-11-11T05:07:07.064393", "message_id": "Okay. Can you tell me, like," }, { "speaker": "USER", "message": "are the menu options you have?", "timestamp": "2024-11-11T05:07:08.017518", "message_id": "are the menu options you have?" }, { "speaker": "AI", "message": "Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?", "timestamp": "2024-11-11T05:07:14.763742", "message_id": "dia.1731301627.GvyyOv8z" }, { "speaker": "USER", "message": "Yeah. So recommendation would be helpful, and it has to be, like,", "timestamp": "2024-11-11T05:07:23.723846", "message_id": "Yeah. So recommendation would be helpful, and it has to be, like," }, { "speaker": "AI", "message": "Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?", "timestamp": "2024-11-11T05:07:14.763742", "message_id": "dia.1731301627.GvyyOv8z" }, { "speaker": "USER", "message": "Yeah. So recommendation would be helpful, and it has to be, like,", "timestamp": "2024-11-11T05:07:23.723846", "message_id": "Yeah. So recommendation would be helpful, and it has to be, like," }, { "speaker": "USER", "message": "spicy.", "timestamp": "2024-11-11T05:07:24.471512", "message_id": "spicy." }, { "speaker": "AI", "message": "I'd recommend trying our Spicy Beef Bulgogi or the Spicy Korean Chicken Wings. Both dishes pack a punch and are quite popular. Would you like to place an order for either of these spicy options?", "timestamp": "2024-11-11T05:07:31.442200", "message_id": "dia.1731301644.Ez3q1ui5" }, { "speaker": "USER", "message": "Oh, yeah. So, spicy chicken wings that you mentioned.", "timestamp": "2024-11-11T05:07:40.424171", "message_id": "Oh, yeah. So, spicy chicken wings that you mentioned." }, { "speaker": "AI", "message": "Great choice! Our Spicy Korean Chicken Wings are a customer favorite. Would you like to go ahead and place an order for those wings?", "timestamp": "2024-11-11T05:07:45.458102", "message_id": "dia.1731301660.pkrs8vlF" }, { "speaker": "USER", "message": "Yes. That's right. Go ahead and place the order.", "timestamp": "2024-11-11T05:07:51.744204", "message_id": "Yes. That's right. Go ahead and place the order." }, { "speaker": "AI", "message": "Great! I'll place the order for our Spicy Korean Chicken Wings. Could you please provide your name, phone number, and whether this is for pickup or delivery?", "timestamp": "2024-11-11T05:07:57.954998", "message_id": "dia.1731301671.xmruoj53" }, { "speaker": "USER", "message": "Yes. So I'll pick it up. My phone number is", "timestamp": "2024-11-11T05:08:05.574647", "message_id": "Yes. So I'll pick it up. My phone number is" }, { "speaker": "USER", "message": "96260", "timestamp": "2024-11-11T05:08:07.455466", "message_id": "96260" }, { "speaker": "USER", "message": "12778.", "timestamp": "2024-11-11T05:08:08.983412", "message_id": "12778." }, { "speaker": "USER", "message": "And my name is Hari.", "timestamp": "2024-11-11T05:08:10.966606", "message_id": "And my name is Hari." }, { "speaker": "USER", "message": "And my name is Hari.", "timestamp": "2024-11-11T05:08:10.966606", "message_id": "And my name is Hari." }, { "speaker": "AI", "message": "Thank you, Hari! Your order for our Spicy Korean Chicken Wings is confirmed for pickup. It will be ready in the next 30-45 minutes. You will receive a confirmation text shortly. Is there anything else you'd like to add to your order?", "timestamp": "2024-11-11T05:08:19.965214", "message_id": "dia.1731301690.DkHamrVu" }, { "speaker": "USER", "message": "Nothing. All good. Thank you.", "timestamp": "2024-11-11T05:08:28.021255", "message_id": "Nothing. All good. Thank you." }, { "speaker": "AI", "message": "Thanks for calling us, you have a great one! Bye", "timestamp": "2024-11-11T05:08:29.093613", "message_id": "dia.1731301709.wcahGaIm" } ], "transcriptSummary": "The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.", "transcriptRecordingUrl": "https://storage.googleapis.com/trata-staging-recordings-storage/org.1726902940.GZChqlpU/fil.1731301754.8FQUmNBJ.mp3", "timestampStart": "2024-11-11T05:06:20.733912", "timestampEnd": "2024-11-11T05:08:41.585099", "conversationAnalytics": { "summary": "The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.", "action_items": [ "Confirm the order for Hari and prepare the Spicy Korean Chicken Wings for pickup.", "Send a confirmation text to Hari about his order." ], "is_audio_consent_given": false, "email_address_of_caller": "hari@gmail.com", "name_of_caller": "Hari", "phone_number_of_caller": "96260-12778", "address_of_caller": "123, Main Street, New York, NY, 10001", "sentiment_of_caller": "positive", "prospectStatus": "SERVICE_ORDER_PLACED" }, "status": "active", "createdBy": "trata-system", "createdAt": "2024-12-06T19:23:38.618331", "updatedBy": "trata-system", "updatedAt": "2024-12-06T19:23:38.618332"}
{ "orgId": "org.1726902940.GZChqlpU", "prospectId": "pro.1731301754.OZSMSU1S", "source": "35.191.28.74", "sourceType": "BROWSER", "aiAgentId": "aia.1726903132.obUuT7vM", "transcriptText": [ { "speaker": "AI", "message": "Hi, thanks for calling the Restaurant. I am Sophia, the Restaurant manager powered by AI, how may I assist you today?", "timestamp": "2024-11-11T05:06:21.049339", "message_id": "dia.1731301581.gTtTGu8J" }, { "speaker": "USER", "message": "Hey.", "timestamp": "2024-11-11T05:06:31.737515", "message_id": "Hey." }, { "speaker": "USER", "message": "What do you actually do?", "timestamp": "2024-11-11T05:06:33.756877", "message_id": "What do you actually do?" }, { "speaker": "AI", "message": "Hi there! I'm Sophia, your virtual receptionist at Cote Korean Steak House. I'm here to help with table reservations, taking food orders for pickup or delivery, and providing information about our restaurant. How can I assist you today?", "timestamp": "2024-11-11T05:06:45.615287", "message_id": "dia.1731301593.fT6cGFVG" }, { "speaker": "USER", "message": "Okay. So I want to book an order.", "timestamp": "2024-11-11T05:06:51.225919", "message_id": "Okay. So I want to book an order." }, { "speaker": "USER", "message": "Can you help me with your many options?", "timestamp": "2024-11-11T05:06:53.730469", "message_id": "Can you help me with your many options?" }, { "speaker": "AI", "message": "Of course! Let's get started with your order. Could you please tell me which dishes you're interested in ordering from our menu today? This will help me suggest more options or confirm your choices.", "timestamp": "2024-11-11T05:06:59.973358", "message_id": "dia.1731301613.bsgHIXmI" }, { "speaker": "USER", "message": "Okay. Can you tell me, like,", "timestamp": "2024-11-11T05:07:07.064393", "message_id": "Okay. Can you tell me, like," }, { "speaker": "USER", "message": "are the menu options you have?", "timestamp": "2024-11-11T05:07:08.017518", "message_id": "are the menu options you have?" }, { "speaker": "AI", "message": "Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?", "timestamp": "2024-11-11T05:07:14.763742", "message_id": "dia.1731301627.GvyyOv8z" }, { "speaker": "USER", "message": "Yeah. So recommendation would be helpful, and it has to be, like,", "timestamp": "2024-11-11T05:07:23.723846", "message_id": "Yeah. So recommendation would be helpful, and it has to be, like," }, { "speaker": "AI", "message": "Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?", "timestamp": "2024-11-11T05:07:14.763742", "message_id": "dia.1731301627.GvyyOv8z" }, { "speaker": "USER", "message": "Yeah. So recommendation would be helpful, and it has to be, like,", "timestamp": "2024-11-11T05:07:23.723846", "message_id": "Yeah. So recommendation would be helpful, and it has to be, like," }, { "speaker": "USER", "message": "spicy.", "timestamp": "2024-11-11T05:07:24.471512", "message_id": "spicy." }, { "speaker": "AI", "message": "I'd recommend trying our Spicy Beef Bulgogi or the Spicy Korean Chicken Wings. Both dishes pack a punch and are quite popular. Would you like to place an order for either of these spicy options?", "timestamp": "2024-11-11T05:07:31.442200", "message_id": "dia.1731301644.Ez3q1ui5" }, { "speaker": "USER", "message": "Oh, yeah. So, spicy chicken wings that you mentioned.", "timestamp": "2024-11-11T05:07:40.424171", "message_id": "Oh, yeah. So, spicy chicken wings that you mentioned." }, { "speaker": "AI", "message": "Great choice! Our Spicy Korean Chicken Wings are a customer favorite. Would you like to go ahead and place an order for those wings?", "timestamp": "2024-11-11T05:07:45.458102", "message_id": "dia.1731301660.pkrs8vlF" }, { "speaker": "USER", "message": "Yes. That's right. Go ahead and place the order.", "timestamp": "2024-11-11T05:07:51.744204", "message_id": "Yes. That's right. Go ahead and place the order." }, { "speaker": "AI", "message": "Great! I'll place the order for our Spicy Korean Chicken Wings. Could you please provide your name, phone number, and whether this is for pickup or delivery?", "timestamp": "2024-11-11T05:07:57.954998", "message_id": "dia.1731301671.xmruoj53" }, { "speaker": "USER", "message": "Yes. So I'll pick it up. My phone number is", "timestamp": "2024-11-11T05:08:05.574647", "message_id": "Yes. So I'll pick it up. My phone number is" }, { "speaker": "USER", "message": "96260", "timestamp": "2024-11-11T05:08:07.455466", "message_id": "96260" }, { "speaker": "USER", "message": "12778.", "timestamp": "2024-11-11T05:08:08.983412", "message_id": "12778." }, { "speaker": "USER", "message": "And my name is Hari.", "timestamp": "2024-11-11T05:08:10.966606", "message_id": "And my name is Hari." }, { "speaker": "USER", "message": "And my name is Hari.", "timestamp": "2024-11-11T05:08:10.966606", "message_id": "And my name is Hari." }, { "speaker": "AI", "message": "Thank you, Hari! Your order for our Spicy Korean Chicken Wings is confirmed for pickup. It will be ready in the next 30-45 minutes. You will receive a confirmation text shortly. Is there anything else you'd like to add to your order?", "timestamp": "2024-11-11T05:08:19.965214", "message_id": "dia.1731301690.DkHamrVu" }, { "speaker": "USER", "message": "Nothing. All good. Thank you.", "timestamp": "2024-11-11T05:08:28.021255", "message_id": "Nothing. All good. Thank you." }, { "speaker": "AI", "message": "Thanks for calling us, you have a great one! Bye", "timestamp": "2024-11-11T05:08:29.093613", "message_id": "dia.1731301709.wcahGaIm" } ], "transcriptSummary": "The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.", "transcriptRecordingUrl": "https://storage.googleapis.com/trata-staging-recordings-storage/org.1726902940.GZChqlpU/fil.1731301754.8FQUmNBJ.mp3", "timestampStart": "2024-11-11T05:06:20.733912", "timestampEnd": "2024-11-11T05:08:41.585099", "conversationAnalytics": { "summary": "The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.", "action_items": [ "Confirm the order for Hari and prepare the Spicy Korean Chicken Wings for pickup.", "Send a confirmation text to Hari about his order." ], "is_audio_consent_given": false, "email_address_of_caller": "hari@gmail.com", "name_of_caller": "Hari", "phone_number_of_caller": "96260-12778", "address_of_caller": "123, Main Street, New York, NY, 10001", "sentiment_of_caller": "positive", "prospectStatus": "SERVICE_ORDER_PLACED" }, "status": "active", "createdBy": "trata-system", "createdAt": "2024-12-06T19:23:38.618331", "updatedBy": "trata-system", "updatedAt": "2024-12-06T19:23:38.618332"}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Trata AI Docs","colors":{"primary":"#1B2B65","light":"#1B2B65","dark":"#1B2B65"},"favicon":"/logo/trata-favicon.png","logo":{"light":"https://mintcdn.com/trataai/SPPY3HegAe9Zg0w2/logo/trata-logo.png?fit=max\u0026auto=format\u0026n=SPPY3HegAe9Zg0w2\u0026q=85\u0026s=dc916789912d280a9265600a290d07f3","dark":"https://mintcdn.com/trataai/SPPY3HegAe9Zg0w2/logo/trata-logo.png?fit=max\u0026auto=format\u0026n=SPPY3HegAe9Zg0w2\u0026q=85\u0026s=dc916789912d280a9265600a290d07f3"},"appearance":{"default":"light","strict":true},"background":{"decoration":null,"color":{"light":"#F8F9FF","dark":"#F8F9FF"}},"navbar":{"links":[{"label":"Support","href":"mailto:support@trata.ai"}],"primary":{"type":"button","label":"Trata AI","href":"https://app.trata.ai"}},"footer":{"socials":{"x":"https://x.com/TrataAI","github":"https://github.com/TrataHQ","linkedin":"https://www.linkedin.com/company/trata-ai"}},"integrations":{"gtm":{"tagId":"GTM-MMGFFH3T"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blogs","href":"https://www.trata.ai/blogs","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trataai","hasAudioNarration":false,"actualSubdomain":"trataai","customDomains":["docs.trata.ai"],"gitSource":{"type":"github","owner":"tratahq","repo":"trata-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e653328cd78292a4ee3e","collectionId":"8699b654-38f2-4333-ab4c-786b40966032","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e653328cd78292a4ee3e:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":52},{"language":"default","tag":"Conversations","count":6},{"language":"default","tag":"Products","count":6},{"language":"default","tag":"Product","count":5},{"language":"default","tag":"Actions","count":5},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"Hive","count":5},{"language":"default","tag":"Prospects","count":5},{"language":"default","tag":"Features","count":4},{"language":"default","tag":"HiveAgentLink","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/conversations/create-a-new-conversation","slug":"/api-reference/conversations/create-a-new-conversation","pageMetadata":{"title":"Create a New Conversation","description":"Create a New Conversation","deprecated":null,"version":null,"openapi":"openapi.json post /v1/conversations","href":"/api-reference/conversations/create-a-new-conversation","autogeneratedByOpenApi":true,"hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a New Conversation\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a New Conversation","description":"Create a New Conversation","deprecated":null,"version":null,"openapi":"openapi.json post /v1/conversations","href":"/api-reference/conversations/create-a-new-conversation","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Conversations"],"summary":"Create a New Conversation","description":"Create a New Conversation","operationId":"createConversationV1","security":["1ec44031-2ea2-43b6-ad16-5cc80c7b298a"],"requestBody":"17e3c89e-9d59-4196-83d2-5fef06bf75c4","responses":{"200":"79e31e7e-37cd-485f-891a-92c2531f13bb","422":"2a93ce6e-2195-43e8-bffc-4fddcfe3402c"},"method":"post","type":"path","servers":["2acda58c-d0b0-4bc5-9cb5-be578589f7f6","68199b5b-ad21-450f-8d3a-68adebc4b787"],"path":"/v1/conversations","baseUrlOptions":["https://api.trata.ai","http://localhost:8000"],"title":"Create a New Conversation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"source":{"type":"string","maxLength":512,"minLength":1,"title":"Source","description":"Source from where the conversation originated. This can be device id, phone number, etc.","example":"device12345","isRequired":true,"uniqueKey":"source","typeLabel":"string"},"sourceType":{"type":"string","title":"ConversationSourceType","description":"Type of the conversation source","enum":["BROWSER","TWILIO","PLIVO"],"isRequired":true,"uniqueKey":"sourceType","typeLabel":"enum\u003cstring>"},"agentId":{"type":"string","maxLength":512,"minLength":1,"title":"Agentid","description":"AI agent which handled the conversation","example":"aia.1719914136.zl2fxvXB","isRequired":true,"uniqueKey":"agentId","typeLabel":"string"},"timestampStart":{"type":"string","format":"date-time","title":"Timestampstart","description":"Start time of the conversation","isRequired":true,"uniqueKey":"timestampStart","typeLabel":"string\u003cdate-time>"},"transcriptText":{"oneOf":[{"type":"array","items":{"properties":{"speaker":{"type":"string","title":"Speaker","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].speaker","typeLabel":"string"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].message","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"message_id":{"type":"string","title":"Message Id","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].message_id","typeLabel":"string"}},"type":"object","required":["speaker","message","timestamp","message_id"],"title":"DialogLine","uniqueKey":"transcriptText.oneOf.0.items.[INDEX]","typeLabel":"DialogLine · object"},"title":"Transcripttext","description":"URL to the full transcript of the conversation","maxItems":512,"minItems":1,"example":"http://example.com/transcript","uniqueKey":"transcriptText.oneOf.0","typeLabel":"DialogLine · object[]"},{"type":"null","title":"Transcripttext","description":"URL to the full transcript of the conversation","example":"http://example.com/transcript","uniqueKey":"transcriptText.oneOf.1","typeLabel":"null"}],"uniqueKey":"transcriptText","typeLabel":"DialogLine · object[] | null"},"transcriptSummary":{"oneOf":[{"type":"string","title":"Transcriptsummary","description":"Summary of the conversation","maxLength":2048,"minLength":1,"example":"The conversation was about resolving billing issues.","uniqueKey":"transcriptSummary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transcriptsummary","description":"Summary of the conversation","example":"The conversation was about resolving billing issues.","uniqueKey":"transcriptSummary.oneOf.1","typeLabel":"null"}],"uniqueKey":"transcriptSummary","typeLabel":"string | null"},"transcriptRecordingUrl":{"oneOf":[{"type":"string","title":"Transcriptrecordingurl","description":"URL to the recording of the conversation","maxLength":512,"minLength":1,"example":"http://example.com/recording","uniqueKey":"transcriptRecordingUrl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transcriptrecordingurl","description":"URL to the recording of the conversation","example":"http://example.com/recording","uniqueKey":"transcriptRecordingUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"transcriptRecordingUrl","typeLabel":"string | null"},"timestampEnd":{"oneOf":[{"type":"string","title":"Timestampend","description":"End time of the conversation","format":"date-time","uniqueKey":"timestampEnd.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Timestampend","description":"End time of the conversation","uniqueKey":"timestampEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"timestampEnd","typeLabel":"string\u003cdate-time> | null"},"conversationAnalytics":{"oneOf":[{"type":"object","title":"ConversationAnalyticsModel","description":"Analytics of the conversation","required":["summary","action_items","is_audio_consent_given","email_address_of_caller","name_of_caller","phone_number_of_caller","address_of_caller","sentiment_of_caller","prospectStatus"],"properties":{"summary":{"type":"string","title":"Summary","description":"Summary of the conversation happened with important details on the conversation. The summary should be concise and to the point. It should contain the important details of the conversation like name, phone number, email, address and any other details shared by the user.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.summary","typeLabel":"string"},"action_items":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"conversationAnalytics.oneOf.0.action_items.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Action Items","description":"List of action items and the next steps to be performed from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.action_items.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Action Items","description":"List of action items and the next steps to be performed from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.action_items.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.action_items","typeLabel":"string[] | null"},"is_audio_consent_given":{"type":"boolean","title":"Is Audio Consent Given","description":"If the user has given consent to store the audio of the conversation. Unless the user explicitly says yes, this should be false.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.is_audio_consent_given","typeLabel":"boolean"},"email_address_of_caller":{"oneOf":[{"type":"string","title":"Email Address Of Caller","description":"Extracted email address of the caller from the conversation details. Email should be a valid email address format","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.email_address_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email Address Of Caller","description":"Extracted email address of the caller from the conversation details. Email should be a valid email address format","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.email_address_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.email_address_of_caller","typeLabel":"string | null"},"name_of_caller":{"oneOf":[{"type":"string","title":"Name Of Caller","description":"Extracted name of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.name_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name Of Caller","description":"Extracted name of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.name_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.name_of_caller","typeLabel":"string | null"},"phone_number_of_caller":{"oneOf":[{"type":"string","title":"Phone Number Of Caller","description":"Extracted phone number of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.phone_number_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number Of Caller","description":"Extracted phone number of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.phone_number_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.phone_number_of_caller","typeLabel":"string | null"},"address_of_caller":{"oneOf":[{"type":"string","title":"Address Of Caller","description":"Extracted address of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.address_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Address Of Caller","description":"Extracted address of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.address_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.address_of_caller","typeLabel":"string | null"},"sentiment_of_caller":{"type":"string","title":"CallSentiment","description":"Sentiment of the caller based on the conversation details.","enum":["positive","negative","neutral"],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.sentiment_of_caller","typeLabel":"enum\u003cstring>"},"prospectStatus":{"oneOf":[{"type":"string","title":"ProspectStatus","description":"Status of the prospect after this conversation.","enum":["NEW","GENERAL_ENQUIRY","SCHEDULED_CALLBACK_WITH_BOT","SCHEDULED_APPOINTMENT_WITH_PERSON","SCHEDULED_APPOINTMENT_FOR_SERVICE","NOT_INTERESTED","PRODUCT_ORDER_PLACED","SERVICE_ORDER_PLACED"],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.prospectStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the prospect after this conversation.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.prospectStatus.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.prospectStatus","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"conversationAnalytics.oneOf.0","typeLabel":"ConversationAnalyticsModel · object"},{"type":"null","description":"Analytics of the conversation","uniqueKey":"conversationAnalytics.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationAnalytics","typeLabel":"ConversationAnalyticsModel · object | null"},"adminComments":{"oneOf":[{"type":"array","items":{"properties":{"comment":{"type":"string","maxLength":8192,"minLength":1,"title":"Comment","description":"Notes or comments to record","example":"good","isRequired":true,"uniqueKey":"adminComments.oneOf.0.items.[INDEX].comment","typeLabel":"string"},"rating":{"type":"integer","maximum":5,"minimum":1,"title":"Rating","description":"Star rating to record","example":5,"isRequired":true,"uniqueKey":"adminComments.oneOf.0.items.[INDEX].rating","typeLabel":"integer"}},"type":"object","required":["comment","rating"],"title":"Comment","uniqueKey":"adminComments.oneOf.0.items.[INDEX]","typeLabel":"Comment · object"},"title":"Admincomments","description":"Comments from the admin on the conversation","uniqueKey":"adminComments.oneOf.0","typeLabel":"Comment · object[]"},{"type":"null","title":"Admincomments","description":"Comments from the admin on the conversation","uniqueKey":"adminComments.oneOf.1","typeLabel":"null"}],"uniqueKey":"adminComments","typeLabel":"Comment · object[] | null"}},"type":"object","required":["source","sourceType","agentId","timestampStart"],"title":"Conversation","uniqueKey":"","typeLabel":"Conversation · object"},"examples":{"Example":{"title":"Example","value":{"source":"device12345","agentId":"aia.1719914136.zl2fxvXB","timestampStart":"2023-11-07T05:31:56Z","transcriptText":"http://example.com/transcript","transcriptSummary":"The conversation was about resolving billing issues.","transcriptRecordingUrl":"http://example.com/recording","timestampEnd":"2023-11-07T05:31:56Z","conversationAnalytics":{"summary":"\u003cstring>","action_items":["\u003cstring>"],"is_audio_consent_given":true,"email_address_of_caller":"\u003cstring>","name_of_caller":"\u003cstring>","phone_number_of_caller":"\u003cstring>","address_of_caller":"\u003cstring>"},"adminComments":[{"comment":"good","rating":5}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"79e31e7e-37cd-485f-891a-92c2531f13bb":{"description":"Conversation created successfully","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"id":{"type":"string","title":"Id","uniqueKey":"id","typeLabel":"string"},"orgId":{"type":"string","title":"Orgid","uniqueKey":"orgId","typeLabel":"string"},"prospectId":{"oneOf":[{"type":"string","title":"Prospectid","uniqueKey":"prospectId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prospectid","uniqueKey":"prospectId.oneOf.1","typeLabel":"null"}],"uniqueKey":"prospectId","typeLabel":"string | null"},"source":{"type":"string","title":"Source","uniqueKey":"source","typeLabel":"string"},"sourceType":{"type":"string","title":"Sourcetype","uniqueKey":"sourceType","typeLabel":"string"},"aiAgentId":{"type":"string","title":"Aiagentid","uniqueKey":"aiAgentId","typeLabel":"string"},"transcriptText":{"oneOf":[{"type":"array","items":{"properties":{"speaker":{"type":"string","title":"Speaker","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].speaker","typeLabel":"string"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].message","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"message_id":{"type":"string","title":"Message Id","isRequired":true,"uniqueKey":"transcriptText.oneOf.0.items.[INDEX].message_id","typeLabel":"string"}},"type":"object","required":["speaker","message","timestamp","message_id"],"title":"DialogLine","uniqueKey":"transcriptText.oneOf.0.items.[INDEX]","typeLabel":"DialogLine · object"},"title":"Transcripttext","uniqueKey":"transcriptText.oneOf.0","typeLabel":"DialogLine · object[]"},{"type":"null","title":"Transcripttext","uniqueKey":"transcriptText.oneOf.1","typeLabel":"null"}],"uniqueKey":"transcriptText","typeLabel":"DialogLine · object[] | null"},"transcriptSummary":{"oneOf":[{"type":"string","title":"Transcriptsummary","uniqueKey":"transcriptSummary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transcriptsummary","uniqueKey":"transcriptSummary.oneOf.1","typeLabel":"null"}],"uniqueKey":"transcriptSummary","typeLabel":"string | null"},"transcriptRecordingUrl":{"oneOf":[{"type":"string","title":"Transcriptrecordingurl","uniqueKey":"transcriptRecordingUrl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transcriptrecordingurl","uniqueKey":"transcriptRecordingUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"transcriptRecordingUrl","typeLabel":"string | null"},"timestampStart":{"type":"string","format":"date-time","title":"Timestampstart","uniqueKey":"timestampStart","typeLabel":"string\u003cdate-time>"},"timestampEnd":{"oneOf":[{"type":"string","title":"Timestampend","format":"date-time","uniqueKey":"timestampEnd.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Timestampend","uniqueKey":"timestampEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"timestampEnd","typeLabel":"string\u003cdate-time> | null"},"conversationAnalytics":{"oneOf":[{"type":"object","title":"ConversationAnalyticsModel","description":"Analytics of the conversation","required":["summary","action_items","is_audio_consent_given","email_address_of_caller","name_of_caller","phone_number_of_caller","address_of_caller","sentiment_of_caller","prospectStatus"],"properties":{"summary":{"type":"string","title":"Summary","description":"Summary of the conversation happened with important details on the conversation. The summary should be concise and to the point. It should contain the important details of the conversation like name, phone number, email, address and any other details shared by the user.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.summary","typeLabel":"string"},"action_items":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"conversationAnalytics.oneOf.0.action_items.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Action Items","description":"List of action items and the next steps to be performed from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.action_items.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Action Items","description":"List of action items and the next steps to be performed from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.action_items.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.action_items","typeLabel":"string[] | null"},"is_audio_consent_given":{"type":"boolean","title":"Is Audio Consent Given","description":"If the user has given consent to store the audio of the conversation. Unless the user explicitly says yes, this should be false.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.is_audio_consent_given","typeLabel":"boolean"},"email_address_of_caller":{"oneOf":[{"type":"string","title":"Email Address Of Caller","description":"Extracted email address of the caller from the conversation details. Email should be a valid email address format","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.email_address_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email Address Of Caller","description":"Extracted email address of the caller from the conversation details. Email should be a valid email address format","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.email_address_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.email_address_of_caller","typeLabel":"string | null"},"name_of_caller":{"oneOf":[{"type":"string","title":"Name Of Caller","description":"Extracted name of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.name_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name Of Caller","description":"Extracted name of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.name_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.name_of_caller","typeLabel":"string | null"},"phone_number_of_caller":{"oneOf":[{"type":"string","title":"Phone Number Of Caller","description":"Extracted phone number of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.phone_number_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number Of Caller","description":"Extracted phone number of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.phone_number_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.phone_number_of_caller","typeLabel":"string | null"},"address_of_caller":{"oneOf":[{"type":"string","title":"Address Of Caller","description":"Extracted address of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.address_of_caller.oneOf.0","typeLabel":"string"},{"type":"null","title":"Address Of Caller","description":"Extracted address of the caller from the conversation details.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.address_of_caller.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.address_of_caller","typeLabel":"string | null"},"sentiment_of_caller":{"type":"string","title":"CallSentiment","description":"Sentiment of the caller based on the conversation details.","enum":["positive","negative","neutral"],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.sentiment_of_caller","typeLabel":"enum\u003cstring>"},"prospectStatus":{"oneOf":[{"type":"string","title":"ProspectStatus","description":"Status of the prospect after this conversation.","enum":["NEW","GENERAL_ENQUIRY","SCHEDULED_CALLBACK_WITH_BOT","SCHEDULED_APPOINTMENT_WITH_PERSON","SCHEDULED_APPOINTMENT_FOR_SERVICE","NOT_INTERESTED","PRODUCT_ORDER_PLACED","SERVICE_ORDER_PLACED"],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.prospectStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the prospect after this conversation.","isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.prospectStatus.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"conversationAnalytics.oneOf.0.prospectStatus","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"conversationAnalytics.oneOf.0","typeLabel":"ConversationAnalyticsModel · object"},{"type":"null","description":"Analytics of the conversation","uniqueKey":"conversationAnalytics.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationAnalytics","typeLabel":"ConversationAnalyticsModel · object | null"},"createdBy":{"type":"string","title":"Createdby","uniqueKey":"createdBy","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedBy":{"type":"string","title":"Updatedby","uniqueKey":"updatedBy","typeLabel":"string"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"}},"type":"object","required":["status"],"title":"Conversation","description":"Any conversation happening between the end user and assistant is stored in this table","uniqueKey":"","typeLabel":"Conversation · object"},"example":{"orgId":"org.1726902940.GZChqlpU","prospectId":"pro.1731301754.OZSMSU1S","source":"35.191.28.74","sourceType":"BROWSER","aiAgentId":"aia.1726903132.obUuT7vM","transcriptText":[{"speaker":"AI","message":"Hi, thanks for calling the Restaurant. I am Sophia, the Restaurant manager powered by AI, how may I assist you today?","timestamp":"2024-11-11T05:06:21.049339","message_id":"dia.1731301581.gTtTGu8J"},{"speaker":"USER","message":"Hey.","timestamp":"2024-11-11T05:06:31.737515","message_id":"Hey."},{"speaker":"USER","message":"What do you actually do?","timestamp":"2024-11-11T05:06:33.756877","message_id":"What do you actually do?"},{"speaker":"AI","message":"Hi there! I'm Sophia, your virtual receptionist at Cote Korean Steak House. I'm here to help with table reservations, taking food orders for pickup or delivery, and providing information about our restaurant. How can I assist you today?","timestamp":"2024-11-11T05:06:45.615287","message_id":"dia.1731301593.fT6cGFVG"},{"speaker":"USER","message":"Okay. So I want to book an order.","timestamp":"2024-11-11T05:06:51.225919","message_id":"Okay. So I want to book an order."},{"speaker":"USER","message":"Can you help me with your many options?","timestamp":"2024-11-11T05:06:53.730469","message_id":"Can you help me with your many options?"},{"speaker":"AI","message":"Of course! Let's get started with your order. Could you please tell me which dishes you're interested in ordering from our menu today? This will help me suggest more options or confirm your choices.","timestamp":"2024-11-11T05:06:59.973358","message_id":"dia.1731301613.bsgHIXmI"},{"speaker":"USER","message":"Okay. Can you tell me, like,","timestamp":"2024-11-11T05:07:07.064393","message_id":"Okay. Can you tell me, like,"},{"speaker":"USER","message":"are the menu options you have?","timestamp":"2024-11-11T05:07:08.017518","message_id":"are the menu options you have?"},{"speaker":"AI","message":"Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?","timestamp":"2024-11-11T05:07:14.763742","message_id":"dia.1731301627.GvyyOv8z"},{"speaker":"USER","message":"Yeah. So recommendation would be helpful, and it has to be, like,","timestamp":"2024-11-11T05:07:23.723846","message_id":"Yeah. So recommendation would be helpful, and it has to be, like,"},{"speaker":"AI","message":"Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?","timestamp":"2024-11-11T05:07:14.763742","message_id":"dia.1731301627.GvyyOv8z"},{"speaker":"USER","message":"Yeah. So recommendation would be helpful, and it has to be, like,","timestamp":"2024-11-11T05:07:23.723846","message_id":"Yeah. So recommendation would be helpful, and it has to be, like,"},{"speaker":"USER","message":"spicy.","timestamp":"2024-11-11T05:07:24.471512","message_id":"spicy."},{"speaker":"AI","message":"I'd recommend trying our Spicy Beef Bulgogi or the Spicy Korean Chicken Wings. Both dishes pack a punch and are quite popular. Would you like to place an order for either of these spicy options?","timestamp":"2024-11-11T05:07:31.442200","message_id":"dia.1731301644.Ez3q1ui5"},{"speaker":"USER","message":"Oh, yeah. So, spicy chicken wings that you mentioned.","timestamp":"2024-11-11T05:07:40.424171","message_id":"Oh, yeah. So, spicy chicken wings that you mentioned."},{"speaker":"AI","message":"Great choice! Our Spicy Korean Chicken Wings are a customer favorite. Would you like to go ahead and place an order for those wings?","timestamp":"2024-11-11T05:07:45.458102","message_id":"dia.1731301660.pkrs8vlF"},{"speaker":"USER","message":"Yes. That's right. Go ahead and place the order.","timestamp":"2024-11-11T05:07:51.744204","message_id":"Yes. That's right. Go ahead and place the order."},{"speaker":"AI","message":"Great! I'll place the order for our Spicy Korean Chicken Wings. Could you please provide your name, phone number, and whether this is for pickup or delivery?","timestamp":"2024-11-11T05:07:57.954998","message_id":"dia.1731301671.xmruoj53"},{"speaker":"USER","message":"Yes. So I'll pick it up. My phone number is","timestamp":"2024-11-11T05:08:05.574647","message_id":"Yes. So I'll pick it up. My phone number is"},{"speaker":"USER","message":"96260","timestamp":"2024-11-11T05:08:07.455466","message_id":"96260"},{"speaker":"USER","message":"12778.","timestamp":"2024-11-11T05:08:08.983412","message_id":"12778."},{"speaker":"USER","message":"And my name is Hari.","timestamp":"2024-11-11T05:08:10.966606","message_id":"And my name is Hari."},{"speaker":"USER","message":"And my name is Hari.","timestamp":"2024-11-11T05:08:10.966606","message_id":"And my name is Hari."},{"speaker":"AI","message":"Thank you, Hari! Your order for our Spicy Korean Chicken Wings is confirmed for pickup. It will be ready in the next 30-45 minutes. You will receive a confirmation text shortly. Is there anything else you'd like to add to your order?","timestamp":"2024-11-11T05:08:19.965214","message_id":"dia.1731301690.DkHamrVu"},{"speaker":"USER","message":"Nothing. All good. Thank you.","timestamp":"2024-11-11T05:08:28.021255","message_id":"Nothing. All good. Thank you."},{"speaker":"AI","message":"Thanks for calling us, you have a great one! Bye","timestamp":"2024-11-11T05:08:29.093613","message_id":"dia.1731301709.wcahGaIm"}],"transcriptSummary":"The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.","transcriptRecordingUrl":"https://storage.googleapis.com/trata-staging-recordings-storage/org.1726902940.GZChqlpU/fil.1731301754.8FQUmNBJ.mp3","timestampStart":"2024-11-11T05:06:20.733912","timestampEnd":"2024-11-11T05:08:41.585099","conversationAnalytics":{"summary":"The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.","action_items":["Confirm the order for Hari and prepare the Spicy Korean Chicken Wings for pickup.","Send a confirmation text to Hari about his order."],"is_audio_consent_given":false,"email_address_of_caller":"hari@gmail.com","name_of_caller":"Hari","phone_number_of_caller":"96260-12778","address_of_caller":"123, Main Street, New York, NY, 10001","sentiment_of_caller":"positive","prospectStatus":"SERVICE_ORDER_PLACED"},"status":"active","createdBy":"trata-system","createdAt":"2024-12-06T19:23:38.618331","updatedBy":"trata-system","updatedAt":"2024-12-06T19:23:38.618332"},"examples":{"Example":{"title":"Example","value":{"orgId":"org.1726902940.GZChqlpU","prospectId":"pro.1731301754.OZSMSU1S","source":"35.191.28.74","sourceType":"BROWSER","aiAgentId":"aia.1726903132.obUuT7vM","transcriptText":[{"speaker":"AI","message":"Hi, thanks for calling the Restaurant. I am Sophia, the Restaurant manager powered by AI, how may I assist you today?","timestamp":"2024-11-11T05:06:21.049339","message_id":"dia.1731301581.gTtTGu8J"},{"speaker":"USER","message":"Hey.","timestamp":"2024-11-11T05:06:31.737515","message_id":"Hey."},{"speaker":"USER","message":"What do you actually do?","timestamp":"2024-11-11T05:06:33.756877","message_id":"What do you actually do?"},{"speaker":"AI","message":"Hi there! I'm Sophia, your virtual receptionist at Cote Korean Steak House. I'm here to help with table reservations, taking food orders for pickup or delivery, and providing information about our restaurant. How can I assist you today?","timestamp":"2024-11-11T05:06:45.615287","message_id":"dia.1731301593.fT6cGFVG"},{"speaker":"USER","message":"Okay. So I want to book an order.","timestamp":"2024-11-11T05:06:51.225919","message_id":"Okay. So I want to book an order."},{"speaker":"USER","message":"Can you help me with your many options?","timestamp":"2024-11-11T05:06:53.730469","message_id":"Can you help me with your many options?"},{"speaker":"AI","message":"Of course! Let's get started with your order. Could you please tell me which dishes you're interested in ordering from our menu today? This will help me suggest more options or confirm your choices.","timestamp":"2024-11-11T05:06:59.973358","message_id":"dia.1731301613.bsgHIXmI"},{"speaker":"USER","message":"Okay. Can you tell me, like,","timestamp":"2024-11-11T05:07:07.064393","message_id":"Okay. Can you tell me, like,"},{"speaker":"USER","message":"are the menu options you have?","timestamp":"2024-11-11T05:07:08.017518","message_id":"are the menu options you have?"},{"speaker":"AI","message":"Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?","timestamp":"2024-11-11T05:07:14.763742","message_id":"dia.1731301627.GvyyOv8z"},{"speaker":"USER","message":"Yeah. So recommendation would be helpful, and it has to be, like,","timestamp":"2024-11-11T05:07:23.723846","message_id":"Yeah. So recommendation would be helpful, and it has to be, like,"},{"speaker":"AI","message":"Certainly! At Cote Korean Steak House, we offer a variety of delicious Korean-inspired dishes. Could you let me know if you're looking for something specific, or would you like a recommendation?","timestamp":"2024-11-11T05:07:14.763742","message_id":"dia.1731301627.GvyyOv8z"},{"speaker":"USER","message":"Yeah. So recommendation would be helpful, and it has to be, like,","timestamp":"2024-11-11T05:07:23.723846","message_id":"Yeah. So recommendation would be helpful, and it has to be, like,"},{"speaker":"USER","message":"spicy.","timestamp":"2024-11-11T05:07:24.471512","message_id":"spicy."},{"speaker":"AI","message":"I'd recommend trying our Spicy Beef Bulgogi or the Spicy Korean Chicken Wings. Both dishes pack a punch and are quite popular. Would you like to place an order for either of these spicy options?","timestamp":"2024-11-11T05:07:31.442200","message_id":"dia.1731301644.Ez3q1ui5"},{"speaker":"USER","message":"Oh, yeah. So, spicy chicken wings that you mentioned.","timestamp":"2024-11-11T05:07:40.424171","message_id":"Oh, yeah. So, spicy chicken wings that you mentioned."},{"speaker":"AI","message":"Great choice! Our Spicy Korean Chicken Wings are a customer favorite. Would you like to go ahead and place an order for those wings?","timestamp":"2024-11-11T05:07:45.458102","message_id":"dia.1731301660.pkrs8vlF"},{"speaker":"USER","message":"Yes. That's right. Go ahead and place the order.","timestamp":"2024-11-11T05:07:51.744204","message_id":"Yes. That's right. Go ahead and place the order."},{"speaker":"AI","message":"Great! I'll place the order for our Spicy Korean Chicken Wings. Could you please provide your name, phone number, and whether this is for pickup or delivery?","timestamp":"2024-11-11T05:07:57.954998","message_id":"dia.1731301671.xmruoj53"},{"speaker":"USER","message":"Yes. So I'll pick it up. My phone number is","timestamp":"2024-11-11T05:08:05.574647","message_id":"Yes. So I'll pick it up. My phone number is"},{"speaker":"USER","message":"96260","timestamp":"2024-11-11T05:08:07.455466","message_id":"96260"},{"speaker":"USER","message":"12778.","timestamp":"2024-11-11T05:08:08.983412","message_id":"12778."},{"speaker":"USER","message":"And my name is Hari.","timestamp":"2024-11-11T05:08:10.966606","message_id":"And my name is Hari."},{"speaker":"USER","message":"And my name is Hari.","timestamp":"2024-11-11T05:08:10.966606","message_id":"And my name is Hari."},{"speaker":"AI","message":"Thank you, Hari! Your order for our Spicy Korean Chicken Wings is confirmed for pickup. It will be ready in the next 30-45 minutes. You will receive a confirmation text shortly. Is there anything else you'd like to add to your order?","timestamp":"2024-11-11T05:08:19.965214","message_id":"dia.1731301690.DkHamrVu"},{"speaker":"USER","message":"Nothing. All good. Thank you.","timestamp":"2024-11-11T05:08:28.021255","message_id":"Nothing. All good. Thank you."},{"speaker":"AI","message":"Thanks for calling us, you have a great one! Bye","timestamp":"2024-11-11T05:08:29.093613","message_id":"dia.1731301709.wcahGaIm"}],"transcriptSummary":"The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.","transcriptRecordingUrl":"https://storage.googleapis.com/trata-staging-recordings-storage/org.1726902940.GZChqlpU/fil.1731301754.8FQUmNBJ.mp3","timestampStart":"2024-11-11T05:06:20.733912","timestampEnd":"2024-11-11T05:08:41.585099","conversationAnalytics":{"summary":"The caller, Hari, called to place an order at Cote Korean Steak House. He requested recommendations for spicy menu items and chose the Spicy Korean Chicken Wings for pick-up. His phone number is 96260-12778. The order is confirmed for pickup within 30-45 minutes.","action_items":["Confirm the order for Hari and prepare the Spicy Korean Chicken Wings for pickup.","Send a confirmation text to Hari about his order."],"is_audio_consent_given":false,"email_address_of_caller":"hari@gmail.com","name_of_caller":"Hari","phone_number_of_caller":"96260-12778","address_of_caller":"123, Main Street, New York, NY, 10001","sentiment_of_caller":"positive","prospectStatus":"SERVICE_ORDER_PLACED"},"status":"active","createdBy":"trata-system","createdAt":"2024-12-06T19:23:38.618331","updatedBy":"trata-system","updatedAt":"2024-12-06T19:23:38.618332"}}},"exampleType":"examples"}},"exampleType":"examples"},"2a93ce6e-2195-43e8-bffc-4fddcfe3402c":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1ec44031-2ea2-43b6-ad16-5cc80c7b298a":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"2acda58c-d0b0-4bc5-9cb5-be578589f7f6":{"url":"https://api.trata.ai","description":"Production"},"68199b5b-ad21-450f-8d3a-68adebc4b787":{"url":"http://localhost:8000","description":"Development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"trataai","siteName":"Trata AI Docs","title":"Create a New Conversation - Trata AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:54:42.928Z","originalFileLocation":"api-reference/conversations/create-a-new-conversation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a New Conversation\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trata AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a New Conversation - Trata AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a New Conversation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trata AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trataai.mintlify.app/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Create+a+New+Conversation\u0026amp;description=Create+a+New+Conversation\u0026amp;theme=3b98d4ceb3f796ea1ffc0506\u0026amp;signature=e153fe48cca6e1be111622ddbe5eafca3b369341775190e55ee927ef99c0db21\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a New Conversation - Trata AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a New Conversation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trataai.mintlify.app/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Create+a+New+Conversation\u0026amp;description=Create+a+New+Conversation\u0026amp;theme=3b98d4ceb3f796ea1ffc0506\u0026amp;signature=e153fe48cca6e1be111622ddbe5eafca3b369341775190e55ee927ef99c0db21\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trataai/mDNWnVxajc-m_HYK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trata AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1B2B65\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/conversations/create-a-new-conversation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trata.ai/#organization\",\"name\":\"Trata AI Docs\",\"url\":\"https://docs.trata.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trataai/SPPY3HegAe9Zg0w2/logo/trata-logo.png?fit=max\u0026auto=format\u0026n=SPPY3HegAe9Zg0w2\u0026q=85\u0026s=dc916789912d280a9265600a290d07f3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trata.ai#website\",\"name\":\"Trata AI Docs\",\"url\":\"https://docs.trata.ai\",\"publisher\":{\"@id\":\"https://docs.trata.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation#webpage\",\"url\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation\",\"name\":\"Create a New Conversation\",\"description\":\"Create a New Conversation\",\"dateModified\":\"2026-01-07T03:54:42.928Z\",\"isPartOf\":{\"@id\":\"https://docs.trata.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Conversations\",\"item\":\"https://docs.trata.ai/api-reference/conversations/list-all-conversations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a New Conversation\",\"item\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation#apireference\",\"headline\":\"Create a New Conversation\",\"name\":\"Create a New Conversation\",\"description\":\"Create a New Conversation\",\"url\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trata.ai/api-reference/conversations/create-a-new-conversation#webpage\"},\"dateModified\":\"2026-01-07T03:54:42.928Z\",\"publisher\":{\"@id\":\"https://docs.trata.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trata.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trata AI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trata AI Docs","nav":{"global":{"anchors":[{"anchor":"Blogs","href":"https://www.trata.ai/blogs","icon":"newspaper"}]},"tabs":[{"tab":"Product","pages":[{"title":"Product","href":"/home-page/quickstart"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/Introduction"},{"title":null,"href":"/api-reference/API-Architecture"},{"title":null,"href":"/api-reference/API-Entities"}]},{"group":"Analytics","pages":[{"title":"Get Metrics","deprecated":null,"version":null,"openapi":"openapi.json post /v1/metrics","href":"/api-reference/analytics/get-metrics"},{"title":"Get Aggregated Stats","deprecated":null,"version":null,"openapi":"openapi.json get /v1/stats","href":"/api-reference/analytics/get-aggregated-stats"}]},{"group":"Prospects","pages":[{"title":"List All Prospects","deprecated":null,"version":null,"openapi":"openapi.json get /v1/prospects","href":"/api-reference/prospects/list-all-prospects"},{"title":"Create a New Prospect","deprecated":null,"version":null,"openapi":"openapi.json post /v1/prospects","href":"/api-reference/prospects/create-a-new-prospect"},{"title":"Get a Specific Prospect by ID","deprecated":null,"version":null,"openapi":"openapi.json get /v1/prospects/{prospect_id}","href":"/api-reference/prospects/get-a-specific-prospect-by-id"},{"title":"Update a Specific Prospect by ID","deprecated":null,"version":null,"openapi":"openapi.json put /v1/prospects/{prospect_id}","href":"/api-reference/prospects/update-a-specific-prospect-by-id"},{"title":"Delete a Specific Prospect by ID","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/prospects/{prospect_id}","href":"/api-reference/prospects/delete-a-specific-prospect-by-id"}]},{"group":"Agents","pages":[{"title":"List All AI Agents","deprecated":null,"version":null,"openapi":"openapi.json get /v1/ai-agents","href":"/api-reference/agents/list-all-ai-agents"},{"title":"Create a New AI Agent","deprecated":null,"version":null,"openapi":"openapi.json post /v1/ai-agents","href":"/api-reference/agents/create-a-new-ai-agent"},{"title":"Get a Specific AI Agent by ID","deprecated":null,"version":null,"openapi":"openapi.json get /v1/ai-agents/{agent_id}","href":"/api-reference/agents/get-a-specific-ai-agent-by-id"},{"title":"Update a Specific AI Agent by ID","deprecated":null,"version":null,"openapi":"openapi.json put /v1/ai-agents/{agent_id}","href":"/api-reference/agents/update-a-specific-ai-agent-by-id"},{"title":"Delete a Specific AI Agent by ID","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/ai-agents/{agent_id}","href":"/api-reference/agents/delete-a-specific-ai-agent-by-id"}]},{"group":"VoiceModels","pages":[{"title":"Get list of voices available for calls","deprecated":null,"version":null,"openapi":"openapi.json get /v1/voice-models","href":"/api-reference/voicemodels/get-list-of-voices-available-for-calls"}]},{"group":"Hive","pages":[{"title":"List All Hives","deprecated":null,"version":null,"openapi":"openapi.json get /v1/hives","href":"/api-reference/hive/list-all-hives"},{"title":"Create a New Hive","deprecated":null,"version":null,"openapi":"openapi.json post /v1/hives","href":"/api-reference/hive/create-a-new-hive"},{"title":"Get a Specific Hive by ID","deprecated":null,"version":null,"openapi":"openapi.json get /v1/hives/{hive_id}","href":"/api-reference/hive/get-a-specific-hive-by-id"},{"title":"Update a Specific Hive by ID","deprecated":null,"version":null,"openapi":"openapi.json put /v1/hives/{hive_id}","href":"/api-reference/hive/update-a-specific-hive-by-id"},{"title":"Delete a Specific Hive by ID","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/hives/{hive_id}","href":"/api-reference/hive/delete-a-specific-hive-by-id"}]},{"group":"HiveAgentLink","pages":[{"title":"Create a Link Between a Hive and an Agent","deprecated":null,"version":null,"openapi":"openapi.json post /v1/hives/{hive_id}/ai-agents/{agent_id}/link","href":"/api-reference/hiveagentlink/create-a-link-between-a-hive-and-an-agent"},{"title":"Delete a Link Between a Hive and an Agent","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/hives/{hive_id}/ai-agents/{agent_id}/link","href":"/api-reference/hiveagentlink/delete-a-link-between-a-hive-and-an-agent"},{"title":"List All Hives Linked to a Specific Agent","deprecated":null,"version":null,"openapi":"openapi.json get /v1/ai-agents/{agent_id}/hives","href":"/api-reference/hiveagentlink/list-all-hives-linked-to-a-specific-agent"},{"title":"List All Agents Linked to a Specific Hive","deprecated":null,"version":null,"openapi":"openapi.json get /v1/hives/{hive_id}/ai-agents","href":"/api-reference/hiveagentlink/list-all-agents-linked-to-a-specific-hive"}]},{"group":"Actions","pages":[{"title":"List All Actions Under the User\u0026#39;s Organization","deprecated":null,"version":null,"openapi":"openapi.json get /v1/actions","href":"/api-reference/actions/list-all-actions-under-the-user\u0026#39;s-organization"},{"title":"Create a New Action","deprecated":null,"version":null,"openapi":"openapi.json post /v1/actions","href":"/api-reference/actions/create-a-new-action"},{"title":"Get a Specific Action by ID","deprecated":null,"version":null,"openapi":"openapi.json get /v1/actions/{action_id}","href":"/api-reference/actions/get-a-specific-action-by-id"},{"title":"Update a Specific Action by ID","deprecated":null,"version":null,"openapi":"openapi.json put /v1/actions/{action_id}","href":"/api-reference/actions/update-a-specific-action-by-id"},{"title":"Delete a Specific Action by ID","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/actions/{action_id}","href":"/api-reference/actions/delete-a-specific-action-by-id"}]},{"group":"ActionAgentLink","pages":[{"title":"Create a Link Between an Action and an Agent","deprecated":null,"version":null,"openapi":"openapi.json post /v1/actions/{action_id}/ai-agents/{agent_id}/link","href":"/api-reference/actionagentlink/create-a-link-between-an-action-and-an-agent"},{"title":"Delete a Link Between an Action and an Agent","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/actions/{action_id}/ai-agents/{agent_id}/link","href":"/api-reference/actionagentlink/delete-a-link-between-an-action-and-an-agent"},{"title":"List All Actions Linked to a Specific Agent","deprecated":null,"version":null,"openapi":"openapi.json get /v1/ai-agents/{agent_id}/actions","href":"/api-reference/actionagentlink/list-all-actions-linked-to-a-specific-agent"}]},{"group":"Products","pages":[{"title":"List All Products","deprecated":null,"version":null,"openapi":"openapi.json get /v1/products","href":"/api-reference/products/list-all-products"},{"title":"Create a New Product","deprecated":null,"version":null,"openapi":"openapi.json post /v1/products","href":"/api-reference/products/create-a-new-product"},{"title":"Get a Specific Product by ID","deprecated":null,"version":null,"openapi":"openapi.json get /v1/products/{product_id}","href":"/api-reference/products/get-a-specific-product-by-id"},{"title":"Update a Specific Product by ID","deprecated":null,"version":null,"openapi":"openapi.json put /v1/products/{product_id}","href":"/api-reference/products/update-a-specific-product-by-id"},{"title":"Delete a Specific Product by ID","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/products/{product_id}","href":"/api-reference/products/delete-a-specific-product-by-id"},{"title":"List All Agents Linked to a Specific Product","deprecated":null,"version":null,"openapi":"openapi.json get /v1/products/{product_id}/agents","href":"/api-reference/products/list-all-agents-linked-to-a-specific-product"}]},{"group":"Conversations","pages":[{"title":"List All Conversations","description":"List All Conversations","deprecated":null,"version":null,"openapi":"openapi.json get /v1/conversations","href":"/api-reference/conversations/list-all-conversations"},{"title":"Create a New Conversation","deprecated":null,"version":null,"openapi":"openapi.json post /v1/conversations","href":"/api-reference/conversations/create-a-new-conversation"},{"title":"Get a Specific Conversation by ID","description":"Get a Specific Conversation by ID","deprecated":null,"version":null,"openapi":"openapi.json get /v1/conversations/{conversation_id}","href":"/api-reference/conversations/get-a-specific-conversation-by-id"},{"title":"Update a Specific Conversation by ID","deprecated":null,"version":null,"openapi":"openapi.json put /v1/conversations/{conversation_id}","href":"/api-reference/conversations/update-a-specific-conversation-by-id"},{"title":"Delete a Specific Conversation by ID","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/conversations/{conversation_id}","href":"/api-reference/conversations/delete-a-specific-conversation-by-id"},{"title":"Add Feedback to a Specific Conversation","deprecated":null,"version":null,"openapi":"openapi.json post /v1/conversations/{conversation_id}/feedback","href":"/api-reference/conversations/add-feedback-to-a-specific-conversation"}]},{"group":"ConversationProspectLink","pages":[{"title":"Create a link between a conversation and a prospect","deprecated":null,"version":null,"openapi":"openapi.json post /v1/conversations/{conversation_id}/prospects/{prospect_id}/links","href":"/api-reference/conversationprospectlink/create-a-link-between-a-conversation-and-a-prospect"},{"title":"Delete a link between a conversation and a prospect","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/conversations/{conversation_id}/prospects/{prospect_id}/links","href":"/api-reference/conversationprospectlink/delete-a-link-between-a-conversation-and-a-prospect"},{"title":"List all conversations linked to a specific prospect","deprecated":null,"version":null,"openapi":"openapi.json get /v1/prospects/{prospect_id}/conversations","href":"/api-reference/conversationprospectlink/list-all-conversations-linked-to-a-specific-prospect"}]},{"group":"Files","pages":[{"title":"Upload Files","deprecated":null,"version":null,"openapi":"openapi.json post /v1/files","href":"/api-reference/files/upload-files"},{"title":"Delete Files","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/files","href":"/api-reference/files/delete-files"}]},{"group":"Data Plane","pages":[{"title":"Create Connection","deprecated":null,"version":null,"openapi":"openapi.json post /v1/connections","href":"/api-reference/data-plane/create-connection"},{"title":"Get Audio Stream XML For Plivo","deprecated":null,"version":null,"openapi":"openapi.json get /v1/connections/{connection_id}/plivo-audio-stream-xml","href":"/api-reference/data-plane/get-audio-stream-xml-for-plivo"}]},{"group":"Health","pages":[{"title":"Heart Beat Check For Trata Backend","deprecated":null,"version":null,"openapi":"openapi.json get /status","href":"/api-reference/health/heart-beat-check-for-trata-backend"}]}]},{"tab":"Change Log","pages":[{"title":"Change Log","href":"/changelog/overview"}]}]},"basePath":"","title":"Create a New Conversation - Trata AI Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}