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

# Get one skill

> Returns one skill with its instructions and the list of its files. A skill is a named set of instructions an agent loads when it needs them: every turn the agent sees each skill's name and description, and follows the instructions of the one it picks. `source` says whether Statisfy ships it or the workspace wrote it; `used_by` lists the agents it is set on.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/skills/{key}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/skills/{key}:
    get:
      tags:
        - skills
      summary: Get one skill
      description: >-
        Returns one skill with its instructions and the list of its files. A
        skill is a named set of instructions an agent loads when it needs them:
        every turn the agent sees each skill's name and description, and follows
        the instructions of the one it picks. `source` says whether Statisfy
        ships it or the workspace wrote it; `used_by` lists the agents it is set
        on.
      operationId: skills_get
      parameters:
        - description: The skill's key, from GET /v1/skills
          in: path
          name: key
          required: true
          schema:
            maxLength: 64
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillDetail'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    SkillDetail:
      properties:
        description:
          description: What an agent reads every turn to decide when to use it
          title: Description
          type: string
        enabled:
          description: Whether agents in this workspace load it
          title: Enabled
          type: boolean
        files:
          description: >-
            Its files, without the instructions; text ones are read with GET
            /v1/skills/{key}/file
          items:
            $ref: '#/components/schemas/SkillFile'
          title: Files
          type: array
        has_tools:
          description: 'It carries tools of its own: over this API it only turns on or off'
          title: Has Tools
          type: boolean
        instructions:
          description: What the agent follows when it uses the skill (Markdown)
          title: Instructions
          type: string
        key:
          description: 'Fixed when the skill is made: the name agents call it by'
          title: Key
          type: string
        name:
          title: Name
          type: string
        parent_addendum:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Added to the calling agent's instructions while it has a skill that
            runs in a sub-agent
          title: Parent Addendum
        run_in_sub_agent:
          description: >-
            The agent hands the skill to a sub-agent rather than following it
            itself
          title: Run In Sub Agent
          type: boolean
        source:
          description: >-
            statisfy (shipped by Statisfy: read-only, but each workspace can
            turn it off) or workspace (this workspace's own)
          enum:
            - statisfy
            - workspace
          title: Source
          type: string
        status:
          description: >-
            The skill's own state. A Statisfy skill turned off by this workspace
            stays enabled here: see `enabled`
          enum:
            - enabled
            - disabled
            - archived
          title: Status
          type: string
        used_by:
          anyOf:
            - items:
                $ref: '#/components/schemas/SkillAgent'
              type: array
            - type: 'null'
          description: >-
            Every agent it is set on (archived agents left out). Changing a
            skill in use needs 'skills:publish'. Null when a change saved but
            its agents could not be read: read the skill again
          title: Used By
        version:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The live version, what a change or POST /v1/skills/{key}/live sends
            back as `expected_version`. Null when storage could not be read
          title: Version
      required:
        - key
        - name
        - description
        - source
        - status
        - enabled
        - version
        - used_by
        - instructions
        - run_in_sub_agent
        - parent_addendum
        - has_tools
        - files
      title: SkillDetail
      type: object
    SkillFile:
      properties:
        hash:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Its content hash: files of two versions with the same hash are the
            same bytes. Null when storage reported none
          title: Hash
        path:
          title: Path
          type: string
        size:
          description: Bytes
          title: Size
          type: integer
      required:
        - path
        - size
        - hash
      title: SkillFile
      type: object
    SkillAgent:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The agent's id (a digital worker's, from GET /v1/digital_workers);
            null for Stella
          title: Id
        name:
          title: Name
          type: string
        type:
          description: >-
            stella; workbench (the workspace's workbench agent); digital_worker;
            or custom_agent (an Agent Studio agent)
          enum:
            - stella
            - workbench
            - digital_worker
            - custom_agent
          title: Type
          type: string
      required:
        - type
        - id
        - name
      title: SkillAgent
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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