Get war room transcript
GET
/api/v1/warroom/{session_id}/transcript
const url = 'https://api.ultimateteam.ai/api/v1/warroom/example/transcript';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ultimateteam.ai/api/v1/warroom/example/transcript \ --header 'X-API-Key: <X-API-Key>'Return the full conversation transcript for the session.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”session_id
required
Session Id
War room session ID
string
War room session ID
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
TranscriptResponse
Response envelope for GET /warroom/{session_id}/transcript.
Attributes: data: Transcript data.
object
data
required
TranscriptResponseData
Data payload for transcript response.
Attributes: session_id: The session this transcript belongs to. messages: Ordered list of transcript messages. status: Current session status.
object
messages
required
Messages
Array<object>
TranscriptMessageA single message in the war room transcript.
Attributes: speaker: Role or identifier of the sender. text: Message content. timestamp: Unix timestamp when the message was added.
object
speaker
required
Speaker
string
text
required
Text
string
timestamp
required
Timestamp
number
session_id
required
Session Id
string
status
required
Status
string
Examplegenerated
{ "data": { "messages": [ { "speaker": "example", "text": "example", "timestamp": 1 } ], "session_id": "example", "status": "example" }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}