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

# Get learn-agent artifact version

> Returns the learn-agent KB content and metadata for a specific project, agent, and version.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /projects/{project_id}/artifacts/versions/{version}
openapi: 3.1.0
info:
  title: Lemma Platform API
  description: Lemma Platform HTTP API for AI observability and workspace operations.
  version: 0.1.0
servers: []
security:
  - bearerAuth: []
paths:
  /projects/{project_id}/artifacts/versions/{version}:
    get:
      tags:
        - Projects
      summary: Get learn-agent artifact version
      description: >-
        Returns the learn-agent KB content and metadata for a specific project,
        agent, and version.
      operationId: get_learn_agent_artifact_version
      parameters:
        - name: project_id
          in: path
          required: true
          description: Project ID
          schema:
            type: string
        - name: version
          in: path
          required: true
          description: Learn-agent artifact version
          schema:
            type: string
        - name: agent_name
          in: query
          required: false
          description: >-
            Optional agent name used to scope learn-agent artifacts. Empty
            selects untagged artifacts.
          schema:
            type: string
      responses:
        '200':
          description: Learn-agent artifact version
          content:
            application/json:
              schema:
                type: object
                properties:
                  version:
                    type: number
                  run_id:
                    type: string
                  agent_name:
                    type:
                      - string
                      - 'null'
                  knowledge_md:
                    type: string
                  mermaid:
                    type: string
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - version
                  - run_id
                  - agent_name
                  - knowledge_md
                  - mermaid
                  - created_at
                  - updated_at
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                required:
                  - detail
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````