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

# Get artifacts for a run

> Get artifacts for a run



## OpenAPI

````yaml /api-reference/openapi.json get /v1/runs/{run_id}/artifacts
openapi: 3.1.0
info:
  title: Skyvern API
  description: API for Skyvern
  version: 1.0.0
servers:
  - url: https://api.skyvern.com
    x-fern-server-name: Cloud
  - url: https://api-staging.skyvern.com
    x-fern-server-name: Staging
  - url: http://localhost:8000
    x-fern-server-name: Local
security: []
paths:
  /v1/runs/{run_id}/artifacts:
    get:
      tags:
        - Artifacts
      summary: Get artifacts for a run
      description: Get artifacts for a run
      operationId: get_run_artifacts_v1_runs__run_id__artifacts_get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            description: The id of the task run or the workflow run.
            title: Run Id
          description: The id of the task run or the workflow run.
        - name: artifact_type
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  $ref: '#/components/schemas/ArtifactType'
              - type: 'null'
            title: Artifact Type
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Skyvern API key for authentication. API key can be found at
              https://app.skyvern.com/settings.
            title: X-Api-Key
          description: >-
            Skyvern API key for authentication. API key can be found at
            https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Artifact'
                title: Response Get Run Artifacts V1 Runs  Run Id  Artifacts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ArtifactType:
      type: string
      enum:
        - recording
        - audio
        - session_replay
        - browser_console_log
        - skyvern_log
        - skyvern_log_raw
        - screenshot
        - screenshot_llm
        - screenshot_action
        - screenshot_final
        - llm_prompt
        - llm_request
        - llm_response
        - llm_response_parsed
        - llm_response_rendered
        - visible_elements_id_css_map
        - visible_elements_id_frame_map
        - visible_elements_tree
        - visible_elements_tree_trimmed
        - visible_elements_tree_in_prompt
        - hashed_href_map
        - visible_elements_id_xpath_map
        - html
        - html_scrape
        - html_action
        - trace
        - har
        - script_file
        - pdf
        - step_archive
        - task_archive
        - download
      title: ArtifactType
    Artifact:
      properties:
        created_at:
          type: string
          title: Created At
          description: The creation datetime of the task.
          examples:
            - '2023-01-01T00:00:00Z'
        modified_at:
          type: string
          title: Modified At
          description: The modification datetime of the task.
          examples:
            - '2023-01-01T00:00:00Z'
        artifact_id:
          type: string
          title: Artifact Id
        artifact_type:
          $ref: '#/components/schemas/ArtifactType'
        uri:
          type: string
          title: Uri
        bundle_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Bundle Key
        checksum:
          anyOf:
            - type: string
            - type: 'null'
          title: Checksum
        file_size:
          anyOf:
            - type: integer
            - type: 'null'
          title: File Size
        task_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Task Id
        step_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Step Id
        workflow_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workflow Run Id
        workflow_run_block_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workflow Run Block Id
        run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Run Id
        browser_session_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Browser Session Id
        observer_cruise_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Observer Cruise Id
        observer_thought_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Observer Thought Id
        ai_suggestion_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Ai Suggestion Id
        signed_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Signed Url
        archived:
          type: boolean
          title: Archived
          default: false
        organization_id:
          type: string
          title: Organization Id
      type: object
      required:
        - created_at
        - modified_at
        - artifact_id
        - artifact_type
        - uri
        - organization_id
      title: Artifact
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````