> ## Documentation Index
> Fetch the complete documentation index at: https://oma-codex-339-workspace-permissions.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Skill Versions

> List Skill Versions through the OMA API.

<Info>Every request requires `?beta=true` and `anthropic-beta: skills-2025-10-02`.</Info>


## OpenAPI

````yaml /openapi/oma.en.json get /v1/skills/{skill_id}/versions
openapi: 3.1.0
info:
  title: OMA API Reference
  version: 1.0.0
  description: Open Managed Agents application API reference.
servers:
  - url: http://localhost:38080
    description: Local OMA server
security:
  - omaApiKey: []
  - omaBearer: []
paths:
  /v1/skills/{skill_id}/versions:
    get:
      summary: List Skill Versions
      operationId: beta_list_skill_versions_v1_skills__skill_id__versions_get
      parameters:
        - name: beta
          in: query
          required: true
          description: Selects the beta API contract for this endpoint. Must be `true`.
          schema:
            type: boolean
            enum:
              - true
        - name: skill_id
          in: path
          required: true
          schema:
            type: string
            description: |-
              Unique identifier for the skill.

              The format and length of IDs may change over time.
            title: Skill Id
          description: |-
            Unique identifier for the skill.

            The format and length of IDs may change over time.
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Optionally set to the `next_page` token from the previous
              response.
            x-stainless-pagination-property:
              purpose: next_cursor_param
            title: Page
          description: Optionally set to the `next_page` token from the previous response.
        - name: limit
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: |-
              Number of items to return per page.

              Defaults to `20`. Ranges from `1` to `1000`.
            title: Limit
          description: |-
            Number of items to return per page.

            Defaults to `20`. Ranges from `1` to `1000`.
        - name: anthropic-beta
          in: header
          required: true
          schema:
            type: string
            items:
              type: string
            description: >-
              Optional header to specify the beta version(s) you want to use.


              To use multiple betas, use a comma separated list like
              `beta1,beta2` or specify the header multiple times for each beta.
            title: Anthropic-Beta
            x-stainless-override-schema:
              x-stainless-param: betas
              x-stainless-extend-default: true
              type: array
              description: Optional header to specify the beta version(s) you want to use.
              items:
                $ref: '#/components/schemas/AnthropicBeta'
            x-default: skills-2025-10-02
          description: >-
            Optional header to specify the beta version(s) you want to use.


            To use multiple betas, use a comma separated list like `beta1,beta2`
            or specify the header multiple times for each beta.
        - name: anthropic-version
          in: header
          required: false
          schema:
            type: string
            description: |-
              The version of the OMA API you want to use.

              Read more about versioning and our version history here.
            title: Anthropic-Version
          description: |-
            The version of the OMA API you want to use.

            Read more about versioning and our version history here.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BetaListSkillVersionsResponse'
        4XX:
          description: |-
            Error response.

            See our errors documentation for more details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BetaErrorResponse'
components:
  schemas:
    BetaListSkillVersionsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/BetaSkillVersion'
          type: array
          title: Data
          description: List of skill versions.
          x-stainless-pagination-property:
            purpose: items
        has_more:
          type: boolean
          title: Has More
          description: Indicates if there are more results in the requested page direction.
        next_page:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Page
          description: >-
            Token to provide in as `page` in the subsequent request to retrieve
            the next page of data.
          examples:
            - page_MjAyNS0wNS0xNFQwMDowMDowMFo=
            - null
          x-stainless-pagination-property:
            purpose: next_cursor_field
      type: object
      required:
        - data
        - has_more
        - next_page
      title: ListSkillVersionsResponse
    BetaErrorResponse:
      properties:
        error:
          discriminator:
            mapping:
              api_error:
                $ref: '#/components/schemas/BetaAPIError'
              authentication_error:
                $ref: '#/components/schemas/BetaAuthenticationError'
              billing_error:
                $ref: '#/components/schemas/BetaBillingError'
              invalid_request_error:
                $ref: '#/components/schemas/BetaInvalidRequestError'
              not_found_error:
                $ref: '#/components/schemas/BetaNotFoundError'
              overloaded_error:
                $ref: '#/components/schemas/BetaOverloadedError'
              permission_error:
                $ref: '#/components/schemas/BetaPermissionError'
              rate_limit_error:
                $ref: '#/components/schemas/BetaRateLimitError'
              timeout_error:
                $ref: '#/components/schemas/BetaGatewayTimeoutError'
            propertyName: type
          oneOf:
            - $ref: '#/components/schemas/BetaInvalidRequestError'
            - $ref: '#/components/schemas/BetaAuthenticationError'
            - $ref: '#/components/schemas/BetaBillingError'
            - $ref: '#/components/schemas/BetaPermissionError'
            - $ref: '#/components/schemas/BetaNotFoundError'
            - $ref: '#/components/schemas/BetaRateLimitError'
            - $ref: '#/components/schemas/BetaGatewayTimeoutError'
            - $ref: '#/components/schemas/BetaAPIError'
            - $ref: '#/components/schemas/BetaOverloadedError'
          title: Error
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        type:
          const: error
          default: error
          title: Type
          type: string
      required:
        - error
        - request_id
        - type
      title: ErrorResponse
      type: object
    BetaSkillVersion:
      properties:
        created_at:
          type: string
          title: Created At
          description: ISO 8601 timestamp of when the skill version was created.
          examples:
            - '2024-10-30T23:58:27.427722Z'
        description:
          type: string
          title: Description
          description: |-
            Description of the skill version.

            This is extracted from the SKILL.md file in the skill upload.
          examples:
            - A custom skill for doing something useful
        directory:
          type: string
          title: Directory
          description: >-
            Directory name of the skill version.


            This is the top-level directory name that was extracted from the
            uploaded files.
          examples:
            - my-skill
        id:
          type: string
          title: Id
          description: |-
            Unique identifier for the skill version.

            The format and length of IDs may change over time.
          examples:
            - skillver_01JAbcdefghijklmnopqrstuvw
        name:
          type: string
          title: Name
          description: |-
            Human-readable name of the skill version.

            This is extracted from the SKILL.md file in the skill upload.
          examples:
            - my-skill
        skill_id:
          type: string
          title: Skill Id
          description: Identifier for the skill that this version belongs to.
          examples:
            - skill_01JAbcdefghijklmnopqrstuvw
        type:
          type: string
          title: Type
          description: |-
            Object type.

            For Skill Versions, this is always `"skill_version"`.
          default: skill_version
        version:
          type: string
          title: Version
          description: >-
            Version identifier for the skill.


            Each version is identified by a Unix epoch timestamp (e.g.,
            "1759178010641129").
          examples:
            - '1759178010641129'
      type: object
      required:
        - created_at
        - description
        - directory
        - id
        - name
        - skill_id
        - type
        - version
      title: SkillVersion
    BetaAPIError:
      properties:
        message:
          default: Internal server error
          title: Message
          type: string
        type:
          const: api_error
          default: api_error
          title: Type
          type: string
      required:
        - message
        - type
      title: APIError
      type: object
    BetaAuthenticationError:
      properties:
        message:
          default: Authentication error
          title: Message
          type: string
        type:
          const: authentication_error
          default: authentication_error
          title: Type
          type: string
      required:
        - message
        - type
      title: AuthenticationError
      type: object
    BetaBillingError:
      properties:
        message:
          default: Billing error
          title: Message
          type: string
        type:
          const: billing_error
          default: billing_error
          title: Type
          type: string
      required:
        - message
        - type
      title: BillingError
      type: object
    BetaInvalidRequestError:
      properties:
        message:
          default: Invalid request
          title: Message
          type: string
        type:
          const: invalid_request_error
          default: invalid_request_error
          title: Type
          type: string
      required:
        - message
        - type
      title: InvalidRequestError
      type: object
    BetaNotFoundError:
      properties:
        message:
          default: Not found
          title: Message
          type: string
        type:
          const: not_found_error
          default: not_found_error
          title: Type
          type: string
      required:
        - message
        - type
      title: NotFoundError
      type: object
    BetaOverloadedError:
      properties:
        message:
          default: Overloaded
          title: Message
          type: string
        type:
          const: overloaded_error
          default: overloaded_error
          title: Type
          type: string
      required:
        - message
        - type
      title: OverloadedError
      type: object
    BetaPermissionError:
      properties:
        message:
          default: Permission denied
          title: Message
          type: string
        type:
          const: permission_error
          default: permission_error
          title: Type
          type: string
      required:
        - message
        - type
      title: PermissionError
      type: object
    BetaRateLimitError:
      properties:
        message:
          default: Rate limited
          title: Message
          type: string
        type:
          const: rate_limit_error
          default: rate_limit_error
          title: Type
          type: string
      required:
        - message
        - type
      title: RateLimitError
      type: object
    BetaGatewayTimeoutError:
      properties:
        message:
          default: Request timeout
          title: Message
          type: string
        type:
          const: timeout_error
          default: timeout_error
          title: Type
          type: string
      required:
        - message
        - type
      title: GatewayTimeoutError
      type: object
  securitySchemes:
    omaApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: OMA workspace API key.
      x-default: sk-ant-local-default
    omaBearer:
      type: http
      scheme: bearer
      description: OMA workspace API key sent as a bearer token.

````