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

# List artifacts

> List organization artifacts with optional session and type filters.



## OpenAPI

````yaml https://api.tembo.io/public-api/openapi/public get /v1/artifacts
openapi: 3.1.0
info:
  title: Tembo Public API
  description: Public API Endpoints for Tembo
  version: 1.0.0
servers:
  - url: https://api.tembo.io
    description: Tembo API
  - url: https://{deployment-origin}/api/public-api
    description: Self-hosted Tembo
    variables:
      deployment-origin:
        default: tembo.example.com
        description: Hostname of your self-hosted Tembo deployment
security: []
paths:
  /v1/artifacts:
    get:
      tags:
        - Artifacts
      summary: List artifacts
      description: List organization artifacts with optional session and type filters.
      operationId: listArtifacts
      parameters:
        - in: query
          name: cursor
          schema:
            type: string
            format: uuid
        - in: query
          name: jobId
          schema:
            type: string
            minLength: 1
        - in: query
          name: limit
          schema:
            type: string
            pattern: ^\d+$
            default: '50'
        - in: query
          name: sessionId
          schema:
            type: string
            format: uuid
        - in: query
          name: types
          schema:
            anyOf:
              - type: string
                enum:
                  - PullRequest
                  - ToolCall
                  - Plan
                  - Response
                  - File
                  - Service
                  - Source
                default: PullRequest
              - type: array
                items:
                  type: string
                  enum:
                    - PullRequest
                    - ToolCall
                    - Plan
                    - Response
                    - File
                    - Service
                    - Source
                  default: PullRequest
                minItems: 1
      responses:
        '200':
          description: List artifacts
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        createdAt:
                          type: string
                          format: date-time
                        id:
                          type: string
                          format: uuid
                        sessionId:
                          type: string
                          format: uuid
                        type:
                          type: string
                          enum:
                            - PullRequest
                            - ToolCall
                            - Plan
                            - Response
                            - File
                            - Service
                            - Source
                          default: PullRequest
                        updatedAt:
                          type: string
                          format: date-time
                        assetId:
                          type:
                            - string
                            - 'null'
                          format: uuid
                        category:
                          type:
                            - string
                            - 'null'
                          enum:
                            - code_walkthrough
                            - bug_report
                            - incident_report
                            - license_audit
                            - data_flow_map
                            - security_findings
                            - cost_map
                            - ux_variations
                            - architecture_map
                            - migration_summary
                            - release_checklist
                            - shipped_summary
                            - rollout_plan
                            - diagram
                            - chart
                            - dashboard
                            - timeline
                            - comparison
                            - report
                            - null
                        contentType:
                          type:
                            - string
                            - 'null'
                        description:
                          type:
                            - string
                            - 'null'
                        fileKind:
                          type: string
                          enum:
                            - image
                            - video
                            - audio
                            - html
                            - markdown
                            - text
                            - file
                        fileName:
                          type:
                            - string
                            - 'null'
                        outputType:
                          type:
                            - string
                            - 'null'
                          enum:
                            - html
                            - markdown
                            - json
                            - csv
                            - asset
                            - null
                        relatedPullRequestUrls:
                          type: array
                          items:
                            type: string
                            format: uri
                        runtime:
                          type:
                            - object
                            - 'null'
                          properties:
                            hostname:
                              type:
                                - string
                                - 'null'
                            serviceName:
                              type:
                                - string
                                - 'null'
                            serviceType:
                              type:
                                - string
                                - 'null'
                          required:
                            - hostname
                            - serviceName
                            - serviceType
                          additionalProperties: false
                        servicePort:
                          type:
                            - integer
                            - 'null'
                          minimum: 1
                          maximum: 65535
                        serviceUrl:
                          type:
                            - string
                            - 'null'
                          format: uri
                        sizeBytes:
                          type:
                            - integer
                            - 'null'
                          minimum: 0
                        sourceUrl:
                          type:
                            - string
                            - 'null'
                          format: uri
                        title:
                          type: string
                      required:
                        - createdAt
                        - id
                        - sessionId
                        - type
                        - updatedAt
                        - assetId
                        - category
                        - contentType
                        - description
                        - fileKind
                        - fileName
                        - outputType
                        - relatedPullRequestUrls
                        - runtime
                        - servicePort
                        - serviceUrl
                        - sizeBytes
                        - sourceUrl
                        - title
                      additionalProperties: false
                  nextCursor:
                    type:
                      - string
                      - 'null'
                    format: uuid
                required:
                  - items
                  - nextCursor
                additionalProperties: false
        '400':
          description: Validation error or missing resource scope
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Artifact, session, or backing asset not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Artifact operation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````