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

# 获取守护进程状态



## OpenAPI

````yaml openapi/arc-daemon-control-plane.zh.openapi.yaml get /v1/status
openapi: 3.1.0
info:
  title: Arc 守护进程控制面 API
  version: 1.0.0
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  description: |
    `arc-daemon` 控制面路由的 OpenAPI 定义，接口实现位于 `crates/arc-daemon/src/main.rs`，
    共享结构定义位于 `crates/arc-core/src/control.rs`。

    这个 API 与 `arc-gateway` 的控制面实现相互独立。
servers:
  - url: http://127.0.0.1:22100
security:
  - {}
paths:
  /v1/status:
    get:
      summary: 获取守护进程状态
      operationId: getDaemonStatus
      responses:
        '200':
          description: 当前代际与节点 ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DaemonStatusResponse'
        '400':
          description: 请求错误
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: 内部错误
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DaemonStatusResponse:
      type: object
      required:
        - generation
        - node_id
      properties:
        generation:
          type: string
          format: uuid
        node_id:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string

````