# 取得 Space 詳細資料

**API:** Data API

**Endpoint:** `GET /v1/beta/twitter/spaces/detail`

**Tags:** Twitter / X

依 space ID 取得 X Space（即時語音空間）的詳細資料——標題、狀態、主持人、參與者與排程。用它確認 Space 是已排程、直播中或已結束，以及主持人是誰，再決定是否引用或參加。物件位於 `data` 之下。

### 計費參考

- 計量方式：依請求參考計量。
- 參考請求預估：無。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `space_id` | query | yes | string | 空間 ID。 |

## Responses

### 200 — 成功回應

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: `SpaceDetailResponse` (`#/components/schemas/SpaceDetailResponse`)

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 操作失敗。聯絡 Felo 支援時請保留回應的請求 ID。

## Schema definitions

### SpaceDetail

`#/components/schemas/SpaceDetail`

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "scheduled_start": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "media_key": {
      "type": "string"
    },
    "is_subscribed": {
      "type": "boolean"
    },
    "settings": {
      "type": "object",
      "properties": {
        "conversation_controls": {
          "type": "integer"
        },
        "disallow_join": {
          "type": "boolean"
        },
        "is_employee_only": {
          "type": "boolean"
        },
        "is_locked": {
          "type": "boolean"
        },
        "is_muted": {
          "type": "boolean"
        },
        "is_space_available_for_clipping": {
          "type": "boolean"
        },
        "is_space_available_for_replay": {
          "type": "boolean"
        },
        "no_incognito": {
          "type": "boolean"
        },
        "narrow_cast_space_type": {
          "type": "integer"
        },
        "max_guest_sessions": {
          "type": "integer"
        },
        "max_admin_capacity": {
          "type": "integer"
        }
      }
    },
    "stats": {
      "type": "object",
      "properties": {
        "total_replay_watched": {
          "type": "integer"
        },
        "total_live_listeners": {
          "type": "integer"
        },
        "total_participants": {
          "type": "integer"
        }
      }
    },
    "creator": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "userName": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "protected": {
          "type": "boolean"
        },
        "isVerified": {
          "type": "boolean"
        },
        "isBlueVerified": {
          "type": "boolean"
        },
        "verifiedType": {
          "type": "string"
        },
        "followers": {
          "type": "integer"
        },
        "following": {
          "type": "integer"
        },
        "favouritesCount": {
          "type": "integer"
        },
        "statusesCount": {
          "type": "integer"
        },
        "mediaCount": {
          "type": "integer"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "coverPicture": {
          "type": "string"
        },
        "profilePicture": {
          "type": "string"
        },
        "canDm": {
          "type": "boolean"
        },
        "affiliatesHighlightedLabel": {
          "type": "object"
        },
        "isAutomated": {
          "type": "boolean"
        },
        "automatedBy": {
          "type": "string"
        }
      }
    }
  }
}
```

### SpaceDetailResponse

`#/components/schemas/SpaceDetailResponse`

```json
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/SpaceDetail"
    },
    "status": {
      "type": "string",
      "enum": [
        "success",
        "error"
      ]
    },
    "msg": {
      "type": "string"
    }
  }
}
```
