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

# Get Movespec Version

> Load one immutable version for a MoveSpec. Anonymous for public MoveSpecs.



## OpenAPI

````yaml /generated/api.openapi.json get /api/movespecs/{movespec_id}/versions/{version_id}
openapi: 3.1.0
info:
  title: Kynasmith Public API
  version: 0.1.0
servers: []
security: []
paths:
  /api/movespecs/{movespec_id}/versions/{version_id}:
    get:
      tags:
        - movespecs
      summary: Get Movespec Version
      description: >-
        Load one immutable version for a MoveSpec. Anonymous for public
        MoveSpecs.
      operationId: >-
        get_movespec_version_api_movespecs__movespec_id__versions__version_id__get
      parameters:
        - in: path
          name: movespec_id
          required: true
          schema:
            format: uuid
            title: Movespec Id
            type: string
        - in: path
          name: version_id
          required: true
          schema:
            format: uuid
            title: Version Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoveSpecVersionResource'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
          description: The request payload or query parameters are invalid.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
          description: Authentication failed.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
          description: Caller is not authorized for this action.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
          description: Referenced resource does not exist.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
          description: Request validation failed for the targeted resource state.
      security:
        - BearerAccessToken: []
        - {}
        - BearerAccessToken: []
components:
  schemas:
    MoveSpecVersionResource:
      description: >-
        Immutable MoveSpec version resource.


        The ``created_by`` field has been moved to
        ``MoveSpecVersionFirstPartyResource``

        as it exposes internal actor identifiers (#31).
      properties:
        content_hash:
          description: SHA-256 content hash for the immutable YAML.
          title: Content Hash
          type: string
        created_at:
          description: Version creation timestamp.
          format: date-time
          title: Created At
          type: string
        movespec_id:
          description: Owning MoveSpec identifier.
          format: uuid
          title: Movespec Id
          type: string
        movespec_version_id:
          description: Immutable MoveSpec version identifier.
          format: uuid
          title: Movespec Version Id
          type: string
        version_number:
          description: Monotonic version number for the MoveSpec.
          title: Version Number
          type: integer
        yaml_source:
          description: Immutable YAML source snapshot.
          title: Yaml Source
          type: string
      required:
        - movespec_version_id
        - movespec_id
        - version_number
        - yaml_source
        - content_hash
        - created_at
      title: MoveSpecVersionResource
      type: object
    PublicErrorEnvelope:
      description: Stable public error envelope shared across transports.
      properties:
        error:
          $ref: '#/components/schemas/PublicErrorDetail'
          description: Structured error payload.
      required:
        - error
      title: PublicErrorEnvelope
      type: object
    PublicErrorDetail:
      description: Stable public error payload shared across transports.
      properties:
        code:
          description: Machine-readable error code.
          title: Code
          type: string
        details:
          additionalProperties:
            anyOf:
              - type: string
              - type: integer
              - type: number
              - type: boolean
              - type: 'null'
          description: Bounded structured error details.
          title: Details
          type: object
        message:
          description: Human-readable error message.
          title: Message
          type: string
        retryable:
          description: Whether the caller can retry safely.
          title: Retryable
          type: boolean
      required:
        - code
        - message
        - retryable
      title: PublicErrorDetail
      type: object
  securitySchemes:
    BearerAccessToken:
      description: Backend-issued machine access token for project-scoped API access.
      scheme: bearer
      type: http

````