Create SessionAsk AIpost https://app.wayfound.ai/api/v2/sessionsCreate a session after an initial agent interaction has concluded and messages have been prepared.Body ParamsagentIdstringrequiredId of the agent used when creating the chat recordingmessagesarray of objectsrequiredArray of session messages (750 KB limit)messages*ADD objectapplicationIdstringOptional id of the Application the agent is participating in for this session.asyncbooleanDefaults to trueIf set to false, request will block until analysis is complete. Analysis will be returned.truefalsevisitorIdstringOptional value representing a unique id of the visitor interacting with the agent (e.g. email or uuid)visitorDisplayNamestringOptional display name for visitoraccountIdstringOptional value representing a unique id of the account of the visitor interacting with the agent (e.g. uuid)accountDisplayNamestringOptional display name for accountmetadatajsonOptional metadata object for the sessionResponses 200200 400400Updated 4 months ago