> ## 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.

# Read Temperature

> Read the current Temperature and maximum Temperature of the robot's motors.



## OpenAPI

````yaml post /temperature/read
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /temperature/read:
    post:
      tags:
        - control
      summary: Read Temperature
      description: >-
        Read the current Temperature and maximum Temperature of the robot's
        motors.
      operationId: read_temperature_temperature_read_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/TemperatureReadResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    TemperatureReadResponse:
      description: Response to read the Temperature of the robot.
      properties:
        current_max_Temperature:
          anyOf:
            - items:
                $ref: '#/components/schemas/Temperature'
              type: array
            - type: 'null'
          description: ' A list of Temperature objects, one for each joint. If the robot is not connected, this will be None.'
          title: Current Max Temperature
      required:
        - current_max_Temperature
      title: TemperatureReadResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    Temperature:
      properties:
        current:
          anyOf:
            - type: number
            - type: 'null'
          title: Current
        max:
          anyOf:
            - type: number
            - type: 'null'
          title: Max
      required:
        - current
        - max
      title: Temperature
      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

````