# קבלת פרטי מרחב

**API:** Data API

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

**Tags:** Twitter / X

מחזיר פרטים של מרחב 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 | המזהה של המרחב. |

## Responses

### 200 — תגובה מוצלחת

Headers:
- `X-Request-Id` (string) — מזהה בקשה לכלול בעת פנייה לתמיכת Felo.

**application/json**

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

### 400 — לא ניתן היה לעבד את הבקשה. בדקו את פרמטרי הבקשה.

### 401 — נדרש מפתח API תקף של Felo.

### 402 — לא ניתן להמשיך את הבקשה משום שדרישת חיוב אינה מתקיימת.

### 403 — החשבון אינו מורשה לבצע את הפעולה הזו.

### 429 — הגעתם למגבלת בקשות או לתקרת הוצאה.

### 502 — השירות לא הצליח להשלים את הבקשה.

### 503 — שירות ה-API או החיוב אינו זמין באופן זמני.

### 504 — השירות פג בזמן הטיפול בבקשה.

### default — הפעולה נכשלה. שמרו את מזהה הבקשה של התגובה בעת יצירת קשר עם תמיכת Felo.

## 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"
    }
  }
}
```
