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

# List Skill Versions

> Every package the skill pointed at, oldest first; the last is the current one.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces/{workspace}/skills/{skill_id}/versions
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/workspaces/{workspace}/skills/{skill_id}/versions:
    get:
      tags:
        - v1
        - protected
        - skills
      summary: List Skill Versions
      description: >-
        Every package the skill pointed at, oldest first; the last is the
        current one.
      operationId: list_skill_versions_v1_skills__skill_id__versions_get
      parameters:
        - in: path
          name: skill_id
          required: true
          schema:
            format: uuid
            title: Skill Id
            type: string
        - description: Slug of the workspace the request acts in
          in: path
          name: workspace
          required: true
          schema:
            description: Slug of the workspace the request acts in
            maxLength: 120
            pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
            title: Workspace
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SkillVersionResponse'
                title: Response List Skill Versions V1 Skills  Skill Id  Versions Get
                type: array
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    SkillVersionResponse:
      description: One package a skill pointed at; the last is what it runs now.
      properties:
        catalog_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Catalog Version
        created_at:
          title: Created At
          type: string
        created_by:
          title: Created By
          type: string
        current:
          title: Current
          type: boolean
        digest:
          anyOf:
            - type: string
            - type: 'null'
          title: Digest
        id:
          title: Id
          type: string
        reason:
          enum:
            - create
            - edit
            - install
            - update
            - rollback
            - migrate
            - refresh
            - repin
          title: Reason
          type: string
      required:
        - id
        - digest
        - reason
        - created_by
        - created_at
        - current
      title: SkillVersionResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        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
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

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