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

# Report machine bootstrap

> Guest-only bootstrap progress. Authenticate with the per-Machine bootstrap bearer from user data, not a session. Authority expires after one hour or the first joined/failed report. Send only a safe step description, never environment, tokens or command output. Messages are truncated and unrecognized descriptions omitted.



## OpenAPI

````yaml /openapi-public.json post /machines/{id}:reportBootstrap
openapi: 3.1.0
info:
  title: Akua API
  version: 1.0.0
  description: >-
    Manage installs and their asynchronous operations. Authenticate with a
    session bearer token and select a Workspace using Akua-Context.
  contact:
    name: Akua API support
    email: support@akua.dev
    url: https://docs.akua.dev/
servers:
  - url: https://api.akua.dev/v1
security: []
tags:
  - name: operations
  - name: installs
  - name: Organizations
  - name: Billing accounts
  - name: workspaces
  - name: regions
  - name: Dashboard Overview
  - name: products
  - name: offers
  - name: Order Drafts
  - name: packages
  - name: API Tokens
  - name: Quota adjustments
  - name: Workspace services
  - name: Vault connections
  - name: clusterJoin
  - name: clusters
  - name: Node pools
  - name: Nodes
  - name: machineBootstrap
  - name: machines
  - name: Sandboxes
  - name: OpenCode Servers
  - name: vaults
  - name: vaultSecrets
paths:
  /machines/{id}:reportBootstrap:
    post:
      tags:
        - machineBootstrap
      summary: Report machine bootstrap
      description: >-
        Guest-only bootstrap progress. Authenticate with the per-Machine
        bootstrap bearer from user data, not a session. Authority expires after
        one hour or the first joined/failed report. Send only a safe step
        description, never environment, tokens or command output. Messages are
        truncated and unrecognized descriptions omitted.
      operationId: machineBootstrap.reportBootstrap
      parameters:
        - name: id
          in: path
          schema:
            type: string
            minLength: 3
            maxLength: 54
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MachineBootstrapReport'
        required: true
      responses:
        '200':
          description: <No Content>
        '400':
          description: The request is malformed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiBadRequest'
        '401':
          description: Missing, invalid or expired credential.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiUnauthorized'
      security:
        - MachineBootstrapBearer: []
components:
  schemas:
    MachineBootstrapReport:
      type: object
      properties:
        stage:
          type: string
          enum:
            - started
            - hostname-set
            - k0s-downloaded
            - provider-configured
            - k0s-installed
            - worker-started
            - joined
            - failed
        exit_code:
          type: integer
          minimum: 0
          maximum: 255
        message:
          type: string
          maxLength: 8192
          description: >-
            Optional secret-free step: hostname, download-k0s,
            configure-provider-id, install-worker, or start-worker. Other text
            is omitted rather than exposed as guest output. Retained
            descriptions are bounded to 2 KiB.
      required:
        - stage
      additionalProperties: false
    ApiBadRequest:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - Validation
        success:
          type: boolean
          enum:
            - false
        errors:
          type: array
          prefixItems:
            - $ref: '#/components/schemas/ApiErrorEntry'
          minItems: 1
          items:
            $ref: '#/components/schemas/ApiErrorEntry'
        result:
          type: object
          additionalProperties: false
      required:
        - _tag
        - success
        - errors
        - result
      additionalProperties: false
    ApiUnauthorized:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - Unauthorized
        success:
          type: boolean
          enum:
            - false
        errors:
          type: array
          prefixItems:
            - $ref: '#/components/schemas/ApiErrorEntry'
          minItems: 1
          items:
            $ref: '#/components/schemas/ApiErrorEntry'
        result:
          type: object
          additionalProperties: false
      required:
        - _tag
        - success
        - errors
        - result
      additionalProperties: false
    ApiErrorEntry:
      type: object
      properties:
        code:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Machine-readable error code
          examples:
            - 7002
        message:
          type: string
          description: Human-readable error message
          examples:
            - Resource not found
        path:
          type: array
          items:
            type: string
          description: Field path that caused the error, when applicable
          examples:
            - - body
              - name
        metadata:
          type: object
          additionalProperties:
            type: string
      required:
        - code
        - message
      additionalProperties: false
  securitySchemes:
    MachineBootstrapBearer:
      type: http
      scheme: bearer

````

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