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

# List artifact version metadata

> Return metadata for all versions; createTime is a Unix timestamp in seconds



## OpenAPI

````yaml productions/api-reference/openapi/en/harness-runtime.json GET /apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}/versions/metadata
openapi: 3.1.0
info:
  title: Harness Runtime
  version: agentkit-cli 0.54.0 / SDK 0.8.0 / ADK 2.2.0
  description: >-
    Harness Runtime deployed by AgentKit CLI 0.54.0, verified with VeADK 1.0.8,
    AgentKit SDK 0.8.0, and Google ADK 2.2.0; scheduled tasks require separate
    enablement
servers:
  - url: http://localhost:8000
    description: Local server
security:
  - {}
  - RuntimeBearer: []
tags:
  - name: Service and applications
  - name: Sessions
  - name: Agent execution
  - name: Artifacts
  - name: Memory
  - name: Evaluation · development server
  - name: Debugging · development server
  - name: Compatibility endpoints
  - name: Harness cronjobs
paths:
  /apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}/versions/metadata:
    get:
      tags:
        - Artifacts
      summary: List artifact version metadata
      description: >-
        Return metadata for all versions; createTime is a Unix timestamp in
        seconds
      operationId: harnessRuntimeListArtifactMetadata
      parameters:
        - name: app_name
          in: path
          required: true
          schema:
            type: string
            title: App Name
          description: Application name; harness_agent for the CLI deployment
          example: harness_agent
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            title: User Id
          description: User ID
          example: user-001
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
          description: Session ID
          example: session-001
        - name: artifact_name
          in: path
          required: true
          schema:
            type: string
            title: Artifact Name
          description: Artifact name
          example: notes.txt
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtifactVersion'
                title: >-
                  Response List Artifact Versions Metadata Apps  App Name 
                  Users  User Id  Sessions  Session Id  Artifacts  Artifact
                  Name  Versions Metadata Get
        '422':
          description: Request validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ArtifactVersion:
      properties:
        version:
          type: integer
          title: Version
          description: Monotonically increasing artifact version number
        canonicalUri:
          type: string
          title: Canonicaluri
          description: Canonical URI of the stored artifact
        customMetadata:
          additionalProperties: true
          type: object
          title: Custommetadata
          description: Custom metadata
        createTime:
          type: number
          title: Createtime
          description: Creation time as a Unix timestamp in seconds
        mimeType:
          anyOf:
            - type: string
            - type: 'null'
          title: Mimetype
          description: Content MIME type
      type: object
      required:
        - version
        - canonicalUri
      title: ArtifactVersion
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
          description: Error details
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
          description: Location of the invalid field
        msg:
          type: string
          title: Message
          description: Validation error message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    RuntimeBearer:
      type: http
      scheme: bearer
      description: >-
        Optional locally without a gateway; cloud deployments use the Runtime
        API key or user-pool JWT required by that deployment, never the model
        API key

````