बातचीत बनाएं
Create a text conversation with an agent. This does not run the agent, and the agent sends no first message. This endpoint is in alpha and may change.
हेडर
xi-api-key
अनुरोध
This endpoint expects an object.
agent
टर्न चलाने वाला एजेंट।
environment
environment variables को resolve करने के लिए इस्तेमाल होने वाला environment (जैसे ‘production’, ‘staging’)। डिफ़ॉल्ट रूप से ब्रांच का environment, फिर ‘production’ इस्तेमाल होता है।
user_id
इस बातचीत में भाग लेने वाले अंतिम यूज़र की ID (एजेंट के मालिक द्वारा यूज़र की पहचान के लिए)
dynamic_variables
रिस्पॉन्स
सफल रिस्पॉन्स
conversation_id
त्रुटियाँ
422
Conversations Create Request Unprocessable Entity Error