Skip to main content
POST
/
api
/
sessions
/
by-room
/
{room_name}
/
transcripts
Add Transcript By Room
curl --request POST \
  --url http://localhost:8000/api/sessions/by-room/{room_name}/transcripts \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "speaker": "USER"
}
'
{
  "content": "<string>",
  "speaker": "USER",
  "id": "<string>",
  "session_id": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Path Parameters

room_name
string
required

Body

application/json

Transcript creation schema when using room name (session_id derived from room).

content
string
required
speaker
enum<string>
required
Available options:
USER,
AGENT

Response

Successful Response

content
string
required
speaker
enum<string>
required
Available options:
USER,
AGENT
id
string
required
session_id
string
required
timestamp
string<date-time>
required