नेविगेशन पर जाएँ

बातचीत बनाएं

Alpha
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-keystringवैकल्पिक

अनुरोध

This endpoint expects an object.
agentobjectआवश्यक

टर्न चलाने वाला एजेंट।

environmentstringवैकल्पिक

environment variables को resolve करने के लिए इस्तेमाल होने वाला environment (जैसे ‘production’, ‘staging’)। डिफ़ॉल्ट रूप से ब्रांच का environment, फिर ‘production’ इस्तेमाल होता है।

user_idstringवैकल्पिक

इस बातचीत में भाग लेने वाले अंतिम यूज़र की ID (एजेंट के मालिक द्वारा यूज़र की पहचान के लिए)

dynamic_variablesmap from strings to anyवैकल्पिक

रिस्पॉन्स

सफल रिस्पॉन्स

conversation_idstring

त्रुटियाँ

422
Conversations Create Request Unprocessable Entity Error