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

# List Artifacts

> List artifacts in project



## OpenAPI

````yaml /openapi/em-runtime-assets-v2.yaml get /assets/artifacts
openapi: 3.1.0
info:
  title: em_runtime_assets
  version: 5.27.0
servers: []
security: []
paths:
  /assets/artifacts:
    get:
      tags:
        - artifacts
      summary: List Artifacts
      description: List artifacts in project
      operationId: list_artifacts
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number (starts at 1)
            default: 1
            title: Page
          description: Page number (starts at 1)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Items per page
            default: 20
            title: Limit
          description: Items per page
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Search in name and description
            title: Search
          description: Search in name and description
        - name: tags
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by tags (comma-separated)
            title: Tags
          description: Filter by tags (comma-separated)
        - name: sort
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: 'Sort: field:order,... (e.g., name:asc,created_at:desc)'
            title: Sort
          description: 'Sort: field:order,... (e.g., name:asc,created_at:desc)'
        - name: content_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter by content type. Exact match or prefix with wildcard (e.g.,
              'image/*', 'application/pdf')
            title: Content Type
          description: >-
            Filter by content type. Exact match or prefix with wildcard (e.g.,
            'image/*', 'application/pdf')
        - name: key_prefix
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by key prefix (folder path, relative to project)
            title: Key Prefix
          description: Filter by key prefix (folder path, relative to project)
        - name: created_by
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by creator (e.g., 'user:alice')
            title: Created By
          description: Filter by creator (e.g., 'user:alice')
        - name: owner_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Deprecated: use created_by instead. Will be removed in a future
              release.
            deprecated: true
            title: Owner Id
          description: >-
            Deprecated: use created_by instead. Will be removed in a future
            release.
          deprecated: true
        - name: meta
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter by meta (JSON object for containment match, e.g.,
              '{"env":"prod"}')
            title: Meta
          description: >-
            Filter by meta (JSON object for containment match, e.g.,
            '{"env":"prod"}')
        - name: X-Project-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Project-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtifactListResponse'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      security:
        - HTTPBearer: []
components:
  schemas:
    ArtifactListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ArtifactSummary'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/Pagination'
      type: object
      required:
        - data
        - pagination
      title: ArtifactListResponse
      description: Paginated list response for artifacts.
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
      description: Standard error response model.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ArtifactSummary:
      properties:
        resource_uri:
          type: string
          title: Resource Uri
        name:
          type: string
          title: Name
        key:
          type: string
          title: Key
        content_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Type
        size:
          anyOf:
            - type: integer
            - type: 'null'
          title: Size
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        project_id:
          type: string
          title: Project Id
        created_by:
          type: string
          title: Created By
        owner_id:
          type: string
          title: Owner Id
          description: >-
            Deprecated: use created_by instead. Will be removed in a future
            release.
          deprecated: true
        tags:
          items:
            type: string
          type: array
          title: Tags
          default: []
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - resource_uri
        - name
        - key
        - project_id
        - created_by
        - owner_id
        - created_at
      title: ArtifactSummary
      description: Lightweight representation for list responses.
    Pagination:
      properties:
        page:
          type: integer
          minimum: 1
          title: Page
          description: Current page number (starts at 1)
        limit:
          type: integer
          maximum: 100
          minimum: 1
          title: Limit
          description: Items per page (max 100)
        total_items:
          type: integer
          minimum: 0
          title: Total Items
        total_pages:
          type: integer
          minimum: 0
          title: Total Pages
        next_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Page
        prev_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Prev Page
      type: object
      required:
        - page
        - limit
        - total_items
        - total_pages
      title: Pagination
      description: Pagination metadata for list responses.
    ErrorBody:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
        request_id:
          type: string
          title: Request Id
        timestamp:
          type: string
          format: date-time
          title: Timestamp
      type: object
      required:
        - code
        - message
        - request_id
        - timestamp
      title: ErrorBody
      description: Error body with structured details.
    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
    ErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - INVALID_TOKEN
        - INSUFFICIENT_PERMISSIONS
        - RESOURCE_NOT_FOUND
        - RESOURCE_ALREADY_EXISTS
        - VALIDATION_ERROR
        - RATE_LIMIT_EXCEEDED
        - SERVICE_UNAVAILABLE
        - INTERNAL_ERROR
      title: ErrorCode
      description: Standard error codes for API responses.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````