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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 获取空间详情

> 按 Space ID 获取某个 X Space（实时语音房间）的详情——标题、状态、主持人、参与者和排期。

> [!WARNING]
>
> 该接口文档尚未完成更新。

按 Space ID 获取某个 X Space（实时语音房间）的详情——标题、状态、主持人、参与者和排期。适合在决定引用或参加之前，先确认该 Space 是已排期、进行中还是已结束，以及由谁主持。

在 `data` 下返回该对象。

> [!NOTE]
>
> **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
> Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
> Allow，不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点：
> `search`、`list_categories`、`get_details` 和 `batch_quote` 免费，`batch_use`
> 按次计费。各客户端的接入步骤见[通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)；实时工具列表和
> 每次调用的价格见 [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/twitter/get_twitter-spaces-detail)

## 请求规范

* **方法与路径:** GET /twitter/spaces/detail
* **可用状态:** disabled

**此接口已停用，无法调用。历史请求、schema 和价格声明仅保留供参考。**

* **请求 URL 模板:** `https://api.aisa.one/apis/v1/twitter/spaces/detail`
* **space\_id:** query; 必填

[完整 OpenAPI 定义](https://aisa.one/docs/reference-contracts/zh/twitter-trend.json)

有效请求与价格声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "get_twitter_spaces_detail",
  "method": "GET",
  "path": "/twitter/spaces/detail",
  "servers": [
    {
      "url": "https://api.aisa.one/apis/v1"
    }
  ],
  "parameters": [
    {
      "description": "The ID of the space.",
      "in": "query",
      "name": "space_id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "x-aisa-status": "disabled",
  "x-aisa-pricing": {
    "cost_tier": "low",
    "model": "per_request"
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

当前未提供请求参考价格；请使用接口支持的报价功能确认费用。 最终费用以账户适用价格及实际结算为准。

公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口，执行前请针对完整请求获取免费报价；执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。


## OpenAPI

````yaml reference-contracts/zh/twitter-trend.json GET /twitter/spaces/detail
openapi: 3.0.3
info:
  description: TwitterAPI 端点的统一 OpenAPI 3.0 规范。
  title: TwitterAPI Unified API
  version: 1.0.0
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /twitter/spaces/detail:
    get:
      tags:
        - https://docs.twitterapi.io/api-reference/endpoint/get_space_detail
      summary: 获取空间详情
      description: >-
        按 Space ID 获取某个 X Space（实时语音房间）的详情——标题、状态、主持人、参与者和排期。适合在决定引用或参加之前，先确认该
        Space 是已排期、进行中还是已结束，以及由谁主持。在 `data` 下返回该对象。


        <!-- aisa-pricing:start -->

        当前未提供请求参考价格；请使用接口支持的报价功能确认费用。 最终费用以账户适用价格及实际结算为准。

        <!-- aisa-pricing:end -->
      operationId: get_twitter_spaces_detail
      parameters:
        - description: 空间的 ID。
          in: query
          name: space_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceDetailResponse'
          description: 成功响应
components:
  schemas:
    SpaceDetailResponse:
      properties:
        data:
          $ref: '#/components/schemas/SpaceDetail'
        msg:
          type: string
        status:
          enum:
            - success
            - error
          type: string
      type: object
    SpaceDetail:
      properties:
        created_at:
          format: date-time
          type: string
        creator:
          properties:
            affiliatesHighlightedLabel:
              type: object
            automatedBy:
              type: string
            canDm:
              type: boolean
            coverPicture:
              type: string
            createdAt:
              format: date-time
              type: string
            description:
              type: string
            favouritesCount:
              type: integer
            followers:
              type: integer
            following:
              type: integer
            id:
              type: string
            isAutomated:
              type: boolean
            isBlueVerified:
              type: boolean
            isVerified:
              type: boolean
            location:
              type: string
            mediaCount:
              type: integer
            name:
              type: string
            profilePicture:
              type: string
            protected:
              type: boolean
            statusesCount:
              type: integer
            url:
              type: string
            userName:
              type: string
            verifiedType:
              type: string
          type: object
        id:
          type: string
        is_subscribed:
          type: boolean
        media_key:
          type: string
        scheduled_start:
          format: date-time
          type: string
        settings:
          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
            max_admin_capacity:
              type: integer
            max_guest_sessions:
              type: integer
            narrow_cast_space_type:
              type: integer
            no_incognito:
              type: boolean
          type: object
        state:
          type: string
        stats:
          properties:
            total_live_listeners:
              type: integer
            total_participants:
              type: integer
            total_replay_watched:
              type: integer
          type: object
        title:
          type: string
        updated_at:
          format: date-time
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.