Saltar al contenido principal
GET
/
v1
/
transcription
/
{call_id}
Get Transcription
import requests

url = "http://localhost:3000/v1/transcription/{call_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_date": "2023-11-07T05:31:56Z",
    "role": "user",
    "content": "<string>",
    "tool_call": {
      "name": "<string>",
      "arguments": {}
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

call_id
string<uuid>
required

The unique identifier for the call

Response

Successful Response

message_id
string<uuid>
required

The unique identifier for the message

created_date
string<date-time>
required

The datetime when the message was created during the call

role
enum<string>
required

The role associated with the message. It can be assistant, user or tool.

Opciones disponibles:
user,
assistant,
tool
content
string | null

The content of the message. That is, the message said by the user or the assistant.

tool_call
ToolMessageResponse · object

The tool call information if the message is a tool call.