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

# Version

> Retrieve the version of the agent.



## OpenAPI

````yaml /references/device-api/v0.1.0.yaml get /version
openapi: 3.0.3
info:
  title: Miru API
  version: 0.1.0
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: http://localhost/v1
    description: localhost
security: []
paths:
  /version:
    get:
      tags:
        - Agent
      summary: Version
      description: Retrieve the version of the agent.
      responses:
        '200':
          description: Successfully retrieved the version of the agent.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionResponse'
      x-codeSamples:
        - lang: curl
          source: |-
            curl --unix-socket /run/miru/miru.sock \
              --request GET \
              --url http://localhost/v1/version
        - lang: Python
          source: |-
            from miru_device_sdk import Miru

              client = Miru()
              response = client.agent.version()
              print(response.commit)
components:
  schemas:
    VersionResponse:
      type: object
      required:
        - version
        - commit
      properties:
        version:
          type: string
          description: The version of the agent.
          example: v0.1.0
        commit:
          type: string
          description: The commit hash of the agent.
          example: a1b2c3d4

````