---
title: "Get Session Info Result"
method: GET
path: "/api/open/v4/liveAvatar/session/detail"
tags: ["Session Management"]
---

# Get Session Info Result

`GET /api/open/v4/liveAvatar/session/detail`

Get detailed information about a streaming session

## Query parameters

- `id` string, required

## Response `200`

Session details

- object
  - `code` integer, required — Interface returns business status code (1000: success)
  - `msg` string, required — Interface returns status information
  - `data` SessionDetail
    - `_id` string — Session ID
    - `uid` integer — User ID
    - `type` integer — Session type
    - `status` 1 | 2 | 3 | 4 — Session status (1:queueing, 2:processing, 3:completed, 4:failed)
    - `stream_type` string — Stream type used for the session
    - `credentials` Credentials
      - `agora_uid` number — Agora SDK user ID (required when stream_type is "agora")
      - `agora_app_id` string — Agora App ID (optional when stream_type is "agora")
      - `agora_channel` string — Agora channel name (required when stream_type is "agora")
      - `agora_token` string — Agora access token (required when stream_type is "agora")
      - `livekit_url` string — LiveKit server URL (required when stream_type is "livekit")
      - `livekit_token` string — LiveKit access token (required when stream_type is "livekit")
      - `livekit_room_name` string — LiveKit room name (optional when stream_type is "livekit")
      - `livekit_server_identity` string — LiveKit server identity (optional when stream_type is "livekit")
      - `livekit_client_identity` string — LiveKit client identity (optional when stream_type is "livekit")
      - `trtc_sdk_app_id` number — TRTC App ID (required when stream_type is "trtc")
      - `trtc_sdk_room_id` string — TRTC room ID (required when stream_type is "trtc")
      - `trtc_sdk_user_id` string — TRTC user ID (required when stream_type is "trtc")
      - `trtc_sdk_user_sig` string — TRTC authentication token (userSig) (required when stream_type is "trtc")

---

[API](https://skmtc.dev/akool/apis/face-detection-api.md) · [All operations](https://skmtc.dev/akool/apis/face-detection-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/akool/face-detection-api/revisions/ce2ff5679949/schema)
