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

# Get Skill File

> Read one bundled file of a skill (progressive disclosure level 3). Use the paths from Get Skill's files listing. Fetch files only when the SKILL.md instructions reference them for the task at hand.



## OpenAPI

````yaml get /api/v2/skill/file
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/skill/file:
    get:
      tags:
        - Skill
      summary: Get Skill File
      description: >-
        Read one bundled file of a skill (progressive disclosure level 3). Use
        the paths from Get Skill's files listing. Fetch files only when the
        SKILL.md instructions reference them for the task at hand.
      operationId: getSkillFile
      parameters:
        - schema:
            type: string
            minLength: 1
            description: Skill oId
            example: skl_abc123
          required: true
          description: Skill oId
          name: oId
          in: query
        - schema:
            type: string
            minLength: 1
            description: >-
              Root-relative file path from Get Skill's files listing, e.g.
              references/objection-handling.md
            example: references/objection-handling.md
          required: true
          description: >-
            Root-relative file path from Get Skill's files listing, e.g.
            references/objection-handling.md
          name: path
          in: query
      responses:
        '200':
          description: Skill file retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      path:
                        type: string
                      content:
                        type: string
                        description: The file's text content
                    required:
                      - path
                      - content
                required:
                  - _metadata
                  - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                required:
                  - _metadata
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````