# スペースの詳細を取得

**API:** Data API

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

**Tags:** Twitter / X

スペース ID で X スペース（ライブ音声ルーム）の詳細（タイトル、状態、ホスト、参加者、スケジュール）を取得します。参照や参加を決める前に、スペースが予定済みか、ライブ中か、終了済みか、誰がホストかを確認するのに使います。オブジェクトは `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"
    }
  }
}
```
