Create conversation
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.
Headers
xi-api-key
Request
This endpoint expects an object.
agent
The agent that runs the turns.
environment
The environment to use for resolving environment variables (e.g. ‘production’, ‘staging’). Defaults to the branch’s environment, then ‘production’.
user_id
ID of the end user participating in this conversation (for agent owner’s user identification)
dynamic_variables
Response
Successful Response
conversation_id
Errors
422
Conversations Create Request Unprocessable Entity Error