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

> List one agent's saved reference documents: uploaded runbooks, custom pricing schedules, and generated understanding.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /projects/{project_id}/artifacts
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:
  - url: https://api.uselemma.ai
    description: Lemma production API
security:
  - bearerAuth: []
paths:
  /projects/{project_id}/artifacts:
    get:
      tags:
        - Artifacts
      summary: List artifacts
      description: >-
        List one agent's saved reference documents: uploaded runbooks, custom
        pricing schedules, and generated understanding.
      operationId: list_project_artifacts
      parameters:
        - name: project_id
          in: path
          required: true
          description: Project ID
          schema:
            type: string
        - name: agent_name
          in: query
          required: true
          description: >-
            Required. The agent name, an empty value for the untagged agent; the
            string "null" is a name.
          schema:
            type:
              - string
              - 'null'
      responses:
        '200':
          description: Project artifacts
          content:
            application/json:
              schema:
                type: object
                properties:
                  artifacts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        agent_name:
                          type:
                            - string
                            - 'null'
                        kind:
                          type: string
                          enum:
                            - uploaded
                            - generated
                        filename:
                          type:
                            - string
                            - 'null'
                        content_type:
                          type: string
                          enum:
                            - text/plain
                            - text/markdown
                        version:
                          type:
                            - integer
                            - 'null'
                          exclusiveMinimum: 0
                        byte_length:
                          type: integer
                          minimum: 0
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                      required:
                        - id
                        - agent_name
                        - kind
                        - filename
                        - content_type
                        - version
                        - byte_length
                        - created_at
                        - updated_at
                      additionalProperties: false
                required:
                  - artifacts
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                  retryable:
                    type: boolean
                  retry_after_seconds:
                    type: number
                    minimum: 0
                required:
                  - detail
                  - code
                  - retryable
                additionalProperties: false
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                  retryable:
                    type: boolean
                  retry_after_seconds:
                    type: number
                    minimum: 0
                required:
                  - detail
                  - code
                  - retryable
                additionalProperties: false
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                  retryable:
                    type: boolean
                  retry_after_seconds:
                    type: number
                    minimum: 0
                required:
                  - detail
                  - code
                  - retryable
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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