> ## 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: >-
    Manage agents, sessions, repositories, and organization resources with the
    Tembo API.
  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
          description: >-
            Continuation cursor from the previous response nextCursor. Omit for
            the first page; null nextCursor means there are no more pages.
        - in: query
          name: limit
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
          description: >-
            Maximum number of items to return in one page. Use nextCursor from
            the response to fetch more items.
        - in: query
          name: jobId
          schema:
            type: string
            minLength: 1
          description: Filter artifacts created by this job.
        - in: query
          name: sessionId
          schema:
            type: string
            format: uuid
          description: Filter artifacts attached to this session.
        - in: query
          name: types
          schema:
            type: array
            items:
              type: string
              enum:
                - PullRequest
                - ToolCall
                - Plan
                - Response
                - File
                - Service
                - Source
              default: PullRequest
            minItems: 1
          description: Filter artifact types, supplied as a comma-separated list.
      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
                        assetUrl:
                          type:
                            - string
                            - 'null'
                          format: uri
                        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
                        - assetUrl
                        - 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: >-
            Invalid request or missing required organization or user
            information.
          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: []
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: |
            import Tembo from '@tembo-io/sdk';

            const client = new Tembo();

            const artifact = await client.artifacts.list({
              limit: 50,
            });
        - lang: rust
          label: Rust SDK
          source: |
            use tembo_rs::*;

            let client = Tembo::from_env()?;

            let response = client.artifacts().list().send().await?;
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

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