> ## 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.

# List learn-agent artifact versions

> Returns learn-agent KB version metadata for a project and agent, newest first. The response omits artifact content.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /projects/{project_id}/artifacts/versions
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:
    get:
      tags:
        - Projects
      summary: List learn-agent artifact versions
      description: >-
        Returns learn-agent KB version metadata for a project and agent, newest
        first. The response omits artifact content.
      operationId: list_learn_agent_artifact_versions
      parameters:
        - name: project_id
          in: path
          required: true
          description: Project ID
          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 versions
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    version:
                      type: number
                    run_id:
                      type: string
                    agent_name:
                      type:
                        - string
                        - 'null'
                    created_at:
                      type: string
                    updated_at:
                      type: string
                  required:
                    - version
                    - run_id
                    - agent_name
                    - created_at
                    - updated_at
                  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

````