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

# Get a Skill

> Fetch complete details for one Skill by ID, including its full parameter schema and the JSON Schema that governs its output structure.



## OpenAPI

````yaml /openapispec.json get /api/skills/{skill_id}
openapi: 3.0.3
info:
  title: Valendata REST API
  version: 1.0.0
  description: >-
    Trigger Skills, manage Workflows, retrieve Runs, and stream structured
    results from any language using JSON over HTTPS.
servers:
  - url: https://api.valendata.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Skills
    description: Execute and inspect published Skills.
  - name: Workflows
    description: Trigger multi-step Workflows and list them.
  - name: Runs
    description: Read past Workflow run history.
paths:
  /api/skills/{skill_id}:
    get:
      tags:
        - Skills
      summary: Get a Skill
      description: >-
        Fetch complete details for one Skill by ID, including its full parameter
        schema and the JSON Schema that governs its output structure.
      operationId: getSkill
      parameters:
        - name: skill_id
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the Skill to retrieve (format skl_...).
          example: skl_b281b8165a23
      responses:
        '200':
          description: Skill details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillDetail'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - SessionAuth: []
components:
  schemas:
    SkillDetail:
      allOf:
        - $ref: '#/components/schemas/SkillSummary'
        - type: object
          properties:
            parameters:
              type: array
              description: Parameter definitions accepted by the Skill.
              items:
                type: object
                properties:
                  name:
                    type: string
                  type:
                    type: string
                    enum:
                      - string
                      - number
                      - boolean
                      - array
                  required:
                    type: boolean
                  description:
                    type: string
            output_schema:
              type: object
              additionalProperties: true
              description: >-
                JSON Schema that defines the structure of the `data` array
                returned by every run.
    SkillSummary:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier (`skl_...`).
        name:
          type: string
        description:
          type: string
        version:
          type: string
        created_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        detail:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
          description: >-
            Error message. Usually a plain string; may be a structured object
            for some errors.
      example:
        detail: Invalid or expired API key
  responses:
    Unauthorized:
      description: >-
        Unauthorized. The Authorization header is missing, malformed, or the
        credential is invalid or expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found in your Workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests, or insufficient credits to start this run.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal server error on Valendata's side.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: vd_sk_...
      description: >-
        API key with the `vd_sk_` prefix. Create keys from Settings, API Keys in
        the dashboard.
    SessionAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Session token (JWT) obtained by calling `POST /api/auth/login` with your
        email and password.

````