> ## 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 registry skill's eval.yaml (latest version, or a specific one)

> Return a public registry skill's `eval.yaml` text.

Anonymous-readable. Mirrors the `/body` pattern: accepts UUID or
`Skill.name` slug. 404 when the skill has no eval.yaml authored yet.

Without `version` this serves the latest published version, unchanged.
With `version=N` it serves the suite attached to that version_number —
the query the "reproduce the published ablation" flow needs, because a
benchmark run names the version it was measured against and a skill that
has since re-versioned no longer serves that suite as `latest`.

Used by `decimalai skills pull <slug>` to fetch the eval suite
alongside `SKILL.md` so a user can run `decimalai skills benchmark`
against the local copy.

What `version` promises: these are the cases attached to that version of
the skill **right now**. That is not the same as a frozen copy of what some
past benchmark run executed — a publisher who re-pushes a re-authored
eval.yaml rewrites the current version's cases in place without minting a
new version, and this endpoint cannot see that. Treat the result as "the
suite this version carries", and treat a published number as reproducible
only up to that.



## OpenAPI

````yaml /openapi.json get /api/v1/registry/skills/{skill_id}/eval
openapi: 3.1.0
info:
  title: DecimalAI Platform
  description: A registry of agent skills with test results — 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/{skill_id}/eval:
    get:
      tags:
        - registry
      summary: >-
        Get a public registry skill's eval.yaml (latest version, or a specific
        one)
      description: >-
        Return a public registry skill's `eval.yaml` text.


        Anonymous-readable. Mirrors the `/body` pattern: accepts UUID or

        `Skill.name` slug. 404 when the skill has no eval.yaml authored yet.


        Without `version` this serves the latest published version, unchanged.

        With `version=N` it serves the suite attached to that version_number —

        the query the "reproduce the published ablation" flow needs, because a

        benchmark run names the version it was measured against and a skill that

        has since re-versioned no longer serves that suite as `latest`.


        Used by `decimalai skills pull <slug>` to fetch the eval suite

        alongside `SKILL.md` so a user can run `decimalai skills benchmark`

        against the local copy.


        What `version` promises: these are the cases attached to that version of

        the skill **right now**. That is not the same as a frozen copy of what
        some

        past benchmark run executed — a publisher who re-pushes a re-authored

        eval.yaml rewrites the current version's cases in place without minting
        a

        new version, and this endpoint cannot see that. Treat the result as "the

        suite this version carries", and treat a published number as
        reproducible

        only up to that.
      operationId: get_registry_skill_eval_api_v1_registry_skills__skill_id__eval_get
      parameters:
        - name: skill_id
          in: path
          required: true
          schema:
            type: string
            title: Skill Id
        - name: version
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Version to fetch, as a version_number — `1` or `v1` both work.
              Omit for the latest published version. 404s when the skill has no
              such version.
            title: Version
          description: >-
            Version to fetch, as a version_number — `1` or `v1` both work. Omit
            for the latest published version. 404s when the skill has no such
            version.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-codeSamples:
        - lang: Python
          label: Python SDK
          source: >-
            import httpx, yaml


            # Latest version

            resp =
            httpx.get("https://api.decimal.ai/api/v1/registry/skills/gdpr-pii-classifier/eval")

            resp.raise_for_status()

            eval_data = yaml.safe_load(resp.json()["eval_yaml_text"])

            print(f"{len(eval_data['cases'])} test cases")


            # The suite as it stands on a SPECIFIC version — use this to re-run
            a published

            # number, whose run names the version it was measured against.

            v1 = httpx.get(
                "https://api.decimal.ai/api/v1/registry/skills/sla-breach-response/eval",
                params={"version": 1},
            )
        - lang: Bash
          label: CLI
          source: >-
            decimalai skills pull gdpr-pii-classifier  # writes eval.yaml
            alongside SKILL.md
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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.