> ## Documentation Index
> Fetch the complete documentation index at: https://trilletai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Active Call Details

> Retrieve detailed information about a specific active call including participants, transcript, and sentiment.

## Headers

<ParamField header="x-api-key" type="string" required>
  API key used for authenticating requests to the API.
</ParamField>

<ParamField header="x-workspace-id" type="string" required>
  Workspace identifier for the API.
</ParamField>

## Path Parameters

<ParamField path="roomName" type="string" required>
  The LiveKit room name of the active call.
</ParamField>

## Response Fields

<ResponseField name="id" type="string">
  Unique identifier for the active call.
</ResponseField>

<ResponseField name="roomName" type="string">
  The LiveKit room name.
</ResponseField>

<ResponseField name="customerPhone" type="string">
  Customer's phone number.
</ResponseField>

<ResponseField name="customerName" type="string">
  Customer's name if available.
</ResponseField>

<ResponseField name="aiAgentName" type="string">
  Name of the AI agent handling the call.
</ResponseField>

<ResponseField name="duration" type="number">
  Current call duration in seconds.
</ResponseField>

<ResponseField name="sentiment" type="string">
  Current detected sentiment.
</ResponseField>

<ResponseField name="transcript" type="array">
  Live transcript of the conversation.
</ResponseField>

<ResponseField name="participants" type="array">
  Array of call participants with metadata.
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "id": "665a1b2c3d4e5f6a7b8c9d0e",
    "roomName": "call-abc123",
    "customerPhone": "+14155551234",
    "customerName": "John Doe",
    "aiAgentName": "Customer Support Agent",
    "duration": 145,
    "sentiment": "positive",
    "transcript": [
      { "role": "agent", "content": "Hello! How can I help you today?" },
      { "role": "customer", "content": "I need help with my account." }
    ],
    "participants": [
      {
        "identity": "agent-001",
        "isAgent": true,
        "metadata": {},
        "joinedAt": "2024-06-01T10:00:00.000Z"
      }
    ]
  }
  ```
</ResponseExample>
