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

# Calibrate Robot

> Start the calibration sequence for the robot.



## OpenAPI

````yaml post /calibrate
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /calibrate:
    post:
      tags:
        - control
      summary: Calibrate Robot
      description: Start the calibration sequence for the robot.
      operationId: calibrate_calibrate_post
      parameters:
        - in: query
          name: robot_id
          required: false
          schema:
            default: 0
            title: Robot Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalibrateResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    CalibrateResponse:
      description: Response from the calibration endpoint.
      properties:
        calibration_status:
          description: Status of the calibration. Ends when status is success or error.
          enum:
            - error
            - success
            - in_progress
          title: Calibration Status
          type: string
        current_step:
          title: Current Step
          type: integer
        message:
          title: Message
          type: string
        total_nb_steps:
          title: Total Nb Steps
          type: integer
      required:
        - calibration_status
        - message
        - current_step
        - total_nb_steps
      title: CalibrateResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````