> ## Documentation Index
> Fetch the complete documentation index at: https://allhandsai-chore-regenerate-agent-sdk-openapi.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Init Status

> Report the current init state.

Authentication is intentionally not required on this endpoint so a warm
pool controller can poll it without holding the init key. The payload
contains no sensitive data.



## OpenAPI

````yaml /openapi/agent-sdk.json get /api/init
openapi: 3.1.0
info:
  description: OpenHands Agent Server - REST/WebSocket interface for OpenHands AI Agent
  title: OpenHands Agent Server
  version: 1.52.0
servers: []
security: []
paths:
  /api/init:
    get:
      tags:
        - Init
      summary: Get Init Status
      description: |-
        Report the current init state.

        Authentication is intentionally not required on this endpoint so a warm
        pool controller can poll it without holding the init key. The payload
        contains no sensitive data.
      operationId: get_init_status_api_init_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitStatus'
          description: Successful Response
components:
  schemas:
    InitStatus:
      properties:
        error:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            If a previous /api/init attempt failed, the error message. The state
            rolls back to ``dormant`` so /api/init can be retried.
          title: Error
        state:
          description: >-
            ``dormant`` — server is up but waiting for /api/init.
            ``initializing`` — /api/init has been received and services are
            starting. ``ready`` — initialization complete; all /api/* routes are
            live.
          enum:
            - dormant
            - initializing
            - ready
          title: State
          type: string
      required:
        - state
      title: InitStatus
      type: object

````

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