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

# List skill files

> List all files in the skill's folder, including its SKILL.md. Use the returned `path` values with [Get a skill file](/api-reference/skills/get-a-skill-file).



## OpenAPI

````yaml /openapi.yaml get /api/v1/spaces/{spaceId}/skills/{skillId}/files
openapi: 3.1.0
info:
  title: Nuwacom API
  description: API for Nuwacom application
  version: 1.0.0
servers:
  - url: https://{customer-tenant}.nuwacom.ai
    description: Nuwacom API
security:
  - bearerAuth: []
paths:
  /api/v1/spaces/{spaceId}/skills/{skillId}/files:
    get:
      tags:
        - Skills
      summary: List skill files
      description: >-
        List all files in the skill's folder, including its SKILL.md. Use the
        returned `path` values with [Get a skill
        file](/api-reference/skills/get-a-skill-file).
      operationId: getApiV1SpacesBySpaceIdSkillsBySkillIdFiles
      parameters:
        - in: path
          name: spaceId
          schema:
            anyOf:
              - type: string
                minLength: 2
                maxLength: 6
              - type: string
                minLength: 21
                maxLength: 21
            description: ID of the space the skill belongs to.
          required: true
        - in: path
          name: skillId
          schema:
            type: string
            format: uuid
            description: Unique ID of the skill.
          required: true
      responses:
        '200':
          description: Files returned successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                          description: Relative path of the file within the skill folder.
                        size:
                          type: number
                          description: File size in bytes.
                        mimeType:
                          type: string
                          description: MIME type derived from the file extension.
                      required:
                        - path
                        - size
                        - mimeType
                    description: All files in the skill folder, including SKILL.md.
                required:
                  - data
        '403':
          description: >-
            The caller lacks permission to view skills in this space, or the
            skills feature is disabled.
        '404':
          description: Skill not found in the provided space.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````