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

# Get a public skill's folder, without an API key

> A public skill's current rendering under its project-free install name, for a loose
copy (`decimalai skills pull`, the Claude plugin). Always the `foreign` variant. When
the head version failed its safety scan, the newest version that passed is served
and `policy_notes` says so.



## OpenAPI

````yaml /openapi.json get /api/v1/registry/skills/{id_or_slug}/bundle
openapi: 3.1.0
info:
  title: DecimalAI Platform
  description: Agent Dataset Lifecycle Platform — Backend API
  version: 0.1.0
servers:
  - url: https://api.decimal.ai
    description: Production
security:
  - BearerAuth: []
tags:
  - name: traces
    description: >-
      Ingest, search, and inspect agent execution traces. A trace is the atomic
      unit of the platform — every other feature (evaluation, compatibility
      scoring, dataset building) operates on traces. Each trace is auto-tagged
      with the manifest hash of the agent that produced it.
  - name: eval-scores
    description: >-
      Push, fetch, and aggregate per-trace evaluation scores. Scores carry
      source provenance (built-in, DeepEval, LangSmith, custom) and feed the
      unified decision engine, which produces a keep / repair / replay / drop
      verdict per trace.
  - name: skills
    description: >-
      Manage reusable instruction blocks (SKILL.md files) that modify agent
      behavior. Skills are first-class manifest components — changes to a skill
      appear in your regression-check impact reports. Use these endpoints to
      create, version, fork, and sync skills with your local SKILL.md files.
  - name: manifests
    description: >-
      Register and inspect manifest versions. A manifest is a snapshot of your
      agent's structural identity (tools, prompts, models, skills) at a point in
      time. The SDK registers manifests automatically; these endpoints expose
      the underlying records.
  - name: datasets
    description: >-
      Build versioned SFT/DPO training datasets from manifest-classified,
      eval-scored traces. Datasets are reproducible — each version locks the
      manifest and filter set used to build it. Export as JSONL, Parquet, or
      push to HuggingFace Hub.
  - name: replay
    description: >-
      Re-execute historical traces against a new manifest version. Replay is the
      deferred-future capability for behavioral verification of agent changes.
      The SDK creates a replay batch, your worker executes each task, then
      submits results back here for eval scoring.
  - name: registry
    description: >-
      Browse and install published skills from the public skills registry. Each
      registry skill carries a SkillScore — an evidence-tiered quality composite
      computed from real-world evals, benchmarks, and ratings across
      organizations. Installing creates a fork in your org — edits don't affect
      the public version.
  - name: agents
    description: >-
      List and inspect agents, plus their multi-agent topology (orchestrator →
      sub-agent edges discovered from traces). Agents are identified by a stable
      agent_name string set in your SDK init() call.
  - name: import
    description: >-
      Bulk-import historical traces from another observability platform or a
      JSONL backup. Useful for migrating from LangSmith / Braintrust / Langfuse.
      Duplicate trace IDs are silently skipped — re-running an import is safe.
paths:
  /api/v1/registry/skills/{id_or_slug}/bundle:
    get:
      tags:
        - install
      summary: Get a public skill's folder, without an API key
      description: >-
        A public skill's current rendering under its project-free install name,
        for a loose

        copy (`decimalai skills pull`, the Claude plugin). Always the `foreign`
        variant. When

        the head version failed its safety scan, the newest version that passed
        is served

        and `policy_notes` says so.
      operationId: get_registry_skill_bundle_api_v1_registry_skills__id_or_slug__bundle_get
      parameters:
        - name: id_or_slug
          in: path
          required: true
          schema:
            type: string
            description: >-
              A skill id, url_slug or registry name (`owner/name` travels with
              its slash).
            title: Id Or Slug
          description: >-
            A skill id, url_slug or registry name (`owner/name` travels with its
            slash).
        - name: version
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 999999999
                minimum: 1
              - type: 'null'
            description: 'A version number (default: the public head).'
            title: Version
          description: 'A version number (default: the public head).'
        - name: format
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Exactly this format.
            title: Format
          description: Exactly this format.
        - name: formats
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Formats the client reads.
            title: Formats
          description: Formats the client reads.
        - name: channel
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Who is fetching (`plugin`, `cli`, ...).
            title: Channel
          description: Who is fetching (`plugin`, `cli`, ...).
        - name: purpose
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Why (`pull`, ...).
            title: Purpose
          description: Why (`pull`, ...).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BundleResponse'
        '404':
          description: '`not_found`: no public skill or version matches.'
        '410':
          description: >-
            `revoked`: the skill is blocked or withheld, or the version is
            unsafe. `reason` says which.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BundleResponse:
      properties:
        skill_id:
          type: string
          title: Skill Id
        version_id:
          type: string
          title: Version Id
        install_name:
          type: string
          title: Install Name
        render:
          $ref: '#/components/schemas/RenderKey'
        body_sha256:
          type: string
          title: Body Sha256
        description_sha256:
          type: string
          title: Description Sha256
        invocation:
          type: string
          title: Invocation
          description: '`model`, or `user` for a skill only a person may invoke.'
        files:
          items:
            $ref: '#/components/schemas/BundleFile'
          type: array
          title: Files
          description: SKILL.md first, then attachments by path.
        unavailable:
          items:
            $ref: '#/components/schemas/Unavailable'
          type: array
          title: Unavailable
          description: Files listed but not served (binary attachments, a nested SKILL.md).
        policy_notes:
          items:
            type: string
          type: array
          title: Policy Notes
      type: object
      required:
        - skill_id
        - version_id
        - install_name
        - render
        - body_sha256
        - description_sha256
        - invocation
        - files
        - unavailable
        - policy_notes
      title: BundleResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RenderKey:
      properties:
        format:
          type: integer
          title: Format
        hash:
          type: string
          title: Hash
          description: >-
            The render snapshot: the file-visible fields of the version, as
            rendered. A frozen fetch names it.
        variant:
          type: string
          title: Variant
          description: >-
            `authored` for your organization's own original skill, `foreign`
            otherwise.
      type: object
      required:
        - format
        - hash
        - variant
      title: RenderKey
    BundleFile:
      properties:
        path:
          type: string
          title: Path
        sha256:
          type: string
          title: Sha256
        size:
          type: integer
          title: Size
        mode:
          type: string
          title: Mode
        encoding:
          type: string
          title: Encoding
          description: Always `utf-8`.
        content:
          type: string
          title: Content
      type: object
      required:
        - path
        - sha256
        - size
        - mode
        - encoding
        - content
      title: BundleFile
    Unavailable:
      properties:
        path:
          type: string
          title: Path
        reason:
          type: string
          title: Reason
      type: object
      required:
        - path
        - reason
      title: Unavailable
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Enter your API key (e.g. dai_sk_test_key_001)

````

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