Creates new processing session from a transcript.
Creates new processing session from a transcript.
- application/json
Request Body
- ownerUserId string required
user identifier of the owner of the session
speakerNames object required
Dictionary of all participants and their first names. Needs to include mapping for the ownerUserId.
property name*stringspeakerPronouns object
Dictionary of all participants and their pronouns. If participant pronoun is unknown, then it's omitted from the dictionary. Otherwise it can have value "MasculineHim" (standing for He/Him/His), "FeminineHer" (She/Her/Hers) and "NeutralThem" (They/Them/Theirs). Specifying participant's pronoun improves AI insights accuracy.
property name*stringspeakerGenders object
Deprecated - replaced by speakerPronouns.
property name*stringtranscript object required
Transcript of the recorded session. Value becomes available during session processing.
utterances object[]
List of all utterances.
Array [text string requiredText of the utterance.
start integer requiredRelative start time in milliseconds of this utterance in the recording.
end integer requiredRelative end time in milliseconds of this utterance in the recording.
speaker string requiredSpeaker of the utterance. Speakers are labeled with letters, starting with 'A'.
words object[] required
List of words in the utterance.
Array [text string requiredtext of the single word
start integer requiredRelative start time [ms] of this word occurrence in the recording
end integer requiredRelative end time [ms] of this word occurrence in the recording
]]speakerMapping object
Mapping of speakers (present in utterances) to user identifiers. One user identifier can be assigned to multiple speakers.
property name*string- language string
Possible values: [
en,es,de,it,pt,fr,hi,zh]Language used in the conversation. Set standard two-letter ISO-639-1 language code. Allowed values - ["en", "es", "de", "it", "pt", "fr", "hi", "zh"]. English (en) will be used if not set.
- sessionType SessionType
Possible values: [
Intake,Standard,Soap,Dap,Girp,Birp,Mse,Emdr,PsychiatricSoap,PsychiatricIntake,GpSoap,Bps,HeadwaySoap]Default value:
StandardType of the session.
- participantsType ParticipantsType
Possible values: [
Individual,Couple,DictatedNotes]Default value:
IndividualType of the participants.
- 200
- 400
- 401
Session was initiated and processing started.
- application/json
- Schema
- Example (from schema)
Schema
- processingId string required
{
"processingId": "string"
}
invalid input
Authentication problem.